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

Disassembly:
sub esp, 0x4c4
mov eax, dword [0x93e25c]
push ebp
mov ebp, dword [esp + 0x4cc]
push esi
mov dword [esp + 0x4c8], eax
mov al, byte [ebp + 0xec]
push edi
mov edi, dword [ebp]
xor esi, esi
test al, 2
mov dword [esp + 0x34], esi
mov dword [esp + 0x14], edi
jne 0x5baef9
call fcn.005e0030
pop edi
pop esi
mov dword [eax], 0x78
mov eax, 0x78
pop ebp
mov ecx, dword [esp + 0x4c0]
call fcn.006cedd0
add esp, 0x4c4
ret
mov eax, dword [edi + 0x1f8]
test ah, ah
jns 0x5baf29
call fcn.005e0030
pop edi
pop esi
mov dword [eax], 0xd
mov eax, 0xd
pop ebp
mov ecx, dword [esp + 0x4c0]
call fcn.006cedd0
add esp, 0x4c4
ret
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [edi + 0xe4]
jb 0x5baf6a
ja 0x5baf44
mov edx, dword [eax + 0x18]
cmp edx, dword [edi + 0xe0]
jb 0x5baf6a
call fcn.005e0030
pop edi
pop esi
mov dword [eax], 0x88
mov eax, 0x88
pop ebp
mov ecx, dword [esp + 0x4c0]
call fcn.006cedd0
add esp, 0x4c4
ret
mov eax, dword [ebp + 0xa0]
mov ecx, dword [ebp + 0xa4]
push 1
push 4
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call fcn.005ba9c0
add esp, 0xc
test eax, eax
je 0x5bafac
call fcn.005e0030
mov eax, dword [eax]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x4c0]
call fcn.006cedd0
add esp, 0x4c4
ret
mov eax, dword [edi + 0x1e0]
cmp eax, esi
je 0x5bafce
mov edx, dword [esp + 0x4d8]
push edx
push ebp
call eax
add esp, 8
mov dword [ebp + 0xd8], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4d8]
push ebx
push eax
push ebp
call dword [edi + 0x1dc]
add esp, 8
test eax, eax
je 0x5baff5
call fcn.005e0030
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
jmp 0x5bb4f4
mov al, byte [edi + 0x13]
test al, al
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], esi
jbe 0x5bb095
mov dword [esp + 0x14], esi
lea esp, [esp]
mov edx, dword [esp + 0x4dc]
mov esi, dword [edi + 0x190]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x4e0]
push 1
push edx
add esi, ecx
push ebx
push esi
call fcn.005ce950
add esp, 0x10
test eax, eax
je 0x5bb063
mov eax, dword [ebp + 0xa4]
mov ecx, dword [ebp + 0xa0]
push eax
push ecx
push ebx
push esi
call fcn.005ce830
add esp, 8
push eax
push ebx
push esi
push ebp
call fcn.005ce680
add esp, 0x18
test al, al
jne 0x5bb083
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
add edx, 0xc
mov dword [esp + 0x14], edx
movzx edx, byte [edi + 0x13]
inc eax
cmp eax, edx
mov dword [esp + 0x2c], eax
jb 0x5bb010
xor esi, esi
jmp 0x5bb09c
call fcn.005e0030
mov eax, dword [eax]
mov dword [esp + 0x18], eax
xor esi, esi
jmp 0x5bb4fb
mov ebx, dword [esp + 0x4e0]
push ebp
call fcn.005ba370
add esp, 4
test eax, eax
je 0x5bb0b9
call fcn.005e0030
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
jmp 0x5bb4fb
mov eax, dword [edi + 0x118]
mov edx, dword [ebp + 0x6c]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
jbe 0x5bb2b9
mov dword [esp + 0x14], ebx
lea esp, [esp]
mov eax, 1
xor edx, edx
mov ecx, ebx
call fcn.006cfb80
mov ecx, dword [edi + 0x94]
mov esi, eax
mov eax, dword [edi + 0x90]
and eax, esi
and ecx, edx
or eax, ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
je 0x5bb295
mov eax, dword [edi + 0x18c]
mov ecx, dword [esp + 0x14]
mov dl, byte [ecx + eax + 6]
test dl, dl
mov edx, dword [esp + 0x4e0]
jns 0x5bb1a2
mov eax, dword [esp + 0x4dc]
push edx
push eax
push ebx
push ebp
call fcn.005cdfb0
add esp, 0x10
test eax, eax
je 0x5bb295
cmp ebx, dword [ebp + 0xf0]
jne 0x5bb151
or dword [esp + 0x10], 4
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
or ecx, esi
mov esi, dword [esp + 0x1c]
push edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x44]
or eax, ecx
mov ecx, dword [esp + 0x4e0]
push esi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4e8]
push eax
push ecx
lea edx, [esp + 0x88]
push edx
push ebx
push ebp
call fcn.005ce3d0
add esp, 0x1c
test eax, eax
jne 0x5bb343
jmp 0x5bb295
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
push ebx
push ebp
call fcn.005c29d0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4fc]
push eax
lea ecx, [esp + 0x9c]
push ecx
push ebx
push ebp
call fcn.005c29d0
and dword [ebp + 0xec], 0xffffefff
mov ecx, dword [esp + 0x5c]
add esp, 0x30
cmp ecx, eax
jne 0x5bb20d
mov edi, dword [esp + 0x34]
lea esi, [esp + 0x78]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov edi, dword [esp + 0x18]
je 0x5bb295
mov esi, dword [esp + 0x3c]
cmp ebx, dword [ebp + 0xf0]
jne 0x5bb21a
or dword [esp + 0x10], 4
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x18c]
or ecx, esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
or esi, ecx
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x14]
lea ecx, [esi + edx + 0x18]
inc dword [ecx]
mov ecx, dword [edi + 0x18c]
push eax
lea edx, [esp + 0x7c]
push edx
push ebx
push ebp
call dword [esi + ecx + 0x38]
add esp, 0x10
test eax, eax
jne 0x5bb33f
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov eax, dword [edi + 0x18c]
push ecx
push edx
push ebx
push ebp
call dword [esi + eax + 0x34]
add esp, 0x10
test eax, eax
jne 0x5bb33f
mov ecx, dword [edi + 0x11c]
lea eax, [ebx + 1]
cmp ecx, eax
jne 0x5bb295
mov dword [esp + 0x38], 1
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x118]
inc ebx
add ecx, 0x3c
cmp ebx, eax
mov dword [esp + 0x14], ecx
jb 0x5bb0e0
mov ecx, dword [esp + 0x24]
or ecx, dword [esp + 0x28]
jne 0x5bb2c2
mov al, byte [0x977874]
test al, al
jne 0x5bb2c7
or dword [esp + 0x10], 1
mov edi, dword [edi + 0x1e0]
test edi, edi
je 0x5bb2f0
mov edx, dword [esp + 0x4e0]
push edx
push ebp
call edi
mov dword [ebp + 0xd8], eax
mov eax, dword [esp + 0x18]
add esp, 8
or eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov esi, dword [ebp + 4]
mov edx, dword [eax + 0x50]
mov ecx, 0xc
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x4e0]
push edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x24]
push ecx
push edx
push ebp
call dword [eax + 0x1d0]
add esp, 0x10
test eax, eax
je 0x5bb579
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
call fcn.005e0030
mov eax, dword [eax]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
or ecx, dword [esp + 0x28]
je 0x5bb35d
or dword [esp + 0x10], 1
call fcn.005e0030
cmp dword [eax], 0x79
je 0x5bb3ac
call fcn.005e0030
cmp dword [eax], 0x80
je 0x5bb3ac
call fcn.005e0030
cmp dword [eax], 0x87
je 0x5bb3ac
mov edx, dword [ebp]
mov eax, dword [edx + 0x1b4]
push eax
push 0x7e
call fcn.005be240
mov eax, dword [ebp]
mov cl, byte [eax + 0xb4]
add esp, 8
or cl, 2
mov byte [eax + 0xb4], cl
jmp 0x5bb4e3
mov eax, ebx
imul eax, eax, 0x3c
mov dword [ebp + 0x10c], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], eax
mov eax, 1
xor edx, edx
mov ecx, ebx
call fcn.006cfb80
and eax, dword [esp + 0x24]
and edx, dword [esp + 0x28]
or eax, edx
je 0x5bb4cd
mov ecx, dword [edi + 0x18c]
mov edx, dword [esp + 0x2c]
mov al, byte [ecx + edx + 6]
test al, al
jns 0x5bb44c
mov eax, dword [esp + 0x14]
mov ecx, eax
inc eax
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x5bb427
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x4e0]
mov ecx, dword [esp + 0x34]
push edx
push esi
push eax
push ecx
push ebx
push ebp
call fcn.005ce620
add esp, 0x18
test eax, eax
jne 0x5bb4e3
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x4dc]
push edx
push esi
push eax
lea ecx, [esp + 0x84]
push ecx
push ebx
push ebp
call fcn.005ce5c0
add esp, 0x18
jmp 0x5bb4c9
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x4e0]
mov ecx, dword [esp + 0x34]
push edx
push esi
push eax
push ecx
push ebx
push ebp
call fcn.005c29d0
mov edx, dword [esp + 0x38]
push edx
push esi
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4fc]
push eax
lea ecx, [esp + 0x9c]
push ecx
push ebx
push ebp
call fcn.005c29d0
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x44]
add esp, 0x30
mov edx, eax
inc eax
test edx, edx
mov dword [esp + 0x14], eax
je 0x5bb4b5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
push ebx
push ebp
call fcn.005bbee0
add esp, 0x10
test eax, eax
jne 0x5bb4e3
mov edx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x7c]
push eax
push ebx
push ebp
call fcn.005b0c30
add esp, 0x10
test eax, eax
jne 0x5bb4e3
mov edx, dword [esp + 0x2c]
mov ecx, ebx
sub edx, 0x3c
dec ebx
test ecx, ecx
mov dword [esp + 0x2c], edx
jne 0x5bb3c3
mov eax, dword [esp + 0x10]
or eax, 0x403
mov dword [ebp + 0xec], eax
xor esi, esi
mov ebx, dword [esp + 0x4e0]
cmp dword [0x840f14], esi
jl 0x5bb525
call fcn.005e0030
mov edx, dword [eax]
mov eax, dword [ebp + 0xa4]
mov ecx, dword [ebp + 0xa0]
push edx
push eax
push ecx
push ebx
push ebp
push 2
call fcn.005c06b0
add esp, 0x18
push 1
push ebp
call fcn.005ba1d0
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, 0x78
jne 0x5bb555
mov edx, dword [ebp]
mov eax, dword [edx + 0x1b4]
push eax
push 0x7e
call fcn.005be240
add esp, 8
mov dword [esp + 0x18], 0x7e
call fcn.005e0030
mov ecx, dword [esp + 0x18]
pop ebx
pop edi
pop esi
mov dword [eax], ecx
mov eax, ecx
pop ebp
mov ecx, dword [esp + 0x4c0]
call fcn.006cedd0
add esp, 0x4c4
ret
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x5bb5be
mov edi, dword [ebp + 4]
mov ecx, 0xc
lea esi, [esp + 0x48]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x5bb5b2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [eax + 0x48]
jne 0x5bb5b2
mov edx, dword [esp + 0x2c]
cmp edx, dword [eax + 0x50]
jne 0x5bb5b2
mov ecx, dword [esp + 0x30]
cmp ecx, dword [eax + 0x54]
je 0x5bb5be
mov dword [esp + 0x10], 1
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
test eax, eax
mov esi, dword [esp + 0x4e0]
je 0x5bb5fd
push esi
push ebp
call fcn.005c3440
mov ecx, dword [ebp]
mov edi, dword [ecx + 0x5c]
add esp, 8
cmp edi, edx
ja 0x5bb5fd
jb 0x5bb5ea
mov edx, dword [ecx + 0x58]
cmp edx, eax
jae 0x5bb5fd
push esi
push ebp
call fcn.005c3440
mov ecx, dword [ebp]
mov dword [ecx + 0x58], eax
add esp, 8
mov dword [ecx + 0x5c], edx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x1e0]
test eax, eax
je 0x5bb622
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 0xd8]
mov edi, dword [esp + 0x44]
mov edx, dword [eax + 0x28]
sub ecx, edi
add edx, ecx
mov dword [eax + 0x28], edx
or ebx, 0x403
mov dword [ebp + 0xec], ebx
mov eax, dword [0x840f14]
test eax, eax
jl 0x5bb653
mov edx, dword [ebp + 0xa4]
mov eax, dword [ebp + 0xa0]
push 0
push edx
push eax
push esi
push ebp
push 2
call fcn.005c06b0
add esp, 0x18
push 1
push ebp
call fcn.005ba1d0
mov eax, dword [ebp + 0x8c]
add esp, 8
test eax, eax
je 0x5bb67b
mov ecx, dword [ebp + 0x60]
push ecx
call eax
add esp, 4
mov dword [ebp + 0x8c], 0
mov ecx, dword [esp + 0x4d0]
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
call fcn.006cedd0
add esp, 0x4c4
ret