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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd4
mov byte [esp], dl
mov ebx, eax
cmp byte [ebx + 0x78], 0
je 0x535007
mov eax, ebx
call fcn.0053491c
test al, al
jne 0x535007
cmp dword [ebx + 0xc4], 0
jg 0x535007
cmp dword [ebx + 0x278], 0
je 0x534d16
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x2a0], 0
je 0x535007
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x287], 1
jne 0x534d43
mov eax, dword [0x655200]
cmp dword [eax], 0
je 0x534d43
mov eax, dword [0x655200]
mov eax, dword [eax]
cmp dword [eax + 0xc4], 0
jg 0x535007
mov eax, dword [ebx + 0x23c]
and eax, 0x80
cmp eax, 0x80
je 0x535007
cmp dword [ebx + 0x268], 0
jne 0x534dbe
mov ecx, dword [0x655070]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4a449c]
call fcn.004a7768
mov esi, eax
mov dword [ebx + 0x268], esi
mov dword [esi + 0xc], 0xffffff9e
mov dword [esi + 0x30c], ebx
mov dword [esi + 0x308], 0x545674
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x270], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x274], eax
mov eax, dword [ebx + 0x268]
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], 0x5456d4
xor edx, edx
call fcn.004a9670
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.004a8798
cmp dword [ebx + 0x278], 0
je 0x534e77
mov eax, ebx
call fcn.00543f40
mov esi, eax
mov eax, ebx
call fcn.0054386c
imul esi, eax
inc esi
mov eax, dword [ebx + 0x25c]
call fcn.004a834c
mov ebp, eax
mov eax, ebx
call fcn.00543778
add ebp, eax
sub ebp, esi
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.00546c6c
sub ebp, dword [esp + 0x18]
mov eax, dword [ebx + 0x278]
call fcn.00534654
sub ebp, eax
mov eax, dword [ebx + 0x25c]
call fcn.00496f10
xor ecx, ecx
mov edx, dword [ebx + 0x278]
call fcn.00534524
mov edi, eax
mov eax, dword [ebx + 0x25c]
call fcn.004a832c
add edi, eax
mov dword [esp + 0xc], edi
mov edi, dword [ebx + 0x25c]
mov eax, edi
call fcn.00496f10
xor ecx, ecx
mov edx, dword [ebx + 0x278]
call fcn.00534524
add eax, eax
mov edx, dword [edi + 0x48]
sub edx, eax
mov dword [esp + 0x10], edx
test esi, esi
je 0x534ebd
inc esi
jmp 0x534ebd
mov eax, ebx
call fcn.00543d7c
mov ecx, eax
mov eax, dword [ebx + 0x25c]
mov edx, dword [eax + 0x4c]
movzx eax, byte [esp]
call fcn.00570e5c
mov esi, eax
mov eax, dword [ebx + 0x25c]
call fcn.004a834c
mov ebp, eax
mov eax, dword [ebx + 0x25c]
call fcn.004a832c
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x10], eax
mov edi, 0x658
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x287], 1
jne 0x534f7e
mov eax, dword [0x655200]
mov eax, dword [eax]
mov eax, dword [eax + 0x25c]
mov cl, 1
mov dl, 1
call fcn.0052e42c
mov esi, eax
mov eax, dword [ebx + 0x25c]
call fcn.004a834c
add esi, eax
add esi, 2
push esi
mov eax, dword [0x655200]
mov eax, dword [eax]
mov eax, dword [eax + 0x25c]
mov cl, 1
mov dl, 3
call fcn.0052e42c
mov esi, eax
mov eax, dword [ebx + 0x25c]
call fcn.004a832c
add esi, eax
mov eax, esi
add eax, 2
lea ecx, [esp + 0x28]
pop edx
call fcn.004095f8
lea edx, [esp + 0x24]
lea ecx, [esp + 4]
mov eax, dword [0x655200]
mov eax, dword [eax]
mov eax, dword [eax + 0x25c]
call fcn.0048dff8
push edi
mov eax, ebx
call fcn.00543d7c
push eax
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
push 0
mov eax, dword [ebx + 0x268]
call fcn.00496f10
push eax
call fcn.0040a5f0
jmp 0x534fed
push 0xffffffffffffffec
mov eax, dword [ebx + 0x25c]
call fcn.00496f10
push eax
call fcn.0040a348
and eax, 8
cmp eax, 8
jne 0x534fbb
push edi
push esi
mov eax, dword [esp + 0x18]
push eax
push ebp
mov eax, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x268]
call fcn.00496f10
push eax
call fcn.0040a5f0
jmp 0x534fed
push edi
push esi
mov eax, dword [esp + 0x18]
push eax
push ebp
mov eax, dword [esp + 0x1c]
push eax
push 3
mov eax, dword [ebx + 0x25c]
call fcn.00496f10
push eax
call fcn.0040a2d8
push eax
mov eax, dword [ebx + 0x268]
call fcn.00496f10
push eax
call fcn.0040a5f0
push 0x501
push 0
push 0
mov eax, dword [ebx + 0x268]
call fcn.00496f10
push eax
call fcn.0040a4e0
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret