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

Disassembly:
sub esp, 0x104
mov eax, dword [0x716f80]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
mov ebx, dword [esp + 0x10c]
push ebp
push edi
mov edi, dword [esp + 0x11c]
cmp byte [ebx + 0x9f], 0
mov ebp, dword [ebx + 8]
mov ecx, dword [ebx]
mov dword [esp + 0x20], ebp
mov dword [esp + 0xc], ecx
je 0x476b3c
push esi
mov esi, dword [ebx + 0x90]
mov dword [esp + 0x14], esi
lea eax, [esi + 8]
cmp dword [esp + 0x11c], eax
jne 0x476b3b
xorps xmm0, xmm0
mov dword [esp + 0x8c], 0
push 0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xbc], xmm0
movlpd qword [esp + 0xc8], xmm0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd8], 0
movlpd qword [esp + 0xe0], xmm0
movlpd qword [esp + 0xe8], xmm0
movlpd qword [esp + 0xf0], xmm0
movlpd qword [esp + 0xfc], xmm0
movlpd qword [esp + 0x104], xmm0
movlpd qword [esp + 0x10c], xmm0
push dword [esi + 4]
push ecx
call fcn.004b5c70
mov dword [esp + 0x9c], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0xa0], eax
mov eax, dword [edi]
mov dword [esp + 0xdc], eax
lea eax, [esp + 0x80]
push 0
push eax
push ebx
mov dword [esp + 0xd8], 1
mov dword [esp + 0xf0], edi
mov dword [esp + 0x10c], 0xffffffff
call fcn.004d1020
add esp, 0x18
cmp dword [ebx + 0x24], 0
jne 0x47682f
lea eax, [esp + 0x74]
push eax
push ebx
call fcn.004ba060
add esp, 8
mov eax, dword [esp + 0x90]
test eax, eax
je 0x476847
push eax
push dword [esp + 0x14]
call fcn.0047ea30
add esp, 8
push edi
push dword [esi + 4]
push ebx
call fcn.004b0df0
add esp, 0xc
mov esi, eax
cmp dword [ebx + 0x24], 0
mov dword [esp + 0x18], esi
jne 0x476b18
mov ecx, dword [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x54], 0
movlpd qword [esp + 0x5c], xmm0
mov dword [esp + 0x64], 0
cmp dword [ecx + 0x60], 0
movlpd qword [esp + 0x6c], xmm0
jne 0x47689b
mov eax, dword [esi]
mov dword [ecx + 0x60], eax
mov eax, dword [ebx + 0x28]
mov dword [ecx + 0x5c], eax
inc dword [ebx + 0x28]
mov eax, dword [esp + 0x124]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x11c]
push esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x6c], 0x400
mov al, byte [eax + 8]
mov byte [ebx + 0x9e], al
lea eax, [esp + 0x54]
push eax
mov dword [ebx + 0x84], edi
call fcn.004cc170
add esp, 8
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x476b1c
cmp byte [eax + 0x57], 0
jne 0x476b1c
mov eax, dword [ebx + 0x2c]
xorps xmm0, xmm0
mov esi, dword [esi]
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], 0
movlpd qword [esp + 0x3c], xmm0
lea edi, [eax + 8]
mov dword [esp + 0x44], 0
mov dword [esp + 0x34], fcn.0044ef50
mov dword [esp + 0x38], 0x4cc790
test esi, esi
jle 0x476956
mov eax, dword [edi]
test eax, eax
je 0x47694a
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004e6260
add esp, 8
test eax, eax
jne 0x476952
dec esi
add edi, 0x14
test esi, esi
jg 0x476932
mov eax, dword [esp + 0x18]
cmp word [esp + 0x44], 0
je 0x476997
mov esi, dword [eax]
lea edi, [eax + 8]
mov dword [esp + 0x34], 0x4cc7e0
mov dword [esp + 0x38], fcn.0044ef50
test esi, esi
jle 0x476997
mov eax, dword [edi]
test eax, eax
je 0x47698f
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004e6260
add esp, 8
test eax, eax
jne 0x476997
dec esi
add edi, 0x14
test esi, esi
jg 0x476977
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x1c]
add eax, 2
mov edx, dword [esp + 0x2c]
add eax, ecx
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0x64], edx
xor eax, eax
test ecx, ecx
jle 0x476adc
mov eax, dword [esp + 0x18]
mov edi, edx
add eax, 8
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x28], eax
mov ecx, 2
cmp byte [ebx + 0x17], 0
mov esi, dword [eax]
je 0x476a19
mov word [esp + 0x44], cx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], fcn.0047ee40
mov dword [esp + 0x38], 0x4d10f0
test esi, esi
je 0x476a0c
lea eax, [esp + 0x30]
push esi
push eax
call fcn.004e6260
add esp, 8
cmp word [esp + 0x44], 0
je 0x476a19
push edi
push esi
push ebx
call fcn.004b2f10
add esp, 0xc
jmp 0x476a62
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
test esi, esi
je 0x476a39
push 0
push 0
push esi
push eax
call fcn.0047df60
mov ebp, eax
add esp, 0x10
mov eax, dword [esp + 0x20]
jmp 0x476a3b
xor ebp, ebp
cmp byte [eax + 0x57], 0
jne 0x476a50
push edi
push ebp
push ebx
call fcn.004b1c60
mov eax, dword [esp + 0x2c]
add esp, 0xc
test ebp, ebp
je 0x476a5e
push ebp
push eax
call fcn.004b4a30
add esp, 8
mov ebp, dword [esp + 0x24]
push esi
call fcn.004b1300
add esp, 4
cmp al, 0x45
jne 0x476ab8
mov ecx, dword [ebp + 0x6c]
cmp dword [ebp + 0x70], ecx
jg 0x476a89
push 0
push 0
push edi
push 0x57
push ebp
call fcn.00486380
add esp, 0x14
jmp 0x476ab8
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebp + 0x68]
mov dword [eax + ecx*4], 0x57
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
inc edi
add eax, 0x14
mov ecx, 2
sub dword [esp + 0x1c], 1
mov dword [esp + 0x28], eax
jne 0x4769d1
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
lea edi, [eax + edx]
push edi
push eax
push edx
push 0x61
push ebp
call fcn.004d77f0
mov eax, dword [esp + 0x28]
lea esi, [edi + 1]
push esi
push dword [eax + 0x5c]
push 0x7f
push ebp
call fcn.004d7790
mov eax, dword [esp + 0x38]
push esi
push edi
push dword [eax + 0x5c]
push 0x80
push ebp
call fcn.004d77f0
mov esi, dword [esp + 0x50]
add esp, 0x38
mov eax, dword [esp + 0x10]
test esi, esi
je 0x476b2a
push esi
push eax
call fcn.0047ea30
add esp, 8
mov byte [ebx + 0x9e], 0
mov dword [ebx + 0x84], 0
pop esi
mov ecx, dword [esp + 0x10c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0065469c
add esp, 0x104
ret