Function at 0x40bf9f
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5c]
push edi
mov dword [esp + 0x60], 6
mov ebp, dword [esi + 0x54]
mov ebx, dword [esi + 0x28]
add ebp, 2
lea edx, [esi + 0x9324]
mov dword [esp + 0x14], ebp
test ebp, ebp
jle 0x40bfe2
mov ecx, ebp
mov eax, 0xf0f0f0f
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
mov ebp, dword [esp + 0x14]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x60]
add edx, 0x102
dec eax
mov dword [esp + 0x60], eax
jne 0x40bfc5
mov eax, dword [esi + 0x274]
test eax, eax
jg 0x40c007
push 0xbb9
call fcn.0040de59
mov eax, dword [esi + 0x274]
cmp eax, 0xc8
jge 0x40c01e
mov dword [esp + 0x10], 2
jmp 0x40c051
cmp eax, 0x258
jge 0x40c02f
mov dword [esp + 0x10], 3
jmp 0x40c051
cmp eax, 0x4b0
jge 0x40c040
mov dword [esp + 0x10], 4
jmp 0x40c051
xor ecx, ecx
cmp eax, 0x960
setge cl
add ecx, 5
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
xor edx, edx
mov edi, ecx
cmp ecx, edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x60], edx
jle 0x40c143
add ecx, 0x91
mov dword [esp + 0x18], edx
mov edx, ecx
shl edx, 7
add edx, ecx
lea ecx, [esi + edx*2]
mov dword [esp + 0x1c], ecx
cdq
idiv edi
mov edx, dword [esp + 0x60]
lea ecx, [edx - 1]
xor edx, edx
test eax, eax
jle 0x40c0b4
dec ebp
lea edi, [esi + ecx*4 + 0x278]
cmp ecx, ebp
jge 0x40c0ac
add edx, dword [edi + 4]
add edi, 4
inc ecx
cmp edx, eax
jl 0x40c09d
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
cmp ecx, dword [esp + 0x60]
jle 0x40c0e4
cmp edi, dword [esp + 0x10]
je 0x40c0e4
cmp edi, 1
je 0x40c0e4
mov eax, dword [esp + 0x18]
and eax, 0x80000001
jns 0x40c0d5
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x40c0e4
mov eax, dword [esi + ecx*4 + 0x278]
sub edx, eax
dec ecx
xor eax, eax
test ebp, ebp
jle 0x40c111
cmp eax, dword [esp + 0x60]
jl 0x40c0ff
cmp eax, ecx
jg 0x40c0ff
mov ebp, dword [esp + 0x1c]
mov byte [ebp + eax], 0
jmp 0x40c108
mov ebp, dword [esp + 0x1c]
mov byte [ebp + eax], 0xf
mov ebp, dword [esp + 0x14]
inc eax
cmp eax, ebp
jl 0x40c0ea
mov eax, dword [esp + 0x18]
dec edi
inc eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
sub eax, 0x102
inc ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
sub eax, edx
mov dword [esp + 0x60], ecx
test edi, edi
mov dword [esp + 0x24], eax
jg 0x40c085
mov dword [esp + 0x30], 4
mov ebp, dword [esp + 0x10]
test ebp, ebp
jle 0x40c18a
mov ecx, ebp
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x14]
lea edx, [esi + 0xb160]
rep stosd dword es:[edi], eax
test ebp, ebp
jle 0x40c177
mov ecx, ebp
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x60]
add edx, 0x408
dec eax
mov dword [esp + 0x60], eax
jne 0x40c16b
jmp 0x40c18e
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x10], 6
jne 0x40c200
test ebp, ebp
jle 0x40c200
mov ebp, 0xffff6cdc
lea eax, [esi + 0x9324]
lea edi, [esi + 0xc994]
sub ebp, esi
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 0x102]
mov dl, byte [eax]
shl ecx, 0x10
or ecx, edx
xor edx, edx
mov dword [edi - 4], ecx
mov dl, byte [eax + 0x204]
xor ecx, ecx
add edi, 0x10
mov cl, byte [eax + 0x306]
shl ecx, 0x10
or ecx, edx
xor edx, edx
mov dword [edi - 0x10], ecx
mov dl, byte [eax + 0x408]
xor ecx, ecx
mov cl, byte [eax + 0x50a]
shl ecx, 0x10
or ecx, edx
mov edx, dword [esp + 0x14]
inc eax
mov dword [edi - 0xc], ecx
lea ecx, [ebp + eax]
cmp ecx, edx
jl 0x40c1ac
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
mov ecx, dword [esi + 0x274]
mov edx, dword [esp + 0x10]
cmp ebp, ecx
jge 0x40d0ae
lea eax, [ebp + 0x31]
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
jl 0x40c232
lea eax, [ecx - 1]
mov dword [esp + 0x18], eax
test edx, edx
jle 0x40c24b
mov ecx, edx
xor eax, eax
lea edi, [esp + 0x34]
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [esp + 0x18]
cmp edx, 6
jne 0x40cbe6
mov ecx, eax
sub ecx, ebp
inc ecx
cmp ecx, 0x32
jne 0x40cbe6
mov cx, word [ebx + ebp*2]
mov di, word [ebx + ebp*2 + 2]
and ecx, 0xffff
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
lea edx, [ecx + 0xc99]
shl edx, 4
shl edi, 4
mov eax, dword [esi + edx]
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl ecx, 4
shl edi, 4
lea edx, [esi + ecx]
add edi, esi
mov ecx, dword [edx + 0xc994]
mov edx, dword [edx + 0xc998]
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 4]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 6]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 8]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0xa]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0xc]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0xe]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x10]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x12]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x14]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x16]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x18]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x1a]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x1c]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x1e]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x20]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x22]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x24]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x26]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x28]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x2a]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x2c]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x2e]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x30]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x32]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x34]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x36]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x38]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x3a]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x3c]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x3e]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x40]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x42]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x44]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x46]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x48]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x4a]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x4c]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x4e]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x50]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x52]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x54]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x56]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x58]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x5a]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x5c]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x5e]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov di, word [ebx + ebp*2 + 0x60]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [esp + 0x20]
mov di, word [ebx + edi*2]
and edi, 0xffff
mov dword [esp + 0x60], edi
add edi, 0xc99
shl edi, 4
add eax, dword [esi + edi]
mov edi, dword [esp + 0x60]
shl edi, 4
add edi, esi
mov word [esp + 0x34], ax
shr eax, 0x10
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov word [esp + 0x36], ax
mov word [esp + 0x38], cx
mov word [esp + 0x3c], dx
shr ecx, 0x10
shr edx, 0x10
mov word [esp + 0x3a], cx
mov word [esp + 0x3e], dx
jmp 0x40cc4b
cmp ebp, eax
jg 0x40cc4f
lea eax, [ebx + ebp*2]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
sub eax, ebp
inc eax
mov dword [esp + 0x24], eax
jmp 0x40cc02
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
test edx, edx
mov cx, word [ecx]
jle 0x40cc39
mov edi, dword [esp + 0x10]
and ecx, 0xffff
lea eax, [esp + 0x34]
lea ecx, [esi + ecx + 0x9324]
movzx dx, byte [ecx]
add word [eax], dx
add ecx, 0x102
add eax, 2
dec edi
jne 0x40cc22
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
add edx, 2
dec eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x24], eax
jne 0x40cbfe
mov edx, dword [esp + 0x10]
or eax, 0xffffffff
xor edi, edi
test edx, edx
mov dword [esp + 0x24], 0x3b9ac9ff
jle 0x40cc93
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x60]
xor ecx, ecx
mov cx, word [edx]
mov edx, dword [esp + 0x24]
cmp ecx, edx
jge 0x40cc7f
mov dword [esp + 0x24], ecx
mov eax, edi
mov edx, dword [esp + 0x60]
inc edi
add edx, 2
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x10]
cmp edi, edx
jl 0x40cc68
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
add edi, ecx
mov ecx, dword [esp + eax*4 + 0x44]
inc ecx
mov dword [esp + 0x28], edi
mov dword [esp + eax*4 + 0x44], ecx
mov ecx, dword [esp + 0x1c]
mov byte [esi + ecx + 0x680], al
inc ecx
cmp edx, 6
mov dword [esp + 0x1c], ecx
jne 0x40d070
mov edx, dword [esp + 0x18]
sub edx, ebp
inc edx
cmp edx, 0x32
jne 0x40d070
lea ecx, [eax + 0x2c]
mov eax, ecx
shl eax, 7
add eax, ecx
xor ecx, ecx
mov cx, word [ebx + ebp*2]
shl eax, 1
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 2]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 4]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 6]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 8]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0xa]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0xc]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0xe]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x10]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x12]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x14]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x16]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x18]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x1a]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x1c]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x1e]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x20]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x22]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x24]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x26]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x28]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x2a]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x2c]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x2e]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x30]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x32]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x34]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x36]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x38]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x3a]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x3c]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x3e]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x40]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x42]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x44]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x46]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x48]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x4a]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x4c]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x4e]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x50]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x52]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x54]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x56]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [esi + edx*4]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x58]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x5a]
add edx, eax
lea ecx, [esi + edx*4]
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x5c]
add ecx, eax
mov edx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc edx
mov dword [ecx], edx
xor edx, edx
mov dx, word [ebx + ebp*2 + 0x5e]
add edx, eax
mov edi, dword [esi + edx*4]
lea ecx, [esi + edx*4]
inc edi
xor edx, edx
mov dword [ecx], edi
xor ecx, ecx
mov cx, word [ebx + ebp*2 + 0x60]
add ecx, eax
mov ebp, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
inc ebp
mov dword [ecx], ebp
mov ecx, dword [esp + 0x20]
mov dx, word [ebx + ecx*2]
add edx, eax
mov ecx, dword [esi + edx*4]
lea eax, [esi + edx*4]
mov edx, dword [esp + 0x18]
inc ecx
mov dword [eax], ecx
lea ebp, [edx + 1]
jmp 0x40c20a
cmp ebp, dword [esp + 0x18]
jg 0x40d0a2
lea ecx, [eax + 0x2c]
lea edx, [ebx + ebp*2]
mov eax, ecx
shl eax, 7
add eax, ecx
mov ecx, dword [esp + 0x18]
sub ecx, ebp
shl eax, 1
inc ecx
xor edi, edi
mov di, word [edx]
add edx, 2
add edi, eax
mov ebp, dword [esi + edi*4]
lea edi, [esi + edi*4]
inc ebp
dec ecx
mov dword [edi], ebp
jne 0x40d08c
mov edx, dword [esp + 0x18]
lea ebp, [edx + 1]
jmp 0x40c20a
cmp dword [esi + 0x268], 3
jl 0x40d0bd
test edx, edx
jle 0x40d0f6
jmp 0x40d0c1
test edx, edx
jle 0x40d0f6
lea ebp, [esi + 0x9324]
lea edi, [esi + 0xb160]
mov dword [esp + 0x60], edx
mov eax, dword [esp + 0x14]
push 0x11
push eax
push edi
push ebp
call fcn.0040db11
add edi, 0x408
add ebp, 0x102
mov eax, dword [esp + 0x60]
dec eax
mov dword [esp + 0x60], eax
jne 0x40d0d1
mov eax, dword [esp + 0x30]
dec eax
mov dword [esp + 0x30], eax
jne 0x40c14b
mov ecx, dword [esp + 0x10]
cmp ecx, 8
jl 0x40d11c
push 0xbba
call fcn.0040de59
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
cmp ebp, 0x8000
jge 0x40d130
cmp ebp, 0x4652
jle 0x40d142
push 0xbbb
call fcn.0040de59
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
jle 0x40d151
mov byte [esp + eax + 0x28], al
inc eax
cmp eax, ecx
jl 0x40d148
xor edi, edi
test ebp, ebp
jle 0x40d19b
mov al, byte [esp + 0x28]
mov cl, byte [edi + esi + 0x680]
mov dword [esp + 0x30], 0
mov byte [esp + 0x60], cl
cmp cl, al
mov ecx, dword [esp + 0x30]
je 0x40d187
inc ecx
mov dl, al
mov al, byte [esp + ecx + 0x28]
mov byte [esp + ecx + 0x28], dl
cmp byte [esp + 0x60], al
jne 0x40d176
mov byte [esi + edi + 0x4cd2], cl
inc edi
cmp edi, ebp
mov byte [esp + 0x28], al
jl 0x40d15b
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x40d249
lea edx, [esi + 0x9930]
lea eax, [esi + 0x9324]
mov dword [esp + 0x24], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x14]
xor edi, edi
xor ecx, ecx
mov ebp, 0x20
test eax, eax
jle 0x40d208
mov edx, dword [esp + 0x60]
xor eax, eax
mov al, byte [ecx + edx]
cmp eax, edi
jle 0x40d1db
mov edi, eax
cmp eax, ebp
jge 0x40d1e1
mov ebp, eax
mov eax, dword [esp + 0x14]
inc ecx
cmp ecx, eax
jl 0x40d1d0
cmp edi, 0x11
jle 0x40d1f9
push 0xbbc
call fcn.0040de59
cmp ebp, 1
jge 0x40d208
push 0xbbd
call fcn.0040de59
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
push eax
push edi
push ebp
push ecx
push edx
call fcn.0040de0f
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
add edx, 0x102
add ecx, 0x408
dec eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
jne 0x40d1bb
lea ebp, [esi + 0x58]
xor ecx, ecx
mov edx, ebp
mov byte [esp + ecx + 0x34], 0
xor eax, eax
cmp byte [edx + eax], 0
je 0x40d262
mov byte [esp + ecx + 0x34], 1
inc eax
cmp eax, 0x10
jl 0x40d257
inc ecx
add edx, 0x10
cmp ecx, 0x10
jl 0x40d250
xor edi, edi
mov al, byte [esp + edi + 0x34]
test al, al
je 0x40d27f
push 1
jmp 0x40d281
push 0
push 1
push esi
call fcn.0040bcad
inc edi
cmp edi, 0x10
jl 0x40d273
xor eax, eax
mov dword [esp + 0x60], eax
mov cl, byte [esp + eax + 0x34]
test cl, cl
je 0x40d2be
xor edi, edi
cmp byte [ebp + edi], 0
je 0x40d2aa
push 1
jmp 0x40d2ac
push 0
push 1
push esi
call fcn.0040bcad
inc edi
cmp edi, 0x10
jl 0x40d29f
mov eax, dword [esp + 0x60]
inc eax
add ebp, 0x10
cmp eax, 0x10
mov dword [esp + 0x60], eax
jl 0x40d295
mov edi, dword [esp + 0x10]
push edi
push 3
push esi
call fcn.0040bcad
mov ebp, dword [esp + 0x1c]
push ebp
push 0xf
push esi
call fcn.0040bcad
test ebp, ebp
jle 0x40d332
mov eax, 0xffffb32e
lea edi, [esi + 0x4cd2]
sub eax, esi
mov dword [esp + 0x60], eax
mov al, byte [edi]
xor ebp, ebp
test al, al
jbe 0x40d315
push 1
push 1
push esi
call fcn.0040bcad
xor eax, eax
inc ebp
mov al, byte [edi]
cmp ebp, eax
jl 0x40d302
push 0
push 1
push esi
call fcn.0040bcad
inc edi
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x1c]
add ecx, edi
cmp ecx, eax
jl 0x40d2fa
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x40d3d3
lea eax, [esi + 0x9324]
mov dword [esp + 0x28], edi
mov dword [esp + 0x60], eax
xor edx, edx
mov dl, byte [eax]
mov edi, edx
push edi
push 5
push esi
call fcn.0040bcad
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x40d3b7
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x30], eax
xor ecx, ecx
mov cl, byte [ebp]
cmp edi, ecx
jge 0x40d384
push 2
push 2
push esi
call fcn.0040bcad
xor edx, edx
inc edi
mov dl, byte [ebp]
cmp edi, edx
jl 0x40d370
xor eax, eax
mov al, byte [ebp]
cmp edi, eax
jle 0x40d3a1
push 3
push 2
push esi
call fcn.0040bcad
xor ecx, ecx
dec edi
mov cl, byte [ebp]
cmp edi, ecx
jg 0x40d38d
push 0
push 1
push esi
call fcn.0040bcad
inc ebp
mov eax, dword [esp + 0x30]
dec eax
mov dword [esp + 0x30], eax
jne 0x40d367
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
add eax, 0x102
dec ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], ecx
jne 0x40d348
xor ecx, ecx
xor ebp, ebp
lea eax, [esi + 0x680]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x274]
cmp ebp, eax
jge 0x40daf5
lea edi, [ebp + 0x31]
cmp edi, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
jl 0x40d40d
lea edi, [eax - 1]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x10]
xor edx, edx
mov dl, byte [esi + ecx + 0x680]
cmp edx, eax
jl 0x40d428
push 0xbbe
call fcn.0040de59
cmp dword [esp + 0x10], 6
jne 0x40da79
mov eax, edi
sub eax, ebp
inc eax
cmp eax, 0x32
jne 0x40da79
mov ecx, dword [esp + 0x14]
xor eax, eax
mov al, byte [esi + ecx + 0x680]
lea ecx, [eax + 0x92]
add eax, 0x26
mov edx, ecx
shl edx, 7
add edx, ecx
mov ecx, eax
shl ecx, 7
lea edi, [esi + edx*2]
mov edx, dword [esp + 0x60]
add ecx, eax
mov ax, word [ebx + edx*2]
xor edx, edx
lea ebp, [esi + ecx*8]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 2]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 4]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 6]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 8]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0xa]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0xc]
and eax, 0xffff
xor edx, edx
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0xe]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x10]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x12]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x14]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x16]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x18]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x1a]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x1c]
and eax, 0xffff
xor edx, edx
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x1e]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x20]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x22]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x24]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x26]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x28]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x2a]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x2c]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
mov eax, dword [esp + 0x60]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x2e]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x30]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x32]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x34]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x36]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x38]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x3a]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x3c]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x3e]
xor edx, edx
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x40]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x42]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x44]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x46]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x48]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x4a]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x4c]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x4e]
and eax, 0xffff
xor edx, edx
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x50]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x52]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x54]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x56]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x58]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x5a]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x5c]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x5e]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
xor edx, edx
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x60]
mov ax, word [ebx + eax*2 + 0x60]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
xor edx, edx
mov eax, dword [esp + 0x20]
mov ax, word [ebx + eax*2]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [eax + edi]
push ecx
push edx
push esi
call fcn.0040bcad
jmp 0x40dad3
cmp ebp, edi
jg 0x40dad7
mov eax, dword [esp + 0x18]
lea edi, [ebx + ebp*2]
sub eax, ebp
inc eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov cl, byte [eax]
xor eax, eax
mov ax, word [edi]
lea edx, [ecx + 0x26]
add ecx, 0x92
mov ebp, edx
shl ebp, 7
add ebp, edx
lea edx, [eax + ebp*2]
mov edx, dword [esi + edx*4]
push edx
mov edx, ecx
shl edx, 7
add edx, ecx
xor ecx, ecx
lea eax, [eax + edx*2]
mov cl, byte [esi + eax]
push ecx
push esi
call fcn.0040bcad
add edi, 2
mov eax, dword [esp + 0x60]
dec eax
mov dword [esp + 0x60], eax
jne 0x40da8b
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
inc ecx
lea ebp, [edi + 1]
inc eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
jmp 0x40d3e9
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
cmp ecx, eax
pop ebx
je 0x40db0b
push 0xbbf
call fcn.0040de59
add esp, 0x4c
ret 4