Function at 0x4037a0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

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 0x4037e3
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 0x4037c6
mov eax, dword [esi + 0x274]
test eax, eax
jg 0x40380b
push 0xbb9
call fcn.00412560
add esp, 4
mov eax, dword [esi + 0x274]
cmp eax, 0xc8
jge 0x403822
mov dword [esp + 0x10], 2
jmp 0x403855
cmp eax, 0x258
jge 0x403833
mov dword [esp + 0x10], 3
jmp 0x403855
cmp eax, 0x4b0
jge 0x403844
mov dword [esp + 0x10], 4
jmp 0x403855
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 0x403945
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 0x4038b8
dec ebp
lea edi, [esi + ecx*4 + 0x278]
cmp ecx, ebp
jge 0x4038b0
add edx, dword [edi + 4]
add edi, 4
inc ecx
cmp edx, eax
jl 0x4038a1
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
cmp ecx, dword [esp + 0x60]
jle 0x4038e8
cmp edi, dword [esp + 0x10]
je 0x4038e8
cmp edi, 1
je 0x4038e8
mov eax, dword [esp + 0x18]
and eax, 0x80000001
jns 0x4038d9
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x4038e8
mov eax, dword [esi + ecx*4 + 0x278]
sub edx, eax
dec ecx
xor eax, eax
test ebp, ebp
jle 0x403913
cmp eax, dword [esp + 0x60]
jl 0x403902
cmp eax, ecx
jg 0x403902
mov ebp, dword [esp + 0x1c]
mov byte [eax + ebp], 0
jmp 0x40390a
mov ebp, dword [esp + 0x1c]
mov byte [eax + ebp], 0xf
mov ebp, dword [esp + 0x14]
inc eax
cmp eax, ebp
jl 0x4038ee
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 0x403889
mov dword [esp + 0x30], 4
mov ebp, dword [esp + 0x10]
test ebp, ebp
jle 0x40398c
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 0x403979
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 0x40396d
jmp 0x403990
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x10], 6
jne 0x403a01
test ebp, ebp
jle 0x403a01
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, [eax + ebp]
cmp ecx, edx
jl 0x4039ae
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 0x4048af
lea eax, [ebp + 0x31]
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
jl 0x403a33
lea eax, [ecx - 1]
mov dword [esp + 0x18], eax
test edx, edx
jle 0x403a4c
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 0x4043e7
mov ecx, eax
sub ecx, ebp
inc ecx
cmp ecx, 0x32
jne 0x4043e7
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 [edx + esi]
add eax, dword [edi + esi]
mov edi, dword [esp + 0x60]
shl ecx, 4
shl edi, 4
lea edx, [ecx + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 [edi + esi]
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 0x40444c
cmp ebp, eax
jg 0x404450
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 0x404403
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
test edx, edx
mov cx, word [ecx]
jle 0x40443a
mov edi, dword [esp + 0x10]
and ecx, 0xffff
lea eax, [esp + 0x34]
lea ecx, [ecx + esi + 0x9324]
movzx dx, byte [ecx]
add word [eax], dx
add ecx, 0x102
add eax, 2
dec edi
jne 0x404423
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 0x4043ff
mov edx, dword [esp + 0x10]
or eax, 0xffffffff
xor edi, edi
test edx, edx
mov dword [esp + 0x24], 0x3b9ac9ff
jle 0x404494
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 0x404480
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 0x404469
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 [ecx + esi + 0x680], al
inc ecx
cmp edx, 6
mov dword [esp + 0x1c], ecx
jne 0x404871
mov edx, dword [esp + 0x18]
sub edx, ebp
inc edx
cmp edx, 0x32
jne 0x404871
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 0x403a0b
cmp ebp, dword [esp + 0x18]
jg 0x4048a3
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 0x40488d
mov edx, dword [esp + 0x18]
lea ebp, [edx + 1]
jmp 0x403a0b
cmp dword [esi + 0x268], 3
jl 0x4048be
test edx, edx
jle 0x4048fa
jmp 0x4048c2
test edx, edx
jle 0x4048fa
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.0040bd90
mov eax, dword [esp + 0x70]
add esp, 0x10
add edi, 0x408
add ebp, 0x102
dec eax
mov dword [esp + 0x60], eax
jne 0x4048d2
mov eax, dword [esp + 0x30]
dec eax
mov dword [esp + 0x30], eax
jne 0x40394d
mov ecx, dword [esp + 0x10]
cmp ecx, 8
jl 0x404923
push 0xbba
call fcn.00412560
mov ecx, dword [esp + 0x14]
add esp, 4
mov ebp, dword [esp + 0x1c]
cmp ebp, 0x8000
jge 0x404937
cmp ebp, 0x4652
jle 0x40494c
push 0xbbb
call fcn.00412560
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x40495b
mov byte [esp + eax + 0x28], al
inc eax
cmp eax, ecx
jl 0x404952
xor edi, edi
test ebp, ebp
jle 0x4049a5
mov al, byte [esp + 0x28]
mov cl, byte [esi + edi + 0x680]
mov dword [esp + 0x30], 0
mov byte [esp + 0x60], cl
cmp cl, al
mov ecx, dword [esp + 0x30]
je 0x404991
inc ecx
mov dl, al
mov al, byte [esp + ecx + 0x28]
mov byte [esp + ecx + 0x28], dl
cmp byte [esp + 0x60], al
jne 0x404980
mov byte [edi + esi + 0x4cd2], cl
inc edi
cmp edi, ebp
mov byte [esp + 0x28], al
jl 0x404965
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x404a5c
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 0x404a18
mov edx, dword [esp + 0x60]
xor eax, eax
mov al, byte [edx + ecx]
cmp eax, edi
jle 0x4049e5
mov edi, eax
cmp eax, ebp
jge 0x4049eb
mov ebp, eax
mov eax, dword [esp + 0x14]
inc ecx
cmp ecx, eax
jl 0x4049da
cmp edi, 0x11
jle 0x404a06
push 0xbbc
call fcn.00412560
add esp, 4
cmp ebp, 1
jge 0x404a18
push 0xbbd
call fcn.00412560
add esp, 4
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.0040c0a0
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
add esp, 0x14
add edx, 0x102
add ecx, 0x408
dec eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
jne 0x4049c5
lea ebp, [esi + 0x58]
xor ecx, ecx
mov edx, ebp
mov byte [esp + ecx + 0x34], 0
xor eax, eax
cmp byte [eax + edx], 0
je 0x404a75
mov byte [esp + ecx + 0x34], 1
inc eax
cmp eax, 0x10
jl 0x404a6a
inc ecx
add edx, 0x10
cmp ecx, 0x10
jl 0x404a63
xor edi, edi
mov al, byte [esp + edi + 0x34]
test al, al
je 0x404a92
push 1
jmp 0x404a94
push 0
push 1
push esi
call fcn.00403490
add esp, 0xc
inc edi
cmp edi, 0x10
jl 0x404a86
xor eax, eax
mov dword [esp + 0x60], eax
mov cl, byte [esp + eax + 0x34]
test cl, cl
je 0x404ad6
xor edi, edi
cmp byte [edi + ebp], 0
je 0x404abf
push 1
jmp 0x404ac1
push 0
push 1
push esi
call fcn.00403490
add esp, 0xc
inc edi
cmp edi, 0x10
jl 0x404ab5
mov eax, dword [esp + 0x60]
inc eax
add ebp, 0x10
cmp eax, 0x10
mov dword [esp + 0x60], eax
jl 0x404aab
mov edi, dword [esp + 0x10]
push edi
push 3
push esi
call fcn.00403490
mov ebp, dword [esp + 0x28]
push ebp
push 0xf
push esi
call fcn.00403490
add esp, 0x18
test ebp, ebp
jle 0x404b53
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 0x404b33
push 1
push 1
push esi
call fcn.00403490
xor eax, eax
add esp, 0xc
mov al, byte [edi]
inc ebp
cmp ebp, eax
jl 0x404b1d
push 0
push 1
push esi
call fcn.00403490
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
add esp, 0xc
inc edi
add ecx, edi
cmp ecx, eax
jl 0x404b15
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x404c00
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.00403490
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
jle 0x404be4
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x30], eax
xor ecx, ecx
mov cl, byte [ebp]
cmp edi, ecx
jge 0x404bab
push 2
push 2
push esi
call fcn.00403490
xor edx, edx
add esp, 0xc
mov dl, byte [ebp]
inc edi
cmp edi, edx
jl 0x404b94
xor eax, eax
mov al, byte [ebp]
cmp edi, eax
jle 0x404bcb
push 3
push 2
push esi
call fcn.00403490
xor ecx, ecx
add esp, 0xc
mov cl, byte [ebp]
dec edi
cmp edi, ecx
jg 0x404bb4
push 0
push 1
push esi
call fcn.00403490
mov eax, dword [esp + 0x3c]
add esp, 0xc
inc ebp
dec eax
mov dword [esp + 0x30], eax
jne 0x404b8b
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 0x404b69
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 0x4053a3
lea edi, [ebp + 0x31]
cmp edi, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
jl 0x404c3a
lea edi, [eax - 1]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x10]
xor edx, edx
mov dl, byte [ecx + esi + 0x680]
cmp edx, eax
jl 0x404c58
push 0xbbe
call fcn.00412560
add esp, 4
cmp dword [esp + 0x10], 6
jne 0x405324
mov eax, edi
sub eax, ebp
inc eax
cmp eax, 0x32
jne 0x405324
mov ecx, dword [esp + 0x14]
xor eax, eax
mov al, byte [ecx + esi + 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 [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x6c]
xor edx, edx
mov ax, word [ebx + eax*2 + 2]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x78]
xor edx, edx
mov ax, word [ebx + eax*2 + 4]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x84]
xor edx, edx
mov ax, word [ebx + eax*2 + 6]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x90]
xor edx, edx
mov ax, word [ebx + eax*2 + 8]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x9c]
xor edx, edx
mov ax, word [ebx + eax*2 + 0xa]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0xa8]
add esp, 0x48
mov ax, word [ebx + eax*2 + 0xc]
and eax, 0xffff
xor edx, edx
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x6c]
xor edx, edx
mov ax, word [ebx + eax*2 + 0xe]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x78]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x10]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x84]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x12]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x90]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x14]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x9c]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x16]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0xa8]
add esp, 0x48
xor edx, edx
mov ax, word [ebx + eax*2 + 0x18]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x6c]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x1a]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x78]
mov ax, word [ebx + eax*2 + 0x1c]
and eax, 0xffff
xor edx, edx
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x84]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x1e]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x90]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x20]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x9c]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x22]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0xa8]
add esp, 0x48
xor edx, edx
mov ax, word [ebx + eax*2 + 0x24]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x6c]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x26]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x78]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x28]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x84]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x2a]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x90]
mov ax, word [ebx + eax*2 + 0x2c]
and eax, 0xffff
xor edx, edx
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x9c]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x2e]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0xa8]
add esp, 0x48
xor edx, edx
mov ax, word [ebx + eax*2 + 0x30]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x6c]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x32]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x78]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x34]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x84]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x36]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x90]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x38]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x9c]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x3a]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0xa8]
add esp, 0x48
mov ax, word [ebx + eax*2 + 0x3c]
and eax, 0xffff
xor edx, edx
mov ecx, dword [ebp + eax*4]
push ecx
mov dl, byte [edi + eax]
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x6c]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x3e]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x78]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x40]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x84]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x42]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x90]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x44]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x9c]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x46]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0xa8]
add esp, 0x48
xor edx, edx
mov ax, word [ebx + eax*2 + 0x48]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x6c]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x4a]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x78]
mov ax, word [ebx + eax*2 + 0x4c]
and eax, 0xffff
xor edx, edx
mov ecx, dword [ebp + eax*4]
push ecx
mov dl, byte [edi + eax]
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x84]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x4e]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x90]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x50]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x9c]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x52]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0xa8]
add esp, 0x48
xor edx, edx
mov ax, word [ebx + eax*2 + 0x54]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x6c]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x56]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x78]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x58]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x84]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x5a]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x90]
mov ax, word [ebx + eax*2 + 0x5c]
and eax, 0xffff
xor edx, edx
mov ecx, dword [ebp + eax*4]
push ecx
mov dl, byte [edi + eax]
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x9c]
xor edx, edx
mov ax, word [ebx + eax*2 + 0x5e]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0xa8]
add esp, 0x48
xor edx, edx
mov ax, word [ebx + eax*2 + 0x60]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
mov eax, dword [esp + 0x2c]
xor edx, edx
mov ax, word [ebx + eax*2]
and eax, 0xffff
mov ecx, dword [ebp + eax*4]
mov dl, byte [edi + eax]
push ecx
push edx
push esi
call fcn.00403490
add esp, 0x18
jmp 0x405381
cmp ebp, edi
jg 0x405385
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 [eax + esi]
push ecx
push esi
call fcn.00403490
mov eax, dword [esp + 0x6c]
add esp, 0xc
add edi, 2
dec eax
mov dword [esp + 0x60], eax
jne 0x405336
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 0x404c16
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
cmp ecx, eax
pop ebx
je 0x4053bc
push 0xbbf
call fcn.00412560
add esp, 4
add esp, 0x4c
ret