Function at 0x405b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dl, 0x64
mov word [ebp - 0xe], 0x64da
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x14], 0x5d63f0c0
mov esi, dword [ebp - 0x14]
add esi, 0x4d3c330
mov dword [ebp - 0x18], esi
lea esi, [ebp - 0x4c]
movaps xmm0, xmmword [0x44d220]
movups xmmword [ebp - 0x4c], xmm0
mov byte [ebp - 0x3c], 0x64
sub dl, byte [ebp - 0xf]
mov byte [ebp - 0x3b], dl
mov byte [ebp - 0x3a], 0x72
mov byte [ebp - 0x39], 0x65
mov byte [ebp - 0x38], 0x73
mov dl, byte [ebp - 0xf]
add dl, 0x73
mov byte [ebp - 0x37], dl
mov byte [ebp - 0x36], 0
mov byte [ebp - 0x35], 0xdc
mov dword [ebp - 0x68], 0
cmp eax, 0
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], esi
je 0x405de4
jmp 0x405c9f
mov eax, 0x5d63f0e0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
xor ecx, 0x5d63f0c1
sub eax, edx
cmp byte [ebp - 0x4e], 0
setne bl
and bl, byte [ebp - 0x4d]
add esi, ecx
cmp esi, eax
setb bh
and bl, bh
mov dword [ebp - 0x54], esi
test bl, 1
jne 0x405c3e
jmp 0x405d92
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
jmp 0x405de4
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x64]
mov dl, byte [ecx + eax]
mov eax, dword [ebp - 0x2c]
mov dh, byte [ebp + eax - 0x4c]
mov byte [ebp - 0x4e], dh
cmp dl, byte [ebp - 0x4e]
sete dh
and dh, 1
mov byte [ebp - 0x4d], dh
cmp dl, 0
je 0x405d92
jmp 0x405bfd
mov eax, 0x4be61690
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x78]
add edx, 2
mov dword [ebp - 0x80], edx
cmp eax, ecx
jb 0x405e1e
jmp 0x405c9f
mov dword [0x452920], 0
mov dword [ebp - 0x68], 0
jmp 0x405de4
call fcn.00404c70
xor ecx, ecx
mov edx, 0x5d6425c0
mov esi, 0x5d64f0bf
mov edi, eax
mov dword [ebp - 0x5c], edi
mov edi, dword [ebp - 0x5c]
mov eax, dword [eax + 0x3c]
mov ebx, edi
add ebx, eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x14]
add eax, 0xa29d0f3f
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x94]
mov edi, dword [edi + eax]
mov eax, edi
add eax, 0xefb0
add edi, 0xffffefaf
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x98]
cmp edi, eax
setb al
sub esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x9c]
and edi, esi
sub edx, dword [ebp - 0x14]
cmp edi, edx
sete ah
and al, ah
test al, 1
cmovne ecx, ebx
mov ecx, dword [ecx + 0x78]
add ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x14]
add edx, 0xa29c0f40
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x5c]
add esi, dword [ecx + 0x20]
mov dword [ebp - 0x6c], esi
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x7c], edx
je 0x405c89
jmp 0x405e39
lea eax, [ebp - 0x24]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x20], eax
mov ecx, dword [0x452918]
add ecx, 0x46
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00405f00
mov dx, ax
mov word [ebp - 0x24], dx
mov word [ebp - 0x22], dx
and eax, 0xffff
mov dword [ebp - 0x60], 0
cmp eax, 0
je 0x405c33
jmp 0x405d9d
test byte [ebp - 0x4d], 1
jne 0x405df2
jmp 0x405c6e
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x58]
mov dx, 0x64da
sub dx, word [ebp - 0xe]
mov dword [ebp - 0x58], 0
mov esi, dword [ebp - 0x8c]
mov dword [esp], esi
mov dword [esp + 4], eax
movzx eax, dx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call dword [0x452920]
sub esp, 0x10
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0xa0], eax
jmp 0x405c33
mov eax, dword [ebp - 0x68]
add esp, 0xa4
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x78]
movzx esi, word [esi]
add eax, dword [ecx + 0x1c]
add edx, dword [eax + esi*4]
mov dword [0x452920], edx
mov dword [ebp - 0x68], 0
cmp edx, 0
je 0x405de4
jmp 0x405d49
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x74], ecx
cmp ecx, eax
jb 0x405e4c
jmp 0x405c89
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx + eax*4]
add eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x14]
add ecx, 0xa29c0f40
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x54], ecx
jmp 0x405c3e