Function at 0x402320
Capabilities:
Delete file
Receive data
Receive data on socket
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5c69
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4fa534]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x158], esi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov ecx, dword [ebp + 8]
xor al, al
mov dword [ebp - 0x170], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x149], al
mov byte [ebp - 0x152], al
xor eax, eax
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x19c], esi
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x160], 0x50
push eax
lea edx, [ebp - 0xa4]
call fcn.00405600
mov esi, dword [ebp - 0x160]
mov eax, 0x1bb
add esp, 8
cmp si, ax
jne 0x402496
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x40243b
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402431
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40339c
push edx
push ecx
call fcn.0043c464
add esp, 8
mov edx, dword [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x40248f
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402485
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40339c
push edx
push ecx
call fcn.0043c464
add esp, 8
xor al, al
jmp 0x4032cd
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0xbc]
call fcn.00404da0
push esi
mov esi, dword [ebp - 0x158]
lea eax, [ebp - 0xbc]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00401ff0
test al, al
je 0x4032eb
cmp dword [ebp - 0xac], 0
je 0x402550
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xd8], str.Host
push eax
lea ecx, [ebp - 0xd4]
call fcn.00410840
mov ebx, 2
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x16c]
push eax
lea ecx, [esi + 0x70]
call fcn.00410160
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xc0]
cmp edx, 0x10
jb 0x402550
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402540
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40339c
push edx
push ecx
call fcn.0043c464
add esp, 8
nop word [eax + eax]
mov byte [ebp - 4], 5
or ebx, 4
mov edx, dword [ebp - 0x4c]
mov ecx, 0xf
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x170], ebx
test edx, edx
je 0x402611
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push 0
cmovae eax, dword [ebp - 0x5c]
push 0
push 0
push 0
push edx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x402608
lea ebx, [edi + 1]
push ebx
call fcn.0043c472
add esp, 4
mov esi, eax
push ebx
push 0
push esi
call fcn.00464bd0
add esp, 0xc
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
cmovae eax, dword [ebp - 0x5c]
push 0
push 0
push edi
push esi
push dword [ebp - 0x4c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
lea ecx, [ebp - 0x2c]
mov byte [edi + esi], 0
call fcn.00404c00
push esi
call fcn.0043c47b
mov esi, dword [ebp - 0x158]
add esp, 4
mov ebx, dword [ebp - 0x160]
mov edi, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x18]
lea edx, [esi + 0x58]
lea eax, [ebp - 0x2c]
cmp edx, eax
je 0x402630
push dword [ebp - 0x1c]
cmp ecx, 0x10
mov ecx, edx
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00406f50
mov ecx, dword [ebp - 0x18]
and ebx, 0xfffffffb
mov byte [ebp - 4], 3
mov dword [ebp - 0x160], ebx
cmp ecx, 0x10
jb 0x402670
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x402666
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403306
push edx
push ecx
call fcn.0043c464
add esp, 8
push ecx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [esi + 0x20]
call fcn.0040e450
mov byte [ebp - 4], 6
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 0x10
push 0
push dword [ebp - 0x7c]
cmovae eax, dword [ebp - 0x8c]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x40330b
push 0
push 0x80
push 3
push 0
push 1
xorps xmm0, xmm0
mov byte [ebp - 0x151], 0
push closesocket
push edi
movsd qword [ebp - 0x16c], xmm0
movsd qword [ebp - 0x178], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4026f3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4e8cfc
lea eax, [ebp - 0x15c]
push edi
push eax
call fcn.004904b9
add esp, 0xc
cmp dword [ebp - 0x15c], 0
je 0x403326
push 0x1001
call fcn.00470500
mov edi, eax
add esp, 4
mov dword [ebp - 0x150], edi
jmp 0x40273a
call fcn.0043c464
add esp, 8
mov edi, dword [ebp - 0x150]
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x402750
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x403341
push 0
push 0x1000
push edi
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
mov dword [ebp - 0x198], ebx
cmp ebx, 0xffffffff
je 0x40335c
test ebx, ebx
jle 0x4030e6
cmp byte [ebp - 0x151], 0
mov byte [ebx + edi], 0
jne 0x403050
mov ecx, edi
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4027b0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x74]
call fcn.00406f50
cmp dword [ebp - 0x60], 0x10
lea ebx, [ebp - 0x74]
mov edi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x64]
cmovae ebx, edi
cmp eax, 4
jb 0x40284e
add eax, 0xfffffffd
add eax, ebx
mov dword [ebp - 0x170], eax
sub eax, ebx
push eax
push 0xd
push ebx
call fcn.00465610
mov esi, eax
add esp, 0xc
test esi, esi
je 0x402848
mov ecx, esi
mov edx, str._r_n_r_n
mov eax, dword [ecx]
cmp eax, dword [edx]
je 0x402820
cmp al, byte [edx]
jne 0x402824
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x402824
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x402824
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x402824
xor eax, eax
jmp 0x402829
sbb eax, eax
or eax, 1
test eax, eax
je 0x402888
mov eax, dword [ebp - 0x170]
inc esi
sub eax, esi
push eax
push 0xd
push esi
call fcn.00465610
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4027f7
mov esi, dword [ebp - 0x158]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x402734
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x403049
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403377
jmp 0x403049
sub esi, ebx
cmp esi, 0xffffffff
je 0x402848
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov ebx, dword [ebp - 0x150]
mov byte [ebp - 4], 8
push esi
push ebx
cmp esi, 0xf
ja 0x4028cf
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], esi
push eax
call fcn.00464650
add esp, 0xc
mov byte [ebp + esi - 0x44], 0
jmp 0x4028e5
mov byte [ebp - 0x190], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x190]
push esi
call fcn.00404a40
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x148]
call fcn.0040dd70
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x144]
cmp eax, 0x194
je 0x40337c
cmp eax, 0x12c
jle 0x402ddf
cmp eax, 0x190
jge 0x402ddf
mov esi, dword [str.Location]
mov edi, 0xf
mov eax, dword [0x4e8d10]
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe0], 8
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xec], eax
mov byte [ebp - 0xe8], 0
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x148]
call fcn.0040df50
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.00406250
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0xc0]
cmp edx, 0x10
jb 0x4029bb
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4029b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403306
push edx
push ecx
call fcn.0043c464
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
push 0
push 0x4e8d2c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.00405030
test eax, eax
je 0x402b60
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
push eax
call fcn.004053d0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x402a46
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402a3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403397
push edx
push ecx
call fcn.0043c464
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0040de50
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x402a9d
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402a93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403397
push edx
push ecx
call fcn.0043c464
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x402ae7
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402add
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403397
push edx
push ecx
call fcn.0043c464
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x402b34
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402b2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403397
push edx
push ecx
call fcn.0043c464
add esp, 8
mov esi, dword [ebp - 0x158]
mov ebx, dword [ebp - 0x160]
mov edi, dword [ebp - 0x164]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
jmp 0x402550
mov esi, dword [ebp - 0x158]
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x402b7c
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
push ebx
call fcn.004704e5
push dword [ebp - 0x15c]
mov dword [ebp - 0x150], 0
call fcn.0048fb5c
mov eax, dword [esi]
lea edx, [ebp - 0x2c]
mov edi, dword [ebp - 0x164]
add esp, 8
cmp dword [ebp - 0x18], 8
mov ecx, esi
mov dword [ebp - 0x15c], 0
cmovae edx, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
push edi
push edx
call eax
mov edx, dword [ebp - 0x18]
mov bl, al
cmp edx, 8
jb 0x402bfc
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402bf2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403397
push edx
push ecx
call fcn.0043c464
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0040de50
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x402c4f
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402c45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403397
push edx
push ecx
call fcn.0043c464
add esp, 8
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x402c95
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402c8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403397
push edx
push ecx
call fcn.0043c464
add esp, 8
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x402cde
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402cd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403397
push edx
push ecx
call fcn.0043c464
add esp, 8
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp edx, 0x10
jb 0x402d2d
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402d23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403397
push edx
push ecx
call fcn.0043c464
add esp, 8
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp edx, 8
jb 0x402d82
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402d78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403397
push edx
push ecx
call fcn.0043c464
add esp, 8
mov edx, dword [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x4032cb
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402dd0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403397
push edx
push ecx
call fcn.0043c464
add esp, 8
jmp 0x4032cb
mov eax, dword [0x4e8d20]
mov edi, 0xf
movq xmm0, qword [str.Content_Length]
mov dword [ebp - 0x24], eax
mov ax, word [0x4e8d24]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0xe
movq qword [ebp - 0x2c], xmm0
mov word [ebp - 0x20], ax
mov byte [ebp - 0x1e], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x148]
call fcn.0040df50
cmp dword [eax + 0x14], 0x10
jb 0x402e33
mov eax, dword [eax]
push eax
call fcn.004985b9
add esp, 4
lea ecx, [ebp - 0xd4]
fstp qword [ebp - 0x16c]
call fcn.00405ac0
mov edi, dword [ebp - 0x198]
mov eax, edi
sub eax, esi
mov byte [ebp - 4], 9
sub eax, 4
test eax, eax
jle 0x402ecf
push dword [ebp - 0x15c]
push 1
push eax
lea eax, [esi + 4]
add eax, ebx
push eax
call fcn.0049091f
mov esi, dword [ebp - 0x158]
add esp, 0x10
movd xmm0, edi
cvtdq2pd xmm0, xmm0
mov ecx, dword [esi + 0x7c]
addsd xmm0, qword [ebp - 0x178]
movsd qword [ebp - 0x178], xmm0
test ecx, ecx
je 0x402ed5
mov eax, dword [ecx]
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x16c]
movsd qword [esp], xmm0
push 0
push dword [esi + 0x78]
movsd qword [ebp - 0x16c], xmm0
call dword [eax]
movsd xmm0, qword [ebp - 0x16c]
jmp 0x402ee5
mov esi, dword [ebp - 0x158]
movsd xmm0, qword [ebp - 0x16c]
movsd qword [ebp - 0x16c], xmm0
movsd xmm1, qword [ebp - 0x178]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x402fae
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x402f19
mov eax, dword [ecx]
sub esp, 0x10
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm0
push 2
push dword [esi + 0x78]
call dword [eax]
lea ecx, [ebp - 0x148]
mov byte [ebp - 0x149], 1
call fcn.0040de50
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x402f5f
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402f55
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403377
push edx
push ecx
call fcn.0043c464
add esp, 8
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x4030ec
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402f9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403377
push edx
push ecx
call fcn.0043c464
add esp, 8
jmp 0x4030ec
lea ecx, [ebp - 0x148]
mov byte [ebp - 0x151], 1
call fcn.0040de50
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x402ff8
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402fee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403377
push edx
push ecx
call fcn.0043c464
add esp, 8
mov edi, dword [ebp - 0x150]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x40273a
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403042
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403377
push edx
push ecx
jmp 0x40272c
push ecx
push edi
jmp 0x40272c
push dword [ebp - 0x15c]
push 1
push ebx
push edi
call fcn.0049091f
mov ecx, dword [esi + 0x7c]
add esp, 0x10
movd xmm0, ebx
cvtdq2pd xmm1, xmm0
addsd xmm1, qword [ebp - 0x178]
movsd qword [ebp - 0x178], xmm1
test ecx, ecx
je 0x4030a8
movsd xmm0, qword [ebp - 0x16c]
sub esp, 0x10
mov eax, dword [ecx]
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm0
push 0
push dword [esi + 0x78]
call dword [eax]
movsd xmm1, qword [ebp - 0x178]
movsd xmm0, qword [ebp - 0x16c]
comisd xmm1, xmm0
jb 0x40273a
mov ecx, dword [esi + 0x7c]
mov al, 1
mov byte [ebp - 0x149], al
mov byte [ebp - 0x152], al
test ecx, ecx
je 0x4030e6
mov eax, dword [ecx]
sub esp, 0x10
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm0
push 2
push dword [esi + 0x78]
call dword [eax]
mov ebx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x403123
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403119
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40339c
push edx
push ecx
call fcn.0043c464
add esp, 8
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp edx, 0x10
jb 0x403172
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403168
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40339c
push edx
push ecx
call fcn.0043c464
add esp, 8
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp edx, 8
jb 0x4031c7
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4031bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40339c
push edx
push ecx
call fcn.0043c464
add esp, 8
mov edx, dword [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x40321b
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403211
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40339c
push edx
push ecx
call fcn.0043c464
add esp, 8
mov edi, dword [ebp - 0x164]
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
jmp 0x403290
test ebx, ebx
je 0x40329d
push ebx
call fcn.004704e5
add esp, 4
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4032ba
push eax
call fcn.0048fb5c
add esp, 4
mov dword [ebp - 0x15c], 0
mov bl, byte [ebp - 0x149]
test bl, bl
jne 0x4032cb
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043c480
mov esp, ebp
pop ebp
ret 8
push 0x4f7e98
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x17c], 0x4e8d28
push eax
call fcn.00464e01
call fcn.00470977
push 0x4f7ecc
lea eax, [ebp - 0x180]
mov dword [ebp - 0x180], 3
push eax
call fcn.00464e01
push 0x4f7ecc
lea eax, [ebp - 0x184]
mov dword [ebp - 0x184], 7
push eax
call fcn.00464e01
push 0x4f7ecc
lea eax, [ebp - 0x188]
mov dword [ebp - 0x188], 0xb
push eax
call fcn.00464e01
push 0x4f7ecc
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x18c], 0xa
push eax
call fcn.00464e01
call fcn.00470977
push 0x4f7ecc
lea eax, [ebp - 0x194]
mov dword [ebp - 0x194], 5
push eax
call fcn.00464e01
call fcn.00470977
call fcn.00470977
int3