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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
xor eax, eax
mov dword [esp + 0x20], edx
cmp dword [edx + 0x2c], 0
mov edi, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x28]
mov esi, dword [edi + 8]
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], 0
mov byte [edx], 1
mov dword [esp + 0x10], eax
jle 0x474301
nop
mov eax, dword [eax]
mov dword [esp + 0x18], 0
mov edx, dword [eax + 0x14]
mov dword [esp + 0x30], edx
test edx, edx
je 0x473fb8
mov ebx, dword [edx]
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x40]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], eax
cmp ebx, ecx
jg 0x473f98
sub ecx, ebx
add eax, ebx
push 1
mov dword [edi + 0x3c], ecx
mov ecx, dword [esp + 0x10]
push 0
push ecx
mov ecx, edi
mov dword [edi + 0x40], eax
call fcn.00450580
add esp, 0xc
jmp 0x473fc8
mov eax, dword [edi + 0x4c]
push 1
push 0
lea ecx, [eax + 1]
add eax, ebx
mov dword [esp + 0x14], ecx
push ecx
mov ecx, edi
mov dword [edi + 0x4c], eax
call fcn.00450580
add esp, 0xc
jmp 0x473fc8
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0x10]
cmp dword [edx + 0xc], 0
jl 0x474037
mov ebx, dword [esi + 0x18]
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0x18], ecx
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x47400b
mov edx, dword [ebx + 0x78]
lea eax, [ecx*8 + 4]
mov ecx, dword [ebx]
push 0
push eax
call fcn.00418a40
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x474019
mov dword [eax + ecx*4], 0xffffffff
push dword [esp + 0xc]
mov edx, dword [edx + 0xc]
not ecx
push 1
mov dword [esp + 0x20], ecx
push ecx
mov ecx, edi
call fcn.0046ce50
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [edx + 4]
test byte [eax + 2], 0x20
je 0x47414e
mov ecx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x24], eax
xor ebx, ebx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x30], ecx
cmp ebx, dword [esp + 0x14]
jge 0x4740bc
mov edx, dword [ecx]
mov ecx, edi
call fcn.0044b470
mov ecx, dword [esp + 0x30]
inc ebx
add ecx, 0x18
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
test eax, eax
je 0x474057
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x474099
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x24], ecx
je 0x474099
inc dword [edi + 0x4c]
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
cmp dword [eax + 0x58], edx
jg 0x4740c7
push 0
push 0
push ecx
mov edx, 0x56
mov ecx, esi
call fcn.004376e0
add esp, 0xc
mov edx, eax
jmp 0x474102
test eax, eax
jne 0x47407a
mov eax, dword [edi]
mov ebx, dword [eax + 8]
jmp 0x47407e
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x28]
mov word [eax + ecx*4], 0x56
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x47411a
push ebx
mov edx, 0xfffffffc
call fcn.004381b0
add esp, 4
jmp 0x47414e
test edx, edx
jns 0x474122
mov edx, dword [esi + 0x20]
dec edx
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x474143
push 0xfffffffffffffffc
push ebx
mov edx, eax
mov ecx, esi
call fcn.004383e0
add esp, 8
jmp 0x47414e
test ebx, ebx
je 0x47414e
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xfc
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x20]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x30], ecx
cmp dword [eax + 0x58], edx
jg 0x474181
push ecx
push dword [esp + 0x10]
mov edx, 0x91
mov ecx, esi
push 0
call fcn.004376e0
add esp, 0xc
mov edx, eax
jmp 0x4741bc
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x28]
mov word [eax + ecx*4], 0x91
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x4741d4
push ebx
mov edx, 0xfffffffb
call fcn.004381b0
add esp, 4
jmp 0x474208
test edx, edx
jns 0x4741dc
mov edx, dword [esi + 0x20]
dec edx
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4741fd
push 0xfffffffffffffffb
push ebx
mov edx, eax
mov ecx, esi
call fcn.004383e0
add esp, 8
jmp 0x474208
test ebx, ebx
je 0x474208
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xfb
mov eax, dword [esi]
mov ebx, dword [esp + 0x14]
cmp byte [eax + 0x45], 0
jne 0x474221
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], bl
mov edx, dword [esp + 0xc]
mov ecx, edi
push ebx
call fcn.0044ebb0
mov edx, dword [esp + 0x10]
add esp, 4
mov ecx, edi
push ebx
call fcn.0044ebb0
add esp, 4
cmp ebx, dword [edi + 0x3c]
jle 0x47424e
mov eax, dword [esp + 0xc]
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47427c
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x47426e
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
mov ecx, edi
dec eax
mov dword [edx + 0x60], eax
call fcn.0044eff0
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
inc ebx
mov eax, dword [esp + 0x10]
add eax, 0x10
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], eax
cmp ebx, dword [ecx + 0x2c]
jl 0x473f50
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x474301
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov dword [esp + 0x2c], ebx
cmp dword [eax + 0x58], ebx
jg 0x4742ce
push 0
push 0
push edx
mov edx, 0x15
mov ecx, esi
call fcn.004376e0
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x474301
lea eax, [ebx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, edi
call fcn.0044eff0
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x24], 0
mov ebx, dword [eax + 0x1c]
jle 0x474340
add ebx, 0x14
xor esi, esi
nop word [eax + eax]
push dword [ebx - 4]
mov edx, dword [ebx]
mov ecx, edi
call fcn.00450380
mov eax, dword [esp + 0x24]
lea ebx, [ebx + 0x18]
inc esi
add esp, 4
cmp esi, dword [eax + 0x24]
jl 0x474320
mov esi, dword [esp + 0x28]
mov ecx, edi
mov byte [eax], 0
call fcn.0044eff0
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x47438a
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov edx, dword [esi + 0x20]
test ebx, ebx
jns 0x474366
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x47437d
mov eax, 0x520b44
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret