Function at 0x10001000
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [0x100533f8]
movzx edx, byte [esp + 0x28]
mov ecx, dword [0x10053400]
mov dword [esp + 4], eax
mov eax, dword [0x100533e0]
push ebx
mov ebx, dword [0x10053438]
push ebp
mov ebp, dword [eax + edx*8 + 0xc]
inc ebx
cmp dword [0x10053428], 0x8ff
lea edx, [edx + edx*2]
mov eax, dword [esp + 0x40]
push esi
push edi
mov dword [esp + 0x20], ecx
mov esi, dword [eax + edx*4 + 8]
mov eax, dword [0x10053434]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ebx
mov dword [0x10053438], ebx
mov dword [esp + 0x1c], 0x44b
je 0x10001076
mov al, byte [0x100533ff]
cmp al, byte [0x1005340b]
jne 0x10001100
mov al, byte [esp + 0x38]
mov edi, dword [esp + 0x44]
dec al
mov ecx, dword [esp + 0x10]
movzx edx, al
mov byte [esp + 0x38], al
movzx eax, byte [0x10053408]
and byte [edi + edx*2 + 1], al
mov eax, dword [0x10053438]
shl eax, 4
add ecx, eax
mov eax, 0x746
sub eax, dword [ecx]
mov dword [ecx], eax
movzx eax, word [ebp]
movzx ecx, word [esi]
add eax, 0x3a
shl ecx, 4
lea eax, [eax + eax*2]
movzx eax, word [eax + eax]
add dword [ecx + 0x287], eax
mov eax, dword [0x100533e0]
mov ecx, dword [0x10053400]
mov ax, word [eax + 0x112c]
sub ax, word [0x10053410]
mov word [0x10053410], ax
mov eax, dword [esp + 0x40]
lea eax, [eax + eax*2]
movzx eax, word [esi + eax*2 + 6]
and dword [0x10053440], eax
movzx eax, byte [edx + ebx + 6]
mov dword [0x100533d8], eax
jmp 0x10001104
mov edi, dword [esp + 0x44]
cmp ecx, 0x44b
jg 0x10001280
mov bp, word [esp + 0x1c]
lea ebx, [edi + 5]
lea eax, [ecx*4 + 1]
add eax, edi
lea ebx, [ebx + ecx*2]
mov edi, dword [esp + 0x14]
add ebx, ecx
add edi, 0x2a
mov dword [esp + 0x48], eax
lea edi, [edi + ecx*8]
mov dword [esp + 0x40], edi
nop dword [eax + eax]
mov eax, dword [0x100533f8]
movzx esi, word [0x10053410]
cdq
idiv esi
mov edx, dword [esp + 0x20]
mov word [0x10053410], ax
movzx eax, word [0x10053450]
mov byte [edx + eax*4], 0x3e
mov eax, 0x645
cmp word [edi], ax
jbe 0x1000117f
mov eax, dword [esp + 0x24]
movzx eax, byte [eax + ecx*2]
cmp word [0x10053450], ax
je 0x1000118c
mov eax, dword [esp + 0x4c]
cmp dword [eax + ecx*4], 0x28a
jne 0x1000119f
mov eax, dword [0x10053430]
or bp, word [eax + 0x5f20]
mov al, byte [0x10053450]
add byte [ebx], al
cmp dword [0x1005341c], 0x28a
jbe 0x1000125d
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x30]
movzx eax, byte [ecx + edi]
add al, 0x77
add al, cl
mov byte [edx], al
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
movzx eax, word [eax]
mov dword [edx + eax*4], esi
movzx esi, byte [ecx + edi + 1]
mov eax, dword [0x10053418]
add eax, ecx
cdq
idiv esi
mov edx, dword [esp + 0x4c]
mov esi, 0x1bc2
mov byte [ecx + edi + 1], al
movzx eax, word [0x100533fc]
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x14]
or eax, 0x63f
mov dword [0x10053428], eax
movzx eax, bp
lea edx, [edx + eax*2]
mov dword [0x100533e8], 0x15a0
mov ax, cx
sub ax, word [edx + 6]
sub ax, si
mov word [edx + 6], ax
mov al, byte [esp + 0x38]
mov edx, dword [esp + 0x18]
inc al
movzx esi, byte [0x1005340e]
mov byte [esp + 0x38], al
movzx eax, al
lea eax, [eax + eax*2]
lea edi, [edx + eax*2]
mov eax, dword [esp + 0x3c]
xor edx, edx
div esi
movzx esi, word [edi]
mov eax, edx
xor edx, edx
div esi
mov word [edi], ax
mov edi, dword [esp + 0x40]
jmp 0x10001265
cmp dword [0x10053428], ecx
jb 0x10001280
add dword [esp + 0x48], 4
inc ecx
add edi, 8
movzx eax, bp
add ebx, 3
mov dword [esp + 0x40], edi
cmp ecx, eax
jle 0x10001140
movzx ecx, byte [0x1005340e]
xor edx, edx
mov eax, 0x1096
div ecx
pop edi
sub eax, dword [0x10053418]
pop esi
pop ebp
mov dword [0x10053418], eax
mov eax, dword [0x10053440]
pop ebx
add esp, 0x18
ret