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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4e2040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x38], esi
mov ecx, dword [esi]
mov al, byte [esi + 0x9b]
mov byte [ebp - 9], al
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx + 0x20]
and eax, 0x4000
or eax, 0
je 0x47e350
cmp byte [ebx + 0x2b], 0
jne 0x47e350
mov edx, dword [ebx + 0x3c]
call fcn.004864ff
mov ecx, dword [ecx + 0x10]
mov edx, eax
mov edi, dword [ebx + 0x30]
add edx, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + edx*8]
mov dword [ebp - 0x20], eax
jmp 0x47e1e7
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 0x10], ecx
je 0x47dfe4
mov ecx, dword [ebx]
mov eax, dword [edi + 8]
test ecx, ecx
jne 0x47dfb9
neg eax
sbb eax, eax
jmp 0x47dfc4
test eax, eax
je 0x47dfc8
mov edx, eax
call fcn.00441c65
test eax, eax
je 0x47dfe1
push dword [ebp + 0x14]
mov edx, edi
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.0047de5d
pop ecx
pop ecx
test eax, eax
je 0x47e1e1
mov eax, dword [ebp - 0x20]
cmp byte [esi + 0x9b], 0
push eax
je 0x47dffb
mov edx, dword [edi + 8]
mov ecx, dword [ebp - 0x18]
call fcn.0047405a
jmp 0x47e008
push dword [edi + 8]
xor edx, edx
mov ecx, esi
call fcn.00474253
pop ecx
mov ebx, eax
pop ecx
test ebx, ebx
je 0x47e155
lea eax, [ebp - 0x10]
mov edx, ebx
push eax
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push edi
call fcn.0047d392
add esp, 0xc
test eax, eax
jne 0x47e155
cmp dword [ebp - 0x10], eax
je 0x47e03a
mov edx, dword [ebp - 0x10]
jmp 0x47e043
mov eax, dword [edi + 0x24]
lea edx, [ebp - 8]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
cmp dword [edi + 0x14], ecx
jle 0x47e0b3
mov eax, dword [ebp - 0x14]
movsx eax, word [eax + 0x20]
cmp dword [edx + ecx*4], eax
jne 0x47e060
or dword [edx + ecx*4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x16c], 0
je 0x47e0aa
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x47e07c
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx*2]
jmp 0x47e080
movzx eax, word [ebx + 0x20]
push dword [ebp - 0x34]
mov edx, dword [ebx]
movsx ecx, ax
mov eax, dword [ebx + 4]
add ecx, ecx
push dword [eax + ecx*8]
mov ecx, esi
call fcn.00473a09
mov edx, dword [ebp - 0x2c]
sub eax, 2
neg eax
pop ecx
sbb eax, eax
pop ecx
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x24], eax
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, dword [edi + 0x14]
jl 0x47e050
push dword [ebx]
mov edx, dword [ebp - 0x34]
mov ecx, esi
push 0
push dword [ebx + 0x14]
call fcn.00473c88
mov eax, dword [ebp + 8]
add esp, 0xc
inc dword [esi + 0x28]
test eax, eax
je 0x47e0ec
push dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
mov ecx, esi
push 0xffffffffffffffff
push eax
push dword [ebp - 0x2c]
push edi
push dword [ebp - 0x30]
push ebx
call fcn.0047d583
add esp, 0x1c
cmp dword [ebp + 0xc], 0
je 0x47e13b
cmp dword [esi + 0x78], 0
mov eax, esi
cmovne eax, dword [esi + 0x78]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x47e11e
mov eax, dword [eax]
cmp eax, dword [edi + 0x1c]
jne 0x47e113
cmp byte [edi + 0x19], 8
je 0x47e13b
cmp eax, dword [edi + 0x20]
jne 0x47e11e
cmp byte [edi + 0x1a], 8
je 0x47e13b
push dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
mov ecx, esi
push 1
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
push edi
push dword [ebp - 0x30]
push ebx
call fcn.0047d583
add esp, 0x1c
cmp dword [ebp - 0x10], 0
je 0x47e1de
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.0043eeff
jmp 0x47e1de
cmp byte [ebp - 9], 0
je 0x47e350
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x57], 0
jne 0x47e350
test ebx, ebx
jne 0x47e1de
mov ecx, esi
call fcn.00488de5
mov edx, dword [edi + 0x14]
mov ebx, eax
and dword [ebp - 0x28], 0
lea eax, [edx + 1]
add eax, dword [ebx + 0x6c]
mov dword [ebp - 0x24], eax
test edx, edx
jle 0x47e1c6
lea esi, [edi + 0x24]
mov dx, word [esi]
mov ecx, dword [edi]
call fcn.00474bf1
mov ecx, dword [ebp + 8]
push 0
push dword [ebp - 0x24]
inc ecx
cwde
add eax, ecx
mov ecx, ebx
push eax
push 0x32
pop edx
call fcn.004591cc
mov eax, dword [ebp - 0x28]
lea esi, [esi + 8]
add esp, 0xc
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [edi + 0x14]
jl 0x47e190
mov esi, dword [ebp - 0x38]
movzx eax, byte [edi + 0x18]
mov edx, 0x9e
push 0
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.004591cc
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov edi, dword [edi + 4]
mov eax, dword [ebp - 0x20]
test edi, edi
jne 0x47df9a
mov ecx, ebx
call fcn.0047dc9b
mov edi, eax
jmp 0x47e348
and dword [ebp - 0x20], 0
and dword [ebp - 0x10], 0
cmp dword [ebp + 0x10], 0
je 0x47e224
push dword [ebp + 0x14]
mov edx, edi
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.0047de9e
pop ecx
pop ecx
test eax, eax
je 0x47e345
cmp byte [edi + 0x18], 0
jne 0x47e248
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
and eax, 0x80000
or eax, 0
jne 0x47e248
cmp dword [esi + 0x78], eax
jne 0x47e248
cmp byte [esi + 0x14], al
je 0x47e345
lea eax, [ebp - 0x10]
mov edx, ebx
push eax
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
push edi
call fcn.0047d392
add esp, 0xc
test eax, eax
je 0x47e27d
cmp byte [ebp - 9], 0
je 0x47e350
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x57], 0
jne 0x47e350
jmp 0x47e345
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.00478daa
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x47e32f
mov edx, dword [edi]
mov dword [ebx + 0x18], edx
mov ecx, dword [edi]
mov eax, dword [ecx]
mov dword [ebx + 0x10], eax
inc dword [edx + 0x18]
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x34], eax
inc dword [esi + 0x28]
cmp dword [ebp + 0xc], 0
je 0x47e2cf
push 0xffffffffffffffff
push dword [ebp + 0xc]
mov edx, ebx
mov ecx, esi
push dword [ebp - 0x10]
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.0047d989
add esp, 0x18
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x47e31d
push 1
push ecx
push dword [ebp - 0x10]
xor eax, eax
mov edx, ebx
cmp dword [ebp + 0x10], eax
mov ecx, esi
push edi
push dword [ebp - 0x20]
setne al
push dword [ebp - 0x14]
mov al, byte [eax + edi + 0x19]
mov byte [ebp - 0x19], al
call fcn.0047d989
add esp, 0x18
cmp byte [edi + 0x18], 0
jne 0x47e31d
mov al, byte [ebp - 0x19]
cmp al, 0xa
je 0x47e31d
cmp al, 8
je 0x47e31d
cmp dword [esi + 0x78], 0
mov eax, esi
cmovne eax, dword [esi + 0x78]
mov byte [eax + 0x15], 1
and dword [ebx + 0x10], 0
mov edx, ebx
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00478ead
jmp 0x47e332
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x10], 0
je 0x47e342
mov edx, dword [ebp - 0x10]
mov ecx, ebx
call fcn.0043eeff
mov ebx, dword [ebp - 0x14]
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x47e1fd
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b0ce6
leave
ret