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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x534014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xa0]
sub eax, dword [ebx + 0x9c]
push edi
lea edi, [ebx + 0x9c]
je 0x4b5d7a
mov eax, dword [ebx + 0x17c]
mov ecx, dword [eax + 0x8c]
mov eax, dword [ecx]
call dword [eax + 0x78]
test eax, eax
je 0x4b5d68
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebx + 0x3c], 0
test ecx, ecx
je 0x4b5d3a
mov eax, edx
mov dword [ebx + 0x34], ecx
sub eax, ecx
cmp eax, 4
jb 0x4b5d3a
mov eax, dword [ecx]
mov dword [ebx + 0x3c], eax
cmp eax, 2
je 0x4b5d34
cmp eax, 1
je 0x4b5d34
cmp eax, 4
jne 0x4b5d3a
lea eax, [ecx + 4]
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x194], 0
mov dword [ebx + 0x198], 0
mov dword [ebx + 0x190], 0
mov dword [ebx + 0x19c], 0
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426f36
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x98]
lea edx, [ebp - 0x110]
push esi
push edx
push 0
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
je 0x4b5e10
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x4b5e10
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0
push ecx
push eax
mov ecx, edi
call fcn.004aafb0
mov esi, dword [ebp - 0x10c]
test esi, esi
jne 0x4b5e23
mov eax, dword [ebx + 0x17c]
mov ecx, dword [eax + 0x8c]
mov eax, dword [ecx]
call dword [eax + 0x78]
test eax, eax
je 0x4b5e10
mov esi, dword [ebx + 0x17c]
push 0
push 0
mov ecx, dword [esi + 0x8c]
mov eax, dword [ecx]
call dword [eax + 0x4c]
cmp eax, 2
jne 0x4b5e10
mov eax, dword [esi + 0x6c]
mov ecx, dword [eax + 0x250]
test ecx, ecx
je 0x4b5e10
push 0
push 0
push 0x8007000e
push dword [eax + 0x24c]
call ecx
add esp, 0x10
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426f36
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x98]
lea edx, [ebp - 0x110]
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x4b5e54
mov ecx, edi
call fcn.004b3f00
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426f36
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x110]
mov dword [ebx + 0x3c], 0
test esi, esi
je 0x4b5e87
mov dword [ebx + 0x34], esi
cmp edx, 4
jb 0x4b5e87
mov eax, dword [esi]
mov dword [ebx + 0x3c], eax
cmp eax, 2
je 0x4b5e81
cmp eax, 1
je 0x4b5e81
cmp eax, 4
jne 0x4b5e87
lea eax, [esi + 4]
mov dword [ebx + 0x34], eax
lea eax, [esi + edx]
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x38], eax
mov edi, eax
mov dword [ebx + 0x194], 0
mov dword [ebx + 0x198], 0
mov dword [ebx + 0x190], 0
mov dword [ebx + 0x19c], 0
mov esi, dword [ebx + 0x34]
cmp esi, edi
jae 0x4b5f0b
mov ecx, 0x114c
movzx eax, word [esi + 2]
cmp ax, cx
je 0x4b5f05
push eax
call fcn.004bce20
add esp, 4
test al, al
je 0x4b5ef2
movzx eax, word [esi + 2]
mov ecx, 0x112c
cmp ax, cx
je 0x4b5ef2
mov esi, dword [esi + 8]
add esi, dword [ebx + 0x30]
jmp 0x4b5efa
movzx eax, word [esi]
add esi, 2
add esi, eax
mov ecx, 0x114c
cmp esi, edi
jb 0x4b5ec6
jmp 0x4b5f0b
mov eax, dword [esi + 4]
mov dword [ebx + 0x2c], eax
mov esi, dword [ebx + 0x17c]
mov ecx, esi
mov eax, dword [esi + 0x3c]
mov edi, dword [esi + 0x38]
sub eax, edi
shr eax, 2
push eax
call fcn.004bd690
cmp eax, ebx
je 0x4b6130
cmp dword [esi + 0x7c], 0
mov dword [ebp - 0x118], 0x1116
mov dword [ebp - 0x10c], 0x113c
jne 0x4b6033
mov dword [esi + 0x80], 0xffffffff
mov dword [esi + 0x7c], 0xffffffff
mov eax, dword [esi + 0x3c]
sub eax, edi
shr eax, 2
test eax, eax
je 0x4b6130
mov edi, dword [edi + eax*4 - 4]
test edi, edi
je 0x4b6130
mov dword [ebp - 0x114], 0x104
lea edx, [ebp - 0x114]
mov ecx, dword [edi + 0x98]
push edx
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
je 0x4b6130
lea eax, [ebp - 0x108]
push 0x408338
push eax
call fcn.00523d90
add esp, 8
test eax, eax
je 0x4b6130
push 0
mov ecx, edi
call fcn.004bd7e0
mov dword [esi + 0x80], 0xffffffff
mov dword [esi + 0x7c], 0xffffffff
test eax, eax
je 0x4b6033
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
cmp ecx, edx
jae 0x4b6033
mov edi, 0x1116
jmp 0x4b5ff0
movzx eax, word [ecx + 2]
cmp eax, 1
je 0x4b6033
cmp ax, di
je 0x4b6022
cmp ax, word [ebp - 0x10c]
je 0x4b6015
movzx eax, word [ecx]
add ecx, 2
add ecx, eax
cmp ecx, edx
jb 0x4b5ff0
jmp 0x4b6033
movzx eax, word [ecx + 0x12]
mov dword [esi + 0x7c], eax
movzx eax, word [ecx + 0x14]
jmp 0x4b602d
movzx eax, word [ecx + 0x10]
mov dword [esi + 0x7c], eax
movzx eax, word [ecx + 0x12]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x7c]
cmp eax, 0xffffffff
je 0x4b6130
cmp eax, 0xa
ja 0x4b6130
jne 0x4b6057
cmp dword [esi + 0x80], 0xa
jae 0x4b6130
lea esi, [ebx + 0x30]
xor edi, edi
test esi, esi
je 0x4b6130
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
cmp eax, edx
jae 0x4b6130
movzx ecx, word [eax + 2]
cmp ecx, 1
je 0x4b6130
cmp cx, word [ebp - 0x118]
je 0x4b60bd
cmp cx, word [ebp - 0x10c]
je 0x4b60b0
movzx ecx, word [eax]
add eax, 2
add eax, ecx
cmp eax, edx
jb 0x4b6072
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426f36
mov esp, ebp
pop ebp
ret
movzx ecx, word [eax + 0x14]
lea edi, [eax + 0x1a]
movzx eax, word [eax + 0x12]
jmp 0x4b60c5
movzx ecx, word [eax + 0x12]
movzx eax, word [eax + 0x10]
cmp ax, 0x10
jb 0x4b6130
jne 0x4b60d3
cmp cx, 0xa
jb 0x4b6130
test edi, edi
je 0x4b6130
push 0x411fd4
push edi
call fcn.00523d90
add esp, 8
test eax, eax
je 0x4b6130
mov dword [esi + 0xc], 0
lea ecx, [ebx + 0x9c]
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [ebx + 0x194], 0
mov dword [ebx + 0x198], 0
mov dword [ebx + 0x190], 0
mov dword [ebx + 0x19c], 0
call fcn.004b3f00
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.00426f36
mov esp, ebp
pop ebp
ret