Function at 0x10002ddc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x30]
and dword [ebp + 0x30], 0
push esi
push edi
movzx esi, word [eax + 6]
or edi, 0xffffffff
test esi, esi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 4], edi
mov dword [ebp - 8], edi
jle 0x10002e6d
mov ecx, dword [ebp + 0x18]
add ecx, 0xc
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x18]
test cl, 0x20
jne 0x10002e56
test ecx, 0x20000000
jne 0x10002e56
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax + 0xa0], ecx
jne 0x10002e3c
mov ecx, dword [ebp + 0x30]
mov dword [ebx + 0x18], ecx
jmp 0x10002e5c
mov edx, dword [eax + 0x80]
cmp edx, ecx
jb 0x10002e5c
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0x28]
jae 0x10002e5c
mov ecx, dword [ebp + 0x30]
mov dword [ebx + 4], ecx
jmp 0x10002e5c
mov ecx, dword [ebp + 0x30]
mov dword [ebp - 8], ecx
inc dword [ebp + 0x30]
add dword [ebp - 4], 0x28
cmp dword [ebp + 0x30], esi
jl 0x10002e14
cmp dword [ebp - 8], edi
jne 0x10002e77
mov eax, 0xea84
jmp 0x100032b2
cmp dword [ebx + 0x18], edi
je 0x10002f81
xor edi, edi
cmp dword [eax + 0xa4], edi
jle 0x10002eea
push 1
pop esi
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp + 0x18]
push 0
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*8 + 0x14]
add eax, edi
push eax
push dword [ebp + 8]
call fcn.1000f261
push dword [ebp + 8]
lea eax, [ebp - 4]
push esi
push 4
push eax
call fcn.1000461a
add esp, 0x1c
cmp eax, esi
jne 0x10002f20
cmp dword [ebp - 4], 0
je 0x10002ee7
push dword [ebp + 8]
lea eax, [ebp + 0x30]
push esi
push 4
push eax
call fcn.1000461a
add esp, 0x10
cmp eax, esi
jne 0x10002f2a
add edi, dword [ebp + 0x30]
mov eax, dword [ebp + 0x10]
cmp edi, dword [eax + 0xa4]
jl 0x10002e8d
mov eax, dword [ebp + 0x10]
mov edi, dword [ebx + 0x20]
test edi, edi
je 0x10002ef8
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebx + 0xc], ecx
movzx eax, word [eax + 6]
xor esi, esi
test eax, eax
jle 0x10002fc1
mov ecx, dword [ebp + 0x18]
add ecx, 0xc
mov edx, dword [ecx]
cmp edx, dword [ebp - 4]
ja 0x10002f34
inc esi
add ecx, 0x28
cmp esi, eax
jl 0x10002f0c
jmp 0x10002fc1
mov eax, 0xea71
jmp 0x100032b2
mov eax, 0xea72
jmp 0x100032b2
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x10002f47
xor ecx, ecx
test edi, edi
setne cl
add ecx, esi
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x28], 0
je 0x10002f62
xor ecx, ecx
test eax, eax
setne cl
xor edx, edx
test edi, edi
setne dl
add esi, ecx
add edx, esi
mov dword [ebx + 0x14], edx
xor ecx, ecx
cmp dword [ebx + 0x28], ecx
setne cl
xor edx, edx
test eax, eax
setne dl
add ecx, edx
xor eax, eax
test edi, edi
setne al
add ecx, eax
add dword [ebx + 0x18], ecx
jmp 0x10002fc1
mov edi, dword [ebx + 0x20]
dec esi
test edi, edi
je 0x10002f8f
lea eax, [esi + 1]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x10002fa4
xor ecx, ecx
test edi, edi
setne cl
lea ecx, [ecx + esi + 1]
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x28], 0
je 0x10002fc1
xor ecx, ecx
test eax, eax
setne cl
xor eax, eax
test edi, edi
setne al
add esi, ecx
lea eax, [eax + esi + 1]
mov dword [ebx + 0x14], eax
xor ecx, ecx
cmp dword [ebx + 0x28], ecx
setne cl
xor eax, eax
test edi, edi
setne al
add ecx, eax
xor eax, eax
cmp dword [ebx + 0x24], eax
setne al
add ecx, eax
mov eax, dword [ebp + 0x14]
add word [eax + 6], cx
movzx eax, word [eax + 6]
inc eax
lea eax, [eax + eax*4]
shl eax, 3
push eax
call fcn.1000f1d5
pop ecx
mov ecx, eax
test ecx, ecx
mov dword [ebp + 0x30], ecx
jne 0x10003008
mov eax, 0xeac5
jmp 0x100032b2
mov eax, dword [ebp + 0x1c]
and dword [ebp + 8], 0
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
movzx eax, word [eax + 6]
test eax, eax
jle 0x10003068
mov edx, ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp + 0x1c], ecx
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp + 8]
jne 0x10003032
inc dword [ebp + 8]
add edx, 0x28
mov ecx, dword [ebp + 8]
cmp dword [ebx + 0x10], ecx
jne 0x10003040
inc dword [ebp + 8]
add edx, 0x28
mov ecx, dword [ebp + 8]
cmp dword [ebx + 0x14], ecx
jne 0x1000304e
inc dword [ebp + 8]
add edx, 0x28
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x1c], 0x28
inc dword [ebp + 8]
push 0xa
mov edi, edx
pop ecx
add edx, 0x28
dec eax
rep movsd dword es:[edi], dword [esi]
jne 0x10003024
mov ecx, dword [ebp + 0x30]
cmp dword [ebx + 0x20], 0
je 0x100030cc
mov eax, dword [ebx + 0xc]
push 0xa
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, str..gtide
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp + 8], edx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x10]
mov dword [edx + 8], eax
xor edx, edx
mov ecx, dword [ecx + 0x3c]
lea eax, [ecx + eax - 1]
div ecx
mov edx, eax
mov eax, dword [ebp + 8]
imul edx, ecx
mov ecx, dword [ebp + 0x30]
mov dword [eax + 0x10], edx
mov dword [eax + 0x24], 0x60000020
cmp dword [ebx + 0x24], 0
je 0x10003130
mov eax, dword [ebx + 0x10]
push 0xa
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, str..gdata
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp + 8], edx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x10]
mov dword [edx + 8], eax
xor edx, edx
mov ecx, dword [ecx + 0x3c]
lea eax, [ecx + eax - 1]
div ecx
mov edx, eax
mov eax, dword [ebp + 8]
imul edx, ecx
mov ecx, dword [ebp + 0x30]
mov dword [eax + 0x10], edx
mov dword [eax + 0x24], 0xc0000040
cmp dword [ebx + 0x28], 0
je 0x10003194
mov eax, dword [ebx + 0x14]
push 0xa
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, str..gidata
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp + 8], edx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x28]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x10]
mov dword [edx + 8], eax
xor edx, edx
mov ecx, dword [ecx + 0x3c]
lea eax, [ecx + eax - 1]
div ecx
mov edx, eax
mov eax, dword [ebp + 8]
imul edx, ecx
mov ecx, dword [ebp + 0x30]
mov dword [eax + 0x10], edx
mov dword [eax + 0x24], 0xc0000040
mov ebx, dword [ebx + 0x18]
cmp ebx, 0xffffffff
je 0x100031cf
lea eax, [ebx + ebx*4]
mov edx, dword [ecx + eax*8 + 0x10]
lea esi, [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 8]
cmp eax, edx
jbe 0x100031b0
mov eax, edx
mov edx, dword [ebp + 0x2c]
lea edi, [eax + edx]
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + 0x3c]
add eax, ebx
lea eax, [eax + edx - 1]
xor edx, edx
div ebx
imul eax, ebx
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
movzx eax, word [eax + 6]
mov dword [ebp + 8], eax
lea edx, [eax + eax*4 + 0xf]
add edx, dword [esi + 0x74]
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 0x3c]
lea ebx, [esi + edx*8]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 0x14]
cmp ebx, edx
jae 0x100031f8
mov ebx, edx
test eax, eax
mov edi, ebx
jle 0x10003252
lea esi, [ecx + 0xc]
mov dword [ebp + 0x14], eax
cmp dword [esi], edi
jae 0x10003223
mov eax, dword [ebp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x38]
mov dword [ebp + 0x18], eax
lea eax, [eax + edi - 1]
div dword [ebp + 0x18]
imul eax, dword [ebp + 0x18]
mov dword [esi], eax
mov eax, dword [ebp + 8]
cmp dword [esi + 8], ebx
jae 0x1000323f
mov eax, dword [ebp + 0x10]
xor edx, edx
mov edi, dword [eax + 0x3c]
lea eax, [edi + ebx - 1]
div edi
imul eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov edi, dword [esi - 4]
mov ebx, dword [esi + 4]
add edi, dword [esi]
add ebx, dword [esi + 8]
add esi, 0x28
dec dword [ebp + 0x14]
jne 0x10003204
xor edx, edx
test eax, eax
jle 0x10003282
lea edx, [ecx + 0x24]
mov dword [ebp + 0x18], edx
mov edx, eax
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
test al, 0x20
je 0x10003279
mov esi, dword [ebp + 0x18]
or eax, 0x80000000
mov dword [ebp + 0x14], eax
mov dword [esi], eax
add dword [ebp + 0x18], 0x28
dec dword [ebp + 8]
jne 0x10003263
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + 0x38]
lea eax, [edx + edx*4]
xor edx, edx
lea ecx, [ecx + eax*8]
lea eax, [esi + edi - 1]
div esi
xor edx, edx
imul eax, esi
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + 0x3c]
lea eax, [esi + ebx - 1]
div esi
imul eax, esi
mov dword [ecx + 0x14], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret