Function at 0x487d30
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x611b88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [esp + 0x24]
mov al, byte [ebx + 4]
push esi
test al, al
push edi
mov dword [esp + 0x10], ebx
je 0x487dee
mov esi, dword [ebp + 0x88]
add esi, 0x50
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
or eax, ecx
je 0x487dee
call fcn.00485f80
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0xc]
add edi, 0x2710
adc ecx, 0
cmp ecx, edx
jg 0x487dee
jl 0x487d92
cmp edi, eax
jae 0x487dee
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edi, dword [esi + 0xc8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov esi, dword [esi + 0xcc]
push 0
push 0xa
add edi, 0x2710
push ecx
push edx
adc esi, 0
call fcn.00510160
push 0
push 0x3e8
push edx
push eax
call fcn.00510160
cmp esi, edx
jg 0x487dee
jl 0x487de7
cmp edi, eax
jae 0x487dee
xor al, al
jmp 0x48820c
mov ax, word [ebx + 6]
test ax, ax
je 0x487e1b
mov ecx, dword [ebp + 0x88]
and eax, 0xffff
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fcomp dword [ecx + 0x54]
fnstsw ax
test ah, 1
je 0x487e1b
xor al, al
jmp 0x48820c
mov eax, dword [ebx + 0x50]
and eax, 3
je 0x487e3b
mov edx, dword [ebp + 0x88]
and eax, 1
cmp al, byte [edx + 0xfc]
je 0x487e3b
xor al, al
jmp 0x48820c
mov eax, dword [ebx + 8]
test eax, eax
je 0x487e54
mov ecx, dword [ebp + 0x88]
cmp eax, dword [ecx + 8]
je 0x487e54
xor al, al
jmp 0x48820c
mov edx, dword [ebx + 0xc]
mov eax, dword [edx - 8]
test eax, eax
je 0x487e8d
sub esp, 8
mov ecx, edx
mov eax, esp
mov dword [esp + 0x34], esp
mov edx, dword [ecx - 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x88]
add ecx, 0xc0
call fcn.004fde20
test eax, eax
je 0x487e8d
xor al, al
jmp 0x48820c
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x487ec7
mov ecx, dword [ebx + 0x10]
sub esp, 8
mov eax, esp
mov dword [esp + 0x34], esp
mov edx, dword [ecx - 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x88]
add ecx, 0xf0
call fcn.004fde20
test eax, eax
je 0x487ec7
xor al, al
jmp 0x48820c
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x487ef1
mov eax, dword [ebp + 0x88]
add eax, 0x70
mov eax, dword [eax]
push eax
push ecx
call fcn.00510843
add esp, 8
test eax, eax
je 0x487ef1
xor al, al
jmp 0x48820c
mov ecx, dword [ebp + 0x88]
xor edx, edx
mov dx, word [ecx + 0xb8]
lea ecx, [ebx + 0x18]
push edx
call fcn.00487cc0
test al, al
je 0x48820c
mov eax, dword [ebp + 0x88]
xor ecx, ecx
mov cx, word [eax + 0xba]
push ecx
lea ecx, [ebx + 0x20]
call fcn.00487cc0
test al, al
je 0x48820c
mov ecx, dword [ebp + 0x24]
cmp ecx, 0xffffffff
jne 0x487f48
mov edx, dword [ebp + 0x88]
xor ecx, ecx
mov cx, word [edx + 0xbe]
mov eax, dword [ebp + 0x88]
xor edx, edx
xor esi, esi
mov dx, word [eax + 0xba]
mov si, word [eax + 0xb8]
sub edx, esi
sub edx, ecx
lea ecx, [ebx + 0x28]
push edx
call fcn.00487cc0
test al, al
je 0x48820c
mov eax, dword [ebp + 0x88]
mov ecx, dword [eax + 0x138]
push ecx
lea ecx, [ebx + 0x30]
call fcn.00487cf0
test al, al
je 0x48820c
mov edx, dword [ebp + 0x88]
lea ecx, [ebx + 0x38]
mov eax, dword [edx + 0x140]
push eax
call fcn.00487cf0
test al, al
je 0x48820c
mov ecx, dword [ebp + 0x88]
mov edx, dword [ecx + 0x148]
lea ecx, [ebx + 0x40]
push edx
call fcn.00487cf0
test al, al
je 0x48820c
mov eax, dword [ebp + 0x88]
mov ecx, dword [eax + 0x150]
push ecx
lea ecx, [ebx + 0x48]
call fcn.00487cf0
test al, al
jne 0x487fec
xor al, al
jmp 0x48820c
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x48820a
mov ecx, dword [ebp + 0x88]
mov eax, 0x66666667
add ecx, 0x10c
xor edi, edi
mov edx, dword [ecx + 4]
mov esi, dword [ecx]
sub edx, esi
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
test edx, edx
jle 0x48809e
xor ebx, ebx
mov ecx, dword [ecx]
mov ecx, dword [ecx + ebx + 4]
push ecx
lea ecx, [esp + 0x30]
call fcn.005dd21e
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x28], 0
lea ecx, [edx + 0x54]
call fcn.004924a0
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
call fcn.005dd1b0
test esi, esi
je 0x48806e
mov al, byte [esi + 8]
test al, al
je 0x487fe5
mov ecx, dword [ebp + 0x88]
mov eax, 0x66666667
add ecx, 0x10c
inc edi
add ebx, 0x28
mov edx, dword [ecx + 4]
mov esi, dword [ecx]
sub edx, esi
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edi, edx
jl 0x488023
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 0x5c]
mov edi, dword [ebx + 0x58]
lea eax, [ebx + 0x54]
sub edx, edi
xor ecx, ecx
sar edx, 2
je 0x4880cc
mov esi, edi
mov edx, esi
cmp dword [edx], 0
jne 0x488126
mov edi, dword [eax + 8]
mov ebx, dword [eax + 4]
sub edi, ebx
inc ecx
sar edi, 2
add edx, 4
cmp ecx, edi
jb 0x4880b4
push eax
push 0
lea ecx, [esp + 0x1c]
call fcn.004688a0
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x48820a
mov edi, dword [esp + 0x18]
mov al, byte [ebx + 8]
test al, al
je 0x4881bb
mov eax, dword [ebp + 0x88]
xor esi, esi
mov edx, dword [eax + 0x110]
lea ecx, [eax + 0x10c]
mov eax, dword [eax + 0x10c]
sub edx, eax
mov eax, 0x66666667
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
test edx, edx
jle 0x488190
jmp 0x488131
push eax
mov eax, dword [esi + ecx*4]
push eax
jmp 0x4880cf
mov ebx, dword [esp + 0x14]
add ebx, 4
push ebx
sub esp, 8
mov edx, esp
mov dword [esp + 0x38], esp
push edx
push esi
call fcn.004905d0
mov ecx, eax
add ecx, 4
call fcn.00401a00
call fcn.00490590
test al, al
jne 0x488188
mov eax, dword [ebp + 0x88]
inc esi
mov edx, dword [eax + 0x110]
mov edi, dword [eax + 0x10c]
lea ecx, [eax + 0x10c]
sub edx, edi
mov eax, 0x66666667
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp esi, edx
jl 0x48812d
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov eax, dword [ebp + 0x88]
add eax, 0x10c
mov ecx, dword [eax + 4]
mov edx, dword [eax]
sub ecx, edx
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp esi, edx
je 0x487fe5
mov eax, dword [ebx]
test eax, eax
je 0x4881c5
mov ebx, eax
jmp 0x4881fe
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
sub edx, eax
add ebx, 4
sar edx, 2
push edx
push ebx
mov ecx, edi
call fcn.00491af0
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 8]
mov esi, dword [edi + 4]
sub ecx, esi
sar ecx, 2
xor edx, edx
inc eax
cmp eax, ecx
jae 0x4881fc
mov edx, dword [edi + 4]
mov edx, dword [edx + eax*4]
test edx, edx
je 0x4881ed
mov ebx, edx
test ebx, ebx
mov dword [esp + 0x14], ebx
jne 0x4880e8
mov al, 1
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 4