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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x570400]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0xc], edx
push esi
push edi
mov dword [esp + 0x10], eax
cmp byte [ebx + 0x9f], 0
mov edi, dword [ebx + 8]
mov ecx, dword [ebx]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ecx
je 0x4a6cb1
mov esi, dword [ebx + 0x90]
mov dword [esp + 0x2c], esi
lea eax, [esi + 8]
cmp edx, eax
jne 0x4a6cb1
xorps xmm0, xmm0
mov dword [esp + 0x88], 0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x94], xmm0
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xc4], xmm0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd4], 0
movlpd qword [esp + 0xdc], xmm0
movlpd qword [esp + 0xe4], xmm0
movlpd qword [esp + 0xec], xmm0
movlpd qword [esp + 0xf8], xmm0
movlpd qword [esp + 0x100], xmm0
movlpd qword [esp + 0x108], xmm0
mov edx, dword [esi + 4]
push 0
call fcn.0045cc70
mov dword [esp + 0x90], eax
lea edx, [esp + 0x74]
lea eax, [esp + 0xc4]
mov dword [esp + 0xc4], 1
mov dword [esp + 0x94], eax
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, ebx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xf4], 0xffffffff
push 0
mov eax, dword [eax]
mov dword [esp + 0xd4], eax
call fcn.0049ea80
add esp, 4
cmp dword [ebx + 0x24], 0
jne 0x4a694b
lea edx, [esp + 0x70]
mov ecx, ebx
call fcn.00497470
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x4a695f
mov ecx, dword [esp + 0x20]
call fcn.0045d940
push dword [esp + 0x10]
mov edx, dword [esi + 4]
mov ecx, ebx
call fcn.004a64a0
add esp, 4
mov ecx, eax
cmp dword [ebx + 0x24], 0
mov dword [esp + 0x1c], ecx
jne 0x4a6c8f
cmp dword [esi + 0x60], 0
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
movlpd qword [esp + 0x68], xmm0
jne 0x4a69b3
mov eax, dword [ecx]
mov dword [esi + 0x60], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x5c], eax
inc dword [ebx + 0x28]
mov eax, dword [ebp + 0xc]
mov edx, ecx
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x64], 0x400
mov al, byte [eax + 8]
mov byte [ebx + 0x9e], al
mov dword [ebx + 0x84], esi
call fcn.0045a730
mov ecx, dword [esp + 0x1c]
test eax, eax
mov eax, dword [esp + 0x20]
jne 0x4a6c93
cmp byte [eax + 0x57], 0
jne 0x4a6c93
mov eax, dword [ecx]
xorps xmm0, xmm0
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x48], esi
inc edx
mov esi, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edx
lea eax, [ecx + 8]
mov dword [esp + 0x30], 0
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], 0
mov dword [esp + 0x34], fcn.004182e0
mov dword [esp + 0x38], 0x4a6790
mov dword [esp + 0x28], eax
test esi, esi
jle 0x4a6a73
mov edi, eax
nop dword [eax]
mov edx, dword [edi]
lea ecx, [esp + 0x30]
call fcn.004570f0
test eax, eax
jne 0x4a6a67
dec esi
add edi, 0x14
test esi, esi
jg 0x4a6a50
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
cmp word [esp + 0x44], 0
je 0x4a6abb
mov esi, dword [ecx]
mov dword [esp + 0x34], 0x4a6760
mov dword [esp + 0x38], fcn.004182e0
mov dword [esp + 0x10], eax
test esi, esi
jle 0x4a6abb
mov edi, eax
nop word [eax + eax]
mov edx, dword [edi]
lea ecx, [esp + 0x30]
call fcn.004570f0
test eax, eax
jne 0x4a6ab7
dec esi
add edi, 0x14
test esi, esi
jg 0x4a6aa0
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
xor edx, edx
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
lea eax, [ecx + 2]
add dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x64], eax
test ecx, ecx
jle 0x4a6b7a
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x28]
mov ecx, ebx
push eax
mov esi, dword [esi]
mov edx, esi
call fcn.00463f20
add esp, 4
mov ecx, esi
call fcn.0045a8a0
cmp al, 0x45
jne 0x4a6b55
mov ecx, dword [edi + 0x6c]
mov edx, dword [esp + 0x18]
cmp dword [edi + 0x70], ecx
jg 0x4a6b26
push 0
push 0
push edx
mov edx, 0x57
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
jmp 0x4a6b55
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x57
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 eax, dword [esp + 0x18]
add dword [esp + 0x28], 0x14
inc eax
sub dword [esp + 0x24], 1
mov dword [esp + 0x18], eax
jne 0x4a6ae6
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 0x6c]
add edx, eax
mov dword [esp + 0x24], edx
cmp dword [edi + 0x70], ecx
jg 0x4a6ba3
push edx
push dword [esp + 0x14]
mov edx, 0x61
mov ecx, edi
push eax
call fcn.00441fb0
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x4a6bd6
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x5c]
lea eax, [edx + 1]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x70], ecx
jg 0x4a6c08
push 0
push eax
push dword [esp + 0x1c]
mov edx, 0x7f
mov ecx, edi
call fcn.00441fb0
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x4a6c3e
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
lea esi, [edx + 1]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
mov esi, dword [esi + 0x5c]
cmp dword [edi + 0x70], ecx
jg 0x4a6c60
lea eax, [edx + 1]
mov ecx, edi
push eax
push edx
push esi
mov edx, 0x80
call fcn.00441fb0
add esp, 0xc
jmp 0x4a6c8b
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
test ecx, ecx
je 0x4a6ca0
mov edx, ecx
mov ecx, eax
call fcn.0045d940
mov byte [ebx + 0x9e], 0
mov dword [ebx + 0x84], 0
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret