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

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
mov esi, ecx
test eax, eax
mov dword [esp + 4], esi
je 0x47e983
xor eax, eax
pop esi
pop ecx
ret 8
push ebx
push ebp
push edi
push 0
push 0
push 0x3e9
call fcn.0048437c
mov edx, dword [esi + 0x3c]
lea ecx, [esp + 0x18]
push 0
push ecx
push edx
mov ecx, eax
call fcn.0047f3fc
cmp eax, 1
jne 0x47ea80
mov eax, dword [esi + 0x40]
mov ecx, dword [esp + 0x18]
push 0
push 0
push eax
add ecx, 0x14
call fcn.0047ee2c
test eax, eax
je 0x47ea80
mov edx, dword [esp + 0x18]
push eax
lea ecx, [edx + 0x14]
mov edx, dword [edx + 0x14]
call dword [edx + 0x14]
mov ebp, eax
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x47ea80
xor ebx, ebx
mov eax, dword [esp + 0x18]
push 0
push ebx
lea ecx, [eax + 0x14]
call fcn.0047edac
mov esi, eax
test esi, esi
je 0x47ea80
mov ecx, dword [esi]
push 0
push ecx
push 0x3ea
call fcn.0048437c
test eax, eax
je 0x47ea7a
test dword [eax + 0x14], 0x80000
je 0x47ea7a
add esi, 0x18
push esi
call fcn.0046f96c
add esi, eax
push esi
call fcn.0046f96c
add esp, 8
add esi, eax
mov edi, ebp
mov esi, dword [esi]
mov eax, dword [esi + 0x40]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x47ea61
test cl, cl
je 0x47ea5d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x47ea61
add eax, 2
add edi, 2
test cl, cl
jne 0x47ea3d
xor eax, eax
jmp 0x47ea66
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x47ea7a
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x44]
push ecx
lea ecx, [esi + 0x5c]
call 0xc9cd6fac
jne 0x47eaaa
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.00479040
cmp dword [esp + 0xe8], eax
jl 0x47eaa0
mov ecx, esi
call fcn.00479050
cmp dword [esp + 0xec], eax
jge 0x47eaaa
push 0xf
call dword [0x4b55c0]
jmp 0x47eaac
mov eax, ebp
push eax
lea ecx, [esp + 0x88]
call 0x4d89ef
mov al, byte [esp + 0xf0]
mov esi, dword [esp + 0xdc]
test al, 0x20
mov byte [esp + 0xd4], 1
je 0x47eb33
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x50], edx
test eax, eax
mov dword [esp + 0x58], ecx
je 0x47eb0f
push eax
lea edx, [esp + 0x50]
lea eax, [esp + 0x50]
push edx
push eax
call dword [0x4b559c]
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0x84]
mov edx, dword [esi + 4]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x4c]
push eax
push ecx
push edx
call dword [0x4b55d8]
test byte [esp + 0xf0], 1
je 0x47f1b5
lea ecx, [esp + 0x90]
call fcn.0047ad70
test eax, eax
jne 0x47ee1c
mov eax, dword [esp + 0x44]
test ah, 7
je 0x47ec6d
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, dword [eax + 0x3c]
push ecx
mov ecx, dword [eax + 0x6c]
cmp ecx, 2
lea ecx, [esp + 0x50]
setne dl
dec edx
and edx, 3
push edx
push 0
call 0x4d899f
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
mov byte [esp + 0xd8], 2
call 0x4d7f86
mov ebp, dword [esp + 0xe0]
push ebx
lea ecx, [esp + 0x40]
push ebp
push ecx
mov ecx, esi
mov dword [esp + 0x24], eax
call 0x4d8477
mov eax, dword [esp + 0x44]
test ah, 1
je 0x47ebc8
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add edx, ebx
push edx
jmp 0x47ec3c
mov eax, dword [esp + 0x44]
test ah, 4
je 0x47ec04
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add ecx, ebx
add edx, ebp
push ecx
push edx
mov ecx, esi
call 0x4d84c3
mov eax, dword [esp + 0x20]
push ebx
add eax, ebp
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, esi
call 0x4d8477
mov edx, dword [esp + 0x24]
add edx, ebx
push edx
push ebp
jmp 0x47ec3f
mov eax, dword [esp + 0x24]
mov ecx, esi
cdq
sub eax, edx
sar eax, 1
add eax, ebx
push eax
mov eax, dword [esp + 0x24]
add eax, ebp
push eax
call 0x4d84c3
push ebx
lea ecx, [esp + 0x40]
push ebp
push ecx
mov ecx, esi
call 0x4d8477
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add edx, ebx
push edx
cdq
sub eax, edx
sar eax, 1
add eax, ebp
push eax
mov ecx, esi
call 0x4d84c3
mov eax, dword [esp + 0x18]
mov ecx, esi
push eax
call 0x4d7f86
mov dword [esp + 0x4c], 0x8fa2c8
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd4], 3
call 0x4d8989
jmp 0x47ec74
mov ebp, dword [esp + 0xe0]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
neg eax
push eax
push eax
push ecx
call dword [0x4b5594]
mov edx, dword [0x91ac60]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x90]
push eax
mov byte [esp + 0xd8], 4
call fcn.0047aea0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x47ee06
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0x8fbfcc
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push 0
lea eax, [esp + 0x94]
push edx
push eax
mov byte [esp + 0xe0], 5
call fcn.0047e790
mov edx, dword [esi]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call dword [edx + 0x28]
cmp edi, 2
mov dword [esp + 0x18], eax
mov ebp, 0x800
je 0x47ed23
cmp edi, 5
je 0x47ed23
cmp edi, 8
je 0x47ed23
cmp edi, 3
je 0x47ed1c
cmp edi, 6
je 0x47ed1c
cmp edi, 9
jne 0x47ed28
mov ebp, 0x802
jmp 0x47ed28
mov ebp, 0x801
cmp edi, 4
je 0x47ed4b
cmp edi, 5
je 0x47ed4b
cmp edi, 6
je 0x47ed4b
cmp edi, 7
je 0x47ed46
cmp edi, 8
je 0x47ed46
cmp edi, 9
jne 0x47ed4e
or ebp, 8
jmp 0x47ed4e
or ebp, 4
push 0xd
lea ecx, [esp + 0x14]
call 0x4d205c
cmp eax, 0xffffffff
jne 0x47ed8d
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x4c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [0x4b50ac]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
sub ecx, edx
cmp eax, ecx
jge 0x47ed8d
or ebp, 0x20
jmp 0x47ed90
or ebp, 0x10
mov eax, dword [esp + 0x14]
test byte [eax + 0x44], 8
je 0x47eda7
mov ecx, dword [eax + 0x6c]
test ecx, ecx
je 0x47eda7
or ebp, 0x100
mov edi, dword [esi]
lea ecx, [esp + 0x90]
nop
add byte [eax], al
add al, ch
or edi, dword [ebp]
add byte [eax - 0x75], dl
into
cmp eax, 1
je 0x47ee2a
cmp eax, 2
jne 0x47f1b5
lea ecx, [esp + 0x90]
call fcn.0047ae10
test eax, eax