Function at 0x4f4104
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 0x4f4128
cmp dword [ebx + 8], esi
jae 0x4f4128
mov al, dl
mov byte [ebp + 0xb], dl
jmp 0x4f412d
mov al, 1
mov byte [ebp + 0xb], al
cmp dword [ebx + 0x14], edx
ja 0x4f413e
cmp dword [ebx + 0x10], esi
jae 0x4f413e
mov cl, dl
mov byte [ebp - 1], dl
jmp 0x4f4143
mov cl, 1
mov byte [ebp - 1], cl
cmp dword [ebx + 0x4c], edx
ja 0x4f414d
cmp dword [ebx + 0x48], esi
jb 0x4f414f
mov dl, 1
mov byte [ebp - 2], dl
test cl, cl
jne 0x4f4161
test al, al
jne 0x4f4161
mov byte [ebp - 6], al
test dl, dl
je 0x4f4165
mov byte [ebp - 6], 1
push 0x2014b50
mov ecx, edi
call fcn.004f3eb3
movzx eax, byte [ebx + 0x40]
mov ecx, edi
push eax
call fcn.004f3f0b
movzx eax, byte [ebx + 0x41]
mov ecx, edi
push eax
call fcn.004f3f0b
push dword [ebp - 6]
mov ecx, edi
push ebx
call fcn.004f4376
push dword [ebx + 0x1c]
mov ecx, edi
call fcn.004f3eb3
cmp byte [ebp - 1], 0
mov eax, esi
jne 0x4f41a9
mov eax, dword [ebx + 0x10]
push eax
mov ecx, edi
call fcn.004f3eb3
cmp byte [ebp + 0xb], 0
mov eax, esi
jne 0x4f41bc
mov eax, dword [ebx + 8]
push eax
mov ecx, edi
call fcn.004f3eb3
movzx eax, word [ebx + 0x28]
mov ecx, edi
push eax
call fcn.004f3e92
movzx ecx, byte [ebp - 2]
movzx eax, byte [ebp - 1]
add cx, ax
movzx eax, byte [ebp + 0xb]
add cx, ax
movzx eax, cx
lea ecx, [ebx + 0x50]
shl ax, 3
mov dword [ebp - 0xc], eax
call fcn.004f3e15
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.004f3e92
movzx eax, word [ebx + 0x64]
mov ecx, edi
push eax
mov dword [ebp - 0x10], eax
call fcn.004f3e92
push 0
mov ecx, edi
call fcn.004f3e92
movzx eax, word [ebx + 0x42]
mov ecx, edi
push eax
call fcn.004f3e92
push dword [ebx + 0x44]
mov ecx, edi
call fcn.004f3eb3
cmp byte [ebp - 2], 0
jne 0x4f425c
mov esi, dword [ebx + 0x48]
push esi
mov ecx, edi
call fcn.004f3eb3
mov esi, dword [ebx + 0x28]
mov ecx, edi
push esi
push dword [ebx + 0x24]
call fcn.004e24d1
xor eax, eax
add dword [edi + 0x38], esi
adc eax, dword [edi + 0x3c]
cmp byte [ebp - 6], 0
mov dword [edi + 0x3c], eax
je 0x4f42cf
push 1
mov ecx, edi
call fcn.004f3e92
push dword [ebp - 0xc]
mov ecx, edi
call fcn.004f3e92
cmp byte [ebp + 0xb], 0
je 0x4f42a9
push dword [ebx + 0xc]
mov ecx, edi
push dword [ebx + 8]
call fcn.004f3ed8
cmp byte [ebp - 1], 0
je 0x4f42bc
push dword [ebx + 0x14]
mov ecx, edi
push dword [ebx + 0x10]
call fcn.004f3ed8
cmp byte [ebp - 2], 0
je 0x4f42cf
push dword [ebx + 0x4c]
mov ecx, edi
push dword [ebx + 0x48]
call fcn.004f3ed8
cmp byte [ebx + 0x88], 0
je 0x4f4347
push 0xa
mov ecx, edi
call fcn.004f3e92
push 0x20
mov ecx, edi
call fcn.004f3e92
push 0
mov ecx, edi
call fcn.004f3eb3
push 1
mov ecx, edi
call fcn.004f3e92
push 0x18
mov ecx, edi
call fcn.004f3e92
push dword [ebx + 0x70]
mov ecx, edi
call fcn.004f3eb3
push dword [ebx + 0x74]
mov ecx, edi
call fcn.004f3eb3
push dword [ebx + 0x78]
mov ecx, edi
call fcn.004f3eb3
push dword [ebx + 0x7c]
mov ecx, edi
call fcn.004f3eb3
push dword [ebx + 0x80]
mov ecx, edi
call fcn.004f3eb3
push dword [ebx + 0x84]
mov ecx, edi
call fcn.004f3eb3
lea eax, [ebx + 0x50]
mov ecx, edi
push eax
call fcn.004f4432
mov eax, dword [ebp - 0x10]
test ax, ax
je 0x4f436f
movzx esi, ax
mov ecx, edi
push esi
push dword [ebx + 0x60]
call fcn.004e24d1
add dword [edi + 0x38], esi
adc dword [edi + 0x3c], 0
pop edi
pop esi
pop ebx
leave
ret 4