Function at 0x4119f0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x834
xor eax, eax
mov dword [esp], ecx
push ebx
push esi
mov ecx, 0x100
push edi
push ebp
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x848]
cmp esi, eax
je 0x411ed9
lea eax, [esp + 0x44]
push esi
push 1
push 4
push eax
call fcn.00420fe0
lea ecx, [esp + 0x54]
add esp, 0x10
mov eax, str.IMST
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x411a55
or dl, dl
je 0x411a51
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x411a55
add eax, 2
add ecx, 2
or dl, dl
jne 0x411a35
xor eax, eax
jmp 0x411a5a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x411ed9
lea eax, [esp + 0x18]
push esi
mov dword [esp + 0x1c], 0
push 1
push 4
push eax
call fcn.00420fe0
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp eax, 1
jle 0x411a95
push str.Bad_ImageSet_version__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x411ed9
lea eax, [esp + 0x14]
push esi
mov dword [esp + 0x18], 0
push 1
push 4
push eax
call fcn.00420fe0
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [ecx + 0x950]
test ecx, ecx
je 0x411ac3
push 3
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x950], 0
mov eax, dword [ecx + 0x954]
test eax, eax
je 0x411af8
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push fcn.0040edb0
push ecx
push 8
push eax
call fcn.00420a60
push edi
call fcn.00418320
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [ecx + 0x954], 0
mov dword [ecx + 0x958], 1
jle 0x411c08
mov edi, eax
push 0x4330f8
lea eax, [edi*8]
add eax, 4
push eax
call fcn.00418330
add esp, 8
test eax, eax
je 0x411b5e
lea ebx, [eax + 4]
push fcn.0040edb0
push fcn.0040ec40
mov dword [eax], edi
push edi
push 8
push ebx
call fcn.00420dd0
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x954], ebx
jmp 0x411b6c
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x954], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x954]
test eax, eax
je 0x411c08
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x411b8e
mov eax, 1
jmp 0x411c0a
jle 0x411c08
lea edi, [eax - 1]
push 0x4330f8
lea eax, [edi + edi*8]
lea ecx, [edi + eax*4]
lea eax, [edi + ecx*4]
shl eax, 4
add eax, 4
push eax
call fcn.00418330
add esp, 8
test eax, eax
je 0x411bdb
lea ebx, [eax + 4]
push 0x40e0e0
push 0x411ef0
mov dword [eax], edi
push edi
push 0x950
push ebx
call fcn.00420dd0
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x950], ebx
jmp 0x411be9
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x950], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x950]
test eax, eax
je 0x411c08
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x958], eax
mov eax, 1
jmp 0x411c0a
xor eax, eax
test eax, eax
je 0x411ed9
lea eax, [esp + 0x18]
push esi
mov dword [esp + 0x1c], 0
push 1
push 4
push eax
call fcn.00420fe0
lea edi, [esp + 0x454]
add esp, 0x10
xor eax, eax
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x411c80
lea edi, [esp + 0x444]
mov ebx, eax
push esi
add edi, 4
call fcn.00421860
add esp, 4
mov byte [edi - 4], al
push esi
call fcn.00421860
add esp, 4
mov byte [edi - 3], al
push esi
call fcn.00421860
add esp, 4
mov byte [edi - 2], al
push esi
call fcn.00421860
add esp, 4
dec ebx
jne 0x411c4d
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x411ed2
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
lea eax, [esp + 0x30]
push esi
mov dword [esp + 0x34], 0
push 1
push 4
push eax
call fcn.00420fe0
mov eax, dword [esp + 0x40]
add esp, 0x10
cmp eax, 0x3ff
nop
push esi
push 1
jb 0x411cd2
mov eax, 0x3ff
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00420fe0
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov edx, dword [ecx + 0x954]
test edx, edx
je 0x411d10
mov eax, dword [esp + 0x1c]
mov ebx, dword [ecx + 0x958]
cmp ebx, eax
jle 0x411d10
mov ecx, dword [esp + 0x20]
add ecx, edx
lea edx, [esp + 0x44]
cmp dword [ecx], edx
je 0x411d10
push edx
call fcn.0040edc0
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x411d3f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
cmp dword [ecx + 0x958], eax
jle 0x411d3f
mov ecx, dword [ecx + 0x950]
test ecx, ecx
je 0x411d3f
mov eax, dword [esp + 0x2c]
lea ebx, [eax + ecx - 0x950]
jmp 0x411d43
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x34]
push esi
mov dword [esp + 0x38], 0
push 1
push 4
push eax
call fcn.00420fe0
mov eax, dword [esp + 0x44]
add esp, 0x10
lea ecx, [esp + 0x38]
push esi
mov dword [esp + 0x40], eax
push 1
mov dword [esp + 0x40], 0
push 4
push ecx
call fcn.00420fe0
mov ecx, dword [esp + 0x48]
add esp, 0x10
lea edx, [esp + 0x18]
push esi
mov dword [esp + 0x2c], ecx
push 1
mov dword [esp + 0x20], 0
push 4
push edx
call fcn.00420fe0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x50]
add esp, 0x10
push esi
push 1
push 4
push ecx
call fcn.00420fe0
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x34]
add esp, 0x10
lea ebp, [ebx + 0x50]
mov edi, ebp
push esi
push 1
push 4
push ecx
call fcn.00420fe0
add esp, 0x10
xor eax, eax
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov byte [eax + ebx + 0x450], al
inc eax
cmp eax, 0x100
jl 0x411de3
mov eax, dword [esp + 0x28]
push 8
mov ecx, dword [esp + 0x40]
push eax
push ecx
mov ecx, ebx
call fcn.00411040
test eax, eax
je 0x411ea5
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x411e59
xor edi, edi
push esi
add ebp, 4
inc edi
call fcn.00421860
add esp, 4
mov byte [ebp - 4], al
push esi
call fcn.00421860
add esp, 4
mov byte [ebp - 3], al
push esi
call fcn.00421860
add esp, 4
mov byte [ebp - 2], al
push esi
call fcn.00421860
mov ecx, dword [esp + 0x28]
add esp, 4
mov byte [edi + ebx + 0x44f], al
cmp edi, ecx
jl 0x411e17
jmp 0x411e76
lea ecx, [esp + 0x444]
mov eax, dword [ecx]
add ecx, 4
mov dword [ebp], eax
add ebp, 4
lea eax, [esp + 0x844]
cmp ecx, eax
jb 0x411e60
xor edi, edi
mov eax, dword [esp + 0x28]
cmp eax, edi
jle 0x411ea5
mov ebp, dword [esp + 0x3c]
push esi
mov eax, dword [ebx + 0x24]
push 1
mov ecx, dword [ebx + 0x18]
imul eax, edi
push ebp
add eax, ecx
push eax
inc edi
call fcn.00420fe0
mov eax, dword [esp + 0x38]
add esp, 0x10
cmp edi, eax
jl 0x411e84
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add eax, 0x950
add ecx, 8
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
inc edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
cmp edx, ebx
jl 0x411ca4
mov eax, 1
jmp 0x411edb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x834
ret 4