Function at 0x10075cc0
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.1006c900
push 0x40
lea eax, [esp + 0x28]
push 0
push eax
call fcn.1011e7c0
push ebp
call fcn.1006c490
mov ebx, eax
push ebx
push ebx
push str.Resource_length_:__d__0x_04X__n
push ebp
mov dword [esp + 0x48], ebx
call fcn.1006ac00
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 0x10075d32
jg 0x10075d1b
cmp eax, dword [ebp + 0x1b40]
jbe 0x10075d32
push ebx
push 1
call fcn.10128b3a
add esp, 8
mov dword [esp + 0x24], 1
mov esi, eax
jmp 0x10075d40
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.1006c070
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 0x10075d82
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x28], edx
jmp 0x10075dcc
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 0x10075dad
xor ecx, ecx
jmp 0x10075dcc
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 0x10075ddd
xor edi, edi
jmp 0x10075dfc
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 0x10075e09
xor ebp, ebp
jmp 0x10075e28
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 0x10075f0f
cmp ecx, 0x20000
jne 0x10075f0f
push str.Trying_offset_of_0x52_bytes._n
push dword [esp + 0x64]
call fcn.1006ac00
add esp, 8
cmp ebx, 0x55
jg 0x10075e5e
xor ecx, ecx
jmp 0x10075e7d
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 0x10075e8d
xor ecx, ecx
jmp 0x10075eac
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 0x10075ec0
xor edi, edi
jmp 0x10075edf
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 0x10075eec
xor ebp, ebp
jmp 0x10075f0b
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.1006ac00
mov eax, dword [esp + 0x40]
add esp, 0x18
cmp eax, ebx
jle 0x10075f4c
push eax
push eax
push str.Error_:_rsrc.data_offset___d__0x_x____len_n
push dword [esp + 0x6c]
call fcn.1006ac00
add esp, 0x10
mov ebx, 0x95
jmp 0x10076149
cmp dword [esp + 0x10], ebx
jle 0x10075f6a
push str.Error_:_rsrc.map_offset___len_n
push dword [esp + 0x64]
call fcn.1006ac00
mov ebx, 0x96
jmp 0x10076146
cmp edi, ebx
jle 0x10075f86
push str.Error_:_rsrc.data_length___len_n
push dword [esp + 0x64]
call fcn.1006ac00
mov ebx, 0x97
jmp 0x10076146
cmp ebp, ebx
jle 0x10075fa2
push str.Error_:_rsrc.map_length___len_n
push dword [esp + 0x64]
call fcn.1006ac00
mov ebx, 0x98
jmp 0x10076146
add eax, edi
mov edi, dword [esp + 0x10]
cmp eax, edi
jne 0x10076133
lea eax, [edi + ebp]
cmp eax, ebx
jne 0x10076133
lea ebp, [edi + 0x1c]
cmp ebp, ebx
jl 0x10075fdf
push ebx
push edi
push str.Bad_map_offset___d__28____d_._n
push dword [esp + 0x6c]
call fcn.1006ac00
add esp, 0x10
mov ebx, 0x99
jmp 0x10076149
lea eax, [edi + 0x1a]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10075ab0
add eax, edi
add esp, 8
mov dword [esp + 0x4c], eax
cmp eax, ebx
jle 0x10076016
push eax
push str.Bad_string_offset___d_._n
push dword [esp + 0x68]
call fcn.1006ac00
add esp, 0xc
mov ebx, 0x99
jmp 0x10076149
lea eax, [esp + 0x1c]
add edi, 0x1e
push ebp
push eax
mov dword [esp + 0x44], edi
call fcn.10075ab0
mov ecx, eax
add esp, 8
mov dword [esp + 0x14], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
cmp eax, 1
jge 0x10076047
push str.Bad_type_count._n
jmp 0x10076138
lea eax, [edi + 8]
lea eax, [eax + ecx*8]
mov dword [esp + 0x40], eax
test eax, eax
js 0x10076128
cmp eax, ebx
jg 0x10076128
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 0x10076113
test ebp, ebp
js 0x100760cb
add eax, edx
cmp eax, ebx
jge 0x100760cb
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 0x100760e3
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 0x10076090
push str.No_STR__resource._n
jmp 0x10076138
lea eax, [ebp + 4]
mov dword [esp + 0x44], edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10075ab0
inc eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x6c]
call fcn.100756d0
mov esi, dword [esp + 0x2c]
add esp, 0x10
mov ebx, eax
jmp 0x10076149
push str.Bad_rsrc_marker._n
push dword [esp + 0x64]
call fcn.1006ac00
add esp, 8
xor ebx, ebx
jmp 0x10076149
push eax
push str.Bad_item_offset___d_._n
jmp 0x10076000
push str.Error_:_This_does_not_look_like_a_MacOSX_resource_fork._n
push dword [esp + 0x64]
call fcn.1006ac00
mov ebx, 0x99
add esp, 8
push 0
push dword [esp + 0x64]
call fcn.1006c900
add esp, 8
cmp dword [esp + 0x24], 0
je 0x10076167
push esi
call fcn.10128533
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x4c
ret