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

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x18]
push edi
push ebx
push eax
lea esi, [eax + 0x18]
call fcn.00436e57
add esp, 0xc
test eax, eax
jne 0x439a61
mov eax, 0x14c
cmp ebx, eax
ja 0x439905
je 0x4398f9
add eax, 0xffffffca
cmp ebx, eax
ja 0x43986d
je 0x439865
sub ebx, 0xfe
je 0x43985d
sub ebx, 4
je 0x439857
sub ebx, 5
je 0x439851
sub ebx, 3
je 0x43984b
sub ebx, 8
je 0x439845
sub ebx, 3
jne 0x439a12
mov cx, word [esi + 0x36]
mov eax, dword [edi]
mov word [eax], cx
jmp 0x439a61
mov cx, word [esi + 0x34]
jmp 0x43983b
mov cx, word [esi + 0x32]
jmp 0x43983b
mov cx, word [esi + 0x30]
jmp 0x43983b
mov cx, word [esi + 0x28]
jmp 0x43983b
mov ecx, dword [esi + 0x24]
jmp 0x439a5d
mov ecx, dword [esi + 0x38]
jmp 0x439a5d
sub ebx, 0x118
je 0x4398f0
dec ebx
je 0x4398e7
sub ebx, 3
je 0x4398de
sub ebx, 0xc
je 0x4398d5
sub ebx, 5
jne 0x439a12
lea ebx, [esi + 0xe0]
cmp dword [ebx], 0
jne 0x43989b
call fcn.004396bb
mov eax, dword [edi]
mov ecx, dword [ebx]
add edi, 4
mov dword [eax], ecx
movzx eax, word [esi + 0x78]
movzx ecx, word [esi + 0x36]
sub ecx, eax
xor eax, eax
inc eax
cmp ecx, eax
jle 0x439a64
mov ecx, dword [edi]
mov edx, dword [esi + 0xe4]
add edi, 4
mov dword [ecx], edx
mov ecx, dword [edi]
mov edx, dword [esi + 0xe8]
mov dword [ecx], edx
jmp 0x439a64
mov cx, word [esi + 0x58]
jmp 0x43983b
mov cx, word [esi + 0x5a]
jmp 0x43983b
mov cx, word [esi + 0x3e]
jmp 0x43983b
mov cx, word [esi + 0x3c]
jmp 0x43983b
mov cx, word [esi + 0xec]
jmp 0x43983b
mov eax, 0x213
cmp ebx, eax
ja 0x4399f9
je 0x4399ed
sub ebx, 0x14e
je 0x4399e1
dec ebx
dec ebx
je 0x4399c2
dec ebx
dec ebx
je 0x4399ae
dec ebx
je 0x4399a5
sub ebx, 0xbe
je 0x43995d
dec ebx
jne 0x439a12
mov cx, word [esi + 0xcc]
mov eax, dword [edi]
add edi, 4
mov word [eax], cx
mov cx, word [esi + 0xce]
jmp 0x43983b
cmp dword [esi + 0xc8], 0
jne 0x43999a
push 0xc
call fcn.00430923
fld dword [0x4b30e0]
mov dword [esi + 0xc8], eax
fstp dword [eax]
mov eax, dword [esi + 0xc8]
fld dword [0x4b30dc]
fstp dword [eax + 4]
mov eax, dword [esi + 0xc8]
fld dword [0x4b30d8]
pop ecx
fstp dword [eax + 8]
mov ecx, dword [esi + 0xc8]
jmp 0x439a5d
mov cx, word [esi + 0x2a]
jmp 0x43983b
mov cx, word [esi + 0x78]
mov eax, dword [edi]
add edi, 4
mov word [eax], cx
mov ecx, dword [esi + 0x7c]
jmp 0x439a5d
mov eax, dword [edi]
add edi, 4
xor ecx, ecx
mov word [eax], cx
mov cl, byte [esi + 0x28]
xor eax, eax
inc eax
mov edx, eax
shl edx, cl
mov ecx, dword [edi]
dec edx
mov word [ecx], dx
jmp 0x439a64
mov cx, word [esi + 0xee]
jmp 0x43983b
mov cx, word [esi + 0xd0]
jmp 0x43983b
sub ebx, 0x214
je 0x439a4b
sub ebx, 0x7ecf
je 0x439a2d
dec ebx
je 0x439a20
dec ebx
je 0x439a1b
dec ebx
je 0x439a16
xor eax, eax
jmp 0x439a64
mov ecx, dword [esi + 0x20]
jmp 0x439a5d
mov ecx, dword [esi + 0x14]
jmp 0x439a5d
mov ax, word [esi + 0x2a]
mov ecx, dword [edi]
dec ax
mov word [ecx], ax
jmp 0x439a61
xor eax, eax
inc eax
cmp word [esi + 0x78], ax
jne 0x439a42
mov ecx, dword [esi + 0x7c]
cmp word [ecx], ax
jne 0x439a42
mov ecx, eax
jmp 0x439a44
xor ecx, ecx
mov edx, dword [edi]
mov word [edx], cx
jmp 0x439a64
lea ebx, [esi + 0xdc]
cmp dword [ebx], 0
jne 0x439a5b
call fcn.0043978f
mov ecx, dword [ebx]
mov eax, dword [edi]
mov dword [eax], ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret