Function at 0x44ea70
Capabilities:
Create thread
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47335e
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x491654]
xor eax, esp
mov dword [esp + 0x2dc], eax
push esi
push edi
mov eax, dword [0x491654]
xor eax, esp
push eax
lea eax, [esp + 0x2f0]
mov dword fs:[0], eax
push ebx
lea eax, [ebx + 0x5c]
push eax
push 0x1388
push 5
push 5
push 0x1388
push 0x1388
lea esi, [ebx + 0x14]
push esi
push 0
lea edi, [esp + 0x220]
mov byte [esp + 0x30], 0
call fcn.004502f0
mov dword [esp + 0x2f8], 0
movzx eax, byte [ebx + 0xac]
mov ecx, dword [ebx + 0x3c]
push 0
push 0xffffffffffffffff
push eax
push ecx
mov ecx, edi
call fcn.004505d0
push esi
test al, al
je 0x44f41f
lea edx, [esp + 0xe0]
push str.Connection_is_opened:
push edx
call fcn.0040c240
add esp, 0xc
mov byte [esp + 0x2f8], 1
call fcn.00402639
mov ecx, dword [ebx + 0x3c]
push eax
push str.INFO
call fcn.00417c10
lea ecx, [esp + 0xdc]
mov byte [esp + 0x2f8], 0
call fcn.004025ff
lea eax, [esp + 0x14c]
push eax
lea ecx, [esp + 0x208]
call fcn.0044f590
mov byte [esp + 0x2f8], 2
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x28], eax
mov dword [ebx + 0x78], eax
cmp eax, dword [ebx + 0xa8]
jae 0x44ecc7
mov eax, dword [esp + 0x200]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x44eba2
push eax
call edi
mov dword [esp + 0x200], 0
mov eax, dword [esp + 0x220]
test eax, eax
je 0x44ebbb
push eax
call edi
mov dword [esp + 0x220], 0
mov eax, dword [esp + 0x224]
test eax, eax
je 0x44ebd4
push eax
call edi
mov dword [esp + 0x224], 0
mov ecx, dword [ebx + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push 0
call eax
push str.File
lea eax, [esp + 0xe0]
call fcn.004025ce
mov edi, eax
push 0
push esi
or eax, 0xffffffff
mov byte [esp + 0x300], 3
call fcn.004030d3
push str._is_less_then_minValidSize
push eax
call fcn.0040260d
call fcn.00402639
mov ecx, dword [ebx + 0x3c]
push eax
push str.INFO
call fcn.00417c10
lea ecx, [esp + 0xdc]
call fcn.004025ff
mov eax, dword [esp + 0x16c]
test eax, eax
je 0x44ec42
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x1bc]
call fcn.004025ff
lea ecx, [esp + 0x19c]
call fcn.004025ff
lea ecx, [esp + 0x17c]
call fcn.004025ff
lea ecx, [esp + 0x14c]
call fcn.004025ff
lea ecx, [esp + 0x2b0]
call fcn.004025ff
mov eax, dword [esp + 0x224]
test eax, eax
je 0x44ec90
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x274]
call fcn.004025ff
lea ecx, [esp + 0x254]
call fcn.004025ff
lea ecx, [esp + 0x234]
call fcn.004025ff
lea ecx, [esp + 0x204]
call fcn.004025ff
xor al, al
jmp 0x44f566
lea eax, [esp + 0x130]
call fcn.004025a7
lea ecx, [esp + 0x1bc]
push ecx
lea ecx, [esp + 0x134]
mov byte [esp + 0x2fc], 4
call fcn.00403c8f
cmp dword [esp + 0x140], 0
jne 0x44ed3a
lea edx, [esp + 0x14c]
push edx
lea ecx, [esp + 0xe0]
call fcn.0044e9f0
add esp, 4
mov esi, eax
lea eax, [esp + 0x130]
mov byte [esp + 0x2f8], 5
call fcn.00403979
lea ecx, [esp + 0xdc]
mov byte [esp + 0x2f8], 4
call fcn.004025ff
mov eax, dword [ebx + 0x30]
sub esp, 0x1c
lea esi, [ebx + 0x30]
mov dword [esp + 0x30], esp
mov edi, esp
push ecx
mov dword [esp + 0x30], eax
mov eax, esp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], esp
call fcn.00403325
mov eax, edi
call fcn.004025a4
push 0
push 0
call fcn.004032db
push 0xffffffffffffffff
lea ecx, [esp + 0x150]
push ecx
xor eax, eax
mov ecx, edi
call fcn.004031db
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
test al, al
jne 0x44eec3
push str.CantCreateFile_
lea eax, [esp + 0xe0]
call fcn.004025ce
lea eax, [esp + 0xdc]
mov byte [esp + 0x2f8], 6
call fcn.00402639
mov ecx, dword [ebx + 0x3c]
push eax
push str.ERROR
call fcn.00417c10
mov esi, dword [esi]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x1e0]
push eax
mov ecx, esi
call edx
push 0
push eax
or eax, 0xffffffff
lea edi, [esp + 0xe4]
mov byte [esp + 0x300], 7
call fcn.004030d3
lea ecx, [esp + 0x1e0]
mov byte [esp + 0x2f8], 6
call fcn.004025ff
cmp dword [ebx + 0xa4], 0
je 0x44ee3b
sub esp, 0x1c
mov eax, edi
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00409500
mov eax, dword [ebx + 0xb4]
mov ecx, dword [ebx + 0xa4]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
mov eax, dword [ebx + 0xb0]
push eax
call edx
lea esi, [esp + 0x1fc]
call fcn.00450720
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push 0
call eax
lea ecx, [esp + 0xdc]
call fcn.004025ff
lea ecx, [esp + 0x130]
call fcn.004025ff
mov eax, dword [esp + 0x16c]
test eax, eax
je 0x44ee80
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x1bc]
call fcn.004025ff
lea ecx, [esp + 0x19c]
call fcn.004025ff
lea ecx, [esp + 0x17c]
call fcn.004025ff
lea ecx, [esp + 0x14c]
call fcn.004025ff
lea eax, [esp + 0x1fc]
call fcn.0044e3b0
xor al, al
jmp 0x44f566
lea eax, [esp + 0x114]
call fcn.004025a7
mov byte [esp + 0x2f8], 8
cmp dword [ebx + 0x50], 0
je 0x44eee3
lea ecx, [ebx + 0x40]
push ecx
jmp 0x44eeeb
lea edx, [esp + 0x19c]
push edx
lea ecx, [esp + 0x118]
call fcn.00403c8f
mov al, byte [esp + 0x198]
lea ecx, [esp + 0x14c]
mov byte [esp + 0x1b], al
push ecx
lea eax, [esp + 0x2d0]
call fcn.00450b80
cmp byte [esp + 0x1b], 0
mov byte [esp + 0x2f8], 9
jne 0x44ef6b
sub esp, 8
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0
mov dword [eax + 4], 0
push eax
mov eax, esi
call fcn.00449720
mov edx, dword [ebx + 0x3c]
push edx
lea ecx, [esp + 0x208]
call fcn.004507b0
test eax, eax
lea esi, [esp + 0x1fc]
setne byte [esp + 0xc]
call fcn.00450720
jmp 0x44f0f8
lea esi, [esp + 0x1fc]
call fcn.00450720
xor edi, edi
xor esi, esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], edi
mov dword [esp + 0xe4], edi
mov eax, dword [esp + 0x28]
mov byte [esp + 0x2f8], 0xa
mov ecx, dword [ebx + 0x38]
xor edx, edx
div ecx
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], eax
cmp ecx, eax
jle 0x44f08d
mov dword [esp + 0x10], eax
push 0x38
call fcn.00453347
xor esi, esi
add esp, 4
cmp eax, esi
je 0x44efdb
mov dword [eax + 4], esi
mov dword [eax + 8], esi
lea ecx, [ebx + 0x5c]
mov dword [eax + 0x30], ecx
mov esi, eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2cc]
mov dword [esi + 0x10], ecx
mov ecx, 0x1388
mov edx, 5
mov dword [esi + 0x1c], edx
mov dword [esi + 0x2c], edx
mov dword [esi], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0xc], ebx
mov edx, dword [ebx + 0x38]
dec edx
cmp eax, edx
jne 0x44f019
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x24]
jmp 0x44f01d
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x1c]
push eax
lea edi, [esi + 4]
mov dword [esi + 0x28], edx
call fcn.0044f730
mov ecx, dword [ebx + 0x3c]
lea edx, [esp + 0x2c]
push edx
push 0
push esi
push 0x44e130
push 0
push 0
mov dword [esi + 0x34], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
lea esi, [esp + 0xdc]
call fcn.0043ed60
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add dword [esp + 0x10], ecx
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [ebx + 0x38]
jl 0x44efbd
mov edi, dword [esp + 0xe0]
mov esi, dword [esp + 0xdc]
cmp esi, edi
je 0x44f0aa
mov edx, dword [esi]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esi, 4
cmp esi, edi
jne 0x44f091
mov esi, dword [esp + 0xdc]
mov byte [esp + 0xc], 1
cmp esi, edi
je 0x44f0e3
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x10], 0
je 0x44f0d5
mov byte [esp + 0xc], 0
add esi, 4
cmp esi, edi
jne 0x44f0b3
mov esi, dword [esp + 0xdc]
mov byte [esp + 0x2f8], 9
test esi, esi
je 0x44f0f8
push esi
call fcn.004532eb
add esp, 4
cmp dword [esp + 0x124], 0
je 0x44f276
cmp byte [esp + 0xc], 0
je 0x44f276
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0xdc]
push eax
call edx
mov byte [esp + 0x2f8], 0xb
cmp dword [esp + 0xec], 0
je 0x44f262
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [esp + 0xf8]
push edx
call eax
mov esi, eax
push str.MD5_of__
lea eax, [esp + 0x1e4]
mov byte [esp + 0x2fc], 0xc
call fcn.004025ce
mov edi, eax
push 0
lea eax, [ebx + 0x14]
push eax
or eax, 0xffffffff
mov byte [esp + 0x300], 0xd
call fcn.004030d3
push 0x482f38
push eax
call fcn.0040260d
push 0
lea ecx, [esp + 0x118]
mov edi, eax
push ecx
or eax, 0xffffffff
call fcn.004030d3
push str.__MD5_of_downloaded_file__
push eax
call fcn.0040260d
push 0
mov edi, eax
push esi
or eax, 0xffffffff
call fcn.004030d3
push 0x482f38
push eax
call fcn.0040260d
push 0
lea edx, [esp + 0xe0]
mov edi, eax
push edx
or eax, 0xffffffff
call fcn.004030d3
call fcn.00402639
mov ecx, dword [ebx + 0x3c]
push eax
push str.INFO
call fcn.00417c10
lea ecx, [esp + 0x1e0]
call fcn.004025ff
lea ecx, [esp + 0xf8]
call fcn.004025ff
lea eax, [esp + 0xdc]
call fcn.00404ff2
mov edi, eax
lea eax, [esp + 0xdc]
call fcn.0040331c
mov esi, dword [esp + 0x124]
mov dword [esp + 0x14], eax
mov eax, esi
cmp esi, edi
jb 0x44f22e
mov eax, edi
push eax
lea eax, [esp + 0x118]
call fcn.0040331c
mov ecx, dword [esp + 0x18]
call fcn.00404307
add esp, 4
test eax, eax
jne 0x44f25d
cmp esi, edi
jb 0x44f25d
cmp esi, edi
setne al
mov byte [esp + 0xc], 1
test eax, eax
je 0x44f262
mov byte [esp + 0xc], 0
lea ecx, [esp + 0xdc]
mov byte [esp + 0x2f8], 9
call fcn.004025ff
lea eax, [esp + 0x34]
push eax
call fcn.0040263e
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x2f8], 0xe
mov edi, dword [ecx]
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0xf8]
push eax
mov ecx, edi
call edx
mov esi, eax
mov byte [esp + 0x2f8], 0xf
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov edi, dword [esp + 0x28]
push eax
push ecx
push 0x482f38
push ecx
push esi
push ecx
push str.__length_of_downloaded_file__
push ecx
push edi
push ecx
push 0x482f38
push ecx
lea eax, [ebx + 0x14]
push eax
push ecx
lea eax, [esp + 0x7c]
push str.length_of__
push eax
call fcn.00403d98
add esp, 0xc
push eax
call fcn.0040bd40
add esp, 0xc
push eax
call fcn.00403d98
add esp, 0xc
push eax
call fcn.004093d0
add esp, 4
push eax
call fcn.00403d98
add esp, 0xc
push eax
call fcn.0040bd40
add esp, 0xc
push eax
call fcn.00403d98
add esp, 0xc
push eax
call fcn.004093d0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x2f8], 0xe
call fcn.004025ff
lea ecx, [esp + 0xf8]
push ecx
lea eax, [esp + 0x38]
call fcn.004026d1
mov byte [esp + 0x2f8], 0x10
call fcn.00402639
mov ecx, dword [ebx + 0x3c]
push eax
push str.INFO
call fcn.00417c10
lea ecx, [esp + 0xf8]
mov byte [esp + 0x2f8], 0xe
call fcn.004025ff
cmp byte [esp + 0xc], 0
je 0x44f399
cmp edi, 0xffffffff
je 0x44f392
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
cmp eax, edi
jne 0x44f399
mov byte [esp + 0xc], 1
jmp 0x44f39e
mov byte [esp + 0xc], 0
lea eax, [esp + 0x34]
mov byte [esp + 0x2f8], 9
call fcn.00402210
lea ecx, [esp + 0x2cc]
call fcn.004025ff
lea ecx, [esp + 0x114]
call fcn.004025ff
lea ecx, [esp + 0x130]
call fcn.004025ff
mov byte [esp + 0x2f8], 0
mov eax, dword [esp + 0x16c]
test eax, eax
je 0x44f3ed
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x1bc]
call fcn.004025ff
lea ecx, [esp + 0x19c]
call fcn.004025ff
lea ecx, [esp + 0x17c]
call fcn.004025ff
lea ecx, [esp + 0x14c]
call fcn.004025ff
jmp 0x44f49a
lea eax, [esp + 0xfc]
push str.Cant_open_connection_to
push eax
call fcn.0040c240
add esp, 0xc
mov byte [esp + 0x2f8], 0x11
call fcn.00402639
mov ecx, dword [ebx + 0x3c]
push eax
push str.INFO
call fcn.00417c10
lea ecx, [esp + 0xf8]
mov byte [esp + 0x2f8], 0
call fcn.004025ff
cmp dword [ebx + 0xa4], 0
je 0x44f49a
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x48], esp
push str.Cant_open_connection
call fcn.004025ce
mov eax, dword [ebx + 0xb4]
mov ecx, dword [ebx + 0xa4]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
mov eax, dword [ebx + 0xb0]
push eax
call edx
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx]
mov edx, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
push edx
call eax
cmp byte [esp + 0xc], 0
mov esi, str.SUCCESS
jne 0x44f4ba
mov esi, str.FAILED
push str.Download__
lea eax, [esp + 0xfc]
call fcn.004025ce
mov edi, eax
push 0
lea eax, [ebx + 0x14]
push eax
or eax, 0xffffffff
mov byte [esp + 0x300], 0x12
call fcn.004030d3
push esi
push str.__is
push eax
call fcn.0040260d
push eax
call fcn.0040260d
call fcn.00402639
mov ecx, dword [ebx + 0x3c]
push eax
push str.INFO
call fcn.00417c10
lea ecx, [esp + 0xf8]
call fcn.004025ff
lea ecx, [esp + 0x2b0]
call fcn.004025ff
mov eax, dword [esp + 0x224]
test eax, eax
je 0x44f532
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x274]
call fcn.004025ff
lea ecx, [esp + 0x254]
call fcn.004025ff
lea ecx, [esp + 0x234]
call fcn.004025ff
lea ecx, [esp + 0x204]
call fcn.004025ff
mov al, byte [esp + 0xc]
mov ecx, dword [esp + 0x2f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2dc]
xor ecx, esp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret