Function at 0x406c20
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 eax, dword [esi + 0x268]
mov ebx, dword [esi + 0x28]
cmp eax, 3
jl 0x406c5f
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x274]
mov edx, dword [esi + 0x44]
push eax
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push ecx
push edx
add eax, 0x40
push str._______d_in_block___d_after_MTF__1_2_coding___d2_syms_in_use_n
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x14
mov edx, dword [esi + 0x54]
lea eax, [esi + 0x9324]
add edx, 2
mov edi, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x30], 6
test edx, edx
jle 0x406c96
mov ecx, edx
mov eax, 0xf0f0f0f
mov ebp, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x30]
add edi, 0x102
dec eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x30], eax
jne 0x406c7d
mov eax, dword [esi + 0x274]
xor edi, edi
cmp eax, edi
jg 0x406cc8
push 0xbb9
call fcn.00403eb0
add esp, 4
mov ecx, dword [esi + 0x274]
cmp ecx, 0xc8
jge 0x406cdd
mov eax, 2
jmp 0x406d09
cmp ecx, 0x258
jge 0x406cec
mov eax, 3
jmp 0x406d09
cmp ecx, 0x4b0
jge 0x406cfb
mov eax, 4
jmp 0x406d09
xor eax, eax
cmp ecx, 0x960
setge al
add eax, 5
cmp eax, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x60], edi
jle 0x406e52
add eax, 0x91
mov dword [esp + 0x24], edi
mov ecx, eax
shl ecx, 7
add ecx, eax
lea edx, [esi + ecx*2]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
cdq
idiv dword [esp + 0x20]
xor ebp, ebp
lea edi, [ecx - 1]
mov dword [esp + 0x1c], ebp
test eax, eax
jle 0x406d75
mov ecx, dword [esp + 0x14]
lea edx, [esi + edi*4 + 0x278]
dec ecx
cmp edi, ecx
jge 0x406d6d
add ebp, dword [edx + 4]
add edx, 4
inc edi
cmp ebp, eax
jl 0x406d5e
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x1c], ebp
cmp edi, ecx
jle 0x406dae
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
cmp eax, edx
je 0x406dae
cmp eax, 1
je 0x406dae
mov edx, dword [esp + 0x24]
and edx, 0x80000001
jns 0x406d9b
dec edx
or edx, 0xfffffffe
inc edx
cmp edx, 1
jne 0x406dae
mov edx, dword [esi + edi*4 + 0x278]
sub ebp, edx
dec edi
mov dword [esp + 0x1c], ebp
cmp dword [esi + 0x268], 3
jl 0x406df8
fild dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
mov edx, dword [sym.imp.MSVCRT.dll__iob]
sub esp, 8
fmul qword [0x40e0b8]
fidiv dword [esi + 0x274]
add edx, 0x40
fstp qword [esp]
push ebp
push edi
push eax
push ecx
push str.______initial_group__d____d_..__d___has__d_syms___4.1f____n
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov ecx, dword [esp + 0x80]
add esp, 0x20
mov edx, dword [esp + 0x14]
xor eax, eax
test edx, edx
mov edx, dword [esp + 0x18]
jle 0x406e1f
cmp eax, ecx
jl 0x406e14
cmp eax, edi
jg 0x406e14
mov byte [edx + eax], 0
jmp 0x406e18
mov byte [edx + eax], 0xf
inc eax
cmp eax, dword [esp + 0x14]
jl 0x406e06
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub edx, 0x102
dec eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
inc ecx
inc edi
sub edx, ebp
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x28], edx
jg 0x406d38
mov dword [esp + 0x30], 0
mov ebp, dword [esp + 0x10]
test ebp, ebp
jle 0x406e99
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 0x406e86
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 0x406e7a
jmp 0x406e9d
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x10], 6
jne 0x406f0e
test ebp, ebp
jle 0x406f0e
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 0x406ebb
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov ecx, dword [esi + 0x274]
mov edx, dword [esp + 0x10]
cmp ebp, ecx
jge 0x407dbc
lea eax, [ebp + 0x31]
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
jl 0x406f40
lea eax, [ecx - 1]
mov dword [esp + 0x18], eax
test edx, edx
jle 0x406f59
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 0x4078f4
mov ecx, eax
sub ecx, ebp
inc ecx
cmp ecx, 0x32
jne 0x4078f4
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 + 0x24]
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 0x407959
cmp ebp, eax
jg 0x40795d
lea eax, [ebx + ebp*2]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
sub eax, ebp
inc eax
mov dword [esp + 0x28], eax
jmp 0x407910
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
test edx, edx
mov cx, word [ecx]
jle 0x407947
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 0x407930
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
add edx, 2
dec eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x28], eax
jne 0x40790c
mov edx, dword [esp + 0x10]
or eax, 0xffffffff
xor edi, edi
test edx, edx
mov dword [esp + 0x28], 0x3b9ac9ff
jle 0x4079a1
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 + 0x28]
cmp ecx, edx
jge 0x40798d
mov dword [esp + 0x28], 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 0x407976
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
add edi, ecx
mov ecx, dword [esp + eax*4 + 0x44]
inc ecx
mov dword [esp + 0x20], 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 0x407d7e
mov edx, dword [esp + 0x18]
sub edx, ebp
inc edx
cmp edx, 0x32
jne 0x407d7e
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 + 0x24]
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 0x406f18
cmp ebp, dword [esp + 0x18]
jg 0x407db0
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 0x407d9a
mov edx, dword [esp + 0x18]
lea ebp, [edx + 1]
jmp 0x406f18
cmp dword [esi + 0x268], 3
jl 0x407e39
mov eax, dword [esp + 0x20]
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
cdq
and edx, 7
add ecx, 0x40
add eax, edx
sar eax, 3
push eax
mov eax, dword [esp + 0x34]
inc eax
push eax
push str.______pass__d:_size_is__d__grp_uses_are
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov ebp, dword [esp + 0x20]
add esp, 0x10
test ebp, ebp
jle 0x407e1d
lea edi, [esp + 0x44]
mov edx, dword [edi]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push edx
add eax, 0x40
push 0x411730
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
add edi, 4
dec ebp
jne 0x407dfd
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
push 0x411734
add ecx, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov edx, dword [esp + 0x18]
add esp, 8
test edx, edx
jle 0x407e75
lea ebp, [esi + 0x9324]
lea edi, [esi + 0xb160]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x14]
push 0x11
push edx
push edi
push ebp
call fcn.0040cad0
mov eax, dword [esp + 0x70]
add esp, 0x10
add edi, 0x408
add ebp, 0x102
dec eax
mov dword [esp + 0x60], eax
jne 0x407e4d
mov eax, dword [esp + 0x30]
inc eax
cmp eax, 4
mov dword [esp + 0x30], eax
jl 0x406e5a
mov ecx, dword [esp + 0x10]
cmp ecx, 8
jl 0x407ea1
push 0xbba
call fcn.00403eb0
mov ecx, dword [esp + 0x14]
add esp, 4
mov ebp, dword [esp + 0x1c]
cmp ebp, 0x8000
jge 0x407eb5
cmp ebp, 0x4652
jle 0x407eca
push 0xbbb
call fcn.00403eb0
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x407ed9
mov byte [esp + eax + 0x28], al
inc eax
cmp eax, ecx
jl 0x407ed0
xor edi, edi
test ebp, ebp
jle 0x407f23
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 0x407f0f
inc ecx
mov dl, al
mov al, byte [esp + ecx + 0x28]
mov byte [esp + ecx + 0x28], dl
cmp byte [esp + 0x60], al
jne 0x407efe
mov byte [edi + esi + 0x4cd2], cl
inc edi
cmp edi, ebp
mov byte [esp + 0x28], al
jl 0x407ee3
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x407fda
lea eax, [esi + 0x9930]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
lea eax, [esi + 0x9324]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
xor edi, edi
xor ecx, ecx
mov ebp, 0x20
test eax, eax
jle 0x407f96
mov edx, dword [esp + 0x60]
xor eax, eax
mov al, byte [edx + ecx]
cmp eax, edi
jle 0x407f63
mov edi, eax
cmp eax, ebp
jge 0x407f69
mov ebp, eax
mov eax, dword [esp + 0x14]
inc ecx
cmp ecx, eax
jl 0x407f58
cmp edi, 0x11
jle 0x407f84
push 0xbbc
call fcn.00403eb0
add esp, 4
cmp ebp, 1
jge 0x407f96
push 0xbbd
call fcn.00403eb0
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x30]
push ecx
push edi
push ebp
push edx
push eax
call fcn.0040cde0
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
add esp, 0x14
add edx, 0x102
add ecx, 0x408
dec eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], eax
jne 0x407f43
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 0x407ff3
mov byte [esp + ecx + 0x34], 1
inc eax
cmp eax, 0x10
jl 0x407fe8
inc ecx
add edx, 0x10
cmp ecx, 0x10
jl 0x407fe1
mov ecx, dword [esi + 0x4c]
xor edi, edi
mov dword [esp + 0x20], ecx
mov al, byte [esp + edi + 0x34]
test al, al
je 0x408017
push 1
jmp 0x408019
push 0
push 1
push esi
call fcn.00406910
add esp, 0xc
inc edi
cmp edi, 0x10
jl 0x40800b
xor eax, eax
mov dword [esp + 0x60], eax
mov cl, byte [esp + eax + 0x34]
test cl, cl
je 0x40805b
xor edi, edi
cmp byte [edi + ebp], 0
je 0x408044
push 1
jmp 0x408046
push 0
push 1
push esi
call fcn.00406910
add esp, 0xc
inc edi
cmp edi, 0x10
jl 0x40803a
mov eax, dword [esp + 0x60]
inc eax
add ebp, 0x10
cmp eax, 0x10
mov dword [esp + 0x60], eax
jl 0x408030
cmp dword [esi + 0x268], 3
jl 0x408092
mov edx, dword [esi + 0x4c]
mov ebp, dword [esp + 0x20]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
sub edx, ebp
push edx
add eax, 0x40
push str.______bytes:_mapping__d_
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x4c]
push edi
push 3
push esi
mov dword [esp + 0x2c], ecx
call fcn.00406910
mov ebp, dword [esp + 0x28]
push ebp
push 0xf
push esi
call fcn.00406910
add esp, 0x18
test ebp, ebp
jle 0x408109
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 0x4080e9
push 1
push 1
push esi
call fcn.00406910
xor edx, edx
add esp, 0xc
mov dl, byte [edi]
inc ebp
cmp ebp, edx
jl 0x4080d3
push 0
push 1
push esi
call fcn.00406910
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x28]
add esp, 0xc
inc edi
add eax, edi
cmp eax, ecx
jl 0x4080cb
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x268], 3
jl 0x408134
mov ecx, dword [esi + 0x4c]
mov eax, dword [esp + 0x20]
mov edx, dword [sym.imp.MSVCRT.dll__iob]
sub ecx, eax
push ecx
add edx, 0x40
push str.selectors__d_
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
mov eax, dword [esi + 0x4c]
test edi, edi
mov dword [esp + 0x20], eax
jle 0x4081ea
lea eax, [esi + 0x9324]
mov dword [esp + 0x28], edi
mov dword [esp + 0x60], eax
xor ecx, ecx
mov cl, byte [eax]
mov edi, ecx
push edi
push 5
push esi
call fcn.00406910
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
jle 0x4081ce
mov ebp, dword [esp + 0x60]
mov edx, eax
mov dword [esp + 0x30], edx
xor eax, eax
mov al, byte [ebp]
cmp edi, eax
jge 0x408195
push 2
push 2
push esi
call fcn.00406910
xor ecx, ecx
add esp, 0xc
mov cl, byte [ebp]
inc edi
cmp edi, ecx
jl 0x40817e
xor edx, edx
mov dl, byte [ebp]
cmp edi, edx
jle 0x4081b5
push 3
push 2
push esi
call fcn.00406910
xor eax, eax
add esp, 0xc
mov al, byte [ebp]
dec edi
cmp edi, eax
jg 0x40819e
push 0
push 1
push esi
call fcn.00406910
mov eax, dword [esp + 0x3c]
add esp, 0xc
inc ebp
dec eax
mov dword [esp + 0x30], eax
jne 0x408175
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 0x408151
cmp dword [esi + 0x268], 3
jl 0x408215
mov ecx, dword [esi + 0x4c]
mov ebp, dword [esp + 0x20]
mov edx, dword [sym.imp.MSVCRT.dll__iob]
sub ecx, ebp
push ecx
add edx, 0x40
push str.code_lengths__d_
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
mov eax, dword [esi + 0x4c]
xor ecx, ecx
mov dword [esp + 0x20], eax
xor ebp, ebp
lea eax, [esi + 0x680]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x274]
cmp ebp, eax
jge 0x4089bf
lea edi, [ebp + 0x31]
cmp edi, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
jl 0x408256
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 0x408274
push 0xbbe
call fcn.00403eb0
add esp, 4
cmp dword [esp + 0x10], 6
jne 0x408940
mov eax, edi
sub eax, ebp
inc eax
cmp eax, 0x32
jne 0x408940
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
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.00406910
mov eax, dword [esp + 0x30]
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.00406910
add esp, 0x18
jmp 0x40899d
cmp ebp, edi
jg 0x4089a1
mov eax, dword [esp + 0x18]
lea edi, [ebx + ebp*2]
sub eax, ebp
inc eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
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.00406910
mov eax, dword [esp + 0x6c]
add esp, 0xc
add edi, 2
dec eax
mov dword [esp + 0x60], eax
jne 0x408952
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
inc ecx
lea ebp, [edi + 1]
inc eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], eax
jmp 0x408232
cmp ecx, dword [esp + 0x1c]
je 0x4089d2
push 0xbbf
call fcn.00403eb0
add esp, 4
cmp dword [esi + 0x268], 3
jl 0x4089fc
mov edx, dword [esi + 0x4c]
mov edi, dword [esp + 0x20]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
sub edx, edi
push edx
add eax, 0x40
push str.codes__d_n
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret