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

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
lea esi, [edi + 0x54]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x40]
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x2c]
lea eax, [eax + edx*4 + 0x34]
push eax
mov dword [esp + 0x20], eax
call fcn.00403450
mov dword [esp + 0x40], eax
test eax, eax
jne 0x473070
mov ecx, dword [esp + 0x3c]
call fcn.004386d0
push 0x52f9e0
push 0x523340
mov edx, eax
call fcn.00439ae0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
mov ecx, dword [edi + 0x78]
mov ebx, dword [edi + 0x74]
mov ebp, dword [edi + 0x7c]
add ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, 0xd
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x38]
xor edi, edi
add ebx, eax
add ebp, eax
cmp dword [esi + 0x70], edi
jle 0x473159
mov dword [esp + 0x14], edi
nop
mov ecx, dword [esi + 0x28]
sub ecx, dword [esi + 0x24]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x4730c2
call fcn.004d0cc5
mov esi, dword [esi + 0x24]
add esi, dword [esp + 0x14]
mov edx, dword [esi]
mov dword [ebx], edx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x14]
mov edx, ebp
sub edx, dword [esp + 0x40]
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x18], edx
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
push ebp
call fcn.004d46f0
add ebp, dword [esi + 0x24]
add esp, 0xc
mov edx, ebp
sub edx, dword [esp + 0x40]
mov dword [ebx + 0x1c], edx
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x20]
push eax
push ecx
push ebp
call fcn.004d46f0
mov edx, dword [esi + 0x18]
add ebp, dword [esi + 0x28]
add dword [esp + 0x20], 0x38
mov dword [ebx + 0x20], edx
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0x10], ecx
mov edx, dword [esi + 0x10]
mov dword [ebx + 0x14], edx
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x24], eax
mov ecx, dword [esi + 0x30]
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x28], ecx
mov edx, dword [esi + 0x34]
mov dword [ebx + 0x2c], edx
inc edi
add esp, 0xc
add ebx, 0x30
cmp edi, dword [eax + 0x70]
mov esi, eax
jl 0x4730a0
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x48]
mov ebx, dword [ecx]
mov edi, dword [esi + 0x30]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
lea esp, [esp]
mov edx, dword [esi + 0x48]
mov esi, dword [esi + 0x30]
mov dword [esp + 0x2c], edx
test edi, edi
je 0x473182
cmp edi, esi
je 0x47318b
call fcn.004d0cc5
mov eax, dword [esp + 0x40]
cmp ebx, dword [esp + 0x2c]
je 0x4732f0
test edi, edi
jne 0x4732b0
call fcn.004d0cc5
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4731ae
call fcn.004d0cc5
mov eax, dword [ebx + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4731b4
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, eax
mov ecx, ebp
sub ecx, dword [esp + 0x40]
movzx esi, ax
mov dword [edx], ecx
mov word [ebp], si
add ebp, 2
test edi, edi
jne 0x4732b7
call fcn.004d0cc5
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4731f4
call fcn.004d0cc5
mov eax, dword [ebx + 0xc]
movzx esi, si
push esi
push eax
push ebp
call fcn.004d46f0
mov eax, dword [esp + 0x1c]
add ebp, esi
mov ecx, ebp
sub ecx, dword [esp + 0x4c]
add esp, 0xc
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
test edi, edi
jne 0x4732be
call fcn.004d0cc5
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x473234
call fcn.004d0cc5
mov edx, dword [ebx + 0x28]
mov eax, dword [edx]
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
test edi, edi
jne 0x4732c5
call fcn.004d0cc5
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x473259
call fcn.004d0cc5
mov edi, dword [ebx + 0x28]
mov eax, dword [ebx + 0x10]
test esi, esi
je 0x473267
cmp esi, eax
je 0x47326c
call fcn.004d0cc5
cmp dword [esp + 0x18], edi
je 0x4732cd
mov eax, dword [esp + 0x10]
inc dword [eax + 8]
test esi, esi
jne 0x4732c9
call fcn.004d0cc5
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esi + 0x18]
jne 0x473290
call fcn.004d0cc5
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
mov dword [ebp], eax
lea esi, [esp + 0x14]
add ebp, 4
call fcn.00474da0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
jmp 0x473244
mov eax, dword [edi]
jmp 0x4731a4
mov eax, dword [edi]
jmp 0x4731ea
mov eax, dword [edi]
jmp 0x47322a
mov eax, dword [edi]
jmp 0x47324f
mov esi, dword [esi]
jmp 0x473282
add dword [esp + 0x10], 0xc
lea esi, [esp + 0x20]
call fcn.004749b0
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x20]
jmp 0x473170
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
push ecx
push edx
mov ebx, eax
mov edi, esi
call fcn.00473380
test al, al
jne 0x473367
cmp dword [esi], 0
je 0x47331d
mov esi, dword [esi]
add esi, 0x124
cmp dword [esi], 0
jne 0x473310
push 0x128
call fcn.004d0cf0
mov edi, eax
add esp, 4
test edi, edi
je 0x473345
mov ecx, edi
call fcn.004392f0
mov dword [edi + 0x124], 0
mov edx, edi
jmp 0x473347
xor edx, edx
push 0x52fa00
push 0x523340
mov dword [esi], edx
call fcn.00439ae0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x24
ret 0x10