Function at 0x10c5ae60
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x54
xor eax, eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x68]
push edi
xor edi, edi
mov ax, word [esi + 6]
xor ebx, ebx
cmp eax, 0x14
mov ebp, ecx
ja case.0x10c5ae80.15
jmp dword [eax*4 + 0x10c5b7ac]
mov ebp, dword [ebp + 0x20]
push 0x10e07be4
push 0x100
push ebp
mov eax, dword [ebp]
call dword [eax + 0x14]
add esp, 0xc
mov word [esi], di
mov word [esi + 4], 0x500
mov word [esi + 6], di
jmp 0x10c5b78d
cmp dword [esp + 0x68], edi
je 0x10c5aebc
mov dword [esp + 0x6c], edi
jmp 0x10c5aeda
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0x6c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp + 0x28]
mov ebx, dword [eax + 0xc]
neg ebx
sbb ebx, ebx
and ebx, 0x80004005
mov eax, dword [esp + 0x68]
cmp eax, edi
mov eax, 0x10e07bf4
jne 0x10c5aeec
mov eax, 0x10e2d8d4
movsx edx, word [esp + 0x6c]
mov ebp, dword [ebp + 0x20]
push edx
push eax
push 0x10e07bfc
mov ecx, dword [ebp]
push 0x100
push ebp
call dword [ecx + 0x14]
mov ax, word [esp + 0x80]
add esp, 0x14
mov word [esi], ax
mov word [esi + 4], 0x500
mov word [esi + 6], 1
jmp 0x10c5b78d
mov edi, dword [esp + 0x68]
test edi, edi
je 0x10c5af36
xor eax, eax
mov dword [esp + 0x6c], eax
jmp 0x10c5af58
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0x6c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp + 0x28]
mov ebx, dword [eax + 0xc]
mov eax, dword [esp + 0x6c]
neg ebx
sbb ebx, ebx
and ebx, 0x80004005
test edi, edi
mov ecx, 0x10e07c14
jne 0x10c5af66
mov ecx, 0x10e2d8d8
mov ebp, dword [ebp + 0x20]
and eax, 0xffff
push eax
push ecx
mov edx, dword [ebp]
push 0x10e07c1c
push 0x100
push ebp
call dword [edx + 0x14]
mov ax, word [esp + 0x80]
add esp, 0x14
mov word [esi], ax
mov word [esi + 4], 0x500
mov word [esi + 6], 9
jmp 0x10c5b78d
mov edi, dword [esp + 0x68]
test edi, edi
je 0x10c5afb2
mov dword [esp + 0x6c], 0
jmp 0x10c5afd0
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0x6c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp + 0x28]
mov ebx, dword [eax + 0xc]
neg ebx
sbb ebx, ebx
and ebx, 0x80004005
test edi, edi
mov eax, 0x10e07c38
jne 0x10c5afde
mov eax, 0x10e2d8dc
mov edx, dword [esp + 0x6c]
mov ebp, dword [ebp + 0x20]
push edx
push eax
mov ecx, dword [ebp]
push 0x10e07c40
push 0x100
push ebp
call dword [ecx + 0x14]
mov eax, dword [esp + 0x80]
add esp, 0x14
mov dword [esi], eax
mov word [esi + 4], 0x1d00
mov word [esi + 6], 2
jmp 0x10c5b78d
mov edi, dword [esp + 0x68]
test edi, edi
je 0x10c5b027
mov dword [esp + 0x6c], 0
jmp 0x10c5b045
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0x6c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp + 0x28]
mov ebx, dword [eax + 0xc]
neg ebx
sbb ebx, ebx
and ebx, 0x80004005
test edi, edi
mov eax, 0x10e07c5c
jne 0x10c5b053
mov eax, 0x10e2d8e0
mov edx, dword [esp + 0x6c]
mov ebp, dword [ebp + 0x20]
push edx
push eax
mov ecx, dword [ebp]
push 0x10e07c64
push 0x100
push ebp
call dword [ecx + 0x14]
mov eax, dword [esp + 0x80]
add esp, 0x14
mov dword [esi], eax
mov word [esi + 4], 0x1d00
mov word [esi + 6], 0xa
jmp 0x10c5b78d
mov edi, dword [esp + 0x68]
test edi, edi
je 0x10c5b09c
mov dword [esp + 0x6c], 0
jmp 0x10c5b0ba
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0x6c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp + 0x28]
mov ebx, dword [eax + 0xc]
neg ebx
sbb ebx, ebx
and ebx, 0x80004005
test edi, edi
mov eax, 0x10e07c80
jne 0x10c5b0c8
mov eax, 0x10e2d8e4
mov ebp, dword [ebp + 0x20]
push eax
push 0x10e07c88
push 0x100
mov ecx, dword [ebp]
push ebp
call dword [ecx + 0x14]
mov edx, dword [esp + 0x7c]
add esp, 0x10
mov dword [esi], edx
mov word [esi + 4], 0x900
mov word [esi + 6], 3
jmp 0x10c5b78d
cmp dword [esp + 0x68], edi
je 0x10c5b101
xor edi, edi
jmp 0x10c5b126
mov eax, dword [ebp + 0x24]
push eax
call sym.PBVM90.dll_ob_alloc_double
mov edi, eax
mov eax, dword [ebp + 0x28]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp + 0x28]
mov ebx, dword [edx + 0xc]
neg ebx
sbb ebx, ebx
and ebx, 0x80004005
mov eax, dword [esp + 0x68]
test eax, eax
mov eax, 0x10e07c9c
jne 0x10c5b138
mov eax, 0x10e2d8e8
mov ebp, dword [ebp + 0x20]
push eax
push 0x10e07ca4
push 0x100
mov ecx, dword [ebp]
push ebp
call dword [ecx + 0x14]
add esp, 0x10
mov dword [esi], edi
mov word [esi + 4], 0xd00
mov word [esi + 6], 4
jmp 0x10c5b78d
cmp dword [esp + 0x68], edi
je 0x10c5b16d
xor edi, edi
jmp 0x10c5b192
mov edx, dword [ebp + 0x24]
push edx
call sym.PBVM90.dll_ob_alloc_longlong
mov edi, eax
mov eax, dword [ebp + 0x28]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp + 0x28]
mov ebx, dword [edx + 0xc]
neg ebx
sbb ebx, ebx
and ebx, 0x80004005
mov eax, dword [esp + 0x68]
test eax, eax
mov eax, 0x10e07cb8
jne 0x10c5b1a4
mov eax, 0x10e2d8ec
mov ebp, dword [ebp + 0x20]
push eax
push str.Read_LONGLONG:__s_r_n
push 0x100
mov ecx, dword [ebp]
push ebp
call dword [ecx + 0x14]
add esp, 0x10
mov dword [esi], edi
mov word [esi + 4], 0xd00
mov word [esi + 6], 0x14
jmp 0x10c5b78d
mov ecx, dword [esp + 0x68]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
je 0x10c5b211
mov ebp, dword [ebp + 0x20]
push 0x10e07cd4
push 0x100
push ebp
mov edx, dword [ebp]
call dword [edx + 0x14]
add esp, 0xc
xor edi, edi
mov dword [esi], edi
mov word [esi + 4], 0xd00
mov word [esi + 6], 6
jmp 0x10c5b78d
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x88]
mov eax, dword [ebp + 0x20]
push 0
push 0x10e07ce8
push 0x100
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov edx, dword [ebp + 0x28]
add esp, 0x10
mov eax, dword [edx + 0xc]
test eax, eax
je 0x10c5b261
mov ebx, 0x80004005
mov dword [esi], edi
mov word [esi + 4], 0xd00
mov word [esi + 6], 6
jmp 0x10c5b78d
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x24]
inc eax
push 0
mov edx, dword [ecx + 0x10]
push eax
push edx
call sym.PBVM90.dll_pbstg_alc
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x1c], eax
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
xor ebx, ebx
mov byte [ecx + eax], 0
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x86]
push eax
call dword [edx + 0x14]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x1c]
mov dword [esi], edi
mov word [esi + 4], 0xd00
mov word [esi + 6], 6
jmp 0x10c5b78d
mov eax, dword [esp + 0x68]
xor edi, edi
test eax, eax
jne 0x10c5b2fe
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0x6c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x10c5b2ef
mov ebx, 0x80004005
jmp 0x10c5b2fe
mov al, byte [esp + 0x6c]
xor ebx, ebx
xor ecx, ecx
test al, al
setne cl
mov edi, ecx
test edi, edi
mov ecx, 0x10e07d04
jne 0x10c5b30c
mov ecx, 0x10e07d0c
mov eax, dword [esp + 0x68]
test eax, eax
mov eax, 0x10e07d14
jne 0x10c5b31e
mov eax, 0x10e2d8f0
mov ebp, dword [ebp + 0x20]
push ecx
push eax
push 0x10e07d1c
mov edx, dword [ebp]
push 0x100
push ebp
call dword [edx + 0x14]
add esp, 0x14
mov word [esi], di
mov word [esi + 4], 0x500
mov word [esi + 6], 7
jmp 0x10c5b78d
cmp dword [esp + 0x68], edi
je 0x10c5b359
xor edi, edi
mov dword [esp + 0x6c], edi
jmp 0x10c5b3c5
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0x6c]
push edx
lea edx, [esp + 0x20]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x70]
mov eax, dword [ebp + 0x28]
cmp dword [eax + 0xc], edi
je 0x10c5b37f
mov edi, dword [esp + 0x68]
mov ebx, 0x80004005
jmp 0x10c5b3c5
mov ecx, dword [esp + 0x6c]
mov edx, dword [ebp + 0x24]
xor ebx, ebx
add ecx, 5
mov eax, dword [edx + 0x10]
push ebx
push ecx
push eax
call sym.PBVM90.dll_pbstg_alc
mov ecx, dword [esp + 0x6c]
mov edi, eax
mov dword [edi], ecx
mov eax, dword [esp + 0x6c]
test eax, eax
jbe 0x10c5b3b5
mov edx, dword [esp + 0x1c]
push eax
lea eax, [edi + 4]
push edx
push eax
call sym.PBVM90.dll_pbstg_huge_memcpy
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x86]
push 1
push edx
call dword [ecx + 0x14]
mov eax, dword [esp + 0x68]
test eax, eax
mov eax, 0x10e07d38
jne 0x10c5b3d7
mov eax, 0x10e2d8f4
mov edx, dword [esp + 0x6c]
mov ebp, dword [ebp + 0x20]
push edx
push eax
mov ecx, dword [ebp]
push 0x10e07d40
push 0x100
push ebp
call dword [ecx + 0x14]
add esp, 0x14
mov dword [esi], edi
mov word [esi + 4], 0xd00
mov word [esi + 6], 0xb
jmp 0x10c5b78d
mov edi, dword [esp + 0x68]
test edi, edi
je 0x10c5b416
mov byte [esp + 0x6c], 0
jmp 0x10c5b434
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0x6c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp + 0x28]
mov ebx, dword [eax + 0xc]
neg ebx
sbb ebx, ebx
and ebx, 0x80004005
test edi, edi
mov eax, 0x10e07d5c
jne 0x10c5b442
mov eax, 0x10e2d8f8
mov edx, dword [esp + 0x6c]
mov ebp, dword [ebp + 0x20]
and edx, 0xff
mov ecx, dword [ebp]
push edx
push eax
push 0x10e07d64
push 0x100
push ebp
call dword [ecx + 0x14]
movzx ax, byte [esp + 0x80]
add esp, 0x14
mov word [esi], ax
mov word [esi + 4], 0x500
mov word [esi + 6], 0x12
jmp 0x10c5b78d
cmp dword [esp + 0x68], edi
je 0x10c5b490
xor edi, edi
mov dword [esp + 0x14], edi
jmp 0x10c5b4e3
mov ecx, dword [ebp + 0x24]
push ecx
call sym.PBVM90.dll_ob_alloc_dec
lea ecx, [esp + 0x10]
mov edi, eax
mov eax, dword [ebp + 0x28]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edi
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x70]
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x10c5b4c3
mov ebx, 0x80004005
jmp 0x10c5b4e3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push edi
push eax
push ecx
call sym.PBVM90.dll_shBCDToDec
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 0x86]
push 1
push eax
call dword [edx + 0x14]
mov ecx, dword [ebp + 0x20]
push 0x100
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
je 0x10c5b5b7
test edi, edi
je 0x10c5b58e
call fcn.10bd19f0
test eax, eax
je 0x10c5b51e
lea eax, [esp + 0x24]
push 0x10e07d80
push eax
call dword [sym.imp.MSVCRT.dll__mbscpy]
add esp, 8
jmp 0x10c5b54c
mov edi, 0x10e07d88
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x2a]
push edi
push ecx
call sym.PBVM90.dll_ConvDecimalToAscii
call fcn.10bd19f0
test eax, eax
je 0x10c5b575
lea edx, [esp + 0x24]
push 0x10e07d90
push edx
call dword [sym.imp.MSVCRT.dll__mbscat]
add esp, 8
jmp 0x10c5b58e
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ax, word [0x10e07d94]
mov word [edi - 1], ax
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x68]
test eax, eax
mov eax, 0x10e07d98
jne 0x10c5b59f
lea eax, [esp + 0x24]
mov ebp, dword [ebp + 0x20]
push eax
push 0x10e07da0
push 0x100
mov ecx, dword [ebp]
push ebp
call dword [ecx + 0x14]
add esp, 0x10
mov dword [esi], edi
mov word [esi + 4], 0xd00
mov word [esi + 6], 5
jmp 0x10c5b78d
cmp dword [esp + 0x68], edi
je 0x10c5b5e5
xor edi, edi
mov word [esi + 4], 0xd00
mov dword [esi], edi
mov word [esi + 6], 0xc
jmp 0x10c5b78d
mov edx, dword [ebp + 0x24]
push edx
call sym.PBVM90.dll_ob_alloc_time
mov edi, eax
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
mov ebx, dword [eax + 0xc]
push edx
neg ebx
sbb ebx, ebx
push edi
and ebx, 0x80004005
call sym.PBVM90.dll_shMJDDateTodt
mov dword [esi], edi
mov word [esi + 4], 0xd00
mov word [esi + 6], 0xc
jmp 0x10c5b78d
cmp dword [esp + 0x68], edi
je 0x10c5b64c
xor edi, edi
mov word [esi + 4], 0xd00
mov dword [esi], edi
mov word [esi + 6], 0xd
jmp 0x10c5b78d
mov eax, dword [ebp + 0x24]
push eax
call sym.PBVM90.dll_ob_alloc_time
mov edi, eax
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
mov ebx, dword [eax + 0xc]
push edx
neg ebx
sbb ebx, ebx
push edi
and ebx, 0x80004005
call sym.PBVM90.dll_shMJDTimeTodt
mov dword [esi], edi
mov word [esi + 4], 0xd00
mov word [esi + 6], 0xd
jmp 0x10c5b78d
cmp dword [esp + 0x68], edi
je 0x10c5b6a2
xor edi, edi
jmp 0x10c5b6f3
mov eax, dword [ebp + 0x24]
push eax
call sym.PBVM90.dll_ob_alloc_time
mov edi, eax
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
mov ebx, dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
neg ebx
push eax
push ecx
sbb ebx, ebx
push edi
and ebx, 0x80004005
call sym.PBVM90.dll_shMJDTimestampTodt
mov ecx, dword [ebp + 0x20]
push 0x100
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
je 0x10c5b771
test edi, edi
je 0x10c5b748
mov eax, dword [edi]
xor ecx, ecx
mov cl, byte [edi + 0xa]
push eax
xor edx, edx
xor eax, eax
mov dl, byte [edi + 9]
mov al, byte [edi + 8]
push ecx
push edx
movsx ecx, word [edi + 4]
push eax
xor eax, eax
mov al, byte [edi + 6]
xor edx, edx
mov dl, byte [edi + 7]
add ecx, 0x76c
push ecx
inc eax
push edx
push eax
lea ecx, [esp + 0x40]
push 0x10e07db4
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
mov eax, dword [esp + 0x68]
test eax, eax
mov eax, 0x10e07dd8
jne 0x10c5b759
lea eax, [esp + 0x24]
mov ebp, dword [ebp + 0x20]
push eax
push 0x10e07de0
push 0x100
mov edx, dword [ebp]
push ebp
call dword [edx + 0x14]
add esp, 0x10
mov dword [esi], edi
mov word [esi + 4], 0xd00
mov word [esi + 6], 0xe
jmp 0x10c5b78d
mov ebx, 0x80004005
jmp 0x10c5b78d
mov ebx, 0x80042001
mov ax, word [esi + 4]
mov ecx, dword [esp + 0x68]
and eax, 0xfffe
pop edi
or eax, ecx
mov word [esi + 4], ax
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x54
ret 8