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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor edx, edx
push ebx
mov ebx, dword [ebp + 8]
push esi
or esi, 0xffffffff
push edi
mov edi, ecx
cmp dword [ebx + 0xc], edx
ja 0x4a4062
mov al, dl
cmp dword [ebx + 8], esi
jb 0x4a4064
mov al, 1
mov byte [ebp + 0xb], al
cmp dword [ebx + 0x14], edx
ja 0x4a4073
mov cl, dl
cmp dword [ebx + 0x10], esi
jb 0x4a4075
mov cl, 1
mov byte [ebp - 1], cl
cmp dword [ebx + 0x4c], edx
ja 0x4a4082
cmp dword [ebx + 0x48], esi
jb 0x4a4084
mov dl, 1
mov byte [ebp - 2], dl
test cl, cl
jne 0x4a4096
test al, al
jne 0x4a4096
mov byte [ebp - 6], al
test dl, dl
je 0x4a409a
mov byte [ebp - 6], 1
push 0x2014b50
mov ecx, edi
call fcn.004a3df2
movzx eax, byte [ebx + 0x40]
mov ecx, edi
push eax
call fcn.004a3e4a
movzx eax, byte [ebx + 0x41]
mov ecx, edi
push eax
call fcn.004a3e4a
push dword [ebp - 6]
mov ecx, edi
push ebx
call fcn.004a42ab
push dword [ebx + 0x1c]
mov ecx, edi
call fcn.004a3df2
cmp byte [ebp - 1], 0
mov eax, esi
jne 0x4a40de
mov eax, dword [ebx + 0x10]
push eax
mov ecx, edi
call fcn.004a3df2
cmp byte [ebp + 0xb], 0
mov eax, esi
jne 0x4a40f1
mov eax, dword [ebx + 8]
push eax
mov ecx, edi
call fcn.004a3df2
movzx eax, word [ebx + 0x28]
mov ecx, edi
push eax
call fcn.004a3dd1
mov al, byte [ebp - 1]
movzx ecx, byte [ebp - 2]
movzx eax, al
add cx, ax
mov al, byte [ebp + 0xb]
movzx eax, al
add cx, ax
movzx eax, cx
lea ecx, [ebx + 0x50]
shl ax, 3
mov dword [ebp - 0xc], eax
call fcn.004a3d52
movzx ecx, ax
mov eax, dword [ebp - 0xc]
add eax, 4
add eax, ecx
cmp byte [ebp - 6], 0
movzx eax, ax
cmovne ecx, eax
xor eax, eax
cmp byte [ebx + 0x88], al
push 0x24
pop edx
cmovne eax, edx
add cx, ax
movzx eax, cx
mov ecx, edi
push eax
call fcn.004a3dd1
movzx eax, word [ebx + 0x64]
mov ecx, edi
push eax
mov dword [ebp - 0x10], eax
call fcn.004a3dd1
push 0
mov ecx, edi
call fcn.004a3dd1
movzx eax, word [ebx + 0x42]
mov ecx, edi
push eax
call fcn.004a3dd1
push dword [ebx + 0x44]
mov ecx, edi
call fcn.004a3df2
cmp byte [ebp - 2], 0
jne 0x4a4195
mov esi, dword [ebx + 0x48]
push esi
mov ecx, edi
call fcn.004a3df2
mov esi, dword [ebx + 0x28]
mov ecx, edi
push esi
push dword [ebx + 0x24]
call fcn.00492a35
add dword [edi + 0x38], esi
adc dword [edi + 0x3c], 0
cmp byte [ebp - 6], 0
je 0x4a4204
push 1
mov ecx, edi
call fcn.004a3dd1
push dword [ebp - 0xc]
mov ecx, edi
call fcn.004a3dd1
cmp byte [ebp + 0xb], 0
je 0x4a41de
push dword [ebx + 0xc]
mov ecx, edi
push dword [ebx + 8]
call fcn.004a3e17
cmp byte [ebp - 1], 0
je 0x4a41f1
push dword [ebx + 0x14]
mov ecx, edi
push dword [ebx + 0x10]
call fcn.004a3e17
cmp byte [ebp - 2], 0
je 0x4a4204
push dword [ebx + 0x4c]
mov ecx, edi
push dword [ebx + 0x48]
call fcn.004a3e17
cmp byte [ebx + 0x88], 0
je 0x4a427c
push 0xa
mov ecx, edi
call fcn.004a3dd1
push 0x20
mov ecx, edi
call fcn.004a3dd1
push 0
mov ecx, edi
call fcn.004a3df2
push 1
mov ecx, edi
call fcn.004a3dd1
push 0x18
mov ecx, edi
call fcn.004a3dd1
push dword [ebx + 0x70]
mov ecx, edi
call fcn.004a3df2
push dword [ebx + 0x74]
mov ecx, edi
call fcn.004a3df2
push dword [ebx + 0x78]
mov ecx, edi
call fcn.004a3df2
push dword [ebx + 0x7c]
mov ecx, edi
call fcn.004a3df2
push dword [ebx + 0x80]
mov ecx, edi
call fcn.004a3df2
push dword [ebx + 0x84]
mov ecx, edi
call fcn.004a3df2
lea eax, [ebx + 0x50]
mov ecx, edi
push eax
call fcn.004a437e
mov eax, dword [ebp - 0x10]
test ax, ax
je 0x4a42a4
movzx esi, ax
mov ecx, edi
push esi
push dword [ebx + 0x60]
call fcn.00492a35
add dword [edi + 0x38], esi
adc dword [edi + 0x3c], 0
pop edi
pop esi
pop ebx
leave
ret 4