Function at 0x10015d60
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x4c
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push esi
push edi
push 1
push ebp
call fcn.1000c980
push 0x40
lea eax, [esp + 0x28]
push 0
push eax
call fcn.100a2020
push ebp
call fcn.1000c510
mov ebx, eax
push ebx
push ebx
push str.Resource_length_:__d__0x_04X__n
push ebp
mov dword [esp + 0x48], ebx
call fcn.1000ac80
mov eax, ebx
add esp, 0x28
cdq
mov edi, eax
mov dword [esp + 0x10], edx
mov eax, ebx
cdq
cmp edx, dword [ebp + 0x1b44]
jl 0x10015dd2
jg 0x10015dbb
cmp eax, dword [ebp + 0x1b40]
jbe 0x10015dd2
push ebx
push 1
call fcn.100a52d3
add esp, 8
mov dword [esp + 0x24], 1
mov esi, eax
jmp 0x10015de0
mov esi, dword [ebp + 0x1b28]
mov dword [esp + 0x24], 0
push ebp
push 0
push 1
push dword [esp + 0x1c]
mov dword [esp + 0x2c], esi
push edi
push esi
call fcn.1000c0f0
mov eax, dword [esp + 0x28]
add esp, 0x18
mov dword [ebp + 0x1b38], edi
mov dword [ebp + 0x1b3c], eax
mov dword [ebp + 0x1b30], edi
mov dword [ebp + 0x1b34], eax
cmp ebx, 3
jg 0x10015e22
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x28], edx
jmp 0x10015e6c
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
shl edx, 8
add edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
add edx, eax
movzx eax, byte [esi + 3]
shl edx, 8
add edx, eax
mov dword [esp + 0x28], edx
cmp ebx, 7
jg 0x10015e4d
xor ecx, ecx
jmp 0x10015e6c
movzx ecx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], ecx
cmp ebx, 0xb
jg 0x10015e7d
xor edi, edi
jmp 0x10015e9c
movzx edi, byte [esi + 8]
movzx eax, byte [esi + 9]
shl edi, 8
add edi, eax
movzx eax, byte [esi + 0xa]
shl edi, 8
add edi, eax
movzx eax, byte [esi + 0xb]
shl edi, 8
add edi, eax
mov dword [esp + 0x2c], edi
cmp ebx, 0xf
jg 0x10015ea9
xor ebp, ebp
jmp 0x10015ec8
movzx ebp, byte [esi + 0xc]
movzx eax, byte [esi + 0xd]
shl ebp, 8
add ebp, eax
movzx eax, byte [esi + 0xe]
shl ebp, 8
add ebp, eax
movzx eax, byte [esi + 0xf]
shl ebp, 8
add ebp, eax
mov dword [esp + 0x34], ebp
cmp edx, 0x51607
jne 0x10015faf
cmp ecx, 0x20000
jne 0x10015faf
push str.Trying_offset_of_0x52_bytes._n
push dword [esp + 0x64]
call fcn.1000ac80
add esp, 8
cmp ebx, 0x55
jg 0x10015efe
xor ecx, ecx
jmp 0x10015f1d
movzx ecx, byte [esi + 0x52]
movzx eax, byte [esi + 0x53]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 0x54]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 0x55]
shl ecx, 8
add ecx, eax
lea eax, [ecx + 0x52]
mov dword [esp + 0x28], eax
cmp ebx, 0x59
jg 0x10015f2d
xor ecx, ecx
jmp 0x10015f4c
movzx ecx, byte [esi + 0x56]
movzx eax, byte [esi + 0x57]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 0x58]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 0x59]
shl ecx, 8
add ecx, eax
add ecx, 0x52
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], ecx
cmp ebx, 0x5d
jg 0x10015f60
xor edi, edi
jmp 0x10015f7f
movzx edi, byte [esi + 0x5a]
movzx eax, byte [esi + 0x5b]
shl edi, 8
add edi, eax
movzx eax, byte [esi + 0x5c]
shl edi, 8
add edi, eax
movzx eax, byte [esi + 0x5d]
shl edi, 8
add edi, eax
mov dword [esp + 0x2c], edi
cmp ebx, 0x61
jg 0x10015f8c
xor ebp, ebp
jmp 0x10015fab
movzx ebp, byte [esi + 0x5e]
movzx eax, byte [esi + 0x5f]
shl ebp, 8
add ebp, eax
movzx eax, byte [esi + 0x60]
shl ebp, 8
add ebp, eax
movzx eax, byte [esi + 0x61]
shl ebp, 8
add ebp, eax
mov dword [esp + 0x34], ebp
push ebp
push edi
push ecx
push dword [esp + 0x34]
push str.__data_offset_:_0x_04X_n__map__offset_:_0x_04X_n__data_length_:_0x_04X_n__map__length_:_0x_04X_n
push dword [esp + 0x74]
call fcn.1000ac80
mov eax, dword [esp + 0x40]
add esp, 0x18
cmp eax, ebx
jle 0x10015fec
push eax
push eax
push str.Error_:_rsrc.data_offset___d__0x_x____len_n
push dword [esp + 0x6c]
call fcn.1000ac80
add esp, 0x10
mov ebx, 0x95
jmp 0x100161e9
cmp dword [esp + 0x10], ebx
jle 0x1001600a
push str.Error_:_rsrc.map_offset___len_n
push dword [esp + 0x64]
call fcn.1000ac80
mov ebx, 0x96
jmp 0x100161e6
cmp edi, ebx
jle 0x10016026
push str.Error_:_rsrc.data_length___len_n
push dword [esp + 0x64]
call fcn.1000ac80
mov ebx, 0x97
jmp 0x100161e6
cmp ebp, ebx
jle 0x10016042
push str.Error_:_rsrc.map_length___len_n
push dword [esp + 0x64]
call fcn.1000ac80
mov ebx, 0x98
jmp 0x100161e6
add eax, edi
mov edi, dword [esp + 0x10]
cmp eax, edi
jne 0x100161d3
lea eax, [edi + ebp]
cmp eax, ebx
jne 0x100161d3
lea ebp, [edi + 0x1c]
cmp ebp, ebx
jl 0x1001607f
push ebx
push edi
push str.Bad_map_offset___d__28____d_._n
push dword [esp + 0x6c]
call fcn.1000ac80
add esp, 0x10
mov ebx, 0x99
jmp 0x100161e9
lea eax, [edi + 0x1a]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10015b50
add eax, edi
add esp, 8
mov dword [esp + 0x4c], eax
cmp eax, ebx
jle 0x100160b6
push eax
push str.Bad_string_offset___d_._n
push dword [esp + 0x68]
call fcn.1000ac80
add esp, 0xc
mov ebx, 0x99
jmp 0x100161e9
lea eax, [esp + 0x1c]
add edi, 0x1e
push ebp
push eax
mov dword [esp + 0x44], edi
call fcn.10015b50
mov ecx, eax
add esp, 8
mov dword [esp + 0x14], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
cmp eax, 1
jge 0x100160e7
push str.Bad_type_count._n
jmp 0x100161d8
lea eax, [edi + 8]
lea eax, [eax + ecx*8]
mov dword [esp + 0x40], eax
test eax, eax
js 0x100161c8
cmp eax, ebx
jg 0x100161c8
mov edx, dword [esp + 0x3c]
mov eax, 1
add edx, 2
mov dword [esp + 0x44], 0xffffffff
sub eax, esi
mov ecx, 0xfffffffe
xor edi, edi
mov dword [esp + 0x18], eax
add edx, esi
sub ecx, esi
mov dword [esp + 0x10], ecx
nop word [eax + eax]
lea ebp, [ecx + edx]
cmp ebp, ebx
jg 0x100161b3
test ebp, ebp
js 0x1001616b
add eax, edx
cmp eax, ebx
jge 0x1001616b
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx - 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
add ecx, eax
cmp ecx, 0x20525453
je 0x10016183
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
inc edi
mov eax, dword [esp + 0x18]
inc ebp
add edx, 8
cmp edi, ebp
jl 0x10016130
push str.No_STR__resource._n
jmp 0x100161d8
lea eax, [ebp + 4]
mov dword [esp + 0x44], edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10015b50
inc eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x6c]
call fcn.10015770
mov esi, dword [esp + 0x2c]
add esp, 0x10
mov ebx, eax
jmp 0x100161e9
push str.Bad_rsrc_marker._n
push dword [esp + 0x64]
call fcn.1000ac80
add esp, 8
xor ebx, ebx
jmp 0x100161e9
push eax
push str.Bad_item_offset___d_._n
jmp 0x100160a0
push str.Error_:_This_does_not_look_like_a_MacOSX_resource_fork._n
push dword [esp + 0x64]
call fcn.1000ac80
mov ebx, 0x99
add esp, 8
push 0
push dword [esp + 0x64]
call fcn.1000c980
add esp, 8
cmp dword [esp + 0x24], 0
je 0x10016207
push esi
call fcn.100a80a4
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x4c
ret