joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f711
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
cmp dword [ebp + 0x10], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
jne 0x40f74b
push esi
call fcn.0040edea
test eax, eax
pop ecx
je 0x40f74b
push 0x459a14
jmp 0x40f777
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test esi, esi
je 0x40f770
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0042fb55
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.00402190
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0042d9aa
leave
ret

Function at 0x40f78e
Capabilities:
Create directory

Disassembly:
push 8
mov eax, 0x448a73
call fcn.0042f400
push dword [ebp + 8]
call fcn.0042d994
mov esi, eax
test esi, esi
pop ecx
jne 0x40f7af
inc eax
jmp 0x40f8a2
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041d182
push dword [ebp + 8]
mov ebx, eax
push ebx
call fcn.0042fb7f
lea eax, [ebx + esi*2 - 2]
add esp, 0xc
cmp word [eax], 0x5c
jne 0x40f7e2
and word [eax], 0
push ebx
call fcn.0040f611
mov esi, eax
test esi, esi
pop ecx
jne 0x40f899
push ebx
call fcn.0040ee6d
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
pop ecx
je 0x40f865
cmp esi, ebx
je 0x40f861
cmp word [esi - 2], 0x3a
jne 0x40f861
add esi, 2
push esi
call fcn.0040ee6d
pop ecx
mov esi, eax
jmp 0x40f861
and word [esi], 0
push ebx
lea ecx, [ebp - 0x10]
call fcn.00402190
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.0040f534
pop ecx
push 0
push dword [ebp - 0x10]
call edi
mov word [esi], 0x5c
add esi, 2
push esi
call fcn.0040ee6d
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004012d0
test esi, esi
jne 0x40f81f
push ebx
lea ecx, [ebp - 0x14]
call fcn.00402190
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 1
call fcn.0040f534
pop ecx
push 0
push dword [ebp - 0x14]
call edi
mov ecx, dword [ebp - 0x14]
mov esi, eax
dec esi
neg esi
sbb esi, esi
add ecx, 0xfffffff0
inc esi
call fcn.004012d0
push ebx
call fcn.0041d17d
pop ecx
mov eax, esi
call fcn.0042f49f
ret
Function at 0x40fdb0
Capabilities:
Print debug messages

Disassembly:
push 0x14
mov eax, 0x448c37
call fcn.0042f400
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.004124e9
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
mov byte [ebp - 4], 1
je 0x40fe40
push ebx
push ebx
push 0xf001f
push ebx
push dword [0x46b420]
lea ecx, [ebp - 0x18]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00412856
cmp eax, ebx
jne 0x40fe09
lea eax, [ebp + 8]
push eax
push str.Home
lea ecx, [ebp - 0x18]
call fcn.004126b2
cmp eax, ebx
je 0x40fe40
push eax
lea ecx, [ebp - 0x20]
call fcn.004129d3
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00412a80
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012d0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004129e5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0041268b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004012d0
call fcn.0042f49f
ret

Function at 0x40ffe6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 8
mov eax, 0x448d0e
call fcn.0042f400
push 0x409
push dword [ebp + 0xc]
push 6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov esi, eax
test esi, esi
jne 0x410012
xor al, al
jmp 0x41009e
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
call fcn.00420017
push eax
lea ecx, [ebp - 0x10]
call fcn.00402160
and dword [ebp - 4], 0
mov esi, edi
shr esi, 1
push esi
lea ecx, [ebp - 0x10]
call fcn.00401e60
push edi
push ebx
push eax
call fcn.0042fc80
and dword [ebp - 4], 0
add esp, 0xc
push esi
lea ecx, [ebp - 0x10]
call fcn.00404042
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040f2f6
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.00401fa0
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012d0
mov al, 1
call fcn.0042f49f
ret
Function at 0x41091c
Capabilities:
Print debug messages

Disassembly:
push 0x28
mov eax, 0x448f5a
call fcn.0042f433
mov dword [ebp - 0x18], ecx
push 0x348
mov dword [ebp - 4], 2
call fcn.0041d152
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
mov byte [ebp - 4], 3
je 0x410962
push dword [0x46b2cc]
push dword [ebp - 0x18]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.004107c0
mov esi, eax
jmp 0x410964
xor esi, esi
push 5
mov ecx, esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], esi
call fcn.00418ecc
push 1
mov ecx, esi
call fcn.00418775
push 0x410807
mov ecx, esi
call fcn.0041878f
push dword [ebp + 8]
mov ecx, esi
call fcn.00418e6e
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], 0
je 0x410a24
push 0x4505b8
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.00417433
mov byte [ebp - 4], 4
call fcn.00420017
push eax
lea ecx, [ebp - 0x14]
call fcn.00402160
mov byte [ebp - 4], 5
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.004173a2
test eax, eax
je 0x410a0d
push 0x450b20
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0041bcfc
mov dword [ebp - 4], 5
jmp 0x4109c7
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004012d0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0041729c
push 0
call fcn.00430a62
pop ecx
mov ecx, esi
call fcn.0041c9d7
jmp 0x410a52
mov eax, dword [ebp - 0x18]
cmp byte [eax + 4], 0
je 0x410a47
mov ecx, esi
call fcn.00419ec8
jmp 0x410a52
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00418782
test al, al
jne 0x410a35
mov ecx, esi
xor bl, bl
call fcn.0041879c
test eax, eax
jne 0x410a6c
inc bl
test esi, esi
je 0x410a78
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004012d0
mov al, bl
call fcn.0042f49f
ret 0xc
Function at 0x411e69
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
lea eax, [esi + 8]
push eax
mov al, byte [esp + 0x10]
xor ebx, ebx
neg al
mov byte [esi + 4], bl
sbb eax, eax
and eax, 4
push eax
push esi
push 0x411e40
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0xc], eax
je 0x411ea7
cmp dword [esp + 0x10], ebx
je 0x411ea7
push dword [esp + 0x10]
mov ecx, esi
call fcn.00411db9
xor eax, eax
cmp dword [esi + 0xc], ebx
pop esi
setne al
pop ebx
ret 8

Function at 0x412533
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x4126d5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
call fcn.004020c0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
mov dword [ebp - 8], 1
push dword [edi + 4]
call esi
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x412753
mov eax, dword [ebp - 4]
test eax, eax
jbe 0x412753
mov ecx, dword [ebp + 0xc]
shr eax, 1
push eax
mov dword [ebp - 0x10], eax
call fcn.0040598e
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [edi + 4]
call esi
cmp dword [ebp - 8], 2
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
jne 0x41274c
push dword [ebp - 0x10]
jmp 0x41274e
push 0xffffffffffffffff
call fcn.00404042
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret 8
Function at 0x413a65
Capabilities:
Reference sql statements

Disassembly:
push 0x28
mov eax, 0x4499f4
call fcn.0042f400
lea ecx, [ebp - 0x1c]
call fcn.00417b8f
xor esi, esi
push str.SELECT_Value_FROM_Property_WHERE_PropertyProductVersion
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00402540
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00417c44
mov ecx, dword [ebp - 0x10]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
mov byte [ebp - 4], 0
call fcn.004012d0
test bl, bl
je 0x413acd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00417c13
xor eax, eax
call fcn.0042f49f
ret
push esi
lea ecx, [ebp - 0x34]
call fcn.00417a8f
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00417bc8
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x34]
inc bl
mov byte [ebp - 4], 0
call fcn.00417aa9
test bl, bl
jne 0x413ab9
lea ecx, [ebp - 0x28]
call fcn.00417a7d
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00417be1
test eax, eax
jne 0x413b36
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00417aa9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00417c13
mov eax, esi
jmp 0x413ac7
xor esi, esi
inc esi
push esi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.00417b52
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 4
call fcn.00401fa0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012d0
jmp 0x413b1a
Function at 0x413f63
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
xor esi, esi
push esi
push 0xf003f
push esi
push esi
push esi
push dword [0x4685ec]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x413fb2
push 4
lea eax, [ebp + 8]
push eax
push 4
push esi
call fcn.00413efc
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret

Function at 0x413fb5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 0x14]
push eax
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [0x4685ec]
mov dword [ebp - 8], esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x414015
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00413efc
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop esi
leave
ret
Function at 0x416dd7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, 5
jne 0x416e25
push eax
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x10]
push 0x20
push eax
call fcn.0043018f
test eax, eax
pop ecx
pop ecx
jne 0x416e25
inc eax
jmp 0x416e52
push 0x30
push dword [0x46b450]
mov ecx, esi
push str.Invalid_key_entry._n_nOne_or_more_key_boxes_contain_invalid_data._nPlease_recheck_you_entries_and_try_again.
call fcn.004240d9
push edi
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push 0
push 0xb1
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042d9aa
leave
ret 4

Function at 0x416e62
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xd8
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov edi, ecx
push 0x3f3
push dword [edi + 0x20]
call esi
push 0x3f5
push dword [edi + 0x20]
mov ebx, eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push ebx
mov dword [ebp - 0x60], eax
call esi
test eax, eax
je 0x416ee4
push dword [ebp - 0x60]
call esi
test eax, eax
jne 0x416eb6
mov ebx, dword [ebp - 0x60]
jmp 0x416ee4
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x65
lea eax, [ebp - 0x5c]
push eax
push ebx
call esi
mov ebx, dword [ebp - 0x60]
push 0x65
lea eax, [ebp + 0xc]
push eax
push ebx
call esi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0042d386
test eax, eax
pop ecx
pop ecx
je 0x416ee8
test ebx, ebx
jne 0x416eed
xor eax, eax
inc eax
jmp 0x416f1a
push 0x30
push dword [0x46b450]
mov ecx, edi
push str.Invalid_e_mail_address._n_nThe_e_mail_addresses_youve_entered_do_not_match._nPlease_verify_your_e_mail_address_is_correct_before_submitting.
call fcn.004240d9
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push 0
push 0xb1
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d9aa
add ebp, 0x78
leave
ret
Function at 0x4187a3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
mov esi, dword [ebp + 0x19c]
push edi
lea eax, [ebp - 0x7c]
push eax
push 1
xor edi, edi
push edi
push 0x452c90
push SysReAllocString
mov dword [ebp - 0x80], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push edi
push edi
push edi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp - 0x70], 0x22
lea eax, [ebp - 0x6e]
je 0x418811
lea eax, [ebp - 0x70]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x74], edi
lea edi, [eax - 3]
test edi, edi
lea ebx, [eax - 4]
jle 0x418857
mov dword [ebp - 0x78], esi
push 4
push str..exe
push dword [ebp - 0x78]
call fcn.0043151a
add esp, 0xc
test eax, eax
je 0x418854
inc dword [ebp - 0x74]
add dword [ebp - 0x78], 2
cmp dword [ebp - 0x74], edi
jl 0x418830
jmp 0x418857
mov ebx, dword [ebp - 0x74]
and word [esi + ebx*2 + 8], 0
push esi
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d9aa
add ebp, 0x194
leave
ret 4
Function at 0x419371
Capabilities:
Check http status code

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xe0
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
push ebx
push esi
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push edi
mov edi, dword [ebp + 0x7c]
push 0
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x6c]
push ecx
lea ebx, [edi + 0x828]
push ebx
push 0x20000013
push eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 4
call esi
test eax, eax
jne 0x4193de
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CDownloader::QueryFileInformation__query_failed_for_a_status_code__WIN_INET_ERROR:__d__braking...
push 0xfffffe6e
push dword [ebp - 0x68]
call fcn.00418f2d
add esp, 0x10
xor al, al
jmp 0x4194fb
mov ebx, dword [ebx]
cmp ebx, 0xc8
je 0x4193fd
cmp ebx, 0xce
je 0x4193fd
push ebx
push str.CDownloader::OnQueryFileInformation__invalid_server_responce__HTTP_status_code:__d__braking...
push 0xfffffe6d
jmp 0x4193cc
push 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2c]
push eax
push 5
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], 0x20
call esi
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x419437
lea eax, [ebp + 0x2c]
push eax
call fcn.0042fbe2
pop ecx
mov dword [edi + 0x810], eax
mov dword [edi + 0x814], edx
jmp 0x41945d
mov ecx, dword [ebp - 0x68]
push 4
call fcn.004189eb
test al, al
je 0x41945d
call ebx
push eax
push str.CDownloader::QueryFileInformation__failed_to_get_content_length_for_request__WIN_INET_ERROR:__d
push 0xfffffe6e
push dword [ebp - 0x68]
call fcn.00418f14
add esp, 0x10
push 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x64]
push eax
push 0x2a
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], 0x48
call esi
test eax, eax
je 0x4194a7
lea eax, [ebp - 0x64]
push str.bytes
push eax
call fcn.0042d549
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [edi + 0x82c], al
jne 0x4194bf
lea eax, [ebp - 0x64]
push eax
push str.CDownloader::QueryFileInformation__the_target_server_resource___s__doesnt_support_ranges
push 0xfffffc19
jmp 0x4194b4
call ebx
push eax
push str.CDownloader::QueryFileInformation__query_failed_for_Accept_Ranges_parameter__WIN_INET_ERROR:__d
push 0xfffffe6e
push dword [ebp - 0x68]
call fcn.00418f14
add esp, 0x10
push 0
lea eax, [ebp - 0x6c]
push eax
add edi, 0x818
push edi
push 0x4000000b
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], 0x10
call esi
test eax, eax
jne 0x4194f9
call ebx
push eax
push str.CDownloader::QueryFileInformation__query_failed_for_Last_Modified_parameter__WIN_INET_ERROR:__d
push 0xfffffe6e
push dword [ebp - 0x68]
call fcn.00418f14
add esp, 0x10
mov al, 1
mov ecx, dword [ebp + 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d9aa
add ebp, 0x70
leave
ret 8
Function at 0x41950f
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x2fc]
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
lea edi, [esi + 0x2e8]
mov ecx, edi
call fcn.00418a5c
test eax, eax
jbe 0x41959d
push dword [ebp - 4]
mov ecx, edi
call fcn.00418aa8
push dword [ebp + 8]
mov esi, dword [eax]
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x419582
cmp byte [ebp + 0xc], 0
je 0x419572
push 0
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x41958e
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8
cmp byte [ebp + 0xc], 0
jne 0x41958e
cmp dword [esi + 0x4c], 0
jl 0x4195a1
inc dword [ebp - 4]
mov ecx, edi
call fcn.00418a5c
cmp dword [ebp - 4], eax
jb 0x41953e
xor bl, bl
jmp 0x4195a3
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
jmp 0x41957b
Function at 0x419995
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x21e]
push esi
push eax
mov dword [ebp - 0x224], ecx
mov word [ebp - 0x220], si
call fcn.0042d110
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x450614
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x419a8d
lea eax, [ebp - 0x220]
push 0x4538c0
push eax
call fcn.0042fb55
xor eax, eax
mov word [ebp - 0x18], si
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
stosd dword es:[edi], eax
pop ecx
stosw word es:[edi], ax
lea eax, [ebp - 0x220]
push eax
push 0xa
lea eax, [ebp - 0x18]
push eax
push 0x4538bc
push str.Use_HTTP
mov edi, str.PROXY
push edi
call esi
test eax, eax
je 0x419a68
lea eax, [ebp - 0x18]
push eax
call fcn.0042fbdd
test eax, eax
pop ecx
je 0x419aa5
lea eax, [ebp - 0x220]
push eax
push 0xfa
push ebx
push 0x459a14
push str.HTTP_Server
push edi
call esi
test eax, eax
je 0x419a6c
mov al, 1
jmp 0x419aa7
lea eax, [ebp - 0x220]
push eax
push str.CDownloader::GetOperaProxySettings__failed_on_reading_Opera_configuration_settings___s__file
push 0xfffffe09
push dword [ebp - 0x224]
call fcn.00418f2d
add esp, 0x10
jmp 0x419aa5
push str.CDownloader::GetOperaProxySettings__failed_Expand_Environment_Strings_USERPROFILE
push 0xfffffe09
push dword [ebp - 0x224]
call fcn.00418f2d
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d9aa
leave
ret 4
Function at 0x419f0a
Capabilities:
Create http request

Disassembly:
push ebp
lea ebp, [esp - 0x384]
sub esp, 0x404
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp + 0x380], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x2f8], ebx
je 0x419f1e
mov al, 1
jmp 0x41a083
push edi
push 0x1fe
lea eax, [ebp + 0x182]
push ebx
push eax
mov word [ebp + 0x180], bx
call fcn.0042d110
add esp, 0xc
lea eax, [ebp + 0x180]
push eax
mov ecx, esi
call fcn.004187a3
lea eax, [ebp + 0x180]
push eax
push str.The_web_browser:__s__detected_as_system_default
push esi
call fcn.00418eff
lea eax, [ebp + 0x180]
push str.FIREFOX
push eax
call fcn.0042d549
mov edi, dword [sym.imp.WININET.dll_InternetOpenW]
add esp, 0x14
test eax, eax
je 0x419f94
lea eax, [ebp + 0x180]
push str.OPERA
push eax
call fcn.0042d549
test eax, eax
pop ecx
pop ecx
jne 0x41a0d0
push 0x1fe
lea eax, [ebp - 0x7e]
push ebx
push eax
mov word [ebp - 0x80], bx
call fcn.0042d110
lea eax, [ebp + 0x180]
push str.FIREFOX
push eax
call fcn.0042d549
add esp, 0x14
test eax, eax
jne 0x419fea
push str.Quering_FireFox_configuration_settings...
push esi
call fcn.00418eff
pop ecx
pop ecx
lea eax, [ebp - 0x80]
push eax
mov ecx, esi
call fcn.004195b0
test al, al
je 0x41a0d0
lea eax, [ebp - 0x80]
push eax
push str.Completed._The_following:__s_proxy_server_has_been_detected.
jmp 0x41a02e
lea eax, [ebp + 0x180]
push str.OPERA
push eax
call fcn.0042d549
test eax, eax
pop ecx
pop ecx
jne 0x41a0d0
push str.Quering_Opera_configuration_settings...
push esi
call fcn.00418eff
pop ecx
pop ecx
lea eax, [ebp - 0x80]
push eax
mov ecx, esi
call fcn.00419995
test al, al
je 0x41a0d0
lea eax, [ebp - 0x80]
push eax
push str.Completed._The_following:__s_proxy_server_detected.
push esi
call fcn.00418eff
add esp, 0xc
cmp dword [esi + 0x338], ebx
jne 0x41a09a
lea eax, [ebp - 0x80]
push eax
call fcn.0042d994
test eax, eax
pop ecx
je 0x41a09a
push str.Creating_session_with_proxy_connection.
push esi
call fcn.00418eff
pop ecx
pop ecx
push ebx
push ebx
lea eax, [ebp - 0x80]
push eax
push 3
push str.STOPzilla_Download_Accelerator
call edi
cmp eax, ebx
mov dword [esi + 0x2f8], eax
je 0x41a09a
push str.Completed.
push esi
call fcn.00418eff
pop ecx
pop ecx
mov al, 1
pop edi
mov ecx, dword [ebp + 0x380]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d9aa
add ebp, 0x384
leave
ret
push str.Creating_session_with_dirrect_connection.
push esi
call fcn.00418eff
pop ecx
pop ecx
push ebx
push ebx
push ebx
push 1
push str.STOPzilla_Download_Accelerator
call edi
cmp eax, ebx
mov dword [esi + 0x2f8], eax
je 0x41a0d0
mov bl, 1
push str.Completed.
push esi
call fcn.00418eff
pop ecx
pop ecx
mov al, bl
jmp 0x41a082
cmp dword [esi + 0x338], ebx
jne 0x41a0fc
push str.Creating_default_session_with_preconfig_from_registery.
push esi
call fcn.00418eff
pop ecx
pop ecx
push ebx
push ebx
push ebx
push ebx
push str.STOPzilla_Download_Accelerator
call edi
cmp eax, ebx
mov dword [esi + 0x2f8], eax
jne 0x41a080
jmp 0x41a0bf
push str.Creating_default_session_with_ignoring_proxy_from_registery.
push esi
call fcn.00418eff
pop ecx
pop ecx
push ebx
push ebx
push ebx
push 1
jmp 0x41a0e9