Function at 0x10075090
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.1006bcd0
push 0x40
lea eax, [esp + 0x28]
push 0
push eax
call fcn.1010f560
push ebp
call fcn.1006b860
mov ebx, eax
push ebx
push ebx
push str.Resource_length_:__d__0x_04X__n
push ebp
mov dword [esp + 0x48], ebx
call fcn.10069fd0
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 0x10075102
jg 0x100750eb
cmp eax, dword [ebp + 0x1b40]
jbe 0x10075102
push ebx
push 1
call fcn.101128c3
add esp, 8
mov dword [esp + 0x24], 1
mov esi, eax
jmp 0x10075110
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.1006b440
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 0x10075152
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x28], edx
jmp 0x1007519c
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 0x1007517d
xor ecx, ecx
jmp 0x1007519c
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 0x100751ad
xor edi, edi
jmp 0x100751cc
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 0x100751d9
xor ebp, ebp
jmp 0x100751f8
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 0x100752df
cmp ecx, 0x20000
jne 0x100752df
push str.Trying_offset_of_0x52_bytes._n
push dword [esp + 0x64]
call fcn.10069fd0
add esp, 8
cmp ebx, 0x55
jg 0x1007522e
xor ecx, ecx
jmp 0x1007524d
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 0x1007525d
xor ecx, ecx
jmp 0x1007527c
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 0x10075290
xor edi, edi
jmp 0x100752af
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 0x100752bc
xor ebp, ebp
jmp 0x100752db
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.10069fd0
mov eax, dword [esp + 0x40]
add esp, 0x18
cmp eax, ebx
jle 0x1007531c
push eax
push eax
push str.Error_:_rsrc.data_offset___d__0x_x____len_n
push dword [esp + 0x6c]
call fcn.10069fd0
add esp, 0x10
mov ebx, 0x95
jmp 0x10075519
cmp dword [esp + 0x10], ebx
jle 0x1007533a
push str.Error_:_rsrc.map_offset___len_n
push dword [esp + 0x64]
call fcn.10069fd0
mov ebx, 0x96
jmp 0x10075516
cmp edi, ebx
jle 0x10075356
push str.Error_:_rsrc.data_length___len_n
push dword [esp + 0x64]
call fcn.10069fd0
mov ebx, 0x97
jmp 0x10075516
cmp ebp, ebx
jle 0x10075372
push str.Error_:_rsrc.map_length___len_n
push dword [esp + 0x64]
call fcn.10069fd0
mov ebx, 0x98
jmp 0x10075516
add eax, edi
mov edi, dword [esp + 0x10]
cmp eax, edi
jne 0x10075503
lea eax, [edi + ebp]
cmp eax, ebx
jne 0x10075503
lea ebp, [edi + 0x1c]
cmp ebp, ebx
jl 0x100753af
push ebx
push edi
push str.Bad_map_offset___d__28____d_._n
push dword [esp + 0x6c]
call fcn.10069fd0
add esp, 0x10
mov ebx, 0x99
jmp 0x10075519
lea eax, [edi + 0x1a]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10074e80
add eax, edi
add esp, 8
mov dword [esp + 0x4c], eax
cmp eax, ebx
jle 0x100753e6
push eax
push str.Bad_string_offset___d_._n
push dword [esp + 0x68]
call fcn.10069fd0
add esp, 0xc
mov ebx, 0x99
jmp 0x10075519
lea eax, [esp + 0x1c]
add edi, 0x1e
push ebp
push eax
mov dword [esp + 0x44], edi
call fcn.10074e80
mov ecx, eax
add esp, 8
mov dword [esp + 0x14], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
cmp eax, 1
jge 0x10075417
push str.Bad_type_count._n
jmp 0x10075508
lea eax, [edi + 8]
lea eax, [eax + ecx*8]
mov dword [esp + 0x40], eax
test eax, eax
js 0x100754f8
cmp eax, ebx
jg 0x100754f8
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 0x100754e3
test ebp, ebp
js 0x1007549b
add eax, edx
cmp eax, ebx
jge 0x1007549b
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 0x100754b3
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 0x10075460
push str.No_STR__resource._n
jmp 0x10075508
lea eax, [ebp + 4]
mov dword [esp + 0x44], edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10074e80
inc eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x6c]
call fcn.10074aa0
mov esi, dword [esp + 0x2c]
add esp, 0x10
mov ebx, eax
jmp 0x10075519
push str.Bad_rsrc_marker._n
push dword [esp + 0x64]
call fcn.10069fd0
add esp, 8
xor ebx, ebx
jmp 0x10075519
push eax
push str.Bad_item_offset___d_._n
jmp 0x100753d0
push str.Error_:_This_does_not_look_like_a_MacOSX_resource_fork._n
push dword [esp + 0x64]
call fcn.10069fd0
mov ebx, 0x99
add esp, 8
push 0
push dword [esp + 0x64]
call fcn.1006bcd0
add esp, 8
cmp dword [esp + 0x24], 0
je 0x10075537
push esi
call fcn.10115694
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x4c
ret