Function at 0x4185c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x98]
push ebx
sub esp, 0x33c
mov ebx, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x2c4], eax
xor eax, eax
mov dword [ebp - 0xd8], eax
xor eax, eax
mov dword [ebp - 0xd4], eax
xor eax, eax
mov dword [ebp - 0xd0], eax
xor eax, eax
mov dword [ebp - 0xcc], eax
mov eax, str.rehash_dir
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call fcn.00414b40
xor eax, eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call sub.cygwin1.dll_malloc
mov dword [ebp - 0x2c8], eax
test eax, eax
je 0x418c68
mov eax, dword [ebp - 0x94]
xor edi, edi
mov dword [ebp - 0xb0], edi
shr eax, 5
mov dword [ebp - 0xb4], eax
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp], eax
call sub.cygwin1.dll_malloc
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x418c50
mov dword [ebp - 0xc4], esi
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc0], ecx
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [ebp - 0x2c8]
mov dword [ebp - 0xbc], eax
xor eax, eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0xc8], edx
xor edx, edx
mov dword [ebp - 0xac], edx
test byte [eax + 0x5c], 0x20
jne 0x418c10
mov eax, 1
mov dword [ebp - 0xa8], eax
xor eax, eax
xor edi, edi
mov dword [ebp - 0xa0], eax
xor eax, eax
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xc8]
mov dword [esp + 0x14], eax
mov eax, 0x417f00
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x2c4]
mov dword [esp], ecx
call fcn.00420ed0
mov eax, dword [ebp - 0xc0]
test eax, eax
mov ebx, eax
jne 0x418c50
lea esi, [esi]
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x418c29
mov ebx, 0x4181f0
mov ecx, 0x18
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov eax, dword [ebp - 0xb0]
sub eax, 2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb8]
add eax, 0x30
mov dword [esp], eax
call sub.cygwin1.dll_qsort
xor eax, eax
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.00415eb0
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x114], edx
movzx edx, byte [eax + 0xfc]
cmp edx, 2
mov dword [ebp - 0x2d8], edx
jg 0x4187b0
test byte [eax + 0x160], 2
je 0x4187b0
add edx, 3
mov dword [ebp - 0x2d8], edx
lea esi, [esi]
mov esi, dword [ebp - 0xb0]
mov eax, 1
mov dword [ebp - 0x2d0], eax
cmp esi, 1
jle 0x418a8e
mov eax, 0x18
mov dword [ebp - 0x308], eax
jmp 0x4187f0
inc dword [ebp - 0x2d0]
add dword [ebp - 0x308], 0x18
cmp esi, dword [ebp - 0x2d0]
jle 0x418a80
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x308]
add ecx, eax
mov dword [ebp - 0x2cc], ecx
mov ebx, dword [ecx + 0x10]
mov edi, ecx
sub edi, 0x18
mov eax, dword [ebx]
test eax, eax
je 0x4187d7
movzx ecx, byte [ebx + 6]
mov edx, dword [edi + 0x10]
movzx eax, byte [edx + 6]
cmp ecx, eax
jne 0x4187d7
mov dword [esp + 8], ecx
lea eax, [edx + 8]
lea edx, [ebx + 8]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.cygwin1.dll_strncmp
test eax, eax
jne 0x4187d7
mov dword [ebp - 0x104], ebx
mov eax, dword [ebp - 0x2cc]
mov edx, dword [eax + 0x10]
mov eax, dword [edi + 0x10]
mov eax, dword [eax]
cmp dword [edx], eax
je 0x418cbc
movzx ebx, byte [edx + 6]
lea edi, [ebp - 0x218]
lea esi, [edx + 8]
cmp ebx, 7
jbe 0x418884
mov eax, edi
test al, 4
je 0x418884
mov eax, dword [edx + 8]
lea edi, [ebp - 0x214]
sub ebx, 4
lea esi, [edx + 0xc]
mov dword [ebp - 0x218], eax
cld
mov ecx, ebx
shr ecx, 2
test bl, 2
rep movsd dword es:[edi], dword [esi]
je 0x41889d
movzx eax, word [esi]
add esi, 2
mov word [edi], ax
add edi, 2
test bl, 1
je 0x4188a7
movzx eax, byte [esi]
mov byte [edi], al
mov edx, dword [ebp - 0x2cc]
xor ebx, ebx
mov eax, dword [edx + 0x10]
lea edx, [ebp - 0x21a]
movzx edi, word [eax + 6]
lea eax, [ebp - 0x218]
mov word [ebp - 0x21a], di
call fcn.004183b0
mov esi, dword [ebp - 0xb0]
cmp esi, 0
jle 0x418cec
movzx edi, word [ebp - 0x21a]
jmp 0x4188eb
inc ebx
cmp esi, ebx
jle 0x41895c
cmp dword [ebp - 0x2d0], ebx
je 0x4188e6
mov eax, dword [ebp - 0x2cc]
mov edx, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x10]
lea eax, [ebx + ebx*2]
mov edx, dword [edx + eax*8 + 0x10]
movzx eax, byte [edx + 6]
cmp al, byte [ecx + 6]
jne 0x4188e6
mov ecx, edi
add edx, 8
movzx eax, cl
mov dword [esp + 8], eax
lea eax, [ebp - 0x218]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_strncmp
test eax, eax
jne 0x4188e6
lea edx, [ebp - 0x21a]
mov ebx, 0xffffffff
lea eax, [ebp - 0x218]
call fcn.004183b0
movzx edi, word [ebp - 0x21a]
inc ebx
mov esi, dword [ebp - 0xb0]
cmp esi, ebx
jg 0x4188eb
mov edx, edi
lea ecx, [ebp - 0x218]
movzx eax, dl
mov dword [ebp - 0xe0], ecx
xor edx, edx
mov byte [ebp + eax - 0x218], dl
lea eax, [ebp - 0x118]
mov dword [esp + 8], eax
mov eax, 0x20042
mov dword [esp + 4], eax
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.00415f50
test eax, eax
je 0x418a56
movzx edx, byte [ebp - 0x21a]
lea esi, [ebp - 0x218]
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [eax + 0x10]
cmp edx, 7
lea edi, [ecx + 8]
jbe 0x4189d7
test edi, 4
je 0x4189d7
mov eax, dword [ebp - 0x218]
lea edi, [ecx + 0xc]
sub edx, 4
lea esi, [ebp - 0x214]
mov dword [ecx + 8], eax
cld
mov ecx, edx
shr ecx, 2
test dl, 2
rep movsd dword es:[edi], dword [esi]
je 0x4189f0
movzx eax, word [esi]
add esi, 2
mov word [edi], ax
add edi, 2
test dl, 1
je 0x4189fa
movzx eax, byte [esi]
mov byte [edi], al
movzx eax, word [ebp - 0x21a]
mov ecx, dword [ebp - 0x2cc]
mov edx, dword [ecx + 0x10]
mov word [edx + 6], ax
mov eax, ecx
add eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx + 0x10]
add eax, 0xec
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x10]
movzx eax, byte [eax + 6]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x10]
add eax, 8
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x2d8]
mov dword [esp], ecx
call fcn.00423790
inc dword [ebp - 0x2d4]
inc dword [ebp - 0x2d0]
mov esi, dword [ebp - 0xb0]
add dword [ebp - 0x308], 0x18
cmp esi, dword [ebp - 0x2d0]
jg 0x4187f0
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x2d4]
test eax, eax
jne 0x418720
mov eax, dword [ebp + 8]
xor ebx, ebx
test byte [eax + 0x18], 8
jne 0x418c50
mov ecx, dword [ebp - 0x2c4]
xor eax, eax
xor edx, edx
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xac]
div dword [ecx + 0x14]
lea edx, [ebp - 0xd8]
add eax, 2
mov dword [esp], eax
mov eax, ecx
call fcn.004182c0
test eax, eax
je 0x418d2f
test eax, eax
mov ebx, eax
jne 0x418c50
mov eax, dword [ebp - 0x2c8]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov ebx, dword [ebp - 0xa8]
test ebx, ebx
jne 0x418fa6
mov edx, dword [ebp - 0x2c4]
xor eax, eax
xor esi, esi
mov dword [ebp - 0x2f4], eax
mov edi, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xd0]
mov eax, dword [edx + 0x10]
test byte [eax + 0x60], 2
jne 0x418f5b
mov ecx, dword [ebp - 0x2c4]
mov eax, dword [ecx + 0x14]
mov dword [esp], ebx
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
call sub.cygwin1.dll_memset
mov word [ebx + 4], 0xc
mov eax, dword [ebp + 0xc]
lea edx, [ebx + 0xc]
mov byte [ebx + 8], 0x2e
mov byte [edx + 8], 0x2e
mov byte [edx + 9], 0x2e
mov ecx, dword [ebp - 0x2c4]
mov dword [ebx], eax
mov eax, esi
or eax, 1
mov dword [ebx + 0xc], edi
or esi, 2
mov word [ebx + 6], ax
mov eax, dword [ecx + 0x14]
mov word [edx + 6], si
lea esi, [ebx + 0x18]
sub eax, 0xc
mov word [edx + 4], ax
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x18], 0
mov edx, esi
movzx eax, byte [eax + 0xfc]
mov byte [esi + 5], 8
mov byte [esi + 6], 0
mov byte [esi + 7], 0
mov byte [esi + 4], al
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0xd0]
mov word [ebx + 0x22], 0
sub eax, 0x20
shr eax, 3
mov word [ebx + 0x20], ax
sub edx, ecx
movzx eax, byte [esi + 5]
add edx, eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x2fc], edx
mov dword [ebp - 0x300], edx
lea edx, [ecx + edx]
movzx edi, word [edx]
mov dword [ebp - 0x2f8], eax
dec eax
cmp eax, edi
jg 0x4190c9
mov esi, 1
cmp esi, dword [ebp - 0x2f8]
jge 0x418f7d
mov dword [edx + 4], esi
cmp esi, 1
je 0x418c09
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + esi*4]
mov dword [edx], eax
add edx, 8
dec edi
inc esi
jmp 0x418bea
xor edx, edx
mov eax, dword [ebp - 0x94]
div dword [ecx + 0x14]
cmp eax, 1
ja 0x4186c9
jmp 0x4186be
mov eax, 0x18
mov edx, 0x418210
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xb0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb8]
jmp 0x418756
mov esi, dword [ebp - 0x2c8]
test esi, esi
je 0x418c68
mov edx, dword [ebp - 0x2c8]
mov dword [esp], edx
call sub.cygwin1.dll_free
mov eax, dword [ebp - 0xb8]
test eax, eax
jne 0x418cb2
mov eax, dword [ebp - 0xd0]
test eax, eax
jne 0x418ca8
mov eax, dword [ebp - 0xcc]
test eax, eax
jne 0x418c93
add esp, 0x33c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], eax
call sub.cygwin1.dll_free
add esp, 0x33c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], eax
call sub.cygwin1.dll_free
jmp 0x418c7c
mov dword [esp], eax
call sub.cygwin1.dll_free
jmp 0x418c72
lea edx, [ebp - 0x118]
mov ebx, 0x20041
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call fcn.00415f50
test eax, eax
jne 0x418cf8
mov ecx, dword [ebp - 0x2cc]
mov edx, dword [ecx + 0x10]
jmp 0x418857
movzx edi, word [ebp - 0x21a]
jmp 0x41895c
mov ecx, 0xffffffff
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x2cc]
mov eax, dword [edx + 0x10]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call fcn.0040ea30
mov edx, dword [ebp - 0x2cc]
mov eax, dword [edx + 0x10]
mov dword [eax], 0
jmp 0x418a50
xor eax, eax
cmp dword [ebp - 0xa8], 0
lea edx, [ebp - 0xd8]
mov esi, 1
sete al
mov dword [ebp - 0xd8], eax
xor eax, eax
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0xcc]
mov dword [eax], 0
lea eax, [ebp - 0x2bc]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c4]
call fcn.00418350
test eax, eax
jne 0x418ad1
mov ecx, dword [ebp - 0x2c4]
xor edi, edi
mov ebx, dword [ebp - 0xb0]
mov dword [ebp - 0x2e4], edi
mov edx, dword [ebp - 0x2bc]
mov ecx, dword [ecx + 0x14]
test ebx, ebx
mov dword [ebp - 0x2e0], edx
mov dword [ebp - 0x2ec], ecx
jle 0x4191e3
xor ecx, ecx
mov dword [ebp - 0x304], ecx
jmp 0x418dd6
inc dword [ebp - 0x2e4]
add dword [ebp - 0x304], 0x18
mov edx, dword [ebp - 0x2e4]
cmp dword [ebp - 0xb0], edx
jle 0x4191e3
mov eax, dword [ebp - 0x304]
mov edx, dword [ebp - 0xb8]
add eax, edx
mov dword [ebp - 0x2dc], eax
mov ebx, dword [eax + 0x10]
mov edi, dword [ebx]
test edi, edi
je 0x418db7
movzx eax, byte [ebx + 6]
mov edx, dword [ebp - 0x2ec]
add eax, 0xb
and eax, 0xfffffffc
cmp eax, edx
mov dword [ebp - 0x2e8], eax
jle 0x418e54
test edx, edx
je 0x418e21
mov ecx, dword [ebp - 0x2e0]
movzx eax, word [ecx + 4]
add eax, edx
mov word [ecx + 4], ax
lea eax, [ebp - 0x2bc]
lea edx, [ebp - 0xd8]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c4]
call fcn.00418350
test eax, eax
jne 0x418ad1
mov edx, dword [ebp - 0x2dc]
xor ecx, ecx
mov dword [ebp - 0x2f0], ecx
mov ebx, dword [edx + 0x10]
mov ecx, dword [ebp - 0x2c4]
mov eax, dword [ebp - 0x2f0]
mov edx, dword [ebp - 0x2bc]
mov ecx, dword [ecx + 0x14]
mov edi, dword [ebp - 0x2f0]
sub ecx, eax
mov dword [ebp - 0x2ec], ecx
add eax, edx
test edi, edi
mov dword [ebp - 0x2e0], eax
jne 0x418ea3
mov edx, dword [ebp - 0x2dc]
mov ecx, dword [edx]
cmp ecx, esi
je 0x41920a
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xcc]
mov dword [eax + edx*4 - 4], ecx
mov ecx, dword [ebp - 0x2e0]
lea esi, [ebx + 8]
mov eax, dword [ebx]
mov edx, dword [ebp - 0x2e8]
mov edi, ecx
add edi, 8
mov dword [ecx], eax
movzx eax, word [ebx + 6]
mov word [ecx + 4], dx
movzx edx, al
cmp edx, 7
mov word [ecx + 6], ax
jbe 0x418ee6
test edi, 4
je 0x418ee6
mov eax, dword [ebx + 8]
add edi, 4
lea esi, [ebx + 0xc]
sub edx, 4
mov dword [ecx + 8], eax
cld
mov ecx, edx
shr ecx, 2
test dl, 2
rep movsd dword es:[edi], dword [esi]
je 0x418eff
movzx eax, word [esi]
add esi, 2
mov word [edi], ax
add edi, 2
test dl, 1
je 0x418f09
movzx eax, byte [esi]
mov byte [edi], al
mov ecx, dword [ebp - 0x2e8]
sub dword [ebp - 0x2ec], ecx
add dword [ebp - 0x2f0], ecx
cmp dword [ebp - 0x2ec], 0xb
jg 0x418f4e
mov edx, dword [ebp - 0x2e0]
xor ebx, ebx
mov esi, dword [ebp - 0x2ec]
mov ecx, dword [ebp - 0x2ec]
movzx eax, word [edx + 4]
add dword [ebp - 0x2f0], ecx
mov dword [ebp - 0x2ec], ebx
add eax, esi
mov word [edx + 4], ax
mov eax, dword [ebp - 0x2dc]
mov esi, dword [eax]
jmp 0x418db7
mov esi, 0x200
jmp 0x418b20
mov eax, dword [pe_dos_header]
mov word [ebp - 0x328], ax
mov eax, dword [ebp - 0x328]
sub eax, ebx
mov word [edx + 2], ax
mov eax, dword [ebp - 0xd0]
mov edx, dword [ebp - 0x2fc]
add edx, eax
movzx eax, word [edx]
sub eax, edi
mov word [edx + 2], ax
xor eax, eax
test eax, eax
mov ebx, eax
jne 0x418c68
mov ebx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xd8]
mov dword [esp + 0xc], eax
mov eax, 0xffffffff
mov dword [esp + 8], eax
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call fcn.0040f4b0
test eax, eax
je 0x418fd6
mov ebx, eax
jmp 0x418c68
lea eax, [ebp - 0xd8]
mov edx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x238], eax
xor eax, eax
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x230], edx
mov dword [esp + 0x14], eax
mov eax, 0x4184b0
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x2c4]
mov dword [esp], eax
call fcn.00420ed0
test eax, eax
jne 0x418fcf
mov eax, dword [ebp - 0x234]
test eax, eax
jne 0x418fcf
mov esi, str.rehash_dir
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x2b8]
mov dword [esp + 8], esi
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call fcn.00414b40
test ebx, ebx
je 0x41922c
and dword [ebp - 0x298], 0xffffefff
mov edx, dword [ebp - 0x2c4]
mov edi, str.rehash_dir
mov ecx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x14]
imul eax, ecx
mov dword [ebp - 0x2b4], eax
mov eax, dword [edx + 0x14]
mov edx, dword [ebp - 0x22c]
shr eax, 9
imul eax, edx
sub dword [ebp - 0x29c], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00414c70
xor eax, eax
mov ebx, eax
jmp 0x418c68
mov byte [esi + 6], 1
mov esi, 1
xor ebx, ebx
xor edx, edx
cmp esi, dword [ebp - 0x2f8]
jge 0x418f65
test edi, edi
je 0x419222
test ebx, ebx
jne 0x41919e
test edx, edx
je 0x4190fd
movzx eax, word [edx]
mov word [edx + 2], ax
mov edx, dword [ebp - 0x300]
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd8]
add edx, ecx
cmp esi, 1
mov dword [edx + 4], eax
je 0x419124
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + esi*4]
mov dword [edx], eax
lea eax, [ebp - 0x2c0]
lea edx, [ebp - 0xd8]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c4]
call fcn.00418350
test eax, eax
jne 0x418f96
mov edx, dword [ebp - 0x2c4]
dec edi
mov ebx, dword [ebp - 0x2c0]
mov eax, dword [edx + 0x14]
xor edx, edx
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.cygwin1.dll_memset
mov dword [ebx], 0
mov ecx, dword [ebp - 0x2c4]
lea edx, [ebx + 8]
add dword [ebp - 0x300], 8
mov dword [ebp - 0x2f4], edx
mov eax, dword [ecx + 0x14]
mov word [ebx + 4], ax
sub eax, 8
shr eax, 3
mov word [ebx + 8], ax
movzx ebx, ax
mov word [edx + 2], 0
movzx ecx, word [edx]
mov eax, dword [ebp - 0x2f4]
mov dword [eax + 4], esi
movzx eax, cx
cmp eax, ebx
mov word [ebp - 0x328], cx
je 0x4191c9
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x2f4]
mov eax, dword [eax + esi*4]
mov dword [ecx], eax
add dword [ebp - 0x2f4], 8
inc esi
dec ebx
cmp esi, dword [ebp - 0x2f8]
jl 0x4190e2
jmp 0x418f71
mov ecx, dword [ebp - 0x2ec]
test ecx, ecx
je 0x419203
mov ecx, dword [ebp - 0x2e0]
mov edx, dword [ebp - 0x2ec]
movzx eax, word [ecx + 4]
add eax, edx
mov word [ecx + 4], ax
xor eax, eax
jmp 0x418ad1
mov edx, dword [ebp - 0xd8]
or esi, 1
mov eax, dword [ebp - 0xcc]
mov dword [eax + edx*4 - 4], esi
jmp 0x418ea3
mov eax, 0x1c
jmp 0x418f96
or dword [ebp - 0x298], 0x1000
jmp 0x419074