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

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
mov esi, edx
mov dword [esp + 0x1c], ecx
lea eax, [ebx + 0x98]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], eax
lea ebp, [ecx + 0x30]
lea eax, [ebx + 0x78]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
add esi, 0x30
lea eax, [ebx + 0x60]
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], eax
lea eax, [ebx + 0x48]
push edi
mov dword [esp + 0x14], eax
lea edi, [ebx + 0x30]
lea eax, [ebx + 0x18]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], eax
push ecx
mov ecx, edx
call fcn.0049b7f0
test al, al
je 0x4a485f
mov ecx, dword [esp + 0x24]
call fcn.00409140
cmp ebx, eax
je 0x4a46c7
call fcn.00409140
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a46bc
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.004092c0
lea ecx, [esi - 0x18]
call fcn.00409140
cmp dword [esp + 0x10], eax
je 0x4a46f1
call fcn.00409140
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a46e4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004092c0
mov ecx, esi
call fcn.00409140
cmp edi, eax
je 0x4a4716
call fcn.00409140
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a470b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.004092c0
lea ecx, [esi + 0x18]
call fcn.00409140
mov edi, dword [esp + 0x14]
cmp edi, eax
je 0x4a4740
call fcn.00409140
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a4735
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.004092c0
lea ecx, [esi + 0x30]
call fcn.00409140
mov edi, dword [esp + 0x18]
cmp edi, eax
je 0x4a476a
call fcn.00409140
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a475f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.004092c0
lea ecx, [esi + 0x48]
call fcn.00409140
mov edi, dword [esp + 0x1c]
cmp edi, eax
je 0x4a4794
call fcn.00409140
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a4789
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.004092c0
mov al, byte [esi + 0x60]
mov ecx, 0xd7
mov edx, dword [esp + 0x24]
add dword [esp + 0x10], 0x3f4
add edx, 0x3f4
add dword [esp + 0x14], 0x3f4
add dword [esp + 0x18], 0x3f4
add dword [esp + 0x1c], 0x3f4
mov byte [ebx + 0x90], al
mov al, byte [esi + 0x61]
mov byte [ebx + 0x91], al
mov al, byte [esi + 0x62]
mov byte [ebx + 0x92], al
mov al, byte [esi + 0x63]
mov byte [ebx + 0x93], al
mov al, byte [esi + 0x64]
mov byte [ebx + 0x94], al
mov al, byte [esi + 0x65]
add esi, 0x68
mov byte [ebx + 0x95], al
add ebx, 0x3f4
mov eax, dword [esp + 0x30]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x2c]
add eax, 0x3f4
mov esi, dword [esp + 0x28]
add edi, 0x3f4
mov ecx, dword [esp + 0x20]
add esi, 0x3f4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], esi
cmp edx, dword [esp + 0x3c]
jne 0x4a4690
mov edx, dword [esp + 0x34]
mov byte [esp + 0x28], 0
push dword [esp + 0x28]
push ebx
call fcn.00499db0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x20]
call fcn.00409140
cmp ebx, eax
je 0x4a4886
call fcn.00409140
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a487b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.004092c0
lea ecx, [ebp - 0x18]
call fcn.00409140
mov esi, dword [esp + 0x10]
cmp esi, eax
je 0x4a48b0
call fcn.00409140
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a48a5
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.004092c0
mov ecx, ebp
call fcn.00409140
cmp edi, eax
je 0x4a48d5
call fcn.00409140
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a48ca
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.004092c0
lea ecx, [ebp + 0x18]
call fcn.00409140
mov esi, dword [esp + 0x14]
cmp esi, eax
je 0x4a48ff
call fcn.00409140
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a48f4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.004092c0
lea ecx, [ebp + 0x30]
call fcn.00409140
mov esi, dword [esp + 0x18]
cmp esi, eax
je 0x4a4929
call fcn.00409140
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a491e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.004092c0
lea ecx, [ebp + 0x48]
call fcn.00409140
mov esi, dword [esp + 0x1c]
cmp esi, eax
je 0x4a4953
call fcn.00409140
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a4948
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.004092c0
mov al, byte [ebp + 0x60]
lea esi, [ebp + 0x68]
mov byte [ebx + 0x90], al
mov ecx, 0xd7
mov al, byte [ebp + 0x61]
add dword [esp + 0x10], 0x3f4
add dword [esp + 0x14], 0x3f4
add dword [esp + 0x18], 0x3f4
add dword [esp + 0x1c], 0x3f4
mov byte [ebx + 0x91], al
mov al, byte [ebp + 0x62]
mov byte [ebx + 0x92], al
mov al, byte [ebp + 0x63]
mov byte [ebx + 0x93], al
mov al, byte [ebp + 0x64]
mov byte [ebx + 0x94], al
mov al, byte [ebp + 0x65]
add ebp, 0x3f4
mov byte [ebx + 0x95], al
add ebx, 0x3f4
mov eax, dword [esp + 0x30]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
add eax, 0x3f4
mov edi, dword [esp + 0x2c]
add ecx, 0x3f4
add edi, 0x3f4
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], ecx
cmp ecx, dword [esp + 0x34]
je 0x4a49fd
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
jmp 0x4a4690
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x34], 0
push dword [esp + 0x34]
push ebx
call fcn.00499db0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret