Function at 0x404f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x220
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, 0x1e
bt esi, ecx
jae 0x404f68
mov esi, dword [edi]
mov dword [edi], 0
mov dword [esp + 0xa0], esi
lea esi, [esp + 0xa0]
push eax
push esi
call fcn.00406fb0
add esp, 8
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x40620a
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40620a
mov eax, 0x61
bt eax, ecx
jae 0x406212
mov dword [esp + 0xe8], ecx
cmp ecx, 6
jne 0x404f8c
test byte [edx + 0x3c], 8
jne 0x4063e1
mov eax, dword [0x416ee8]
mov dword [esp + 0xf0], eax
mov eax, dword [0x416eec]
mov dword [esp + 0xec], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x1f0], xmm0
mov dword [esp + 0x200], 8
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x138]
push 1
push eax
push edx
mov esi, edx
call fcn.00410d04
lea ecx, [esp + 0xf8]
push esi
call fcn.00410d3a
mov ecx, dword [esp + 0x138]
mov edi, dword [esp + 0x13c]
movzx eax, word [esp + 0x148]
mov esi, dword [esp + 0x14c]
mov edx, dword [esp + 0xfc]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x144]
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x140]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x40], ecx
mov word [esp + 0x54], ax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0xf4], eax
test edi, edi
je 0x40506b
mov eax, dword [edi]
lea ecx, [esp + 0x138]
push edi
call dword [eax]
mov eax, dword [esp + 0x138]
mov dword [esp + 0x48], eax
mov dword [esp + 0xe4], edi
mov dword [esp + 0x58], esi
xor eax, eax
mov edx, dword [esp + 0x9c]
test edx, edx
je 0x405096
mov eax, dword [edx]
lea ecx, [esp + 0x138]
push edx
call dword [eax]
mov eax, dword [esp + 0x138]
mov dword [esp + 0xe0], eax
lea esi, [esp + 0x44]
jmp 0x4050bb
lea esi, [esp + 0x44]
mov ecx, esi
call fcn.00408240
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x58], 3
ja 0x4050d4
cmp dword [esp + 0xf4], 4
jb 0x4060fb
cmp eax, dword [esp + 0x40]
je 0x4060fb
lea ecx, [esp + 0xa8]
push esi
call fcn.00410d22
xor eax, eax
test byte [esp + 0xb0], 1
je 0x405109
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], eax
mov word [esp + 0x218], 0x101
sub esp, 0x14
mov eax, dword [esp + 0x22c]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x21c]
movups xmmword [esp], xmm0
lea ecx, [esp + 0xb8]
call fcn.00404df0
add esp, 0x14
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x405153
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
mov edi, dword [esp + 0xac]
mov ecx, esi
call fcn.00408160
test al, al
je 0x4060b0
mov eax, dword [esp + 0xec]
cmp dword [esp + 0xf0], eax
je 0x40523b
mov ebx, dword [0x416ee8]
mov esi, dword [0x416eec]
cmp ebx, esi
je 0x4060b0
nop dword [eax]
mov ecx, dword [esp + 8]
mov edx, edi
push dword [ebx + 4]
push dword [ebx]
call fcn.004083f0
add esp, 8
test al, al
jne 0x4051c0
add ebx, 8
cmp ebx, esi
jne 0x4051a0
mov ebx, esi
mov esi, dword [0x416eec]
cmp ebx, esi
je 0x4060b0
cmp dword [0x416a4c], 0
je 0x405221
mov eax, dword [esp + 8]
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], edi
sub esp, 8
movsd xmm0, qword [esp + 0x140]
movsd qword [esp], xmm0
lea ecx, [esp + 0x1f8]
call fcn.004087b0
mov eax, dword [eax]
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
cmp ecx, dword [0x416a4c]
jne 0x4060b0
mov esi, dword [0x416eec]
lea eax, [ebx + 8]
sub esi, eax
je 0x405233
push esi
push eax
push ebx
call sub.msvcrt.dll_memmove
add esp, 0xc
add ebx, esi
mov dword [0x416eec], ebx
mov eax, dword [esp + 0xe8]
test eax, eax
je 0x40537e
cmp eax, 5
lea ebx, [esp + 0x44]
jne 0x4053f5
cmp byte [0x416f00], 1
jne 0x40590f
lea ecx, [esp + 0x10]
push dword [esp + 0x48]
call fcn.00410cec
xor eax, eax
test byte [esp + 0x14], 1
je 0x405286
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], eax
mov word [esp + 0x108], 0x101
sub esp, 0x14
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x10c]
movups xmmword [esp], xmm0
lea ecx, [esp + 0x48]
call fcn.00404df0
add esp, 0x14
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4052c7
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [esp + 0x10]
mov ecx, ebx
shr ecx, 6
and ecx, 7
call fcn.00408890
mov ecx, ebx
shr ecx, 3
and ecx, 7
call fcn.00408890
and ebx, 7
mov ecx, ebx
call fcn.00408890
lea ecx, [esp + 0x18]
push dword [esp + 0x48]
call fcn.00410cfe
xor eax, eax
test byte [esp + 0x1c], 1
je 0x405311
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc8], eax
mov word [esp + 0x1d8], 0x101
sub esp, 0x14
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x1dc]
movups xmmword [esp], xmm0
lea ecx, [esp + 0xdc]
call fcn.00404df0
add esp, 0x14
mov ecx, dword [esp + 0xc8]
test ecx, ecx
lea esi, [esp + 0x44]
je 0x40535f
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00410c92
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0xc]
jae 0x4055d4
lea edx, [ecx + 1]
mov dword [eax + 0x10], edx
mov byte [ecx], 0x20
jmp 0x4055dd
cmp byte [0x416f00], 1
lea ebx, [esp + 0x44]
jne 0x405ad5
call fcn.00410c92
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 8
ja 0x405a88
mov ecx, eax
push 9
push str.Printing
call fcn.00410b84
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, edi
jb 0x405aaf
test edi, edi
je 0x4053e1
push edi
push dword [esp + 0xc]
push ecx
mov esi, eax
call sub.msvcrt.dll_memcpy
mov eax, esi
add esp, 0xc
mov ecx, dword [esi + 0x10]
add ecx, edi
mov dword [esi + 0x10], ecx
cmp dword [eax + 0xc], ecx
je 0x405ac7
mov byte [ecx], 0xa
inc dword [eax + 0x10]
jmp 0x405ad5
lea ecx, [esp + 0x10]
push dword [esp + 0x48]
call fcn.00410cec
xor eax, eax
test byte [esp + 0x14], 1
je 0x405417
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x90], eax
mov word [esp + 0x1d8], 0x101
sub esp, 0x14
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x1dc]
movups xmmword [esp], xmm0
lea ecx, [esp + 0xa4]
call fcn.00404df0
add esp, 0x14
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x405461
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x144]
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0x80
movzx eax, byte [0x416f1c]
test al, 1
je 0x405556
mov eax, dword [0x416f20]
test eax, eax
je 0x405560
mov word [esp + 0x108], 0x104
mov dword [esp + 0xf8], 0x416f1c
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
sub esp, 0xc
movsd xmm0, qword [esp + 0x24]
movsd qword [esp], xmm0
mov dword [esp + 8], 0
call fcn.00410c80
add esp, 0xc
mov word [esp + 0xdc], 0x105
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edx
mov word [esp + 0x1ec], 0x101
mov word [esp + 0x70], 0x101
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x1e0]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x148]
push eax
call fcn.00410c7a
add esp, 0x14
mov eax, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
cmp byte [0x416f00], 1
je 0x405597
jmp 0x405c02
shr eax, 1
test eax, eax
jne 0x4054a5
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
sub esp, 0xc
movsd xmm0, qword [esp + 0x24]
movsd qword [esp], xmm0
mov dword [esp + 8], 0
call fcn.00410c80
add esp, 0xc
cmp byte [0x416f00], 1
jne 0x405c02
mov dword [esp + 0xc], edx
mov dword [esp + 0x98], esi
mov esi, eax
call fcn.00410c92
mov ebx, eax
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub ecx, eax
cmp ecx, 3
ja 0x405b93
mov ecx, ebx
push 4
push str.x__
call fcn.00410b84
mov ebx, eax
mov eax, dword [eax + 0x10]
jmp 0x405ba2
mov ecx, eax
push 0x20
call fcn.00410b8a
mov ecx, eax
push dword [esp + 0x18]
call fcn.00410b9c
lea ecx, [esp + 0x38]
push dword [esp + 0x48]
call fcn.00410cf8
xor eax, eax
test byte [esp + 0x3c], 1
je 0x40560a
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0xc4], eax
mov word [esp + 0xdc], 0x101
sub esp, 0x14
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0xe0]
movups xmmword [esp], xmm0
lea ecx, [esp + 0xd8]
call fcn.00404df0
add esp, 0x14
mov ecx, dword [esp + 0xc4]
test ecx, ecx
je 0x405654
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00410c92
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0xc]
jae 0x40566c
lea edx, [ecx + 1]
mov dword [eax + 0x10], edx
mov byte [ecx], 0x2f
jmp 0x405675
mov ecx, eax
push 0x2f
call fcn.00410b8a
mov ecx, eax
push dword [esp + 0x38]
call fcn.00410b9c
lea ecx, [esp + 0x20]
push esi
call fcn.00410d2e
xor eax, eax
test byte [esp + 0x28], 1
je 0x40569f
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0xc0], eax
mov word [esp + 0x1ec], 0x101
sub esp, 0x14
mov eax, dword [esp + 0x200]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x1f0]
movups xmmword [esp], xmm0
lea ecx, [esp + 0xd4]
call fcn.00404df0
add esp, 0x14
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x4056e9
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00410c92
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0xc]
jae 0x405701
lea edx, [ecx + 1]
mov dword [eax + 0x10], edx
mov byte [ecx], 0x20
jmp 0x40570a
mov ecx, eax
push 0x20
call fcn.00410b8a
mov dword [esp + 0x13c], str._6llu
mov dword [esp + 0x138], 0x411cd4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x144], edx
mov dword [esp + 0x140], ecx
mov ecx, eax
lea eax, [esp + 0x138]
push eax
call fcn.00410b90
lea ecx, [esp + 0x78]
push dword [esp + 0x48]
call fcn.00410cf2
xor eax, eax
test byte [esp + 0x80], 1
je 0x40576a
mov eax, dword [esp + 0x78]
mov dword [esp + 0x78], 0
mov dword [esp + 0xbc], eax
mov word [esp + 0x70], 0x101
sub esp, 0x14
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x74]
movups xmmword [esp], xmm0
lea ecx, [esp + 0xd0]
call fcn.00404df0
add esp, 0x14
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x4057ae
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0x3b9aca00
mul dword [esp + 0x78]
imul ecx, dword [esp + 0x7c], 0x3b9aca00
add ecx, edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
call fcn.00410c92
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0xc]
jae 0x4057e7
lea edx, [ecx + 1]
mov dword [eax + 0x10], edx
mov byte [ecx], 0x20
jmp 0x4057f0
mov ecx, eax
push 0x20
call fcn.00410b8a
mov dword [esp + 0x138], str.0:_b__e__H:_M__Y
mov dword [esp + 0x13c], 0x12
lea ecx, [esp + 0x150]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], 1
mov dword [esp + 0x148], 0x411ce4
lea ecx, [esp + 0x90]
mov dword [esp + 0x14c], ecx
lea ecx, [esp + 0x148]
mov dword [esp + 0x150], ecx
mov ecx, eax
lea eax, [esp + 0x138]
push eax
call fcn.00410b96
call fcn.00410c92
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0xc]
jae 0x405877
lea edx, [ecx + 1]
mov dword [eax + 0x10], edx
mov byte [ecx], 0x20
test byte [esp + 0x80], 1
jne 0x40588a
jmp 0x40589f
mov ecx, eax
push 0x20
call fcn.00410b8a
test byte [esp + 0x80], 1
je 0x40589f
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x78], 0
test ecx, ecx
je 0x40589f
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x28], 1
je 0x4058bb
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test ecx, ecx
je 0x4058bb
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x3c], 1
je 0x4058d7
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x38], 0
test ecx, ecx
je 0x4058d7
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x1c], 1
je 0x4058f3
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], 0
test ecx, ecx
je 0x4058f3
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x14], 1
je 0x40590f
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x40590f
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x44]
test byte [eax + 0x3c], 8
jne 0x40593f
call fcn.00410c92
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, edi
jae 0x405a37
mov ecx, eax
push edi
push dword [esp + 0xc]
call fcn.00410b84
jmp 0x405a4e
mov word [esp + 0x148], 0x105
mov eax, dword [esp + 8]
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], edi
push 0
lea eax, [esp + 0x13c]
push eax
call fcn.00410c62
add esp, 8
test al, al
jne 0x406056
movzx eax, byte [0x416a58]
mov ecx, eax
shr ecx, 1
test al, 1
mov eax, dword [0x416a60]
mov edx, 0x416a59
cmove eax, edx
mov dword [esp + 0x88], eax
cmovne ecx, dword [0x416a5c]
mov dword [esp + 0x8c], ecx
sub esp, 0xc
movsd xmm0, qword [esp + 0x94]
movsd qword [esp], xmm0
mov dword [esp + 8], 0
call fcn.00410c68
add esp, 0xc
test edx, edx
je 0x406056
mov ebx, edx
mov esi, eax
call fcn.00410c92
mov dword [esp + 0xc], eax
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xb4], esi
sub esp, 0x10
movsd xmm0, qword [esp + 0xc4]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x148]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call fcn.00410c6e
add esp, 0x10
movzx eax, byte [esp + 0x138]
test al, 1
je 0x406003
mov edx, dword [esp + 0x140]
mov eax, dword [esp + 0x13c]
jmp 0x40600c
test edi, edi
je 0x405a4e
push edi
push dword [esp + 0xc]
push ecx
mov esi, eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [esi + 0x10], edi
cmp byte [0x416e8a], 1
jne 0x40608c
call fcn.00410c92
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 2
lea esi, [esp + 0x44]
ja 0x405ec9
mov ecx, eax
push 3
push 0x411cc1
call fcn.00410b84
jmp 0x405ed6
mov byte [ecx + 8], 0x20
mov dword [ecx + 4], 0x676e6974
mov dword [ecx], 0x6e697250
mov ecx, dword [eax + 0x10]
add ecx, 9
mov dword [eax + 0x10], ecx
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, edi
jae 0x4053c3
mov ecx, eax
push edi
push dword [esp + 0xc]
call fcn.00410b84
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
jne 0x4053ea
mov ecx, eax
push 1
push 0x411ca6
call fcn.00410b84
lea ecx, [esp + 0xf8]
push ebx
call fcn.00410d34
xor eax, eax
test byte [esp + 0x100], 1
je 0x405b00
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xf8], 0
mov dword [esp + 0x1c8], eax
mov word [esp + 0x148], 0x101
sub esp, 0x14
mov eax, dword [esp + 0x15c]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x14c]
movups xmmword [esp], xmm0
lea ecx, [esp + 0x1dc]
call fcn.00404df0
add esp, 0x14
mov ecx, dword [esp + 0x1c8]
test ecx, ecx
je 0x405b4a
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0xf8]
mov edi, dword [esp + 0xfc]
call fcn.00410c92
mov ecx, eax
push edi
push esi
call fcn.00410b84
test byte [esp + 0x100], 1
je 0x4060b0
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0xf8], 0
test ecx, ecx
jne 0x405eb1
jmp 0x4060b0
mov dword [eax], 0x202d2078
mov eax, dword [ebx + 0x10]
add eax, 4
mov dword [ebx + 0x10], eax
mov ecx, dword [ebx + 0xc]
sub ecx, eax
mov edx, dword [esp + 0xc]
cmp edx, ecx
jbe 0x405bbf
mov ecx, ebx
push edx
push esi
call fcn.00410b84
mov ebx, eax
mov eax, dword [eax + 0x10]
jmp 0x405bd8
test edx, edx
je 0x405bd8
push edx
push esi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 0x10]
add eax, dword [esp + 0xc]
mov dword [ebx + 0x10], eax
cmp eax, dword [ebx + 0xc]
jae 0x405be8
lea ecx, [eax + 1]
mov dword [ebx + 0x10], ecx
mov byte [eax], 0xa
jmp 0x405bf1
mov ecx, ebx
push 0xa
call fcn.00410b8a
lea ebx, [esp + 0x44]
mov eax, esi
mov esi, dword [esp + 0x98]
mov edx, dword [esp + 0xc]
mov word [esp + 0x108], 0x105
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], edx
push esi
push 0
push 2
push 0
lea eax, [esp + 0x98]
push eax
lea esi, [esp + 0x10c]
push esi
call fcn.00410c5c
add esp, 0x18
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
mov word [esp + 0xdc], 0x105
mov eax, dword [esp + 8]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edi
sub esp, 0x1c
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x18], eax
movups xmm0, xmmword [esp + 0xe8]
movups xmmword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x54]
movsd qword [esp], xmm0
call fcn.00406420
add esp, 0x1c
mov ecx, esi
push 0
push 0
push 0
push dword [esp + 0x94]
call fcn.00410bd8
lea ecx, [esp + 0x60]
push ebx
call fcn.00410d34
xor eax, eax
test byte [esp + 0x68], 1
je 0x405cbe
mov eax, dword [esp + 0x60]
mov dword [esp + 0x60], 0
mov dword [esp + 0xb4], eax
mov word [esp + 0x1ec], 0x101
sub esp, 0x14
mov eax, dword [esp + 0x200]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x1f0]
movups xmmword [esp], xmm0
lea ecx, [esp + 0xc8]
call fcn.00404df0
add esp, 0x14
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x405d08
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0xf8]
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.00410b84
test byte [esp + 0x68], 1
je 0x405d38
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x60], 0
test ecx, ecx
je 0x405d38
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0xf8]
call fcn.00410bde
cmp byte [0x416a6c], 1
jne 0x405e60
lea ecx, [esp + 0x20]
push dword [esp + 0x48]
call fcn.00410cf2
xor eax, eax
test byte [esp + 0x28], 1
je 0x405d73
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], eax
mov word [esp + 0x108], 0x101
sub esp, 0x14
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x10c]
movups xmmword [esp], xmm0
lea ecx, [esp + 0x48]
call fcn.00404df0
add esp, 0x14
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x405db4
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0x3b9aca00
mul dword [esp + 0x20]
imul esi, dword [esp + 0x24], 0x3b9aca00
mov ecx, dword [esp + 0x88]
add esi, edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], eax
sub esp, 0x14
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x74]
movsd qword [esp + 4], xmm0
mov dword [esp], ecx
call fcn.00410c50
add esp, 0x14
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], eax
mov word [esp + 0x70], 0x101
sub esp, 0x1c
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
movups xmm0, xmmword [esp + 0x7c]
movups xmmword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x94]
movsd qword [esp], xmm0
call fcn.00406420
add esp, 0x1c
test byte [esp + 0x28], 1
je 0x405e60
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test ecx, ecx
je 0x405e60
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 0x88]
call sub.msvcrt.dll__close
add esp, 4
test eax, eax
jne 0x4062ae
mov eax, dword [esp + 0x138]
lea ecx, [esp + 0x144]
cmp eax, ecx
je 0x405e92
push eax
call sub.msvcrt.dll_free
add esp, 4
test byte [esp + 0x14], 1
je 0x4060b0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x4060b0
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0xb0], 1
je 0x4050b0
jmp 0x4060be
mov byte [edx + 2], pe_nt_image_headers32
mov word [edx], 0x3020
add dword [eax + 0x10], 3
mov dword [esp + 8], eax
mov ecx, esi
call fcn.00410d1c
movzx ecx, word [esp + 0x54]
add ecx, eax
adc edx, 0
mov eax, ecx
or eax, edx
je 0x405f45
mov esi, 0x11
mov eax, edx
nop dword [eax + eax]
mov edi, ecx
and edi, 0xf
movzx ebx, byte [edi + str.0123456789ABCDEF]
or bl, 0x20
mov byte [esp + esi + 0x137], bl
mov edi, edx
shld edi, ecx, 0x1c
dec esi
shr eax, 4
mov ebx, 0xf
cmp ebx, ecx
mov ecx, 0
sbb ecx, edx
mov ecx, edi
mov edx, eax
jb 0x405f00
mov ebx, 0x11
sub ebx, esi
cmp ebx, 0xfffffff0
jb 0x405f62
jmp 0x4063d8
mov byte [esp + 0x148], 0x30
mov esi, 0x10
mov ebx, 0x11
sub ebx, esi
cmp ebx, 0xfffffff0
jae 0x4063d8
cmp ebx, 0xa
ja 0x405f7a
mov eax, ebx
add al, bl
mov byte [esp + 0x20], al
lea edi, [esp + 0x21]
cmp esi, 0x11
jne 0x405fab
jmp 0x405fc0
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0xc]
or ebx, 0xf
lea eax, [ebx + 1]
push eax
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov dword [esp + 0x28], eax
add ebx, 2
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x24], ebx
cmp esi, 0x11
je 0x405fc0
lea eax, [esp + esi]
add eax, 0x138
push ebx
push eax
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
add edi, ebx
mov byte [edi], 0
movzx eax, byte [esp + 0x20]
test al, 1
je 0x405fd6
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x405fdc
shr eax, 1
lea edx, [esp + 0x21]
mov ecx, dword [esp + 8]
push eax
push edx
call fcn.00410b84
test byte [esp + 0x20], 1
je 0x40608c
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x40608c
shr eax, 1
lea edx, [esp + 0x139]
mov ecx, dword [esp + 0xc]
push eax
push edx
call fcn.00410b84
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0xc]
jae 0x406034
lea edx, [ecx + 1]
mov dword [eax + 0x10], edx
mov byte [ecx], 0x2f
test byte [esp + 0x138], 1
jne 0x406047
jmp 0x406056
mov ecx, eax
push 0x2f
call fcn.00410b8a
test byte [esp + 0x138], 1
je 0x406056
push dword [esp + 0x140]
call sub.libc.dll_operator_delete_void_
add esp, 4
call fcn.00410c92
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, edi
jae 0x406075
mov ecx, eax
push edi
push dword [esp + 0xc]
call fcn.00410b84
jmp 0x40608c
test edi, edi
je 0x40608c
push edi
push dword [esp + 0xc]
push ecx
mov esi, eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [esi + 0x10], edi
call fcn.00410c92
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0xc]
jae 0x4060e2
lea edx, [ecx + 1]
mov dword [eax + 0x10], edx
mov byte [ecx], 0xa
nop word cs:[eax + eax]
test byte [esp + 0xb0], 1
je 0x4050b0
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xa8], 0
test ecx, ecx
je 0x4050b0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4050b0
mov ecx, eax
push 0xa
call fcn.00410b8a
test byte [esp + 0xb0], 1
je 0x4050b0
jmp 0x4060be
mov ecx, dword [esp + 0xe0]
test ecx, ecx
je 0x40610b
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], 0
test ecx, ecx
je 0x406120
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x406130
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0xe4]
test ecx, ecx
je 0x406140
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], 0
mov word [esp + 0x148], 0x101
sub esp, 0x14
mov eax, dword [esp + 0x15c]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x14c]
movups xmmword [esp], xmm0
lea ecx, [esp + 0x58]
call fcn.00404df0
add esp, 0x14
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x40618d
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x40619a
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [0x416ee8]
mov edi, dword [0x416eec]
cmp esi, edi
jne 0x4062d6
cmp dword [esp + 0x1f8], 0
je 0x4061fb
mov esi, dword [esp + 0x1f4]
test esi, esi
je 0x4061fb
xor edi, edi
jmp 0x4061d5
inc edi
cmp esi, edi
je 0x4061fb
mov eax, dword [esp + 0x1f0]
mov eax, dword [eax + edi*4]
cmp eax, 0xfffffffc
je 0x4061d0
test eax, eax
je 0x4061d0
mov ecx, dword [eax]
add ecx, 9
push 4
push ecx
push eax
call fcn.00410c08
add esp, 0xc
jmp 0x4061d0
push dword [esp + 0x1f0]
call sub.msvcrt.dll_free
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edx
mov esi, edx
call fcn.00410d0a
mov edx, esi
mov ecx, dword [esi + 0x3c]
test al, al
je 0x40626c
mov eax, ecx
and eax, 7
cmp eax, 6
jne 0x40620a
xor esi, esi
cmp dword [edx + 4], 0
cmove esi, edx
movzx ebx, byte [esi + 0x6c]
mov eax, dword [section..data]
test bl, bl
je 0x406249
cmp eax, 2
je 0x40620a
mov bh, byte [esi + 0x6d]
test bh, bh
je 0x406255
cmp eax, 3
je 0x40620a
test bl, bl
je 0x406262
test bh, bh
je 0x406262
cmp eax, 1
je 0x40620a
mov dword [section..data], 1
test cl, 8
je 0x406278
mov byte [0x416e98], 1
mov dword [esp + 0x138], 0
lea eax, [esp + 0x138]
mov ecx, 7
push 0
push eax
call fcn.00406fb0
add esp, 8
mov ecx, dword [esp + 0x138]
test ecx, ecx
jne 0x404f5e
jmp 0x40620a
mov dword [esp + 0x20], str.Could_not_close_the_file
mov word [esp + 0x30], 0x103
sub esp, 0x14
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x34]
movups xmmword [esp], xmm0
call fcn.00404120
mov dword [esp + 0x40], edi
jmp 0x4062f5
movups xmm0, xmmword [str._was_not_found_n]
movups xmmword [ecx], xmm0
add dword [eax + 0x10], 0x10
add esi, 8
cmp esi, edi
je 0x4063d1
mov eax, dword [esi]
mov dword [esp + 8], eax
mov ebx, dword [esi + 4]
call fcn.00410c8c
mov ecx, dword [0x416f10]
mov edx, dword [0x416f14]
mov dword [esp + 0xfc], edx
mov dword [esp + 0xf8], ecx
sub esp, 0x10
movsd xmm0, qword [esp + 0x108]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0xc], 0
call fcn.00410cc2
add esp, 0x10
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x40636e
mov byte [ecx], 0x27
mov ecx, dword [eax + 0x10]
inc ecx
mov dword [eax + 0x10], ecx
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, ebx
jae 0x406388
mov ecx, eax
push ebx
push dword [esp + 0xc]
call fcn.00410b84
mov ecx, dword [eax + 0x10]
jmp 0x4063aa
mov ecx, eax
push 1
push 0x411134
call fcn.00410b84
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, ebx
jb 0x40635d
test ebx, ebx
je 0x4063aa
push ebx
push dword [esp + 0xc]
push ecx
mov edi, eax
call sub.msvcrt.dll_memcpy
mov eax, edi
mov edi, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [eax + 0x10]
add ecx, ebx
mov dword [eax + 0x10], ecx
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, 0xf
ja 0x4062dc
mov ecx, eax
push 0x10
push str._was_not_found_n
call fcn.00410b84
add esi, 8
cmp esi, edi
jne 0x4062f5
push 1
call sub.msvcrt.dll_exit
lea ecx, [esp + 0x20]
call fcn.00404d50
mov dword [esp + 0x138], str.extracting_from_a_thin_archive_is_not_supported
mov word [esp + 0x148], 0x103
sub esp, 0x14
mov eax, dword [esp + 0x15c]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x14c]
movups xmmword [esp], xmm0
call fcn.00404120
int3