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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a54f6
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebx + 0x450]
xor ebp, ebp
xor esi, esi
cmp eax, edi
jle 0x412a3a
cmp ebp, edi
jne 0x412c17
mov eax, dword [ebx + 0x44c]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
call dword [edx + 0x10]
test al, al
je 0x412a27
mov eax, dword [ebx + 0x44c]
mov ecx, dword [eax + esi*4]
mov dword [esp + 0x10], ecx
mov ebp, ecx
mov eax, dword [ebx + 0x450]
inc esi
cmp esi, eax
jl 0x4129fe
cmp ebp, edi
jne 0x412c17
mov eax, dword [ebx + 0x450]
mov ecx, dword [ebx + 0x2c4]
cmp eax, ecx
jge 0x412c41
mov eax, dword [ebx + 0x41c]
cmp eax, edi
jne 0x412a7b
push 0x94
call fcn.004a2b56
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov dword [esp + 0x28], edi
je 0x412aab
push ebx
mov ecx, eax
call fcn.00474e30
jmp 0x412aad
cmp eax, 1
jne 0x412c2c
push 0x24d4
call fcn.004a2b56
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov dword [esp + 0x28], 1
je 0x412aab
push ebx
mov ecx, eax
call fcn.00481350
jmp 0x412aad
xor eax, eax
mov edx, dword [ebx + 0x450]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x44c]
mov esi, edx
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x1c], esi
lea ebp, [esi + 1]
cmp ebp, edi
jne 0x412af6
cmp eax, edi
je 0x412ae5
push eax
call fcn.004a297c
add esp, 4
mov dword [ebx + 0x44c], edi
mov dword [ebx + 0x454], edi
mov dword [ebx + 0x450], edi
jmp 0x412c08
cmp eax, edi
jne 0x412b37
lea edi, [ebp*4]
push edi
call fcn.004a2b56
mov edx, eax
mov ecx, edi
mov dword [ebx + 0x44c], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x454], ebp
mov dword [ebx + 0x450], ebp
jmp 0x412c08
mov ecx, dword [ebx + 0x454]
cmp ebp, ecx
jg 0x412b5b
cmp ebp, edx
jle 0x412b50
mov ecx, ebp
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 0x450], ebp
jmp 0x412c08
mov eax, dword [ebx + 0x458]
cmp eax, edi
jne 0x412b88
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x412b7c
mov eax, 4
jmp 0x412b88
cmp eax, 0x400
jle 0x412b88
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x14], eax
jl 0x412b96
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x14]
lea ecx, [eax*4]
push ecx
call fcn.004a2b56
mov ecx, dword [ebx + 0x450]
mov esi, dword [ebx + 0x44c]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x1c], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x450]
mov ecx, ebp
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x44c]
push eax
call fcn.004a297c
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
add esp, 8
mov dword [ebx + 0x44c], ecx
mov dword [ebx + 0x450], ebp
mov dword [ebx + 0x454], edx
mov eax, dword [ebx + 0x44c]
mov ecx, dword [esp + 0x10]
mov ebp, ecx
mov dword [eax + esi*4], ecx
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
xor edx, edx
lea ecx, [esp + 0x1c]
mov dl, byte [0x4e0b24]
lea eax, [edx*4 + 0x4e124c]
push eax
call fcn.004a2b3e
lea ecx, [esp + 0x1c]
push 0x4b82c0
push ecx
call fcn.004a36a0
nop
nop
nop
nop
nop
nop
nop