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

Disassembly:
push 0xffffffffffffffff
push 0x4dd790
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x53132c]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53132c]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x78]
mov esi, ecx
mov dword [esp + 0x14], ebx
test bl, 3
jne 0x4a2391
cmp ebx, 0x10
ja 0x4a2391
xor ebp, ebp
mov edi, ebx
shr edi, 2
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
push 1
mov dword [esp + 0x70], 1
call fcn.00479b90
add esp, 4
mov ebx, eax
mov dword [esp + 0x28], ebx
test edi, edi
je 0x4a224a
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push ebp
push ebp
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax]
lea ecx, [edi*4]
push ecx
mov ecx, ebx
call edx
mov ebp, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], edi
xor eax, eax
mov dword [esp + 0x6c], 0xffffffff
cmp dword [esp + 0x14], eax
je 0x4a227d
mov edx, dword [esp + 0x74]
movzx edx, byte [eax + edx]
mov ecx, eax
shr ecx, 2
mov ebx, dword [ebp + ecx*4]
lea ecx, [ebp + ecx*4]
shl ebx, 8
add edx, ebx
inc eax
mov dword [ecx], edx
cmp eax, dword [esp + 0x14]
jne 0x4a225a
xor ebx, ebx
test edi, edi
je 0x4a229f
mov eax, dword [ebp + ebx*4]
push eax
call fcn.004a1e50
mov dword [ebp + ebx*4], eax
mov ecx, dword [esi + 0x54]
mov dword [ecx + ebx*4], eax
inc ebx
add esp, 4
cmp ebx, edi
jne 0x4a2283
xor eax, eax
cmp dword [esi + 0x68], eax
je 0x4a22c5
lea ecx, [edi*4]
lea ecx, [ecx]
mov edx, dword [esi + 0x64]
mov edx, dword [edx + eax*4]
mov ebx, dword [esi + 0x54]
mov dword [ecx + ebx], edx
inc eax
add ecx, 4
cmp eax, dword [esi + 0x68]
jne 0x4a22b0
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x54]
mov ecx, eax
or ecx, 0x102030
shl ecx, 4
or ecx, edi
add eax, edi
mov dword [edx + eax*4], ecx
mov eax, dword [esi + 0x68]
lea ecx, [eax + edi + 1]
cmp ecx, 0x11
je 0x4a2348
jmp 0x4a22f4
mov edi, dword [esp + 0x18]
mov edx, dword [esi + 0x54]
mov ebp, dword [esi + 0x14]
mov eax, ecx
sub eax, dword [esi + 0x68]
inc ecx
sub eax, edi
mov eax, dword [edx + eax*4 - 4]
add eax, dword [edx + ecx*4 - 8]
mov edi, dword [esi + 0x34]
mov edx, eax
shr edx, 8
movzx edx, dl
mov edx, dword [edi + edx*4]
mov ebx, eax
shr ebx, 0x18
xor edx, dword [ebp + ebx*4]
mov ebx, eax
shr ebx, 0x10
movzx edi, bl
mov ebx, dword [esi + 0x24]
xor edx, dword [ebx + edi*4]
mov edi, dword [esi + 0x44]
movzx eax, al
xor edx, dword [edi + eax*4]
mov eax, dword [esi + 0x54]
mov dword [eax + ecx*4 - 4], edx
cmp ecx, 0x11
jne 0x4a22f0
mov ebp, dword [esp + 0x1c]
lea eax, [esi + 0x54]
push eax
call fcn.004a1a50
add esp, 4
mov ecx, esi
call fcn.004a1ad0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
push ebp
call edx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.004587b6
add esp, 0x5c
ret 8
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
push ebx
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x74], 0
call fcn.0047a290
push 0x524b44
lea eax, [esp + 0x3c]
push eax
call fcn.0045869c
int3