joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425fd9
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
push ebx
xor eax, eax
mov ebx, 0x80004005
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.00443b90
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
xor eax, eax
push eax
push eax
push 0x10
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4260ce
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edi, [ebp - 0x208]
sub edi, 2
xor ecx, ecx
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x42603e
push esi
mov esi, str..url
mov byte [ebp - 0x608], cl
push 0x3ff
push ecx
lea eax, [ebp - 0x607]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00443b90
push dword [ebp + 0x14]
lea eax, [ebp - 0x608]
push dword [ebp + 0xc]
push str._InternetShortcut__r_nURL_S_r_nIconFile_S_r_nIconIndex0_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
mov edi, eax
xor eax, eax
push eax
push eax
push 2
push eax
push eax
push 0xc0000000
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4260cc
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push 0
push eax
push edi
lea eax, [ebp - 0x608]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x426c06
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x64
mov edi, ecx
call fcn.00426bb8
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x426c2d
mov eax, dword [edi + 8]
mov ecx, edi
add eax, 0x64
push eax
call fcn.00426bb8
mov eax, dword [edi + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [edi]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov ebx, eax
cmp ebx, 0xea
je 0x426c1f
test ebx, ebx
jne 0x426c89
mov eax, dword [ebp - 8]
test eax, eax
je 0x426c73
cmp eax, 2
jbe 0x426c66
cmp eax, 7
jne 0x426c73
mov esi, dword [ebp - 4]
test esi, esi
je 0x426c76
dec esi
mov dword [ebp - 4], esi
jmp 0x426c76
mov esi, dword [ebp - 4]
push esi
mov ecx, edi
call fcn.00426bb8
mov eax, dword [edi]
mov dword [edi + 4], esi
mov byte [esi + eax], 0
jmp 0x426c9b
push 0
mov ecx, edi
call fcn.00426bb8
mov eax, dword [edi]
and dword [edi + 4], 0
mov byte [eax], 0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x427152
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x474753
call fcn.00473d84
sub esp, 0x38
push ebx
push esi
push edi
mov esi, ecx
call fcn.00427120
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x44]
push 0xffffffffffffffff
call fcn.004272ef
push eax
lea ecx, [esi + 0xc]
call fcn.00426ca6
mov ebx, dword [ebp - 0x30]
xor ecx, ecx
push 0x30
pop edx
mov eax, ebx
mov dword [esi + 8], ebx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0043d630
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x4271d4
push fcn.00426fed
push 0x426f8e
push ebx
lea edi, [eax + 4]
mov dword [eax], ebx
push 0x30
push edi
call fcn.00441aeb
jmp 0x4271d6
xor edi, edi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi + 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esi + 0x18], eax
test eax, eax
jne 0x42725b
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x427252
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0xa
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.004416d4
add esp, 0xc
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esi + 0x18], eax
test eax, eax
jne 0x427249
mov ecx, dword [esi + 4]
push dword [ebp - 0x10]
add ecx, ebx
call fcn.00427016
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
add ebx, 0x30
cmp edi, dword [esi + 8]
jb 0x427208
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 0x18], 0
je 0x427268
mov ecx, esi
call fcn.00427120
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4273f3
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebx + 4]
call fcn.00426b8e
lea ecx, [ebx + 0x10]
call fcn.00426b8e
lea ecx, [ebx + 0x1c]
call fcn.00426b8e
push 0xffffffffffffffff
push dword [ebp + 8]
xor edi, edi
lea ecx, [ebx + 4]
mov dword [ebx + 0x48], edi
call fcn.00426ca6
lea eax, [ebx + 0x40]
push eax
lea eax, [ebx + 0x38]
push eax
lea eax, [ebx + 0x30]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x4274e3
mov esi, 0x104
lea eax, [ebp - 0x220]
push esi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebx + 0x28]
push eax
push esi
lea eax, [ebp - 0x118]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x4274e3
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebx + 0x10]
call fcn.00426ca6
push 0xffffffffffffffff
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebx + 0x1c]
call fcn.00426ca6
push esi
lea eax, [ebp - 0x328]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
push edi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.00441b4d
push edi
push edi
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00441b4d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0044185c
add esp, 0x30
test eax, eax
jne 0x4274eb
or dword [ebx + 0x48], 1
jmp 0x4274eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x427575
Capabilities:
Get disk information

Disassembly:
mov eax, 0x47489f
call fcn.00473d84
sub esp, 0x18
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 0xc], ebx
call fcn.0042754a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x4276bb
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00426bb8
mov eax, dword [ebp - 0x24]
push eax
push edi
mov dword [ebp - 0x20], edi
mov byte [eax + edi], bl
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x4276b1
cmp dword [ebp - 0x10], ebx
mov edi, 0x48086e
cmovne edi, dword [ebp - 0x24]
jmp 0x4275ff
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x4275ee
inc dword [esi + 8]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4275f3
sub ecx, edx
inc edi
add edi, ecx
cmp byte [edi], 0
jne 0x4275df
mov edi, dword [esi + 8]
test edi, edi
je 0x4276b1
xor ecx, ecx
mov eax, edi
push 0x50
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0043d630
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x42765d
push fcn.0042773f
push 0x427722
push edi
mov dword [eax], edi
add eax, 4
push 0x50
push eax
mov dword [ebp - 0x14], eax
call fcn.00441aeb
mov eax, dword [ebp - 0x14]
jmp 0x42765f
mov eax, ebx
mov byte [ebp - 4], bl
mov edi, 0x48086e
cmp dword [ebp - 0x10], 0
mov dword [esi + 4], eax
cmovne edi, dword [ebp - 0x24]
cmp byte [edi], 0
je 0x4276b1
mov dword [ebp - 0x10], ebx
cmp ebx, dword [esi + 8]
jae 0x4276b1
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x42769c
mov ecx, dword [ebp - 0x10]
add ecx, dword [esi + 4]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
add dword [ebp - 0x10], 0x50
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4276a1
sub ecx, edx
inc edi
add edi, ecx
cmp byte [edi], al
jne 0x42767a
lea ecx, [ebp - 0x24]
call fcn.00426b8e
jmp 0x4276c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42c2b2
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov bl, 1
push edi
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x42c450
mov edx, 0x10000000
cmp eax, 0x7c
je 0x42c450
cmp eax, 0x29
jne 0x42c2ed
cmp dword [esi + 0x10], 0
jne 0x42c450
test dword [esi + 0x50], edx
je 0x42c456
cmp eax, 0x2e
jne 0x42c308
push 5
lea ecx, [esi + 0x24]
call fcn.0042c551
mov ecx, esi
call fcn.0042c289
jmp 0x42c438
cmp eax, 0x5c
jne 0x42c363
mov ecx, esi
call fcn.0042c289
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x42c33a
cmp byte [esi + 0x48], 0x62
jne 0x42c33a
push 4
lea ecx, [esi + 0x24]
call fcn.0042c551
mov ecx, esi
call fcn.0042c289
jmp 0x42c43f
test eax, eax
je 0x42c357
cmp byte [esi + 0x48], 0x42
jne 0x42c357
push 4
lea ecx, [esi + 0x24]
call fcn.0042c551
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x42c32e
mov ecx, esi
call fcn.0042cec2
jmp 0x42c438
cmp eax, 0x5b
jne 0x42c3c3
mov ecx, esi
call fcn.0042c289
lea ecx, [esi + 0x24]
call fcn.0042d67f
cmp dword [esi + 0x4c], 0x5e
jne 0x42c38b
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0042c289
test dword [esi + 0x50], 0x20000000
je 0x42c3ab
cmp dword [esi + 0x4c], 0x5d
jne 0x42c3ab
push 0x5d
lea ecx, [esi + 0x24]
call fcn.0042d6c9
mov ecx, esi
call fcn.0042c289
mov ecx, esi
call fcn.0042d459
cmp dword [esi + 0x4c], 0x5d
je 0x42c2fc
push 4
jmp 0x42c458
cmp eax, 0x28
jne 0x42c3e0
mov ecx, esi
call fcn.0042c289
mov ecx, esi
call fcn.0042cf9e
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x42c42d
jmp 0x42c456
cmp eax, 0x5e
jne 0x42c3ec
push 2
jmp 0x42c326
cmp eax, 0x24
jne 0x42c3f8
push 3
jmp 0x42c326
cmp eax, 0x2a
je 0x42c44c
cmp eax, 0x2b
je 0x42c44c
cmp eax, 0x3f
je 0x42c44c
cmp eax, 0x7b
je 0x42c44c
cmp eax, 0x7d
jne 0x42c416
test dword [esi + 0x50], edx
je 0x42c448
cmp eax, 0x5d
jne 0x42c420
test dword [esi + 0x50], edx
je 0x42c3bc
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0042d112
mov ecx, esi
call fcn.0042c289
test bl, bl
je 0x42c43f
mov ecx, esi
call fcn.0042d04e
mov cl, 1
mov bl, cl
jmp 0x42c2bb
push 6
jmp 0x42c458
push 0xa
jmp 0x42c458
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.0045c826
int3
Function at 0x432877
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47526c
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x58]
cmp dword [ecx + 0x14], 0x10
jb 0x4328a7
mov eax, dword [ecx]
jmp 0x4328a9
mov eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x14], eax
lea eax, [ecx + 0x38]
cmp dword [eax + 0x14], 0x10
jb 0x4328bf
mov eax, dword [eax]
mov dword [esp + 0x18], eax
lea edx, [esp + 0x10]
mov eax, dword [ecx + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x20], eax
lea eax, [ecx + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x24], eax
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x60], eax
lea edi, [esi + 0x20]
mov eax, dword [esi + 0x58]
xor ebx, ebx
add eax, 0x18
cmp edi, eax
je 0x432904
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.004080f2
cmp dword [esi + 0x60], ebx
je 0x432a36
push 0x48086e
lea ecx, [esp + 0x44]
call fcn.004074b1
mov dword [esp + 0x7c], ebx
lea ecx, [esp + 0x28]
mov eax, dword [esi + 0x58]
add eax, 0x38
push eax
call fcn.0040748b
sub esp, 0x18
mov byte [esp + 0x94], 1
mov ecx, esp
push edi
call fcn.0040748b
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
mov byte [esp + 0x94], 2
lea eax, [esp + 0x58]
push dword [esi + 0x54]
mov ecx, dword [esi + 0x60]
lea edx, [esp + 0x28]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00432426
add esp, 0x24
movzx ebx, ax
lea ecx, [esp + 0x58]
mov byte [esp + 0x7c], 1
push 0
push 1
call fcn.00408186
test ebx, 0x8000
jne 0x432a13
cmp dword [esp + 0x3c], 0x10
lea eax, [esp + 0x28]
push dword [esp + 0x38]
cmovae eax, dword [esp + 0x2c]
push eax
push dword [esp + 0x58]
push ecx
lea ecx, [esp + 0x50]
call fcn.0042a1df
test eax, eax
je 0x432a17
mov eax, 0x8302
mov word [esi + 0x48], ax
call fcn.004323c2
mov ecx, dword [eax]
test ecx, ecx
je 0x4329ee
cmp dword [edi + 0x14], 0x10
jb 0x4329da
mov edi, dword [edi]
movzx eax, word [esi + 0x48]
mov edx, dword [ecx]
push edi
push eax
push 0xb3
push 0x486018
call dword [edx]
push dword [esi + 0x60]
call fcn.0043d605
pop ecx
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00408186
push 0
push 1
lea ecx, [esp + 0x48]
call fcn.00408186
jmp 0x432a5c
mov word [esi + 0x48], bx
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00408186
or dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0x40]
push 0
push 1
call fcn.00408186
movzx eax, word [esi + 0x48]
mov ecx, 0x8004
cmp ax, cx
jne 0x432a48
mov byte [esi + 4], 1
mov ecx, dword [esi + 0x5c]
shr eax, 0xf
and al, 1
movzx eax, al
mov edx, dword [ecx]
push eax
push dword [esi + 0x60]
call dword [edx + 8]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434353
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x475430
call fcn.00473d84
sub esp, 0xd4
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x3c], 0x4861fc
xor ebx, ebx
mov dword [ebp - 0x38], vtable.DataBuffer.0
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x2c], ebx
push 0x48095c
push eax
mov dword [ebp - 0x20], edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
push 0xffffffffffffffff
push 0x43415a
push 0x434180
push 0x43416d
push 0x434140
push 0x43419b
push 0x43413b
push 0x434132
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.004010a8
push dword [esi + 4]
mov ebx, eax
lea eax, [ebp - 0x5c]
push 0
push 0x4341df
push 0
push 0x48086e
push eax
push ebx
call fcn.00402137
mov esi, eax
add esp, 0x4c
test esi, esi
jne 0x43443c
push 0x7f
push eax
mov byte [ebp - 0xdc], al
lea eax, [ebp - 0xdb]
push eax
call fcn.00443b90
mov ecx, dword [ebp - 0x1c]
call fcn.004342c7
push eax
push ecx
lea eax, [ebp - 0xdc]
push str.FDICopy_failed_with_error_code__d:__s_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call fcn.00401bf1
pop ecx
xor ecx, ecx
mov dword [ebp - 0x3c], 0x4861fc
test esi, esi
mov eax, 0x8002
cmovne eax, ecx
movzx esi, ax
and dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x28]
push 0
mov edx, dword [ecx]
call dword [edx + 0xc]
lea ecx, [ebp - 0x38]
call fcn.004345d9
mov ecx, dword [ebp - 0xc]
mov ax, si
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434a86
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x4754ee
call fcn.00473d84
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
mov dword [ebp - 4], 6
call fcn.00434dd4
mov al, 1
xchg byte [edi], al
lea eax, [edi + 0x2c]
push eax
call fcn.0045d467
pop ecx
test eax, eax
je 0x434ac1
push eax
call fcn.0045cbad
pop ecx
lea eax, [edi + 0x1c]
push eax
call fcn.0045d467
pop ecx
test eax, eax
je 0x434ad6
push eax
call fcn.0045cbad
pop ecx
xor esi, esi
cmp dword [edi + 4], esi
jbe 0x434b48
mov ebx, dword [edi + 0xc]
cmp dword [ebx + esi*8 + 4], 0
jne 0x434afe
push 1
call fcn.0045cbda
cmp dword [ebx + esi*8 + 4], 0
pop ecx
jne 0x434afe
push 1
call fcn.0045cbda
pop ecx
call fcn.0045d4ed
push edx
push eax
push dword [ebx + esi*8 + 4]
push dword [ebx + esi*8]
call fcn.0045d539
add esp, 0x10
test eax, eax
je 0x434b20
push 5
call fcn.0045cbda
pop ecx
push 0
push dword [ebx + esi*8 + 4]
push dword [ebx + esi*8]
call fcn.0045d549
add esp, 0xc
test eax, eax
je 0x434b3d
push 2
call fcn.0045cbda
pop ecx
and dword [ebx + esi*8 + 4], 0
inc esi
cmp esi, dword [edi + 4]
jb 0x434add
lea esi, [edi + 0x30]
mov ecx, esi
call fcn.00435558
push dword [esi]
call fcn.0043d605
and dword [esi], 0
lea eax, [edi + 0x2c]
pop ecx
push eax
call fcn.0045d478
pop ecx
lea eax, [edi + 0x28]
push eax
call fcn.0045cddd
pop ecx
lea ecx, [edi + 0x20]
call fcn.00430f3e
lea eax, [edi + 0x1c]
push eax
call fcn.0045d478
pop ecx
lea eax, [edi + 0x18]
push eax
call fcn.0045cddd
pop ecx
lea ecx, [edi + 0xc]
call fcn.004352b0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43602f
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
push eax
push eax
push eax
push eax
push str.QDownload_Agent
mov edi, 0x80ff
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x24], eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebx + 4], eax
test eax, eax
jne 0x43608f
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xc000
movzx esi, ax
call fcn.004323c2
mov edx, dword [eax]
test edx, edx
je 0x43608f
lea ecx, [ebx + 0xc]
cmp dword [ecx + 0x14], 0x10
jb 0x436080
mov ecx, dword [ecx]
mov eax, dword [edx]
push ecx
push esi
push 0x4c
push str.download_stream.cpp
mov ecx, edx
call dword [eax]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea eax, [ebp - 4]
push 4
push eax
push 0x1f
push dword [ebx + 4]
mov dword [ebp - 4], 0x3180
call esi
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x32
push eax
push 0x49
push 0
call esi
lea esi, [ebx + 0xc]
cmp dword [esi + 0x14], 0x10
jb 0x4360c9
mov eax, dword [esi]
jmp 0x4360cb
mov eax, esi
xor ecx, ecx
push ecx
push 0x4400300
push ecx
push ecx
push eax
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebx + 8], eax
cmp eax, 0xffffffff
je 0x436129
push ecx
mov ecx, ebx
call fcn.00435fba
mov dword [ebx + 0x28], eax
cmp eax, 0xc8
jb 0x436104
cmp eax, 0x12c
jae 0x436104
xor edi, edi
jmp 0x43617d
mov eax, 0xc000
or ax, word [ebx + 0x28]
movzx edi, ax
call fcn.004323c2
mov ecx, dword [eax]
test ecx, ecx
je 0x43617d
cmp dword [esi + 0x14], 0x10
jb 0x436123
mov esi, dword [esi]
push esi
push edi
push 0x6a
jmp 0x436152
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43615d
or eax, 0xc000
movzx edi, ax
call fcn.004323c2
mov ecx, dword [eax]
test ecx, ecx
je 0x43617d
cmp dword [esi + 0x14], 0x10
jb 0x43614e
mov esi, dword [esi]
push esi
push edi
push 0x73
mov eax, dword [ecx]
push str.download_stream.cpp
call dword [eax]
jmp 0x43617d
call fcn.004323c2
mov ecx, dword [eax]
test ecx, ecx
je 0x43617d
cmp dword [esi + 0x14], 0x10
jb 0x436170
mov esi, dword [esi]
mov edx, dword [ecx]
push esi
push edi
push 0x78
push str.download_stream.cpp
call dword [edx]
mov ax, di
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x436187
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4361e1
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xc000
movzx edi, ax
call fcn.004323c2
mov edx, dword [eax]
test edx, edx
je 0x4361e0
lea ecx, [esi + 0xc]
cmp dword [ecx + 0x14], 0x10
jb 0x4361ce
mov ecx, dword [ecx]
mov eax, dword [edx]
push ecx
push edi
push 0x8a
push str.download_stream.cpp
mov ecx, edx
call dword [eax]
pop edi
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4361eb
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], eax
mov eax, ecx
ret

Function at 0x4362f6
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
xor edi, edi
lea edx, [esi + 0x21]
movzx ecx, byte [edx - 1]
movzx eax, byte [edx]
lea edx, [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [ebp + edi*4 - 0x154], ecx
inc edi
cmp edi, 0x10
jl 0x43630c
push 0x40
lea ecx, [ebp - 0x14c]
pop edx
mov eax, dword [ecx + 0x2c]
xor eax, dword [ecx + 0x18]
xor eax, dword [ecx - 8]
xor eax, dword [ecx]
lea ecx, [ecx + 4]
rol eax, 1
mov dword [ecx + 0x34], eax
dec edx
jne 0x436343
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov edi, dword [esi + 8]
and dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 4]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
mov ecx, ebx
not ecx
rol edx, 5
and ecx, esi
mov eax, edi
and eax, ebx
or ecx, eax
mov eax, dword [ebp - 0x10]
add edx, ecx
mov ecx, dword [ebp - 8]
add ecx, 0x5a827999
mov dword [ebp - 8], esi
mov esi, edi
mov edi, ebx
add edx, dword [ebp + eax*4 - 0x154]
mov ebx, dword [ebp - 0xc]
add edx, ecx
ror edi, 2
inc eax
push 0x14
pop ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
cmp eax, ecx
jl 0x436376
mov dword [ebp - 4], esi
mov eax, esi
xor eax, edi
rol edx, 5
xor eax, ebx
add edx, eax
mov eax, dword [ebp - 8]
add edx, dword [ebp + ecx*4 - 0x154]
add eax, 0x6ed9eba1
add edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 0xc]
ror edi, 2
inc ecx
mov dword [ebp - 0xc], edx
cmp ecx, 0x28
jl 0x4363bf
push 0x28
pop esi
mov ecx, edi
rol edx, 5
or ecx, ebx
add edx, 0x8f1bbcdc
add edx, dword [ebp - 8]
and ecx, eax
mov eax, edi
and eax, ebx
or ecx, eax
mov eax, dword [ebp - 4]
add ecx, dword [ebp + esi*4 - 0x154]
mov dword [ebp - 8], eax
add edx, ecx
mov eax, edi
mov edi, ebx
mov ebx, dword [ebp - 0xc]
ror edi, 2
inc esi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edx
cmp esi, 0x3c
jl 0x4363f8
mov esi, dword [ebp - 0x14]
push 0x3c
pop ecx
xor eax, edi
rol edx, 5
add edx, dword [ebp - 8]
xor eax, ebx
add eax, 0xca62c1d6
add eax, dword [ebp + ecx*4 - 0x154]
add edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 0xc]
ror edi, 2
inc ecx
mov dword [ebp - 0xc], edx
cmp ecx, 0x50
jl 0x43643b
add dword [esi + 0xc], eax
add dword [esi + 8], edi
add dword [esi + 4], ebx
add dword [esi], edx
mov eax, dword [ebp - 8]
add dword [esi + 0x10], eax
and dword [esi + 0x1c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret