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

Disassembly:
mov ecx, 5
sub esp, 0x1d8
cmp word [0x4b6da2], cx
je 0x43940f
mov eax, dword [0x74c7b0]
mov word [0x4b6da2], cx
push ecx
push 0x13
mov edx, dword [eax]
push eax
call dword [edx + 0x58]
inc dword [0x74c67c]
mov ecx, 6
cmp word [0x4b6da4], cx
je 0x439438
mov eax, dword [0x74c7b0]
mov word [0x4b6da4], cx
push ecx
push 0x14
mov edx, dword [eax]
push eax
call dword [edx + 0x58]
inc dword [0x74c67c]
push ebx
push esi
xor esi, esi
cmp word [0x4b6da8], si
je 0x439460
mov eax, dword [0x74c7b0]
mov word [0x4b6da8], si
push esi
push 0xe
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
inc dword [0x74c67c]
mov eax, dword [0x7622dc]
mov dword [esp + 0x24], esi
cmp eax, esi
jle 0x439be4
mov edx, dword [0x7622e4]
push ebp
push edi
lea esi, [edx + 0x3c]
fld dword [esi - 4]
fchs
fstp dword [esp + 0x3c]
fld dword [esi]
fchs
fstp dword [esp + 0x40]
fld dword [esi + 4]
fchs
fstp dword [esp + 0x44]
mov eax, dword [esi - 4]
lea ebp, [esi - 0x34]
mov dword [esp + 0x48], eax
lea ebx, [esi - 0x28]
fld dword [esi]
fchs
fstp dword [esp + 0x4c]
fld dword [esi + 4]
fchs
fstp dword [esp + 0x50]
fld dword [esi - 4]
fchs
fstp dword [esp + 0x54]
fld dword [esi]
fchs
fstp dword [esp + 0x58]
mov ecx, dword [esi + 4]
xor edi, edi
mov dword [esp + 0x5c], ecx
mov edx, dword [esi - 4]
mov dword [esp + 0x60], edx
fld dword [esi]
fchs
fstp dword [esp + 0x64]
mov eax, dword [esi + 4]
mov dword [esp + 0x68], eax
fld dword [esi - 4]
fchs
fstp dword [esp + 0x6c]
mov ecx, dword [esi]
mov dword [esp + 0x70], ecx
fld dword [esi + 4]
fchs
fstp dword [esp + 0x74]
mov edx, dword [esi - 4]
mov dword [esp + 0x78], edx
mov eax, dword [esi]
mov dword [esp + 0x7c], eax
fld dword [esi + 4]
fchs
fstp dword [esp + 0x80]
fld dword [esi - 4]
fchs
fstp dword [esp + 0x84]
mov ecx, dword [esi]
mov dword [esp + 0x88], ecx
mov edx, dword [esi + 4]
mov dword [esp + 0x8c], edx
mov eax, dword [esi - 4]
mov dword [esp + 0x90], eax
mov ecx, dword [esi]
mov dword [esp + 0x94], ecx
mov edx, dword [esi + 4]
mov dword [esp + 0x98], edx
lea eax, [esp + edi + 0x108]
lea ecx, [esp + edi + 0x3c]
push eax
push ecx
push ebp
push ebx
call fcn.00443580
add edi, 0xc
add esp, 0x10
cmp edi, 0x60
jl 0x439551
or eax, 0xffffffff
cmp word [0x4b6d9c], ax
je 0x43959a
mov word [0x4b6d9c], ax
mov eax, dword [0x74c7b0]
push 0
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0x98]
inc dword [0x74c678]
mov ax, word [0x4b6da0]
cmp ax, 2
je 0x439604
test ax, ax
jne 0x4395c0
mov eax, dword [0x74c7b0]
push 1
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
inc dword [0x74c67c]
mov eax, dword [0x74c7b0]
push 4
push 4
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0xa0]
mov ebp, dword [0x74c67c]
mov eax, dword [0x74c7b0]
inc ebp
push 0
mov dword [0x74c67c], ebp
mov ecx, dword [eax]
push 0x18
push eax
call dword [ecx + 0x58]
mov eax, dword [0x74c67c]
mov word [0x4b6da0], 2
inc eax
mov dword [0x74c67c], eax
mov ecx, 1
cmp word [0x4b6da6], cx
je 0x43962d
mov eax, dword [0x74c7b0]
mov word [0x4b6da6], cx
push ecx
push 7
mov edx, dword [eax]
push eax
call dword [edx + 0x58]
inc dword [0x74c67c]
mov dword [esp + 0x28], 0
mov edi, 0x4b8b10
lea ecx, [esp + 0xa4]
lea ebp, [esp + 0xd8]
mov dword [esp + 0x10], 4
xor eax, eax
mov ax, word [edi]
lea eax, [eax + eax*2]
lea edx, [esp + eax*4 + 0x108]
mov eax, ebp
mov ebx, dword [edx]
mov dword [eax], ebx
mov ebx, dword [edx + 4]
mov dword [eax + 4], ebx
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov edx, dword [0x7622f4]
lea eax, [esi - 0x3c]
cmp edx, eax
jne 0x4396a5
mov edx, dword [esp + 0x28]
mov eax, dword [0x7622ec]
cmp edx, eax
jne 0x4396a5
mov eax, dword [0x785038]
and eax, 1
mov edx, eax
shl edx, 7
sub edx, eax
neg edx
shl edx, 0x18
sub edx, eax
mov dword [ecx], edx
jmp 0x4396b9
mov eax, dword [esi - 0x3c]
mov ebx, 6
cdq
idiv ebx
mov eax, dword [edx*4 + 0x4b8b40]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
add edi, 2
add ebp, 0xc
add ecx, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x439650
lea ecx, [esp + 0xa4]
push 4
lea edx, [esp + 0xdc]
push ecx
push edx
call fcn.00422070
mov ecx, dword [esp + 0x34]
add esp, 0xc
inc ecx
cmp edi, 0x4b8b40
mov dword [esp + 0x28], ecx
jl 0x43963a
mov eax, dword [esi - 0x3c]
lea edx, [esp + 0x168]
mov ecx, dword [eax*4 + 0x4b8bb4]
push ecx
push 0x4b6708
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x3c]
lea ebp, [esi - 0x34]
push eax
push ebp
push 0x4c7a00
push 0x4c86f8
call fcn.00443580
mov ecx, dword [esi - 0x3c]
xor eax, eax
add esp, 0x1c
xor ebx, ebx
mov edi, dword [ecx*4 + 0x4b8bb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xa0], ebx
shl ecx, 5
mov dword [esp + 0x9c], ecx
fild qword [esp + 0x9c]
fsubr dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fsub dword [0x4b022c]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fcomp dword [0x784e5c]
fnstsw ax
test ah, 0x41
jne 0x439843
cmp word [0x4b6da0], bx
je 0x4397fb
mov eax, dword [0x74c7b0]
push ebx
push 0x1b
push eax
mov edx, dword [eax]
call dword [edx + 0x58]
mov ecx, dword [0x74c67c]
inc ecx
cmp word [0x4b6da0], 2
mov dword [0x74c67c], ecx
jne 0x4397f4
mov eax, dword [0x74c7b0]
push 2
push 4
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa0]
mov eax, dword [0x74c67c]
mov ecx, dword [0x4ba868]
inc eax
push ecx
mov dword [0x74c67c], eax
mov eax, dword [0x74c7b0]
push 0x18
push eax
mov edx, dword [eax]
call dword [edx + 0x58]
inc dword [0x74c67c]
mov word [0x4b6da0], bx
cmp word [0x4b6da6], bx
je 0x43981f
mov eax, dword [0x74c7b0]
mov word [0x4b6da6], bx
push ebx
push 7
mov edx, dword [eax]
push eax
call dword [edx + 0x58]
inc dword [0x74c67c]
lea eax, [esp + 0x168]
lea ecx, [esp + 0x30]
push eax
push 0xffff
push 0x43000000
push 0x42800000
push ecx
call fcn.0048c6b0
add esp, 0x14
mov eax, dword [0x7622f4]
lea edx, [esi - 0x3c]
cmp eax, edx
jne 0x439938
cmp word [0x4b6da0], bx
je 0x4398c0
mov eax, dword [0x74c7b0]
push ebx
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov ecx, dword [0x74c67c]
inc ecx
cmp word [0x4b6da0], 2
mov dword [0x74c67c], ecx
jne 0x4398b9
mov eax, dword [0x74c7b0]
push 2
push 4
push ebx
mov edx, dword [eax]
push eax
call dword [edx + 0xa0]
mov eax, dword [0x74c67c]
mov edx, dword [0x4ba868]
inc eax
push edx
mov dword [0x74c67c], eax
mov eax, dword [0x74c7b0]
push 0x18
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
inc dword [0x74c67c]
mov word [0x4b6da0], bx
cmp word [0x4b6da6], bx
je 0x4398e4
mov eax, dword [0x74c7b0]
mov word [0x4b6da6], bx
push ebx
push 7
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
inc dword [0x74c67c]
cmp dword [0x7622f0], ebx
je 0x4398fb
lea edx, [esp + 0xb4]
push edx
push 0x4b9340
jmp 0x43990d
mov ecx, dword [0x4d67a4]
lea eax, [esp + 0xb4]
add ecx, 0x10
push eax
push ecx
call fcn.00444240
add esp, 8
lea edx, [esp + 0xb4]
push 0x40000000
push edx
call fcn.00444330
lea eax, [esp + 0xbc]
push ebp
push eax
call fcn.00423930
add esp, 0x10
mov ecx, dword [esi - 0x3c]
mov edi, str.AI_Home
mov eax, dword [ecx*4 + 0x4b8bb4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x43996b
test cl, cl
je 0x439967
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x43996b
add eax, 2
add edi, 2
test cl, cl
jne 0x439947
xor eax, eax
jmp 0x439970
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x439bc8
mov ebp, dword [esi - 0x38]
and ebp, 0x1f
cmp ebp, 8
mov dword [esp + 0x10], ebp
mov dword [esi - 0x38], ebp
jge 0x4399c0
fild dword [esp + 0x10]
lea eax, [esp + 0x3c]
lea edx, [esp + 0x54]
lea ecx, [esp + 0x6c]
lea edi, [esp + 0x84]
fmul dword [0x4b024c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
fstp dword [esp + 0x14]
jmp 0x439a90
cmp ebp, 0x10
jge 0x439a05
add ebp, 0xfffffff8
lea eax, [esp + 0x54]
mov dword [esp + 0x10], ebp
lea edx, [esp + 0x60]
fild dword [esp + 0x10]
lea ecx, [esp + 0x84]
lea edi, [esp + 0x90]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
fmul dword [0x4b024c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
fstp dword [esp + 0x14]
jmp 0x439a90
cmp ebp, 0x18
jge 0x439a44
add ebp, 0xfffffff0
lea eax, [esp + 0x60]
mov dword [esp + 0x10], ebp
lea edx, [esp + 0x48]
fild dword [esp + 0x10]
lea ecx, [esp + 0x90]
lea edi, [esp + 0x78]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
fmul dword [0x4b024c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
fstp dword [esp + 0x14]
jmp 0x439a90
cmp ebp, 0x20
jge 0x439a80
add ebp, 0xffffffe8
lea eax, [esp + 0x48]
mov dword [esp + 0x10], ebp
lea edx, [esp + 0x3c]
fild dword [esp + 0x10]
lea ecx, [esp + 0x78]
lea edi, [esp + 0x6c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
fmul dword [0x4b024c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
fstp dword [esp + 0x14]
jmp 0x439a90
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
fld dword [edx]
fsub dword [eax]
lea ebp, [esi - 0x28]
fmul dword [esp + 0x14]
fadd dword [eax]
fstp dword [esp + 0x3c]
fld dword [edx + 4]
fsub dword [eax + 4]
fmul dword [esp + 0x14]
fadd dword [eax + 4]
fstp dword [esp + 0x40]
fld dword [edx + 8]
fsub dword [eax + 8]
fmul dword [esp + 0x14]
fadd dword [eax + 8]
lea eax, [esp + 0x54]
push eax
fstp dword [esp + 0x48]
fld dword [edi]
fsub dword [ecx]
fmul dword [esp + 0x18]
fadd dword [ecx]
fstp dword [esp + 0x4c]
fld dword [edi + 4]
fsub dword [ecx + 4]
fmul dword [esp + 0x18]
fadd dword [ecx + 4]
fstp dword [esp + 0x50]
fld dword [edi + 8]
fsub dword [ecx + 8]
lea edi, [esi - 0x34]
fmul dword [esp + 0x18]
fadd dword [ecx + 8]
lea ecx, [esp + 0x40]
push ecx
push edi
push ebp
fstp dword [esp + 0x60]
call fcn.00443580
lea edx, [esp + 0x70]
lea eax, [esp + 0x58]
push edx
push eax
push edi
push ebp
call fcn.00443580
add esp, 0x20
cmp word [0x4b6da0], bx
je 0x439b88
mov eax, dword [0x74c7b0]
push ebx
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov ecx, dword [0x74c67c]
inc ecx
cmp word [0x4b6da0], 2
mov dword [0x74c67c], ecx
jne 0x439b81
mov eax, dword [0x74c7b0]
push 2
push 4
push ebx
mov edx, dword [eax]
push eax
call dword [edx + 0xa0]
mov eax, dword [0x74c67c]
mov edx, dword [0x4ba868]
inc eax
push edx
mov dword [0x74c67c], eax
mov eax, dword [0x74c7b0]
push 0x18
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
inc dword [0x74c67c]
mov word [0x4b6da0], bx
cmp word [0x4b6da6], bx
je 0x439bac
mov eax, dword [0x74c7b0]
mov word [0x4b6da6], bx
push ebx
push 7
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
inc dword [0x74c67c]
push 0xff00
lea edx, [esp + 0x64]
push 0xff00
lea eax, [esp + 0x5c]
push edx
push eax
call fcn.004243d0
add esp, 0x10
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x7622dc]
inc eax
add esi, 0x44
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x43947c
pop edi
pop ebp
mov esi, 1
cmp word [0x4b6da6], si
je 0x439c0d
mov eax, dword [0x74c7b0]
mov word [0x4b6da6], si
push esi
push 7
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
inc dword [0x74c67c]
cmp word [0x4b6da8], 0
jne 0x439c32
mov eax, dword [0x74c7b0]
mov word [0x4b6da8], si
push esi
push 0xe
mov edx, dword [eax]
push eax
call dword [edx + 0x58]
inc dword [0x74c67c]
cmp word [0x4b6da0], 0
je 0x439ca6
mov eax, dword [0x74c7b0]
push 0
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov ecx, dword [0x74c67c]
inc ecx
cmp word [0x4b6da0], 2
mov dword [0x74c67c], ecx
jne 0x439c9d
mov eax, dword [0x74c7b0]
push 2
push 4
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0xa0]
mov ebx, dword [0x74c67c]
mov eax, dword [0x74c7b0]
mov edx, dword [0x4ba868]
inc ebx
mov dword [0x74c67c], ebx
mov ecx, dword [eax]
push edx
push 0x18
push eax
call dword [ecx + 0x58]
inc dword [0x74c67c]
mov word [0x4b6da0], 0
pop esi
pop ebx
add esp, 0x1d8
ret