Function at 0x4a3017
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 0x4a3036
mov al, dl
cmp dword [ebx + 8], esi
jb 0x4a3038
mov al, 1
mov byte [ebp + 0xb], al
cmp dword [ebx + 0x14], edx
ja 0x4a3047
mov cl, dl
cmp dword [ebx + 0x10], esi
jb 0x4a3049
mov cl, 1
mov byte [ebp - 1], cl
cmp dword [ebx + 0x4c], edx
ja 0x4a3056
cmp dword [ebx + 0x48], esi
jb 0x4a3058
mov dl, 1
mov byte [ebp - 2], dl
test cl, cl
jne 0x4a306a
test al, al
jne 0x4a306a
mov byte [ebp - 6], al
test dl, dl
je 0x4a306e
mov byte [ebp - 6], 1
push 0x2014b50
mov ecx, edi
call fcn.004a2dc6
movzx eax, byte [ebx + 0x40]
mov ecx, edi
push eax
call fcn.004a2e1e
movzx eax, byte [ebx + 0x41]
mov ecx, edi
push eax
call fcn.004a2e1e
push dword [ebp - 6]
mov ecx, edi
push ebx
call fcn.004a327f
push dword [ebx + 0x1c]
mov ecx, edi
call fcn.004a2dc6
cmp byte [ebp - 1], 0
mov eax, esi
jne 0x4a30b2
mov eax, dword [ebx + 0x10]
push eax
mov ecx, edi
call fcn.004a2dc6
cmp byte [ebp + 0xb], 0
mov eax, esi
jne 0x4a30c5
mov eax, dword [ebx + 8]
push eax
mov ecx, edi
call fcn.004a2dc6
movzx eax, word [ebx + 0x28]
mov ecx, edi
push eax
call fcn.004a2da5
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.004a2d26
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.004a2da5
movzx eax, word [ebx + 0x64]
mov ecx, edi
push eax
mov dword [ebp - 0x10], eax
call fcn.004a2da5
push 0
mov ecx, edi
call fcn.004a2da5
movzx eax, word [ebx + 0x42]
mov ecx, edi
push eax
call fcn.004a2da5
push dword [ebx + 0x44]
mov ecx, edi
call fcn.004a2dc6
cmp byte [ebp - 2], 0
jne 0x4a3169
mov esi, dword [ebx + 0x48]
push esi
mov ecx, edi
call fcn.004a2dc6
mov esi, dword [ebx + 0x28]
mov ecx, edi
push esi
push dword [ebx + 0x24]
call fcn.00491a09
add dword [edi + 0x38], esi
adc dword [edi + 0x3c], 0
cmp byte [ebp - 6], 0
je 0x4a31d8
push 1
mov ecx, edi
call fcn.004a2da5
push dword [ebp - 0xc]
mov ecx, edi
call fcn.004a2da5
cmp byte [ebp + 0xb], 0
je 0x4a31b2
push dword [ebx + 0xc]
mov ecx, edi
push dword [ebx + 8]
call fcn.004a2deb
cmp byte [ebp - 1], 0
je 0x4a31c5
push dword [ebx + 0x14]
mov ecx, edi
push dword [ebx + 0x10]
call fcn.004a2deb
cmp byte [ebp - 2], 0
je 0x4a31d8
push dword [ebx + 0x4c]
mov ecx, edi
push dword [ebx + 0x48]
call fcn.004a2deb
cmp byte [ebx + 0x88], 0
je 0x4a3250
push 0xa
mov ecx, edi
call fcn.004a2da5
push 0x20
mov ecx, edi
call fcn.004a2da5
push 0
mov ecx, edi
call fcn.004a2dc6
push 1
mov ecx, edi
call fcn.004a2da5
push 0x18
mov ecx, edi
call fcn.004a2da5
push dword [ebx + 0x70]
mov ecx, edi
call fcn.004a2dc6
push dword [ebx + 0x74]
mov ecx, edi
call fcn.004a2dc6
push dword [ebx + 0x78]
mov ecx, edi
call fcn.004a2dc6
push dword [ebx + 0x7c]
mov ecx, edi
call fcn.004a2dc6
push dword [ebx + 0x80]
mov ecx, edi
call fcn.004a2dc6
push dword [ebx + 0x84]
mov ecx, edi
call fcn.004a2dc6
lea eax, [ebx + 0x50]
mov ecx, edi
push eax
call fcn.004a3352
mov eax, dword [ebp - 0x10]
test ax, ax
je 0x4a3278
movzx esi, ax
mov ecx, edi
push esi
push dword [ebx + 0x60]
call fcn.00491a09
add dword [edi + 0x38], esi
adc dword [edi + 0x3c], 0
pop edi
pop esi
pop ebx
leave
ret 4