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

Disassembly:
sub esp, 0x3b0
mov eax, dword [0x4b6170]
xor eax, esp
mov dword [esp + 0x3ac], eax
mov eax, dword [esp + 0x3b8]
push ebx
push ebp
mov ebp, dword [esp + 0x3d4]
push esi
mov esi, dword [esp + 0x3d4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x3dc]
push edi
mov edi, dword [esp + 0x3c4]
xor ebx, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3cc]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x3e4]
mov dword [esp + 0x20], ecx
mov ecx, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00439490
cmp eax, ebx
jne 0x439b4c
mov ecx, dword [edi]
xor edx, edx
mov dword [esp + 0x10], edx
cmp ecx, ebx
jbe 0x439b4a
mov edi, edi
lea eax, [edx + edx*2]
lea edi, [edi + eax*4 + 0x38]
mov eax, dword [edi + 4]
mov dword [esp + 0x18], edi
cmp eax, ebx
je 0x4396b2
cmp eax, 0x21
je 0x4396b2
cmp eax, 0x30101
jne 0x439857
cmp ecx, 4
jne 0x439763
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov edi, dword [ecx + eax*8]
mov ecx, dword [ecx + eax*8 + 4]
lea esi, [eax*4]
mov dword [esp + 0x64], 3
mov dword [esp + 0x68], 2
mov dword [esp + 0x6c], 0
mov ebx, dword [esp + esi + 0x64]
cmp eax, 2
jae 0x439733
xor eax, eax
mov ebp, edi
cmp edi, edi
jne 0x439b35
cmp eax, ecx
jne 0x439b35
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push edi
push eax
call ecx
add esp, 8
test eax, eax
jne 0x43971f
test edi, edi
jne 0x439b35
mov edx, dword [esp + 0x3c]
mov ecx, esi
neg ecx
mov dword [ecx + edx + 4], eax
mov esi, eax
mov dword [esp + ecx + 0x48], edi
jmp 0x439763
jne 0x439b43
xor eax, eax
cmp ecx, eax
ja 0x439b3c
jb 0x43974f
cmp edi, dword [esp + 0x14]
ja 0x439b3c
mov esi, dword [esp + 0x14]
sub esi, edi
add esi, dword [esp + 0x24]
mov ebp, edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edi
mov edx, dword [esp + 0x38]
mov eax, dword [edx + ebx*8]
mov edi, dword [edx + ebx*8 + 8]
mov ecx, dword [edx + ebx*8 + 4]
mov ebx, dword [edx + ebx*8 + 0xc]
sub edi, eax
sbb ebx, ecx
add eax, dword [esp + 0x3d0]
push 0
adc ecx, dword [esp + 0x3d8]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 0xc]
push eax
call ecx
add esp, 0xc
test eax, eax
jne 0x439b4c
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4397e3
cmp edi, ebp
jne 0x439a29
cmp ebx, eax
jne 0x439a29
push esi
mov esi, dword [esp + 0x20]
push ebx
push edi
call fcn.004393c0
add esp, 0xc
test eax, eax
jne 0x439b4c
jmp 0x439b0d
cmp eax, 0x30101
jne 0x43981b
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push ebp
push esi
push eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
movzx ecx, byte [eax + 9]
add edx, dword [esp + 0x38]
push ebx
push edi
call fcn.00439070
add esp, 0x18
test eax, eax
jne 0x439b4c
jmp 0x439b0d
cmp eax, 0x21
jne 0x439b43
mov eax, dword [ecx]
add eax, dword [esp + 0x28]
cmp byte [ecx + 9], 1
jne 0x439a29
mov edx, dword [esp + 0x20]
push ebp
push ebx
mov ebx, dword [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00439220
add esp, 0x10
test eax, eax
jne 0x439b4c
jmp 0x439b0d
cmp eax, 0x303011b
jne 0x439a33
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0x10]
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
sub edi, esi
sbb eax, ebx
cmp dword [esp + 0x10], 3
mov dword [esp + 0x74], eax
jne 0x439b43
xor ecx, ecx
cmp edi, edi
jne 0x439b35
cmp ecx, eax
jne 0x439b35
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push edi
push eax
call ecx
mov ebp, dword [esp + 0x44]
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
jne 0x4398b7
test edi, edi
jne 0x439b35
add esi, dword [esp + 0x3d0]
push 0
adc ebx, dword [esp + 0x3d8]
lea edx, [esp + 0x5c]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0xc]
push edx
push esi
mov dword [esp + 0x68], ebx
call eax
add esp, 0xc
test eax, eax
jne 0x439b4c
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x74]
push ecx
push edx
push edi
call fcn.004393c0
add esp, 0xc
test eax, eax
jne 0x439b4c
mov edx, dword [esp + 0x44]
test dl, 3
jne 0x439a29
mov ecx, dword [esp + 0x48]
test cl, 3
jne 0x439a29
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
lea eax, [esi + ecx]
add eax, edx
cmp eax, ebx
jne 0x439a29
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
add eax, esi
mov dword [esp + 0x88], eax
mov eax, dword [ebp]
mov dword [esp + 0x7c], eax
add eax, edx
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x80], eax
add eax, ecx
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x84], eax
add eax, edi
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x98], eax
add ebx, eax
mov eax, 0x400
movzx edx, ax
mov eax, edx
xor esi, esi
shl edx, 0x10
or eax, edx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], 9
mov dword [esp + 0xa4], esi
mov byte [esp + 0xab], 0
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov ecx, 0x81
lea edi, [esp + 0xb4]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x78]
call fcn.0043a860
cmp eax, esi
jne 0x439b4c
xor eax, eax
jmp 0x4399f0
mov ecx, dword [esp + eax*4 + 0x78]
cmp ecx, dword [esp + eax*4 + 0x88]
jne 0x439a29
inc eax
cmp eax, 4
jb 0x4399f0
cmp dword [esp + 0xb0], esi
jne 0x439a29
mov edx, dword [esp + 0x98]
cmp edx, dword [esp + 0x9c]
jne 0x439a29
cmp dword [esp + 0xa0], esi
je 0x439b0d
mov eax, 1
jmp 0x439b4c
cmp edx, 1
jne 0x439b43
cmp eax, 3
jne 0x439a8d
cmp byte [edi + 9], dl
jne 0x439b43
push 0x100
lea eax, [esp + 0x2bc]
push 0
push eax
call fcn.00446600
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov edi, dword [esp + 0x30]
add esp, 0xc
push ecx
mov ecx, dword [esp + 0x2c]
movzx ecx, byte [eax + ecx]
inc ecx
lea edx, [esp + 0x2bc]
call fcn.0043ca90
add esp, 4
jmp 0x439b0d
cmp byte [edi + 9], 0
jne 0x439b43
cmp eax, 0x3030501
ja 0x439aef
je 0x439ae4
cmp eax, 0x3030103
je 0x439ace
cmp eax, 0x3030205
je 0x439ac5
cmp eax, 0x3030401
jne 0x439b43
push ebp
push esi
call fcn.0043cb50
add esp, 8
jmp 0x439b0d
mov eax, ebp
call fcn.0043a140
jmp 0x439b0d
lea edx, [esp + 0x18]
push edx
push esi
mov eax, ebp
mov dword [esp + 0x20], ebx
call fcn.0043a720
add esp, 8
jmp 0x439b0d
mov eax, ebp
mov edx, esi
call fcn.0043a040
jmp 0x439b0d
cmp eax, 0x3030701
je 0x439b06
cmp eax, 0x3030805
jne 0x439b43
mov eax, ebp
call fcn.0043a1d0
jmp 0x439b0d
mov eax, ebp
call fcn.0043a0a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx]
inc eax
mov dword [esp + 0x10], eax
cmp eax, ecx
jae 0x439b4a
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x14]
mov edx, eax
xor ebx, ebx
jmp 0x439690
mov eax, 2
jmp 0x439b4c
mov eax, 5
jmp 0x439b4c
mov eax, 4
jmp 0x439b4c
xor eax, eax
mov ecx, dword [esp + 0x3bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043f4b7
add esp, 0x3b0
ret