Function at 0x4034a0
Capabilities:
Get common file path
Get disk size
Resolve function by parsing pe exports
Send data
Send data on socket
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x44a617
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa20
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa3c]
push edi
mov ebp, ecx
push str.HTTP_1.
push esi
mov dword [esp + 0x54], ebp
call fcn.0043ab40
add esp, 8
test eax, eax
je 0x404949
mov al, byte [esp + 0x13]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], al
call fcn.00401ff0
mov edi, str.HTTP_1.1_404_Not_Found_r_n_r_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.HTTP_1.1_404_Not_Found_r_n_r_n
lea ecx, [esp + 0x44]
call fcn.004050e0
mov edi, str.Get__
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0xa38], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, esi
push ecx
call fcn.0043aa71
mov dword [esp + 0x94], eax
mov edi, str.Get__
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x4556f0
add ecx, esi
push ecx
call fcn.0043ab40
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x4035a4
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x40356b
mov eax, 0x44e270
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xa48]
push ebx
push ecx
push eax
mov eax, dword [ebp + edx*4 + 0x116]
push eax
call dword [sym.imp.WS2_32.dll_send]
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0xa3c], 0xffffffff
call fcn.00401ff0
xor eax, eax
jmp 0x404949
inc esi
push 0x4556f0
push esi
call fcn.0043ab40
add esp, 8
cmp eax, ebx
jne 0x4035c1
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x40356b
jmp 0x403566
inc eax
mov dword [esp + 0x38], eax
sub eax, esi
cmp eax, 0x29
je 0x4035d7
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x40356b
jmp 0x403566
lea ecx, [esp + 0xf4]
push ecx
push esi
call fcn.00434a10
mov al, 1
mov cl, 9
add esp, 8
xor edx, edx
mov byte [esp + 0x50], al
mov byte [esp + 0x51], cl
mov byte [esp + 0x52], 7
mov byte [esp + 0x53], 8
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], cl
mov byte [esp + 0x56], al
mov byte [esp + 0x57], 5
lea esi, [esp + 0xf6]
mov ebp, 5
mov al, byte [esi - 2]
xor al, 0x69
mov byte [esi - 2], al
mov bl, byte [esi - 1]
xor bl, 0x4a
mov byte [esi - 1], bl
mov cl, byte [esi]
movsx edi, byte [esp + edx + 0x50]
xor cl, 0x87
mov byte [esi], cl
mov al, byte [esi + 1]
xor al, 0x3c
mov ecx, 0x20
mov byte [esi + 1], al
mov eax, dword [esi - 2]
sub ecx, edi
mov ebx, eax
shr ebx, cl
mov ecx, edi
shl eax, cl
add ebx, eax
mov dword [esi - 2], ebx
mov ecx, dword [esp + 0xf6]
and ecx, 0xff
and ecx, reloc.WS2_32.dll_closesocket
jns 0x403673
dec ecx
or ecx, 0xfffffffc
inc ecx
lea eax, [edx + 1]
inc ecx
cdq
idiv ecx
add esi, 4
dec ebp
jne 0x40361d
mov edi, dword [esp + 0x38]
push 0x4556e8
push edi
call fcn.0043ab40
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
mov dword [esp + 0x9c], esi
jne 0x4036cd
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x4036ae
mov eax, 0x44e270
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
push ebx
push edx
push eax
mov eax, dword [esp + 0xa54]
mov edx, dword [ecx + eax*4 + 0x116]
push edx
jmp 0x403581
cmp esi, edi
jne 0x4036fd
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x4036de
mov eax, 0x44e270
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xa48]
push ebx
push ecx
push eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + edx*4 + 0x116]
push ecx
jmp 0x403581
mov dl, byte [esp + 0x13]
mov byte [esi], 0
push ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x74], 6
mov byte [esp + 0x64], dl
call fcn.00401ff0
push 0x4556e4
push edi
mov byte [esp + 0xa40], 1
mov dword [esp + 0x58], ebx
mov dword [esp + 0x80], ebx
call fcn.0043ab40
add esp, 8
cmp eax, ebx
je 0x403dd8
cmp edi, eax
jne 0x403779
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x403754
mov eax, 0x44e270
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xa48]
push ebx
push ecx
push eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + edx*4 + 0x116]
push ecx
call dword [sym.imp.WS2_32.dll_send]
jmp 0x4041e2
inc eax
mov byte [esi], 0x26
cmp eax, esi
mov dword [esp + 0x14], eax
jae 0x403d60
mov edx, dword [esp + 0x14]
push 0x4556e0
push edx
call fcn.0043ab40
xor ebx, ebx
add esp, 8
cmp eax, ebx
mov dword [esp + 0x94], eax
je 0x403db8
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.00401ff0
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa3c], 2
call fcn.00401ff0
mov edi, dword [esp + 0x14]
push 0x4556dc
push edi
mov byte [esp + 0xa40], 3
call fcn.0043ab40
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x403d64
cmp ebx, dword [esp + 0x94]
ja 0x403d64
mov edx, dword [0x44e274]
mov ecx, dword [esp + 0x20]
mov esi, ebx
sub edx, ecx
sub esi, edi
cmp edx, esi
ja 0x403822
call fcn.00446f90
test esi, esi
jbe 0x403868
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x1c]
lea ebp, [eax + esi]
push ebp
call fcn.00402180
test al, al
je 0x403868
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea edi, [ecx + edx]
mov ecx, esi
mov esi, dword [esp + 0x14]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [ecx + ebp], 0
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x84]
mov byte [esp + 0x84], dl
call fcn.00401ff0
mov edi, 0x4556d8
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xa38], 4
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x20]
not ecx
dec ecx
push ecx
push 0x4556d8
push eax
push 0
lea ecx, [esp + 0x28]
call fcn.00405440
test eax, eax
je 0x403964
mov edi, 0x4556d4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x24]
push 0x4556d4
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00405440
test eax, eax
je 0x403964
mov edi, str.checksum
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.checksum
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.00405440
test eax, eax
jne 0x4039bd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xa40]
sub eax, ecx
add ecx, 4
sub eax, 5
push eax
lea eax, [esp + 0xa8]
push ecx
push eax
call fcn.00405570
add esp, 0xc
mov ecx, dword [0x44e274]
mov byte [esp + 0xa38], 6
push ecx
push 0
push eax
lea ecx, [esp + 0x8c]
call fcn.004025b0
mov byte [esp + 0xa38], 4
push 1
lea ecx, [esp + 0xa8]
jmp 0x4039b8
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0xa40]
sub edx, eax
add eax, 4
sub edx, 5
push edx
push eax
lea eax, [esp + 0x110]
push eax
call fcn.00405570
add esp, 0xc
mov ecx, dword [0x44e274]
mov byte [esp + 0xa38], 5
push ecx
push 0
push eax
lea ecx, [esp + 0x8c]
call fcn.004025b0
mov byte [esp + 0xa38], 4
push 1
lea ecx, [esp + 0x10c]
call fcn.00401ff0
mov esi, dword [esp + 0x94]
mov edx, dword [0x44e274]
mov ecx, dword [esp + 0x30]
inc ebx
sub esi, ebx
sub edx, ecx
cmp edx, esi
ja 0x4039dc
call fcn.00446f90
test esi, esi
jbe 0x403a20
mov eax, dword [esp + 0x30]
push 0
lea ecx, [esp + 0x2c]
lea ebp, [eax + esi]
push ebp
call fcn.00402180
test al, al
je 0x403a20
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea edi, [ecx + edx]
mov ecx, esi
mov eax, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ebp
mov byte [ecx + ebp], 0
mov edi, 0x4556d8
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x94]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x20]
lea ebx, [edx + 1]
not ecx
dec ecx
mov dword [esp + 0x14], ebx
push ecx
push 0x4556d8
push eax
push 0
lea ecx, [esp + 0x28]
call fcn.00405440
test eax, eax
jne 0x403b22
mov edx, dword [esp + 0x30]
xor esi, esi
test edx, edx
jbe 0x403af0
mov ecx, dword [esp + 0x2c]
cmp edx, esi
jb 0x403a8b
test ecx, ecx
je 0x403a8b
lea ecx, [esp + 0x28]
call fcn.00405050
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
lea eax, [esi + ecx]
jmp 0x403a90
mov eax, 0x44e270
cmp byte [eax], 0x41
jl 0x403aeb
cmp edx, esi
jb 0x403ab3
test ecx, ecx
je 0x403ab3
lea ecx, [esp + 0x28]
call fcn.00405050
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
lea eax, [esi + ecx]
jmp 0x403ab8
mov eax, 0x44e270
cmp byte [eax], 0x5a
jg 0x403aeb
cmp edx, esi
jb 0x403ad7
test ecx, ecx
je 0x403ad7
lea ecx, [esp + 0x28]
call fcn.00405050
mov ecx, dword [esp + 0x2c]
lea eax, [esi + ecx]
jmp 0x403adc
mov eax, 0x44e270
mov cl, byte [eax]
add cl, 0x20
mov byte [eax], cl
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
inc esi
cmp edx, esi
ja 0x403a71
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x403b00
mov eax, 0x44e270
mov ecx, dword [esp + 0x88]
push ecx
push eax
push edx
push 0
lea ecx, [esp + 0x38]
call fcn.00405440
test eax, eax
jne 0x403d0f
jmp 0x403d07
mov edi, str.save
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.save
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.00405440
test eax, eax
jne 0x403b82
mov edi, str.false
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x30]
not ecx
dec ecx
push ecx
push str.false
push eax
push 0
lea ecx, [esp + 0x38]
call fcn.00405440
test eax, eax
jne 0x403d0f
mov dword [esp + 0x50], 1
jmp 0x403d0f
mov edi, str.checksum
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x24]
push str.checksum
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00405440
test eax, eax
je 0x403c1a
mov edi, 0x4556d4
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4556d4
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.00405440
test eax, eax
je 0x403c1a
mov edi, str.keycode
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x20]
not ecx
dec ecx
push ecx
push str.keycode
push eax
push 0
lea ecx, [esp + 0x28]
call fcn.00405440
test eax, eax
jne 0x403d0f
mov ecx, dword [0x44e274]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
lea ecx, [esp + 0x6c]
call fcn.004025b0
jmp 0x403d0f
mov edx, dword [esp + 0x30]
xor esi, esi
test edx, edx
jbe 0x403cae
mov ecx, dword [esp + 0x2c]
cmp edx, esi
jb 0x403c4a
test ecx, ecx
je 0x403c4a
lea ecx, [esp + 0x28]
call fcn.00405050
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
lea eax, [esi + ecx]
jmp 0x403c4f
mov eax, 0x44e270
cmp byte [eax], 0x41
jl 0x403ca9
cmp edx, esi
jb 0x403c72
test ecx, ecx
je 0x403c72
lea ecx, [esp + 0x28]
call fcn.00405050
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
lea eax, [esi + ecx]
jmp 0x403c77
mov eax, 0x44e270
cmp byte [eax], 0x5a
jg 0x403ca9
cmp edx, esi
jb 0x403c95
test ecx, ecx
je 0x403c95
lea ecx, [esp + 0x28]
call fcn.00405050
mov eax, dword [esp + 0x2c]
add eax, esi
jmp 0x403c9a
mov eax, 0x44e270
mov cl, byte [eax]
add cl, 0x20
mov byte [eax], cl
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
inc esi
cmp edx, esi
ja 0x403c30
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x403cbe
mov eax, 0x44e270
mov ecx, dword [esp + 0x88]
push ecx
push eax
push edx
push 0
lea ecx, [esp + 0x38]
call fcn.00405440
test eax, eax
jne 0x403cdf
mov dword [esp + 0x78], 1
mov edi, 0x4556d4
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4556d4
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.00405440
test eax, eax
jne 0x403d0f
mov dword [esp + 0x70], 4
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xa3c], 3
call fcn.00401ff0
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa3c], 2
call fcn.00401ff0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa3c], 1
call fcn.00401ff0
mov eax, dword [esp + 0x9c]
cmp ebx, eax
jb 0x403789
mov edi, dword [esp + 0x38]
mov esi, eax
xor ebx, ebx
jmp 0x403dc3
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x403d71
mov eax, 0x44e270
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xa48]
push 0
push ecx
push eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + edx*4 + 0x116]
push ecx
call dword [sym.imp.WS2_32.dll_send]
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa3c], 2
call fcn.00401ff0
mov byte [esp + 0xa38], 1
push 1
lea ecx, [esp + 0x1c]
jmp 0x4041dd
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0x38]
push 0x4556e4
push edi
mov byte [esi], 0x20
call fcn.0043ab40
add esp, 8
mov esi, eax
jmp 0x403ddd
mov byte [esi], 0x20
xor ebx, ebx
mov ebp, dword [esp + 0xa40]
push str.User_Agent:_RMA
push ebp
mov dword [esp + 0x7c], 0x200
call fcn.0043ab40
add esp, 8
test eax, eax
je 0x403e16
lea edx, [esp + 0x74]
lea eax, [esp + 0x22c]
push edx
sub esi, edi
push eax
push esi
push edi
call fcn.00434870
jmp 0x403e56
push str.User_Agent:_Mozilla_4.0
push ebp
call fcn.0043ab40
add esp, 8
test eax, eax
je 0x403e40
lea ecx, [esp + 0x74]
lea edx, [esp + 0x22c]
push ecx
sub esi, edi
push edx
push esi
push edi
call fcn.00434870
jmp 0x403e56
lea eax, [esp + 0x74]
lea ecx, [esp + 0x22c]
push eax
sub esi, edi
push ecx
push esi
push edi
call fcn.00434730
mov edx, dword [esp + 0x84]
add esp, 0x10
lea eax, [esp + 0xf4]
mov ecx, 0x45f438
push eax
mov byte [esp + edx + 0x230], 0
call fcn.0041e4a0
mov ebp, eax
mov eax, dword [esp + 0x78]
cmp eax, ebx
mov dword [esp + 0x38], ebp
jne 0x403eba
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x403e95
mov eax, 0x44e270
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xa48]
push ebx
push ecx
push eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + edx*4 + 0x116]
push ecx
call dword [sym.imp.WS2_32.dll_send]
jmp 0x4041e2
cmp ebp, ebx
jne 0x4045e5
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0xb8]
mov byte [esp + 0xb8], dl
call fcn.00401ff0
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0xc8]
mov byte [esp + 0xa3c], 7
mov byte [esp + 0xc8], al
call fcn.00401ff0
mov al, byte [0x45f3a9]
mov cl, byte [0x45f3a8]
mov dl, byte [0x45f3aa]
mov byte [esp + 0xed], al
mov eax, dword [esp + 0x50]
mov byte [esp + 0xa38], 8
cmp eax, ebx
mov byte [esp + 0xec], cl
mov byte [esp + 0xee], dl
mov byte [esp + 0xef], 1
je 0x404016
lea ecx, [esp + 0x128]
mov byte [esp + 0xf1], 2
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jbe 0x403fd2
lea edx, [esp + 0x13]
lea eax, [esp + 0x128]
push edx
push eax
lea ecx, [esp + 0x110]
call fcn.00404f90
sub esp, 0x10
lea edx, [esp + 0x23c]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
push eax
push ecx
mov byte [esp + 0xa54], 9
call fcn.00402480
add esp, 0xc
lea eax, [esp + 0x104]
lea ecx, [esp + 0xc4]
push eax
push ecx
mov ecx, 0x45f438
call fcn.0041d960
mov ebp, eax
push 1
lea ecx, [esp + 0x10c]
mov dword [esp + 0x3c], ebp
mov byte [esp + 0xa3c], 8
call fcn.00401ff0
jmp 0x404305
sub esp, 0x10
lea eax, [esp + 0x23c]
mov edx, esp
mov dword [esp + 0x60], esp
push eax
push 0x45f408
push edx
call fcn.00402480
add esp, 0xc
lea ecx, [esp + 0x104]
lea edx, [esp + 0xc4]
push ecx
push edx
mov ecx, 0x45f438
call fcn.0041d960
mov ebp, eax
mov dword [esp + 0x38], ebp
jmp 0x404305
lea eax, [esp + 0x22c]
lea ecx, [esp + 0x18]
push eax
push 0x45f408
push ecx
mov byte [esp + 0xfd], 0
call fcn.00402480
add esp, 0xc
mov eax, dword [esp + 0x1c]
xor edx, edx
mov word [esp + 0x15], dx
cmp eax, ebx
mov byte [esp + 0xa38], 0xa
mov byte [esp + 0x14], 0
mov byte [esp + 0x17], dl
jne 0x40405d
mov eax, 0x44e270
mov cx, word [eax]
push 0x104
mov word [esp + 0x18], cx
mov dl, byte [eax + 2]
lea eax, [esp + 0x930]
mov byte [esp + 0x1a], dl
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, 0x43
mov cl, byte [esp + 0x92c]
mov dl, byte [esp + 0x14]
sub cl, dl
lea edx, [esp + 0x78]
neg cl
sbb ecx, ecx
lea eax, [esp + 0x9c]
and ecx, 0xe0000000
push edx
add ecx, 0x40000000
push eax
mov edi, ecx
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x1c]
push ecx
push edx
call esi
test eax, eax
je 0x4040e4
mov ecx, dword [esp + 0x7c]
xor eax, eax
cmp ecx, eax
ja 0x40414a
jb 0x4040de
cmp dword [esp + 0x78], edi
ja 0x40414a
inc byte [esp + 0x14]
jmp 0x4040ff
cmp byte [esp + 0x14], bl
je 0x4046bf
call ebp
cmp eax, 0x15
jne 0x4040fb
inc byte [esp + 0x14]
jmp 0x4040ff
mov byte [esp + 0x14], bl
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x404137
mov cl, byte [eax - 1]
test cl, cl
je 0x404127
cmp cl, 0xff
je 0x404127
mov eax, dword [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.00402180
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x404133
mov byte [eax - 1], 0xff
mov eax, dword [esp + 0x1c]
mov ecx, eax
jmp 0x40413c
mov ecx, 0x44e270
mov dl, byte [esp + 0x14]
cmp dl, byte [ecx]
jne 0x40408d
jmp 0x40414e
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x404182
mov cl, byte [eax - 1]
test cl, cl
je 0x404172
cmp cl, 0xff
je 0x404172
mov eax, dword [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.00402180
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40417e
mov byte [eax - 1], 0xff
mov eax, dword [esp + 0x1c]
mov ecx, eax
jmp 0x404187
mov ecx, 0x44e270
mov dl, byte [esp + 0x14]
mov bl, byte [ecx]
cmp dl, bl
jne 0x4041fa
mov esi, dword [esp + 0x7c]
xor ecx, ecx
cmp esi, ecx
ja 0x4041fa
jb 0x4041a3
cmp dword [esp + 0x78], edi
ja 0x4041fa
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa3c], 8
call fcn.00401ff0
mov byte [esp + 0xa38], 0xc
push 1
lea ecx, [esp + 0xc8]
call fcn.00401ff0
mov byte [esp + 0xa38], 1
push 1
lea ecx, [esp + 0xb8]
call fcn.00401ff0
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0xa3c], 0
call fcn.00401ff0
jmp 0x403587
test eax, eax
je 0x404230
mov cl, byte [eax - 1]
test cl, cl
je 0x40421e
cmp cl, 0xff
je 0x40421e
mov ecx, dword [esp + 0x20]
push 0
push ecx
lea ecx, [esp + 0x20]
call fcn.00402180
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40422a
mov byte [eax - 1], 0xff
mov eax, dword [esp + 0x1c]
mov dl, byte [esp + 0x14]
jmp 0x404235
mov eax, 0x44e270
cmp dl, byte [eax]
je 0x4042a4
movsx ecx, dl
lea eax, [esp + 0x22c]
lea edx, [esp + 0x128]
push eax
push ecx
push str._C:Media_s
push edx
call fcn.0043a5e5
lea edi, [esp + 0x138]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.00402180
test al, al
je 0x4042a4
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov eax, ecx
lea esi, [esp + 0x128]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [ecx + ebp], 0
mov dl, byte [esp + 0x18]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x60], esp
push 0
mov ecx, esi
mov byte [esi], dl
call fcn.00401ff0
mov eax, dword [0x44e274]
lea ecx, [esp + 0x28]
push eax
push 0
push ecx
mov ecx, esi
call fcn.004025b0
lea edx, [esp + 0x104]
lea eax, [esp + 0xc4]
push edx
push eax
mov ecx, 0x45f438
call fcn.0041d960
mov ebp, eax
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], ebp
mov byte [esp + 0xa3c], 8
call fcn.00401ff0
xor ebx, ebx
cmp ebp, ebx
jne 0x4043c3
push 1
lea ecx, [esp + 0xc8]
mov byte [esp + 0xa3c], 0xd
call fcn.00401ff0
mov ecx, dword [esp + 0xb8]
cmp ecx, ebx
je 0x40434a
mov al, byte [ecx - 1]
test al, al
je 0x404340
cmp al, 0xff
je 0x404340
dec al
mov byte [ecx - 1], al
jmp 0x40434a
dec ecx
push ecx
call fcn.00439308
add esp, 4
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov ecx, dword [esp + 0x64]
cmp ecx, ebx
je 0x404383
mov al, byte [ecx - 1]
test al, al
je 0x404379
cmp al, 0xff
je 0x404379
dec al
mov byte [ecx - 1], al
jmp 0x404383
dec ecx
push ecx
call fcn.00439308
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x64], ebx
cmp ecx, ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
je 0x40359d
mov al, byte [ecx - 1]
test al, al
je 0x4043b2
cmp al, 0xff
je 0x4043b2
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x404949
dec ecx
push ecx
call fcn.00439308
add esp, 4
xor eax, eax
jmp 0x404949
cmp dword [esp + 0x70], 4
jne 0x404581
mov ecx, dword [ebp + 0x5f]
lea edx, [esp + 0x118]
push edx
call fcn.004051c0
push eax
lea eax, [esp + 0xa8]
push 0x45f3d8
push eax
mov byte [esp + 0xa44], 0xe
call fcn.004052f0
push str..torrent
lea ecx, [esp + 0x60]
push eax
push ecx
mov byte [esp + 0xa50], 0xf
call fcn.00402480
add esp, 0x18
mov eax, dword [eax + 4]
mov byte [esp + 0xa38], 0x10
cmp eax, ebx
mov esi, 0x44e270
je 0x40442a
mov esi, eax
lea edx, [esp + 0x22c]
lea eax, [esp + 0x28]
push edx
push 0x45f3d8
push eax
call fcn.00402480
push str..torrent
lea ecx, [esp + 0x90]
push eax
push ecx
mov byte [esp + 0xa50], 0x11
call fcn.00402480
mov eax, dword [eax + 4]
add esp, 0x18
cmp eax, ebx
jne 0x40446b
mov eax, 0x44e270
push esi
push eax
call fcn.00439adc
mov eax, dword [esp + 0x8c]
add esp, 8
cmp eax, ebx
je 0x40449d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x404494
cmp al, 0xff
je 0x404494
dec al
mov byte [ecx], al
jmp 0x40449d
push ecx
call fcn.00439308
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x84], ebx
cmp eax, ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
je 0x4044d7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4044ce
cmp al, 0xff
je 0x4044ce
dec al
mov byte [ecx], al
jmp 0x4044d7
push ecx
call fcn.00439308
add esp, 4
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
je 0x404508
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4044ff
cmp al, 0xff
je 0x4044ff
dec al
mov byte [ecx], al
jmp 0x404508
push ecx
call fcn.00439308
add esp, 4
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x54], ebx
cmp eax, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
je 0x40453c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x404533
cmp al, 0xff
je 0x404533
dec al
mov byte [ecx], al
jmp 0x40453c
push ecx
call fcn.00439308
add esp, 4
mov eax, dword [esp + 0x11c]
mov dword [esp + 0xa8], ebx
cmp eax, ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa38], 8
je 0x404581
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x404578
cmp al, 0xff
je 0x404578
dec al
mov byte [ecx], al
jmp 0x404581
push ecx
call fcn.00439308
add esp, 4
push ebp
call fcn.00432b20
add esp, 4
push 1
lea ecx, [esp + 0xc8]
mov byte [esp + 0xa3c], 0x12
call fcn.00401ff0
mov eax, dword [esp + 0xb8]
mov byte [esp + 0xa38], 1
cmp eax, ebx
je 0x4045d0
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4045c7
cmp al, 0xff
je 0x4045c7
dec al
mov byte [ecx], al
jmp 0x4045d0
push ecx
call fcn.00439308
add esp, 4
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
cmp dword [esp + 0x70], 4
jne 0x4046df
mov ecx, ebp
call fcn.00416220
test al, al
jne 0x404646
mov ecx, 0x45f438
call fcn.0041e8b0
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 4]
push 0x45f300
lea ecx, [esp + 0x54]
call fcn.00401000
lea ecx, [esp + 0x50]
mov byte [esp + 0xa38], 0x13
call fcn.00401030
test eax, eax
je 0x404635
call fcn.00434130
lea ecx, [esp + 0x50]
mov byte [esp + 0xa38], 1
call fcn.00401010
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x52d]
mov byte [esp + 0x52c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x52c]
push str.HTTP_1.1_302_Found_r_nServer:_Qvod_Server_2.0_r_nConnection:_close_r_nCache_Control:_no_cache_r_n
push eax
call fcn.0043a5e5
add esp, 8
lea esi, [esp + eax + 0x52c]
push ebp
push str.Location:_File:__taskid_u_r_nContent_Length:_0_r_n_r_n
push esi
call fcn.0043a5e5
add esp, 0xc
add esi, eax
mov eax, dword [esp + 0xa48]
lea ecx, [esp + 0x52c]
sub esi, ecx
mov ecx, dword [esp + 0x4c]
push ebx
lea edx, [esp + 0x530]
push esi
push edx
mov edx, dword [ecx + eax*4 + 0x116]
push edx
call dword [sym.imp.WS2_32.dll_send]
jmp 0x40435f
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa3c], 8
call fcn.00401ff0
mov byte [esp + 0xa38], 0xb
jmp 0x4041be
mov ebp, dword [esp + 0xa48]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0xa40]
mov eax, dword [esp + 0x38]
push str.Range:_bytes
push edi
mov dword [ebx + ebp*4 + 0x416], eax
call fcn.0043ab40
mov esi, eax
add esp, 8
test esi, esi
je 0x404733
mov edi, str.Range:_bytes
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, esi
push ecx
call fcn.0043aa71
add esp, 4
mov dword [ebx + ebp*4 + 0x316], eax
jmp 0x404759
push str.Range:bytes
push edi
call fcn.0043ab40
mov esi, eax
add esp, 8
test esi, esi
je 0x40474e
mov edi, str.Range:bytes
jmp 0x404715
mov dword [ebx + ebp*4 + 0x316], 0
mov dword [ebx + 0x51e], 0
mov ecx, dword [ebx + ebp*4 + 0x316]
push 0
push ecx
mov ecx, dword [ebx + ebp*4 + 0x416]
call fcn.00416110
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x42d]
mov byte [esp + 0x42c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test esi, esi
stosb byte es:[edi], al
je 0x404837
lea edx, [esp + 0x42c]
mov ecx, ebx
push edx
call fcn.00402bf0
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x52d]
mov byte [esp + 0x52c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [ebx + ebp*4 + 0x316]
stosb byte es:[edi], al
mov eax, dword [esp + 0x90]
push eax
lea edx, [eax - 1]
sub eax, ecx
push edx
push ecx
push eax
lea eax, [esp + 0x53c]
push str.HTTP_1.1_206_Partial_content_r_nServer:_Qvod_Server_2.0_r_nContent_Type:_application_vnd.rn_realmedia_r_nCache_Control:_no_cache_r_npragma:_no_cache_r_nConnection:_Keep_Alive_r_nContent_Length:__u_r_nContent_Range:_bytes__u__u__u_r_n_r_n
push eax
call fcn.0043a5e5
mov edx, dword [ebx + ebp*4 + 0x116]
add esp, 0x18
xor edi, edi
lea ecx, [esp + 0x52c]
push edi
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
mov eax, dword [esp + 0x64]
cmp eax, edi
je 0x404917
mov cl, byte [eax - 1]
test cl, cl
je 0x404830
cmp cl, 0xff
je 0x404830
dec cl
mov byte [eax - 1], cl
jmp 0x404917
dec eax
push eax
jmp 0x40490f
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.00416220
test al, al
jne 0x404890
mov ecx, 0x45f438
call fcn.0041e8b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x45f300
lea ecx, [esp + 0x54]
call fcn.00401000
lea ecx, [esp + 0x50]
mov byte [esp + 0xa38], 0x14
call fcn.00401030
test eax, eax
je 0x40487f
call fcn.00434130
lea ecx, [esp + 0x50]
mov byte [esp + 0xa38], 1
call fcn.00401010
lea ecx, [esp + 0x42c]
push ecx
mov ecx, ebx
call fcn.00402bf0
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x52d]
mov byte [esp + 0x52c], 0
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x90]
stosw word es:[edi], ax
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x530]
push str.HTTP_1.1_200_OK_r_nServer:_Qvod_Server_2.0_r_nContent_Type:_application_r_nConnection:_Keep_Alive_r_nCache_Control:_no_cache_r_npragma:_no_cache_r_nAccept_Ranges:_bytes_r_nContent_Length:__u_r_n_r_n
push eax
call fcn.0043a5e5
mov edx, dword [ebx + ebp*4 + 0x116]
add esp, 0xc
xor edi, edi
lea ecx, [esp + 0x52c]
push edi
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [esp + 0x64]
mov esi, eax
cmp ecx, edi
je 0x404917
mov al, byte [ecx - 1]
test al, al
je 0x40490d
cmp al, 0xff
je 0x40490d
dec al
mov byte [ecx - 1], al
jmp 0x404917
dec ecx
push ecx
call fcn.00439308
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x64], edi
cmp ecx, edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
je 0x404947
mov al, byte [ecx - 1]
test al, al
je 0x40493d
cmp al, 0xff
je 0x40493d
dec al
mov byte [ecx - 1], al
jmp 0x404947
dec ecx
push ecx
call fcn.00439308
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xa30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa2c
ret 0xc