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

Disassembly:
sub esp, 0x1cc
push ebp
push esi
mov esi, dword [esp + 0x1f0]
xor ebp, ebp
cmp dword [esp + 0x1d8], ebp
push edi
mov dword [esp + 0x54], ecx
jne 0x5c24e9
mov edi, 0xc0000005
jmp 0x5c2bd8
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
mov edx, dword [esp + 0x2c]
jne 0x5c2519
cmp edx, ebp
jne 0x5c2519
mov edi, 0xc000011e
jmp 0x5c2bd8
mov eax, dword [esp + 0x1ec]
and eax, 8
cmp al, 8
jne 0x5c255e
mov eax, dword [esp + 0x1e8]
cmp eax, ebp
je 0x5c255e
mov edi, dword [eax + 4]
cmp edi, edx
jl 0x5c255e
jg 0x5c2541
mov edx, dword [eax]
cmp edx, ecx
jbe 0x5c255e
lea ecx, [esp + 0x1f4]
call fcn.005a6e90
pop edi
pop esi
mov eax, 0xc0000040
pop ebp
add esp, 0x1cc
ret 0x20
push ebx
lea eax, [esp + 0x64]
push 0x30
push eax
mov dword [esp + 0x1c], ebp
call fcn.00575280
mov eax, dword [esp + 0x1fc]
add esp, 8
test eax, 0x1000000
push ebp
je 0x5c2997
mov edx, dword [esi]
xor ecx, ecx
push ebp
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
push pe_nt_image_headers32
lea ecx, [esp + 0x1a4]
push ecx
mov ecx, esi
call edx
test eax, eax
jne 0x5c298d
cmp dword [esp + 0x20], 0x40
jne 0x5c298d
cmp word [esp + 0x19c], 0x5a4d
jne 0x5c298d
mov eax, dword [esp + 0x1d8]
mov edi, dword [esi]
push ebp
cdq
push ebp
push edx
push eax
mov eax, dword [edi + 0x30]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
push 0xf8
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call edx
test eax, eax
jne 0x5c298d
cmp dword [esp + 0x20], 0xf8
jne 0x5c298d
mov ecx, dword [esp + 0xcc]
cmp ecx, ebp
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x18], eax
jne 0x5c2632
mov dword [esp + 0x64], ebp
jmp 0x5c2638
add ecx, eax
mov dword [esp + 0x64], ecx
movzx ecx, word [esp + 0xa8]
movzx eax, word [esp + 0x102]
movzx edx, word [esp + 0x100]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x70], eax
mov ax, word [esp + 0xee]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x9c]
push edi
mov dword [esp + 0x78], edx
mov dx, word [esp + 0xf0]
mov word [esp + 0x7c], ax
xor ecx, ecx
push 2
xor eax, eax
push ecx
mov dword [esp + 0x74], ebp
mov word [esp + 0x86], dx
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov edx, dword [esp + 0x38]
mov ecx, dword [0x10143fa4]
push ebp
push 0x8000000
push pe_nt_image_headers32
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x1f0]
lea eax, [esp + 0x48]
push eax
push ebp
or edx, 0xf
add ecx, 0x2b4
push edx
mov dword [esp + 0x58], ebp
mov edx, dword [ecx]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
mov edx, dword [esp + 0x38]
mov edi, dword [0x10143fa4]
mov ebx, dword [0x10083210]
push pe_nt_image_headers32
push 0x100000
push 1
lea ecx, [esp + 0x44]
push ecx
push ebp
push edx
push ebp
lea eax, [esp + 0x34]
push eax
add edi, 0x3a4
call ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
push ecx
mov ecx, edi
call eax
call eax
mov edi, eax
cmp edi, ebp
je 0x5c278e
cmp dword [esp + 0x18], ebp
je 0x5c2786
mov edx, dword [esp + 0x38]
mov edi, dword [0x10143fa4]
push pe_nt_image_headers32
push 0x100000
push 1
lea ecx, [esp + 0x44]
push ecx
push ebp
push edx
push ebp
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], ebp
add edi, 0x3a4
call ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
push ecx
mov ecx, edi
call eax
call eax
mov edi, eax
cmp edi, ebp
jne 0x5c2bce
mov edx, dword [esi]
push ebp
xor ecx, ecx
push ebp
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov ecx, dword [esp + 0xf8]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x3c]
movzx ecx, word [edi + eax + 0x14]
add edi, eax
cmp word [edi + 6], bp
lea ecx, [edi + ecx + 0x18]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], ebp
jbe 0x5c296d
lea ebx, [ecx + 0xc]
mov dword [esp + 0x1c], ebx
jmp 0x5c27f4
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx - 4]
lea eax, [esp + 0x44]
push eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x4c], edx
mov edx, dword [edi + 0x38]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebx + 4]
push edx
mov edx, dword [ebx + 8]
push eax
push ecx
push edx
call fcn.00576690
mov ebp, dword [ebx]
add ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x60]
push eax
push ebp
mov dword [esp + 0x44], ebp
call fcn.00575280
mov ecx, dword [esp + 0x30]
xor eax, eax
add esp, 0x20
cmp ecx, eax
jne 0x5c285f
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea ecx, [esp + 0x5c]
push ecx
push 1
mov ecx, eax
push ecx
push eax
mov ecx, esi
mov dword [esp + 0xa8], eax
call edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x44], 0
je 0x5c288d
mov edx, dword [esi]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [edx + 0x30]
push ecx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
push ecx
push ebp
mov ecx, esi
call edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
mov edx, dword [edi + 0x50]
mov ebx, dword [esp + 0x9c]
add eax, edx
cmp eax, ebx
jae 0x5c28a4
mov ebx, eax
cmp word [edi + 6], 0
mov dword [esp + 0x4c], 0
jbe 0x5c290e
mov ebp, dword [esp + 0x50]
add ebp, 0x14
lea ebx, [ebx]
mov edx, dword [edi + 0x38]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [edi + 0x3c]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [ebp - 4]
push edx
mov edx, dword [ebp]
push eax
push ecx
push edx
call fcn.00576690
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x28]
add esp, 0x18
cmp eax, ecx
jbe 0x5c28f4
cmp eax, ebx
jae 0x5c28f4
mov ebx, eax
mov eax, dword [esp + 0x4c]
movzx edx, word [edi + 6]
add eax, 1
add ebp, 0x28
cmp eax, edx
mov dword [esp + 0x4c], eax
jl 0x5c28c0
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
add ecx, eax
cmp ebx, ecx
mov dword [esp + 0x24], ecx
jbe 0x5c2945
mov edx, dword [esi]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [edx + 0x30]
push ecx
mov ecx, esi
call eax
sub ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
add ebp, ecx
push ebx
push ebp
mov ecx, esi
call edx
mov eax, dword [esp + 0x34]
movzx ecx, word [edi + 6]
add dword [esp + 0x1c], 0x28
add eax, 1
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x5c27f0
mov eax, dword [esp + 0x18]
mov ebx, dword [0x10083210]
xor ebp, ebp
mov edi, dword [0x10143fa4]
push eax
add edi, 0x404
call ebx
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
call eax
jmp 0x5c2b24
mov edi, 0xc000012f
jmp 0x5c2bce
mov ecx, dword [0x10143fa4]
push eax
mov eax, dword [esp + 0x1ec]
push pe_nt_image_headers32
lea edx, [esp + 0x38]
push edx
push ebp
or eax, 7
add ecx, 0x2b4
push eax
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
mov edi, eax
cmp edi, ebp
jne 0x5c2bce
mov edx, dword [esi]
push ebp
xor ecx, ecx
push ebp
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov eax, dword [esp + 0x30]
xor edx, edx
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
jl 0x5c2ba9
mov edi, dword [esp + 0x2c]
jg 0x5c2a0e
cmp edi, ebp
jbe 0x5c2af4
jmp 0x5c2a0e
mov edi, dword [esp + 0x2c]
xor ebp, ebp
mov ecx, edi
sub ecx, edx
sbb eax, ebx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x1c], ebp
mov ebp, dword [0x10143ea0]
jg 0x5c2a30
jl 0x5c2a2a
cmp ecx, ebp
jae 0x5c2a30
sub edi, edx
mov eax, edi
jmp 0x5c2a32
mov eax, ebp
mov edi, dword [0x10143fa4]
mov ebx, dword [0x10083210]
push 4
push 0
push 1
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x28], eax
push 0
lea eax, [esp + 0x38]
push eax
add edi, 0x3a4
call ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
push ecx
mov ecx, edi
call eax
call eax
mov edi, eax
test edi, edi
jne 0x5c2bcc
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x20]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
mov edi, dword [0x10143fa4]
push eax
add edi, 0x404
call ebx
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
call eax
mov edi, eax
test edi, edi
jne 0x5c2bcc
mov edx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
adc ebx, eax
mov eax, dword [esp + 0x30]
cmp ebx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
jl 0x5c2a08
jg 0x5c2ba7
mov edi, dword [esp + 0x2c]
cmp edx, edi
jb 0x5c2a0c
xor ebp, ebp
mov ecx, dword [esp + 0x1ec]
cmp ecx, ebp
je 0x5c2b24
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
cmp ecx, eax
jl 0x5c2b24
jg 0x5c2b0e
cmp edx, edi
jbe 0x5c2b24
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x1fc], ebp
je 0x5c2bb2
push ebp
push 1
push 1
push ebp
call dword [0x10083198]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1e4]
mov edi, eax
push esi
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x1fc]
push ecx
push edx
add edi, 0x6000000
push eax
lea ecx, [esp + 0x48]
and edi, 0xfffffffc
push ecx
mov dword [esp + 0x3c], edi
call fcn.005edb50
mov ecx, dword [esp + 0x70]
add esp, 0x18
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x28]
push eax
add ecx, 0x7c
call fcn.005db7c0
mov eax, dword [esp + 0x34]
cmp eax, ebp
mov ecx, dword [esp + 0x1e0]
mov dword [ecx], edi
je 0x5c2bc8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
xor edi, edi
jmp 0x5c2bce
xor ebp, ebp
mov edi, dword [esp + 0x2c]
jmp 0x5c2af4
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00576520
mov edx, dword [esp + 0x1e4]
add esp, 4
mov dword [edx], eax
xor edi, edi
jmp 0x5c2bce
xor ebp, ebp
lea ecx, [esp + 0x14]
call fcn.00576590
pop ebx
cmp esi, ebp
je 0x5c2be4
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x1cc
ret 0x20