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

Disassembly:
sub esp, 0x94
mov eax, dword [esp + 0xa4]
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
push edi
mov byte [esp + 0x12], 0
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], ebp
je 0x5c4acf
push eax
call fcn.00611b5c
add esp, 4
mov dword [esp + 0x38], eax
jmp 0x5c4ad3
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov dword [eax], ebp
mov byte [ecx], 0
mov ecx, dword [esp + 0xa8]
mov eax, dword [ecx + 0x18]
mov edx, dword [eax + 0x68]
mov bl, byte [eax + 0x7e]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov esi, 0x7fffffff
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov byte [esp + 0x5c], 0
mov ecx, dword [eax + 0x74]
push ecx
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x70]
push ebp
cmp bl, 0x21
push edx
lea ecx, [esp + 0x48]
sete byte [esp + 0x32]
call fcn.005d42bc
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x40]
call fcn.005d5e6c
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov dl, byte [ecx + eax]
inc ecx
mov dword [esp + 0x40], ecx
mov byte [esp + 0x1a], dl
mov dl, byte [ecx + eax]
inc ecx
mov byte [esp + 0x1b], dl
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov byte [esp + 0x80], 0
xor ebx, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
cmp ecx, ebp
mov dword [esp + 0x40], ecx
jl 0x5c4f3a
mov edx, dword [esp + 0x44]
cmp edx, 0xffffffff
je 0x5c4bbd
lea esi, [ecx + 1]
cmp esi, edx
jg 0x5c4f3a
mov al, byte [ecx + eax]
inc ecx
test al, al
mov byte [esp + 0x13], al
mov dword [esp + 0x40], ecx
je 0x5c4f3f
push 0x20
call fcn.0071528c
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x5c5275
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [esi + 0x1c], 0
mov dword [esp + 0x2c], esi
jne 0x5c4c00
xor ebx, ebx
mov dword [esp + 0x34], esi
jmp 0x5c4c03
mov dword [ebx + 0x1c], esi
mov al, byte [esp + 0x13]
and al, 8
mov dword [esp + 0x30], ebx
mov byte [esp + 0x27], al
je 0x5c4da2
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
add eax, ecx
add ecx, 2
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov eax, ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.005d52cc
mov edi, eax
test edi, edi
je 0x5c5275
cmp dword [edi + 0x78], 3
jne 0x5c5275
mov cl, byte [edi + 0x7e]
xor ebp, ebp
cmp cl, 0xa
jne 0x5c4ce1
mov eax, dword [edi]
cmp eax, ebp
je 0x5c4ce1
mov edx, dword [edi + 4]
push edx
push ebp
push eax
lea ecx, [esp + 0x6c]
call fcn.005d42bc
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
movzx ecx, byte [eax + edx]
lea ecx, [eax + ecx + 1]
mov dword [esp + 0x64], ecx
mov al, byte [ecx + edx]
mov dl, al
shr al, 5
and al, 1
inc ecx
mov dword [esp + 0x64], ecx
and dl, 1
mov byte [esi + 1], al
mov eax, dword [esp + 0x20]
mov byte [esi], dl
mov eax, dword [eax + 0x210]
cmp eax, ebp
jne 0x5c4cb4
mov ecx, dword [esp + 0x20]
call fcn.005d85cc
cmp eax, 5
jle 0x5c4cc4
cmp word [edi + 0x34], 0x3e
jne 0x5c4cc4
inc dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
add edx, ecx
mov dword [esi + 8], edx
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x64]
mov dword [esi + 0xc], eax
jmp 0x5c4dc2
cmp cl, 0x30
je 0x5c4cf1
cmp cl, 0x4b
jne 0x5c5275
xor ebp, ebp
movzx eax, word [edi + 0x36]
mov cl, byte [edi + 0x38]
shl eax, 1
test cl, 8
je 0x5c4d01
add eax, eax
mov ecx, dword [edi + 0x70]
cmp ecx, ebp
jne 0x5c4d11
cmp dword [edi + 0x74], ebp
jne 0x5c5222
mov edx, dword [edi + 0x74]
push edx
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.005d42bc
mov al, byte [edi + 0x38]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
test al, 8
lea eax, [edx + ecx]
je 0x5c4d58
add edx, 4
mov dword [esp + 0x64], edx
movzx ebx, byte [eax + 1]
xor edx, edx
mov dh, byte [eax + 3]
mov dl, byte [eax + 2]
movzx eax, byte [eax]
shl edx, 8
or edx, ebx
mov ebx, dword [esp + 0x30]
shl edx, 8
or eax, edx
jmp 0x5c4d68
add edx, 2
mov dword [esp + 0x64], edx
xor edx, edx
mov dh, byte [eax + 1]
mov dl, byte [eax]
mov eax, edx
add ecx, eax
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x68]
sub edx, dword [esp + 0x64]
cmp eax, ebp
mov dword [esi + 0xc], edx
jl 0x5c524b
cmp eax, dword [esp + 0x68]
jg 0x5c524b
mov al, byte [edi + 0x38]
shr al, 2
and al, 1
mov byte [esi], al
mov cl, byte [edi + 0x38]
shr cl, 6
and cl, 1
mov byte [esi + 1], cl
jmp 0x5c4dc2
test ebx, ebx
je 0x5c5275
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov cl, byte [ebx]
mov byte [esi], cl
mov dl, byte [ebx + 1]
mov byte [esi + 1], dl
xor ebp, ebp
mov al, byte [esp + 0x13]
test al, 4
je 0x5c4de5
movzx eax, byte [esp + 0x26]
push eax
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x44]
call fcn.005d440c
mov al, byte [esp + 0x13]
test al, 1
je 0x5c4dee
add dword [esp + 0x40], 2
test al, 2
je 0x5c4e11
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
lea eax, [ecx + edx]
add ecx, 2
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov word [esi + 2], cx
jmp 0x5c4e23
cmp ebx, ebp
je 0x5c4e1f
mov dx, word [ebx + 2]
mov word [esi + 2], dx
jmp 0x5c4e23
mov word [esi + 2], bp
mov al, byte [esp + 0x27]
test al, al
je 0x5c4e49
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
add eax, ecx
add ecx, 2
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov word [esi + 4], cx
jmp 0x5c4e5b
cmp ebx, ebp
je 0x5c4e57
mov dx, word [ebx + 4]
mov word [esi + 4], dx
jmp 0x5c4e5b
mov word [esi + 4], bp
cmp dword [esp + 0xb4], ebp
je 0x5c4e98
cmp ebx, ebp
je 0x5c4e98
movsx eax, word [ebx + 2]
movzx ecx, word [esi + 4]
movsx edx, word [esi + 2]
add eax, ecx
cmp edx, eax
jle 0x5c4e98
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xbc]
mov byte [esi + 6], 1
mov byte [ecx], 1
jmp 0x5c4e9c
mov byte [esi + 6], 0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov al, byte [ecx + edx]
inc ecx
mov dword [esp + 0x40], ecx
mov byte [esi + 0x10], al
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add edx, ecx
mov dword [esi + 0x14], edx
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
sub ecx, edi
mov dword [esi + 0x18], ecx
movzx ecx, al
mov al, byte [esi + 1]
add edx, ecx
test al, al
mov dword [esp + 0x1c], edx
je 0x5c4eee
mov edx, dword [esp + 0x14]
lea eax, [ecx + ecx]
cmp edx, eax
ja 0x5c4efd
mov dword [esp + 0x14], eax
jmp 0x5c4efd
cmp byte [esi], 0
jne 0x5c4efd
cmp dword [esp + 0x14], ecx
ja 0x5c4efd
mov dword [esp + 0x14], ecx
movzx edx, byte [esp + 0x1a]
movzx eax, byte [esp + 0x1b]
add eax, edx
imul ecx, eax
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
and ecx, 0x80000007
jns 0x5c4f24
dec ecx
or ecx, 0xfffffff8
inc ecx
je 0x5c4f27
inc eax
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0x3c]
jmp 0x5c4b9d
mov byte [esp + 0x5c], 1
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x5c4f5f
inc eax
push eax
call fcn.0071528c
add esp, 4
cmp eax, ebp
mov dword [esp + 0x28], eax
je 0x5c5275
xor ebp, ebp
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x5c5275
lea ecx, [eax + eax + 2]
push ecx
call fcn.0071528c
mov edx, dword [esp + 0xbc]
add esp, 4
test eax, eax
mov dword [edx], eax
je 0x5c5275
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0xac]
cmp eax, ecx
mov dword [esp + 0x14], 0
jb 0x5c4fac
lea eax, [ecx - 1]
mov dword [esp + 0xac], eax
mov ebx, dword [esp + 0xb0]
cmp ebx, ecx
jb 0x5c4fc1
lea ebx, [ecx - 1]
mov dword [esp + 0xb0], ebx
cmp ebx, eax
jae 0x5c4fce
mov ebx, eax
mov dword [esp + 0xb0], ebx
mov edi, dword [esp + 0x34]
sub ebx, eax
inc ebx
test edi, edi
mov dword [esp + 0x84], ebx
je 0x5c51fd
jmp 0x5c4fec
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x5c5025
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0xac]
jbe 0x5c5025
cmp eax, dword [esp + 0xb0]
ja 0x5c5025
mov al, byte [edi + 6]
test al, al
je 0x5c5025
push ecx
push esi
call fcn.00611c6c
mov eax, dword [esp + 0x40]
add esp, 8
lea esi, [esi + eax*2]
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
push ecx
push 0
push edx
lea ecx, [esp + 0x48]
call fcn.005d42bc
lea ecx, [esp + 0x3c]
call fcn.005d470c
movzx eax, byte [edi + 0x10]
mov ebp, dword [esp + 0x28]
dec eax
mov dword [esp + 0x2c], eax
js 0x5c5152
movzx eax, byte [esp + 0x1a]
movzx ecx, byte [esp + 0x1b]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ecx
lea ebx, [ebx]
mov edx, dword [esp + 0x30]
push edx
lea ecx, [esp + 0x40]
call fcn.005d474c
mov ebx, eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
call fcn.005d47dc
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jb 0x5c5133
mov edx, dword [esp + 0xb0]
cmp eax, edx
ja 0x5c5133
cmp byte [edi], 0
lea eax, [ebx + ebx]
jne 0x5c50b6
mov eax, ebx
mov ecx, dword [edi + 0xc]
cmp eax, ecx
ja 0x5c5275
push ecx
push eax
mov eax, dword [edi + 8]
push eax
lea ecx, [esp + 0x6c]
call fcn.005d42bc
mov al, byte [edi + 1]
test al, al
mov edx, dword [esp + 0x60]
je 0x5c5100
mov ecx, dword [esp + 0x64]
lea eax, [ecx + edx]
add ecx, 2
mov dword [esp + 0x64], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov eax, ecx
test ah, 0xff
je 0x5c50fb
mov byte [ebp], ah
inc ebp
mov byte [ebp], al
jmp 0x5c5132
cmp byte [edi], 0
je 0x5c5123
mov ecx, dword [esp + 0x64]
lea eax, [ecx + edx]
add ecx, 2
mov dword [esp + 0x64], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
add esi, 2
mov cl, byte [eax]
mov word [esi - 2], cx
jmp 0x5c5133
mov eax, dword [esp + 0x64]
mov cl, byte [eax + edx]
inc eax
mov dword [esp + 0x64], eax
mov byte [ebp], cl
inc ebp
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
inc ecx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], eax
jns 0x5c506c
mov ebx, dword [esp + 0x84]
lea ecx, [esp + 0x3c]
call fcn.005d471c
cmp ebp, dword [esp + 0x28]
jbe 0x5c51ae
mov al, byte [edi + 1]
test al, al
jne 0x5c516d
cmp byte [edi], 0
jne 0x5c51ae
mov edx, dword [esp + 0xb8]
mov byte [ebp], 0
mov eax, dword [edx]
mov ecx, esi
sub ecx, eax
mov eax, dword [esp + 0x1c]
sar ecx, 1
sub eax, ecx
mov cl, byte [edi + 1]
inc eax
push eax
mov eax, dword [esp + 0x2c]
neg cl
push esi
push 0xffffffffffffffff
push eax
push 0
sbb ecx, ecx
and ecx, 0x3a4
push ecx
call dword [fcn.005f6298]
test eax, eax
jbe 0x5c51ae
lea esi, [esi + eax*2 - 2]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xb0]
cmp eax, ecx
ja 0x5c51ca
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x5c4fec
jmp 0x5c51fd
inc ecx
cmp eax, ecx
jne 0x5c51fd
mov edi, dword [edi + 0x1c]
test edi, edi
je 0x5c51fd
mov al, byte [edi + 6]
test al, al
je 0x5c51fd
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x5c51fd
mov ecx, eax
push ecx
push esi
call fcn.00611c6c
mov eax, dword [esp + 0x40]
add esp, 8
lea esi, [esi + eax*2]
add ebx, eax
mov edx, dword [esp + 0xb8]
mov word [esi], 0
mov eax, dword [edx]
lea ecx, [eax + ebx*2 + 2]
add esi, 2
cmp esi, ecx
mov byte [esp + 0x12], 1
je 0x5c5275
mov byte [esp + 0x12], 0
jmp 0x5c5275
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0xd4]
push 1
call fcn.005ecc1c
mov eax, dword [esi + 0xd4]
mov edx, dword [eax]
push 0x8e
push 3
push eax
call dword [edx + 0xe0]
jmp 0x5c5272
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0xd4]
push 1
call fcn.005ecc1c
mov eax, dword [esi + 0xd4]
mov ecx, dword [eax]
push 0x8e
push 3
push eax
call dword [ecx + 0xe0]
add esp, 0xc
mov esi, dword [esp + 0x34]
test esi, esi
je 0x5c528f
mov eax, esi
mov esi, dword [esi + 0x1c]
push eax
call fcn.007152ac
add esp, 4
test esi, esi
jne 0x5c527d
mov edx, dword [esp + 0x28]
push edx
call fcn.007152ac
mov al, byte [esp + 0x16]
add esp, 4
test al, al
pop edi
pop esi
pop ebp
pop ebx
je 0x5c52b1
mov al, 1
add esp, 0x94
ret
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
push ecx
call fcn.007152ac
add esp, 4
xor al, al
add esp, 0x94
ret