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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x511080]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, ecx
push esi
mov esi, edx
mov dword [esp + 0x34], ebx
push edi
mov edx, dword [ebx]
mov al, byte [ebx + 0x9b]
mov byte [esp + 0x13], al
mov dword [esp + 0x30], esi
mov eax, dword [edx + 0x20]
and eax, 0x4000
mov dword [esp + 0x1c], edx
or eax, 0
je 0x47e226
cmp byte [esi + 0x2b], 0
jne 0x47e226
mov ecx, dword [esi + 0x3c]
mov edi, 0xffff8000
mov dword [esp + 0x2c], edi
test ecx, ecx
je 0x47dc6c
mov eax, dword [edx + 0x10]
xor edi, edi
add eax, 0xc
mov dword [esp + 0x2c], edi
cmp dword [eax], ecx
je 0x47dc6c
nop
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x47dc60
mov dword [esp + 0x2c], edi
mov eax, dword [edx + 0x10]
mov ecx, edi
mov edi, dword [esi + 0x30]
shl ecx, 4
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], edi
mov edx, dword [ecx + eax]
mov dword [esp + 0x34], edx
test edi, edi
je 0x47e03b
nop
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
je 0x47dd16
mov edx, dword [esi]
mov eax, dword [edi + 8]
test edx, edx
jne 0x47dcfb
neg eax
sbb eax, eax
test eax, eax
je 0x47dd12
xor esi, esi
cmp dword [edi + 0x14], esi
jle 0x47e024
lea edx, [edi + 0x24]
nop dword [eax]
mov ecx, dword [edx]
mov eax, dword [ebp + 0x10]
cmp dword [eax + ecx*4], 0
jge 0x47dd12
mov eax, dword [esp + 0x30]
movsx eax, word [eax + 0x20]
cmp ecx, eax
jne 0x47dced
cmp dword [ebp + 0x14], 0
jne 0x47dd12
inc esi
add edx, 8
cmp esi, dword [edi + 0x14]
jl 0x47dcd0
jmp 0x47e024
test eax, eax
je 0x47dcbf
mov esi, eax
sub esi, edx
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x47dd35
test eax, eax
jne 0x47dd4b
mov edx, dword [esp + 0x34]
cmp byte [ebx + 0x9b], 0
mov eax, dword [edi + 8]
push edx
je 0x47dd4e
mov esi, dword [esp + 0x20]
mov edx, eax
mov ecx, esi
call fcn.0046ba80
add esp, 4
jmp 0x47dd5f
movzx ecx, byte [ecx + 0x501178]
movzx eax, byte [eax + 0x501178]
sub eax, ecx
jne 0x47dcbb
inc edx
jmp 0x47dd03
push eax
xor edx, edx
mov ecx, ebx
call fcn.0046be70
mov esi, dword [esp + 0x24]
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
je 0x47dee9
lea ecx, [esp + 0x14]
mov edx, eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
push edi
mov ecx, ebx
call fcn.0047c240
add esp, 0xc
test eax, eax
jne 0x47dee5
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47dd9a
mov ecx, eax
mov dword [esp + 0x18], eax
jmp 0x47dda9
mov eax, dword [edi + 0x24]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ecx
xor esi, esi
cmp dword [edi + 0x14], esi
jle 0x47de1b
mov eax, dword [esp + 0x30]
movsx eax, word [eax + 0x20]
cmp dword [ecx + esi*4], eax
jne 0x47ddc4
mov dword [ecx + esi*4], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x16c], 0
je 0x47de15
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
test eax, eax
je 0x47dde6
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
jmp 0x47ddea
movzx eax, word [edx + 0x20]
push dword [esp + 0x2c]
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
mov edx, dword [edx]
push dword [eax + ecx*8]
mov ecx, ebx
call fcn.0046adf0
xor ecx, ecx
add esp, 8
cmp eax, 2
sete cl
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x18]
inc esi
cmp esi, dword [edi + 0x14]
jl 0x47ddb0
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
cmp ecx, 1
je 0x47de52
mov eax, dword [ebx]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx + 4]
cmp byte [eax + 9], 0
je 0x47de52
push dword [esi]
mov edx, ecx
mov ecx, ebx
push 0
push dword [esi + 0x14]
call fcn.0046af60
mov ecx, dword [esp + 0x38]
add esp, 0xc
inc dword [ebx + 0x28]
mov eax, dword [ebp + 8]
test eax, eax
je 0x47de79
push dword [esp + 0xc]
mov edx, ecx
mov ecx, ebx
push 0xffffffffffffffff
push eax
push dword [esp + 0x24]
push edi
push dword [esp + 0x3c]
push esi
call fcn.0047c500
add esp, 0x1c
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x47decb
mov eax, dword [ebx + 0x78]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x80]
test eax, eax
je 0x47deac
mov eax, dword [eax]
cmp eax, dword [edi + 0x1c]
jne 0x47dea1
cmp byte [edi + 0x19], 8
je 0x47decb
cmp eax, dword [edi + 0x20]
jne 0x47deac
cmp byte [edi + 0x1a], 8
je 0x47decb
push dword [esp + 0xc]
mov ecx, ebx
push 1
push edx
push dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
push edi
push dword [esp + 0x3c]
push esi
call fcn.0047c500
add esp, 0x1c
mov edx, dword [esp + 0x14]
test edx, edx
je 0x47e024
mov ecx, dword [esp + 0x1c]
call fcn.00418b80
jmp 0x47e024
mov eax, dword [esp + 0x24]
cmp byte [esp + 0x13], 0
je 0x47e226
cmp byte [esi + 0x57], 0
jne 0x47e226
test eax, eax
jne 0x47e024
mov esi, dword [ebx + 8]
mov dword [esp + 0xc], esi
test esi, esi
jne 0x47df2f
cmp dword [ebx + 0x78], esi
jne 0x47df22
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x47df22
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.00440600
mov esi, eax
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x6c]
mov edx, dword [edi + 0x14]
inc eax
add eax, edx
xor edi, edi
mov dword [esp + 0x14], eax
lea eax, [esi + 0x70]
mov dword [esp + 0x28], eax
test edx, edx
jle 0x47dfd0
mov eax, dword [esp + 0x18]
lea ebx, [eax + 0x24]
mov dx, word [ebx]
mov ecx, dword [eax]
call fcn.0046cd90
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
mov eax, dword [esp + 0x28]
cmp dword [eax], ecx
jg 0x47df88
push 0
push dword [esp + 0x18]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.00440850
add esp, 0xc
jmp 0x47dfbb
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
inc edi
add ebx, 8
cmp edi, dword [eax + 0x14]
jl 0x47df54
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c]
movzx edx, byte [edi + 0x18]
cmp dword [eax], ecx
jg 0x47dff5
push 0
push 0xffffffffffffffff
push edx
mov edx, 0x9e
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x47e024
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x9e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0xffffffff
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [edi + 4]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x47dc90
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi]
add ecx, 0x38
push 0
call fcn.0041e0a0
add esp, 4
mov edi, dword [eax + 8]
test edi, edi
je 0x47e226
nop dword [eax + eax]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
test eax, eax
je 0x47e08f
push dword [ebp + 0x14]
mov edx, edi
mov ecx, esi
push eax
call fcn.0047db10
add esp, 8
test eax, eax
je 0x47e21b
cmp byte [edi + 0x18], 0
jne 0x47e0b4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
and eax, 0x80000
or eax, 0
jne 0x47e0b4
cmp dword [ebx + 0x78], eax
jne 0x47e0b4
cmp byte [ebx + 0x14], al
je 0x47e21b
lea eax, [esp + 0xc]
mov edx, esi
push eax
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
push edi
call fcn.0047c240
add esp, 0xc
test eax, eax
je 0x47e0ed
cmp byte [esp + 0x13], 0
je 0x47e226
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x57], 0
jne 0x47e226
jmp 0x47e21b
mov eax, dword [ebx]
mov ecx, eax
push 0
push 0x50
mov dword [esp + 0x44], eax
call fcn.00419010
mov ebx, eax
add esp, 8
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
test ebx, ebx
je 0x47e206
push 0x48
lea edx, [ebx + 8]
mov dword [ebx + 4], 1
push 0
push edx
mov dword [ebx], 1
call fcn.004d4bd0
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov dword [ebx + 0x34], 0xffffffff
xor edx, edx
mov eax, dword [ebx]
lea eax, [eax + eax*8]
lea esi, [ebx + eax*8]
call fcn.0046c890
mov dword [esi - 0x38], eax
mov dword [esi - 0x3c], 0
mov ecx, dword [edi]
mov esi, dword [esp + 0x38]
mov dword [ebx + 0x18], ecx
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0x10], eax
inc dword [ecx + 0x18]
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x34], eax
inc dword [esi + 0x28]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x47e198
push 0xffffffffffffffff
push eax
push dword [esp + 0x14]
mov edx, ebx
push edi
push ecx
push dword [esp + 0x44]
mov ecx, esi
call fcn.0047cf60
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov edx, dword [ebp + 8]
test edx, edx
je 0x47e1e8
push 1
push edx
push dword [esp + 0x14]
xor eax, eax
mov edx, ebx
cmp dword [ebp + 0x10], eax
push edi
setne al
push ecx
push dword [esp + 0x44]
mov ecx, esi
mov al, byte [eax + edi + 0x19]
mov byte [esp + 0x3b], al
call fcn.0047cf60
add esp, 0x18
cmp byte [edi + 0x18], 0
jne 0x47e1e8
mov al, byte [esp + 0x23]
cmp al, 0xa
je 0x47e1e8
cmp al, 8
je 0x47e1e8
mov eax, dword [esi + 0x78]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov dword [ebx + 0x10], 0
mov edx, ebx
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.00473f40
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x30]
jmp 0x47e20a
mov ebx, dword [esp + 0x1c]
test eax, eax
je 0x47e217
mov edx, eax
mov ecx, ebx
call fcn.00418b80
mov ebx, dword [esp + 0x38]
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x47e060
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret