Function at 0x5ba4f0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1ec]
cmp eax, dword [ecx + 8]
jbe 0x5babdd
sub esp, 0x26c
mov eax, dword [esp + 0x270]
movzx ecx, byte [eax + 0x295]
test cl, cl
je 0x5ba6e9
lea eax, [0x5fcce0]
mov dword [esp], eax
call fcn.0040b6c0
mov esi, dword [esp + 4]
mov dword [esp + 0x268], esi
lea edi, [esp + 0x5c]
call fcn.004617fc
lea eax, [0x5fcce0]
mov dword [esp], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.00408f60
mov eax, dword [esp + 8]
lea ecx, [0x5fcce0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3850
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x270]
mov dword [esp], ecx
mov edx, dword [esp + 0x274]
mov dword [esp + 4], edx
call fcn.005a8720
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x270]
mov dword [esp], ecx
lea edx, [0x5d72e0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x268]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
call fcn.005a9440
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5ba6d4
lea edi, [esp + 0x5c]
mov esi, dword [esp + 0x268]
call fcn.004617fc
lea eax, [0x5fcce0]
mov dword [esp], eax
lea eax, [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.00408f60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x268]
mov edx, dword [ecx + 0x1c]
test edx, edx
setne dl
mov ebx, dword [ecx + 0x18]
test ebx, ebx
setne bl
or edx, ebx
test dl, dl
je 0x5ba6cb
mov dword [esp + 0x260], eax
lea eax, [0x5e48c0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044a5d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x25c], eax
lea edi, [esp + 0x164]
xor eax, eax
call fcn.00461314
mov eax, dword [esp + 0x270]
mov ecx, dword [eax + 0x78]
mov esi, dword [eax + 0x7c]
lea edx, [0x605ea0]
cmp ecx, edx
jne 0x5babc6
lea edi, [esp + 0x164]
call fcn.00461608
mov ecx, dword [esp + 0x268]
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x17c]
sub ecx, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005a8720
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x270]
mov edx, dword [esp + 0x25c]
xor ebx, ebx
xor ebp, ebp
jmp 0x5baa37
xor ecx, ecx
xor edx, edx
jmp 0x5baa13
mov dword [esp + 0x27c], ecx
mov dword [esp + 0x280], edx
add esp, 0x26c
ret
lea eax, [0x5fcc40]
mov dword [esp], eax
call fcn.0040b6c0
mov esi, dword [esp + 4]
mov dword [esp + 0x264], esi
lea edi, [esp + 0x44]
call fcn.00461824
lea eax, [0x5fcc40]
mov dword [esp], eax
lea ecx, [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.00408f60
mov eax, dword [esp + 8]
lea ecx, [0x5fcc40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3850
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x270]
mov dword [esp], ecx
mov edx, dword [esp + 0x274]
mov dword [esp + 4], edx
call fcn.005a8720
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x270]
mov dword [esp], ecx
lea edx, [0x5d72a0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x264]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
call fcn.005a9440
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5ba880
lea edi, [esp + 0x44]
mov esi, dword [esp + 0x264]
call fcn.00461824
lea eax, [0x5fcc40]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00408f60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x264]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x5ba87a
mov dword [esp + 0x260], eax
lea eax, [0x5e4880]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044a5d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x25c], eax
lea edi, [esp + 0x84]
xor eax, eax
call fcn.00461318
mov eax, dword [esp + 0x270]
mov ecx, dword [eax + 0x78]
mov esi, dword [eax + 0x7c]
lea edx, [0x606220]
cmp ecx, edx
jne 0x5ba9fd
lea edi, [esp + 0x84]
call fcn.00461630
mov ecx, dword [esp + 0x264]
mov ecx, dword [ecx + 0xc]
sub ecx, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005a8720
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x270]
mov edx, dword [esp + 0x25c]
xor ebx, ebx
xor ebp, ebp
jmp 0x5ba90a
xor ecx, ecx
xor edx, edx
jmp 0x5ba895
mov dword [esp + 0x27c], ecx
mov dword [esp + 0x280], edx
add esp, 0x26c
ret
lea ebx, [0x5fcc40]
mov ebp, dword [esp + 0x270]
mov dword [ebp + 0x128], ebx
mov dword [ebp + 0x130], ecx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x5ba8c6
mov dword [ebp + 0x12c], eax
mov dword [ebp + 0x134], edx
jmp 0x5ba8de
lea edi, [ebp + 0x12c]
call fcn.004610d0
lea edi, [ebp + 0x134]
mov eax, edx
call fcn.004610d0
mov byte [ebp + 0x2a4], 1
mov dword [esp + 0x27c], 0
mov dword [esp + 0x280], 0
add esp, 0x26c
ret
mov dword [edx + ebp*4], edi
add eax, 4
mov ebp, esi
mov esi, dword [ecx + 0x2ac]
add esi, 0xfffffffc
cmp eax, esi
jbe 0x5ba921
mov esi, dword [0x7bb130]
xor edi, edi
jmp 0x5ba964
mov dword [esp + 0x254], edx
mov esi, dword [ecx + 0x28c]
mov edi, dword [ecx + 0x288]
mov edx, dword [ecx + 0x290]
cmp eax, esi
ja 0x5ba9f6
sub esi, eax
sub edx, eax
neg edx
sar edx, 0x1f
and edx, eax
cmp esi, 3
jbe 0x5ba9ea
mov edx, dword [edi + edx]
mov edi, edx
xor esi, esi
mov edx, dword [esp + 0x254]
test esi, esi
jne 0x5ba9c4
test edi, edi
je 0x5ba9c4
lea esi, [ebp + 1]
cmp ebx, esi
jae 0x5ba902
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], eax
lea eax, [0x5e4880]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.0044a7d0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x270]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
jmp 0x5ba902
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004091d0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x260]
lea ecx, [0x5dd8c0]
jmp 0x5ba895
mov eax, 3
mov ecx, esi
call fcn.00461150
mov ecx, esi
call fcn.004611c0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5e4100]
mov dword [esp + 8], eax
call fcn.00408da0
lea ebx, [0x5fcce0]
jmp 0x5ba89b
lea edi, [edx + ebx*8]
mov dword [edi], eax
lea edi, [edx + ebx*8 + 4]
mov eax, esi
mov esi, dword [esp + 0x24]
mov dword [edi], esi
mov esi, dword [esp + 0x3c]
mov ebx, eax
mov eax, esi
mov dword [esp + 0x30], ebx
lea esi, [eax + 8]
mov dword [esp + 0x3c], esi
cmp dword [ecx + 0x2ac], esi
jae 0x5baa5f
mov edi, dword [0x7bb130]
xor eax, eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
jmp 0x5bab1b
mov dword [esp + 0x258], edx
mov edi, dword [ecx + 0x288]
mov esi, dword [ecx + 0x28c]
mov edx, dword [ecx + 0x290]
cmp eax, esi
ja 0x5babbf
sub edx, eax
neg edx
sar edx, 0x1f
and edx, eax
sub esi, eax
cmp esi, 7
jbe 0x5babb3
movzx esi, byte [edi + edx]
mov eax, ebp
movzx ebp, byte [edi + edx + 1]
mov dword [esp + 0x38], ebp
shl ebp, 8
or esi, ebp
mov ebp, dword [esp + 0x38]
shr ebp, 0x18
movzx ebx, byte [edi + edx + 2]
mov dword [esp + 0x38], ebx
shl ebx, 0x10
or esi, ebx
mov ebx, dword [esp + 0x38]
shr ebx, 0x10
or ebx, ebp
movzx ebp, byte [edi + edx + 3]
mov dword [esp + 0x38], ebp
shl ebp, 0x18
or esi, ebp
mov ebp, dword [esp + 0x38]
shr ebp, 8
or ebp, ebx
movzx ebx, byte [edi + edx + 4]
or ebx, ebp
movzx ebp, byte [edi + edx + 5]
shl ebp, 8
or ebx, ebp
movzx ebp, byte [edi + edx + 6]
shl ebp, 0x10
or ebx, ebp
movzx edx, byte [edi + edx + 7]
shl edx, 0x18
or ebx, edx
mov edx, dword [esp + 0x258]
mov ebp, eax
mov eax, esi
mov dword [esp + 0x24], ebx
xor edi, edi
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
test edi, edi
jne 0x5bab8d
test eax, eax
xchg edi, ebx
sete bl
xchg edi, ebx
mov esi, dword [esp + 0x24]
test esi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, edi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5bab8d
lea esi, [ebx + 1]
cmp ebp, esi
jae 0x5baa1e
mov dword [esp + 0x20], eax
lea eax, [0x5e48c0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.0044a7d0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x270]
mov ebx, dword [esp + 0x30]
jmp 0x5baa1e
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004091d0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x260]
lea ecx, [0x5dd900]
jmp 0x5baa13
mov eax, 7
mov ecx, esi
call fcn.00461150
mov ecx, esi
call fcn.004611c0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5e4100]
mov dword [esp + 8], eax
call fcn.00408da0
nop
call fcn.0045fcc0
jmp fcn.005ba4f0