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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xd8]
cmp eax, dword [ecx + 8]
jbe 0x5bb5ce
sub esp, 0x158
mov eax, 0
mov dword [esp + 0x154], eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
mov ecx, dword [esp + 0x15c]
mov edx, dword [ecx + 0x28]
test edx, edx
jne 0x5baf0b
mov edx, dword [0xbe5550]
test edx, edx
jne 0x5baefd
lea eax, [0xbbe900]
mov dword [ecx + 0x28], eax
jmp 0x5baf0b
lea edi, [ecx + 0x28]
lea eax, [0xbbe900]
call fcn.00462ce0
mov byte [ecx + 0x30], 0
mov dword [esp], ecx
call fcn.005ba0e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], edx
test ebx, ebx
jne 0x5bb5b0
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x5c], esi
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov ebx, dword [esp + 0x15c]
mov dword [ebx + 0x68], edx
mov edx, dword [0xbe5550]
test edx, edx
jne 0x5baf6c
mov dword [ebx + 0x64], ecx
jmp 0x5baf7a
lea edi, [ebx + 0x64]
mov edx, eax
mov eax, ecx
call fcn.00462ce0
mov eax, edx
mov dword [esp + 0x58], eax
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.005bb640
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x34], esi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x40], edi
test edx, edx
je 0x5bb043
test eax, eax
je 0x5bb043
lea edi, [esp + 0x80]
xor eax, eax
call fcn.00462f8b
lea ecx, [0x5bb5e0]
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x168]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x88], ecx
mov esi, dword [esp + 0x64]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], edx
lea esi, [esp + 0x80]
mov dword [esp + 0x154], esi
mov byte [esp + 0x2f], 1
mov esi, 1
xchg esi, eax
mov byte [esp + 0x2e], al
xchg esi, eax
jmp 0x5bb04d
mov dword [esp + 0x44], eax
xor eax, eax
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.005c4220
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x15c]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.005b7470
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x5bb0c6
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], edx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5bb0bf
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x154]
mov eax, dword [edx]
call eax
add esp, 0x158
ret
mov eax, dword [esp + 0x15c]
mov dword [esp], eax
call fcn.005b75a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
test edx, edx
je 0x5bb122
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5bb11b
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x154]
mov eax, dword [edx]
call eax
add esp, 0x158
ret
lea eax, [0x65f360]
cmp ebp, eax
je 0x5bb131
mov ebx, 0
mov dword [esp + 0x50], ebx
jne 0x5bb4eb
mov eax, dword [esp + 0x15c]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.005bc560
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5bb18f
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], edx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5bb188
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x154]
mov eax, dword [edx]
call eax
add esp, 0x158
ret
mov eax, dword [esp + 0x15c]
mov ecx, dword [eax + 0x28]
mov dword [esp], ecx
mov byte [esp + 4], 1
call fcn.005b1090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5bb1b6
xor edx, edx
jmp 0x5bb1b9
movzx edx, word [ecx]
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x18]
cmp ecx, 0x18
jb 0x5bb5b7
add esi, 0xffffffe8
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 0x18
mov eax, ebx
lea ebx, [ebp + esi]
cmp ecx, 0x20
jne 0x5bb208
cmp dword [ebx], 0x4e574f44
jne 0x5bb205
mov edi, edx
lea edx, [ebp + esi + 4]
cmp dword [edx], 0x1445247
sete dl
cmp ecx, 0x20
jmp 0x5bb20f
cmp ecx, 0x20
mov edi, edx
mov edx, 0
jne 0x5bb228
cmp dword [ebx], 0x4e574f44
jne 0x5bb228
lea ecx, [ebp + esi + 4]
cmp dword [ecx], 0x445247
sete cl
jmp 0x5bb22a
xor ecx, ecx
cmp di, 0x304
jne 0x5bb24a
mov ebx, dword [esp + 0x15c]
cmp word [ebx + 0x24], 0x303
ja 0x5bb251
test dl, dl
jne 0x5bb264
test cl, cl
jne 0x5bb264
jmp 0x5bb251
mov ebx, dword [esp + 0x15c]
cmp di, 0x303
jne 0x5bb2c9
cmp word [ebx + 0x24], 0x302
ja 0x5bb2c9
test cl, cl
je 0x5bb2c9
mov dword [esp], ebx
mov byte [esp + 4], 0x2f
call fcn.005b6890
lea eax, [0x65cd40]
mov dword [esp], eax
call fcn.0040b830
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x54
lea ecx, [0x69a6e5]
mov dword [eax], ecx
lea ecx, [0xa54a34]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5bb2c2
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x154]
mov eax, dword [edx]
call eax
add esp, 0x158
ret
cmp word [ebx + 0x24], 0x304
jne 0x5bb3c7
lea edi, [esp + 0xf0]
xor eax, eax
call fcn.00462f77
mov dword [esp + 0xf0], ebx
mov ecx, dword [esp + 0x160]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x164]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x108], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x118], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x11c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x120], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x124], ecx
lea ecx, [esp + 0xf0]
mov dword [esp], ecx
call fcn.005c02e0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], edx
movzx ecx, byte [esp + 0x2e]
test cl, 1
je 0x5bb3c0
and ecx, 0xfffffffe
mov byte [esp + 0x2f], cl
mov edx, dword [esp + 0x154]
mov eax, dword [edx]
call eax
add esp, 0x158
ret
lea edi, [esp + 0x94]
xor eax, eax
call fcn.00462f79
mov dword [esp + 0x94], ebx
mov ecx, dword [esp + 0x160]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x164]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xec], ecx
lea edx, [esp + 0x94]
mov dword [esp], edx
call fcn.005bc6a0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
test ecx, ecx
je 0x5bb469
mov dword [esp + 0x168], edx
mov dword [esp + 0x16c], ebx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5bb462
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x154]
mov eax, dword [edx]
call eax
add esp, 0x158
ret
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5bb4b2
mov ecx, dword [esp + 0xec]
test ecx, ecx
je 0x5bb4b2
mov ebx, dword [esp + 0x4c]
cmp ecx, ebx
je 0x5bb4b2
mov edx, dword [esp + 0x15c]
mov edx, dword [edx + 0x28]
mov ebx, dword [edx + 0x84]
mov edx, dword [edx + 0x88]
mov ebx, dword [ebx + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call ebx
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5bb4e4
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x154]
mov eax, dword [edx]
call eax
add esp, 0x158
ret
mov dword [esp + 0x54], esi
mov dword [esp + 0x6c], ebp
mov eax, dword [esp + 0x15c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005b6890
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x74], eax
lea eax, [0x65f360]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
lea eax, [0x699fdf]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004bc050
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5bb5a9
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x154]
mov eax, dword [edx]
call eax
add esp, 0x158
ret
add esp, 0x158
ret
mov eax, 0x18
call fcn.00462dc0
nop
call fcn.004364e0
add esp, 0x158
ret
call fcn.004618d0
jmp fcn.005bae90