Function at 0x1002e120
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov esi, eax
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0x14]
mov eax, dword [esi + 0x4c]
mov edx, dword [eax + 8]
mov dword [esp + 0x30], edi
sub edi, ebx
lea ecx, [edi + edi*4 + 5]
add ecx, ecx
push ecx
add edx, 0x4c
push edx
push eax
mov dword [esp + 0x40], ebx
call fcn.1003af30
lea edx, [edi*8]
push edx
mov edx, dword [esi + 0x10]
lea ecx, [ebx*8]
add edx, ecx
push edx
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], ecx
call sub.MSVCR100.dll_memcpy
mov eax, dword [esp + 0x28]
lea ecx, [edi*4]
sub ecx, ebx
lea edx, [eax + ecx*2]
sub eax, dword [esp + 0x44]
add esp, 0x18
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esi + 8], 0x8001
mov dword [esi + 0xe4], 0
cmp ebx, 0x8000
ja 0x1002e20a
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
lea edi, [eax + ecx + 6]
lea esp, [esp]
cmp byte [edi - 1], 0x1c
jne 0x1002e1f1
mov eax, dword [edi - 6]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.100238f0
mov edx, dword [esp + 0x3c]
mov ecx, esi
mov word [edi], ax
call fcn.100238f0
mov ecx, dword [esp + 0x14]
mov word [ecx + ebx*2], ax
jmp 0x1002e1fe
mov eax, dword [esp + 0x14]
xor edx, edx
mov word [edi], bx
mov word [eax + ebx*2], dx
inc ebx
add edi, 8
cmp ebx, 0x8000
jbe 0x1002e1c0
mov eax, dword [esi + 0x1c]
movzx ecx, word [eax + 2]
mov dword [esp + 0x28], eax
mov eax, 0x8001
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x30], eax
jbe 0x1002e994
lea esp, [esp]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
lea edi, [edx + eax*8]
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0xdc]
jb 0x1002e251
mov ecx, esi
call fcn.100236b0
mov eax, dword [esp + 0x18]
mov ebx, dword [esi + 0x10]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov dword [esi + 8], ecx
lea ecx, [eax*8]
add ebx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], 0
cmp edx, dword [esp + 0x24]
jb 0x1002e310
mov ecx, dword [esp + 0x28]
mov word [ecx + 2], ax
movzx eax, word [ecx]
mov edx, dword [esi + 0x20]
lea eax, [edx + eax*4]
movzx edx, byte [ecx + 6]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], eax
test edx, edx
je 0x1002e2e5
mov ecx, dword [esp + 0x2c]
lea esp, [esp]
mov eax, dword [ecx + eax*4]
mov edx, dword [esp + 0x10]
mov ecx, eax
and ecx, 0xffff
movzx edx, word [edx + ecx*8 + 6]
mov ecx, dword [esp + 0x2c]
and eax, 0xffff0000
or edx, eax
mov eax, dword [esp + 0x24]
mov dword [ecx + eax*4], edx
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x38]
jb 0x1002e2b0
mov ecx, dword [esp + 0x28]
movzx eax, word [esi + 0x18]
mov edx, dword [esi + 0x1c]
add ecx, 8
lea eax, [edx + eax*8]
cmp ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
jae 0x1002e308
movzx ecx, word [ecx + 2]
mov dword [esp + 0x24], ecx
jmp 0x1002e310
mov dword [esp + 0x24], 0xffffffff
movzx ecx, word [edi]
cmp ecx, dword [esp + 0x34]
jb 0x1002e322
mov edx, dword [esp + 0x10]
movzx ecx, word [edx + ecx*8 + 6]
mov word [ebx], cx
movzx ecx, word [edi + 2]
cmp ecx, dword [esp + 0x34]
jb 0x1002e338
mov edx, dword [esp + 0x10]
movzx ecx, word [edx + ecx*8 + 6]
mov edx, dword [esp + 0x14]
mov word [ebx + 2], cx
mov word [edi + 6], ax
movzx eax, byte [edi + 5]
mov byte [ebx + 5], al
mov cl, byte [edi + 4]
and cl, 0x9f
mov byte [ebx + 4], cl
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov word [edx + ecx*2], ax
mov al, byte [edi + 4]
movzx ecx, al
and ecx, 0x1f
sub ecx, 0x15
cmp ecx, 1
ja 0x1002e707
movzx eax, word [edi]
movzx ecx, word [edx + eax*2]
mov al, byte [ebx + 4]
and al, 0x93
or al, 0x13
mov byte [ebx + 4], al
movzx eax, byte [edi + 5]
add eax, 0xfffffff0
mov dword [esp + 0x2c], ecx
cmp eax, 0x4c
ja case.0x1002e39f.17
movzx eax, byte [eax + 0x1002ea7c]
jmp dword [eax*4 + 0x1002ea44]
movzx eax, word [ebx + 2]
mov edx, 0x8000
cmp ax, dx
jae case.0x1002e39f.46
mov edx, dword [esi + 0x10]
cmp dword [edx + eax*8], 0
jne case.0x1002e39f.46
movzx eax, word [ebx]
mov edx, dword [esp + 0x14]
mov word [edi + 6], ax
mov word [ebx], cx
movzx ecx, word [edi + 2]
movzx eax, word [edx + ecx*2]
mov ecx, dword [esp + 0x18]
mov word [ebx + 2], ax
mov dword [esp + 0xc], ecx
jmp 0x1002e974
movzx edx, word [edi + 2]
mov edi, dword [esi + 8]
mov eax, dword [esp + 0x14]
movzx ebx, word [eax + edx*2]
cmp edi, dword [esi + 0xdc]
jb 0x1002e406
mov ecx, esi
call fcn.100236b0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x10]
lea edx, [edi + 1]
mov dword [esi + 8], edx
lea eax, [eax + edi*8]
mov edx, 0x1013
mov word [eax + 4], dx
mov word [eax], cx
mov word [eax + 2], bx
mov dword [esp + 0xc], edi
jmp 0x1002e974
mov eax, dword [esp + 0x10]
push 0x47
push edi
push eax
mov ecx, edx
push ecx
call fcn.1002df20
add esp, 0x10
mov dword [esp + 0xc], eax
jmp 0x1002e974
mov dl, byte [edi + 4]
mov ecx, dword [esp + 0x10]
and dl, 0x1f
xor eax, eax
cmp dl, 0x15
mov edx, dword [esp + 0x14]
setne al
add eax, 0x3c
push eax
push edi
push ecx
push edx
call fcn.1002df20
add esp, 0x10
mov dword [esp + 0xc], eax
jmp 0x1002e974
mov al, byte [edi + 4]
mov edx, dword [esp + 0x10]
and al, 0x1f
xor ecx, ecx
cmp al, 0x15
mov eax, dword [esp + 0x14]
setne cl
add ecx, 0x3e
push ecx
push edi
push edx
push eax
call fcn.1002df20
add esp, 0x10
mov dword [esp + 0xc], eax
jmp 0x1002e974
mov cl, byte [edi + 4]
mov eax, dword [esp + 0x10]
and cl, 0x1f
xor edx, edx
cmp cl, 0x15
mov ecx, dword [esp + 0x14]
setne dl
add edx, 0x40
push edx
push edi
push eax
push ecx
call fcn.1002df20
add esp, 0x10
mov dword [esp + 0xc], eax
jmp 0x1002e974
mov edi, dword [esi + 8]
movzx ebx, word [ebx]
cmp edi, dword [esi + 0xdc]
jb 0x1002e4e4
mov ecx, esi
call fcn.100236b0
mov eax, dword [esi + 0x10]
lea edx, [edi + 1]
lea eax, [eax + edi*8]
mov dword [esi + 8], edx
mov word [eax], bx
mov dword [eax + 2], 0x43130010
mov dword [esp + 0xc], edi
jmp 0x1002e974
movzx eax, word [edi]
mov ecx, dword [esp + 0x10]
movzx ebx, word [edi + 2]
push eax
push ecx
mov edi, esi
call fcn.1002e070
mov edi, dword [esi + 8]
movzx edx, ax
add esp, 8
mov dword [esp + 0x38], edx
cmp edi, dword [esi + 0xdc]
jb 0x1002e533
mov ecx, esi
call fcn.100236b0
mov ecx, dword [esi + 0x10]
lea eax, [edi + 1]
mov dword [esi + 8], eax
lea eax, [ecx + edi*8]
mov cx, word [esp + 0x38]
mov edx, 0x4413
mov word [eax + 4], dx
mov word [eax], cx
mov word [eax + 2], bx
mov dword [esp + 0xc], edi
jmp 0x1002e974
movzx ecx, word [ebx]
movzx eax, word [edi + 2]
mov ebx, dword [esi + 8]
movzx edi, word [edx + eax*2]
mov dword [esp + 0x38], ecx
cmp ebx, dword [esi + 0xdc]
jb 0x1002e57e
mov ecx, esi
call fcn.100236b0
mov eax, dword [esi + 0x10]
lea edx, [ebx + 1]
mov dword [esi + 8], edx
mov dx, word [esp + 0x38]
lea ebx, [eax + ebx*8]
mov ecx, 0x1013
mov word [ebx + 4], cx
mov word [ebx], dx
mov word [ebx + 2], di
jmp 0x1002e974
movzx ecx, word [edi + 2]
mov eax, ecx
and eax, 0x1f
cmp eax, 0xe
je 0x1002e615
cmp eax, 0xd
je 0x1002e615
cmp eax, 0x15
je 0x1002e732
cmp eax, 0x16
je 0x1002e732
test ecx, 0x800
mov ecx, esi
je 0x1002e605
mov edx, 0x1f
call fcn.100238f0
mov ecx, dword [esi + 0x10]
mov ebx, dword [esp + 0x18]
lea edx, [ebx*8]
add ecx, edx
mov dx, word [ecx]
mov word [edi + 6], dx
mov byte [ecx + 5], 0x25
mov word [ecx + 2], ax
mov dword [esp + 0xc], ebx
jmp 0x1002e974
xor edx, edx
call fcn.100238f0
mov dword [esp + 0xc], eax
jmp 0x1002e732
mov edi, dword [esi + 8]
movzx ebx, word [ebx]
cmp edi, dword [esi + 0xdc]
jb 0x1002e62a
mov ecx, esi
call fcn.100236b0
mov ecx, dword [esi + 0x10]
lea eax, [edi + 1]
mov dword [esi + 8], eax
lea eax, [ecx + edi*8]
mov cx, word [esp + 0x18]
mov edx, 0x1013
mov word [eax + 4], dx
mov word [eax], bx
mov word [eax + 2], cx
mov dword [esp + 0xc], edi
jmp 0x1002e974
movzx eax, word [ebx]
mov edx, 0x8000
cmp ax, dx
jae 0x1002e667
cmp word [ebx + 2], dx
jb 0x1002e66d
cmp ax, word [ebx + 2]
jne 0x1002e670
dec dword [esi + 8]
movzx eax, word [edi + 2]
mov edx, dword [esp + 0x14]
movzx eax, word [edx + eax*2]
cmp ecx, 0x8000
jae 0x1002e68f
cmp eax, 0x8000
jb 0x1002e974
cmp ecx, eax
je 0x1002e974
push eax
mov eax, dword [esp + 0x30]
push eax
push 0x1313
mov edi, esi
call fcn.1002dee0
add esp, 0xc
jmp 0x1002e974
dec dword [esi + 8]
mov cx, word [ebx]
mov word [edi + 6], cx
movzx edx, word [ebx + 2]
mov dword [esp + 0xc], edx
jmp 0x1002e974
movzx eax, word [edi + 2]
mov edi, dword [esi + 8]
movzx ebx, word [edx + eax*2]
cmp edi, dword [esi + 0xdc]
jb 0x1002e6e6
mov ecx, esi
call fcn.100236b0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x10]
lea edx, [edi + 1]
mov dword [esi + 8], edx
lea eax, [eax + edi*8]
mov edx, 0x1093
mov word [eax + 4], dx
mov word [eax], cx
mov word [eax + 2], bx
jmp 0x1002e974
mov cl, byte [edi + 5]
cmp cl, 0x55
jne 0x1002e7a8
movzx ecx, word [edi + 2]
and ecx, 0x1f
cmp ecx, 0x15
je 0x1002e728
cmp ecx, 0x16
jne 0x1002e974
and al, 0x1f
cmp al, 0xe
je 0x1002e74a
cmp al, 0xd
je 0x1002e74a
mov ax, word [ebx]
mov word [edi + 6], ax
xor eax, eax
mov dword [ebx + 2], 0xc000000
mov word [ebx], ax
jmp 0x1002e974
movzx ecx, word [edi]
movzx edx, word [edx + ecx*2]
mov ebx, dword [esi + 8]
movzx eax, al
mov ecx, 0x1000
or ax, cx
mov dword [esp + 0x2c], edx
movzx edx, ax
mov dword [esp + 0x38], edx
cmp ebx, dword [esi + 0xdc]
jb 0x1002e779
mov ecx, esi
call fcn.100236b0
mov ecx, dword [esi + 0x10]
movzx edx, word [esp + 0x38]
lea eax, [ebx + 1]
mov dword [esi + 8], eax
lea eax, [ecx + ebx*8]
mov cx, word [esp + 0x2c]
mov word [eax + 4], dx
movzx edx, word [esp + 0x18]
mov word [eax], cx
mov word [eax + 2], dx
mov word [edi + 6], bx
jmp 0x1002e974
cmp cl, 0x5c
jne 0x1002e867
movzx eax, word [edi]
movzx eax, word [edx + eax*2]
test eax, eax
je 0x1002e819
movzx ecx, word [ebx + 4]
movzx edx, word [ebx + 2]
mov dword [esp + 0x38], ecx
mov ecx, 0x5d00
mov word [ebx + 4], cx
mov word [ebx + 2], ax
mov ebx, dword [esi + 8]
mov dword [esp + 0x2c], edx
cmp ebx, dword [esi + 0xdc]
jb 0x1002e7eb
mov ecx, esi
call fcn.100236b0
mov eax, dword [esi + 0x10]
movzx ecx, word [esp + 0x38]
lea edx, [ebx + 1]
mov dword [esi + 8], edx
mov dx, word [esp + 0x18]
lea eax, [eax + ebx*8]
mov word [eax + 4], cx
movzx ecx, word [esp + 0x2c]
mov word [eax], dx
mov word [eax + 2], cx
mov dword [esp + 0x20], ebx
mov word [edi + 6], bx
movzx edx, byte [edi + 4]
and edx, 0x1f
sub edx, 0x15
cmp edx, 1
ja 0x1002e974
mov edi, dword [esi + 8]
cmp edi, dword [esi + 0xdc]
jb 0x1002e83e
mov ecx, esi
call fcn.100236b0
mov ecx, dword [esi + 0x10]
lea eax, [edi + 1]
mov dword [esi + 8], eax
lea eax, [ecx + edi*8]
mov ecx, dword [esp + 0x20]
mov edx, 0x1013
mov word [eax + 4], dx
mov word [eax], cx
mov word [eax + 2], cx
mov dword [esp + 0xc], edi
jmp 0x1002e974
cmp cl, 0x5d
jne 0x1002e91c
movzx eax, word [edi]
movzx eax, word [edx + eax*2]
test eax, eax
je 0x1002e8cb
movzx ecx, word [ebx + 2]
mov word [ebx + 2], ax
mov ebx, dword [esi + 8]
mov dword [esp + 0x38], ecx
cmp ebx, dword [esi + 0xdc]
jb 0x1002e899
mov ecx, esi
call fcn.100236b0
mov eax, dword [esi + 0x10]
lea edx, [ebx + 1]
mov dword [esi + 8], edx
mov dx, word [esp + 0x18]
lea eax, [eax + ebx*8]
mov ecx, 0x5d00
mov word [eax + 4], cx
mov cx, word [esp + 0x38]
mov word [eax], dx
mov edx, dword [esp + 0x14]
mov word [eax + 2], cx
mov dword [esp + 0x20], ebx
mov word [edi + 6], bx
movzx eax, word [edi + 2]
movzx ecx, word [edx + eax*2]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x1002e974
mov ebx, dword [esi + 8]
cmp ebx, dword [esi + 0xdc]
jb 0x1002e8f5
mov ecx, esi
call fcn.100236b0
mov ecx, dword [esp + 0x38]
mov eax, dword [esi + 0x10]
lea edx, [ebx + 1]
mov dword [esi + 8], edx
lea eax, [eax + ebx*8]
mov edx, 0x5d00
mov word [eax + 4], dx
mov dx, word [esp + 0x20]
mov word [eax], dx
mov word [eax + 2], cx
mov word [edi + 6], bx
jmp 0x1002e974
cmp cl, 0x51
jne 0x1002e965
movzx eax, word [edi + 2]
movzx eax, word [edx + eax*2]
test ax, ax
je 0x1002e974
mov edi, dword [esi + 8]
mov ebx, eax
cmp edi, dword [esi + 0xdc]
jb 0x1002e942
mov ecx, esi
call fcn.100236b0
mov edx, dword [esi + 0x10]
lea ecx, [edi + 1]
mov dword [esi + 8], ecx
lea eax, [edx + edi*8]
mov dx, word [esp + 0x18]
mov ecx, 0x1000
mov word [eax + 4], cx
mov word [eax], dx
mov word [eax + 2], bx
jmp 0x1002e974
cmp cl, 0x11
jne 0x1002e974
mov eax, dword [esp + 0x18]
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x1c]
mov cx, word [esp + 0xc]
mov edx, dword [esp + 0x14]
mov word [edx + eax*2], cx
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x30]
jb 0x1002e230
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x24], eax
jne 0x1002e9e6
mov eax, dword [esp + 0x28]
mov cx, word [esi + 8]
movzx edx, word [eax]
mov word [eax + 2], cx
mov ecx, dword [esi + 0x20]
movzx eax, byte [eax + 6]
lea edx, [ecx + edx*4]
xor ecx, ecx
mov dword [esp + 0x38], eax
test eax, eax
je 0x1002e9e6
mov edi, dword [esp + 0x10]
mov eax, dword [edx + ecx*4]
mov ebx, eax
and ebx, 0xffff
movzx ebx, word [edi + ebx*8 + 6]
and eax, 0xffff0000
or ebx, eax
mov dword [edx + ecx*4], ebx
inc ecx
cmp ecx, dword [esp + 0x38]
jb 0x1002e9c5
mov eax, dword [esi + 8]
dec eax
cmp eax, 0x8001
jb 0x1002ea3a
mov ecx, dword [esi + 0x10]
cmp byte [ecx + eax*8 + 5], 0x13
jne 0x1002ea3a
movzx edx, word [ecx + eax*8]
mov edi, 0x8000
cmp dx, di
jb 0x1002ea12
or byte [ecx + edx*8 + 4], 0x40
lea edx, [ecx + edx*8 + 4]
movzx edx, word [ecx + eax*8 + 2]
lea ecx, [ecx + eax*8 + 2]
cmp edx, dword [esi + 0xe4]
jbe 0x1002ea32
movzx ecx, word [ecx]
mov edx, dword [esi + 0x10]
or byte [edx + ecx*8 + 4], 0x40
lea ecx, [edx + ecx*8 + 4]
dec eax
cmp eax, 0x8001
jae 0x1002e9f1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret