joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b070
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593808
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x611e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
mov ebx, dword [ebp + 0xc]
lea ecx, [edi + 0x24]
push eax
call fcn.0043b9a0
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004386f0
cmp dword [ebp - 0x2c], 0x10
jb 0x43b0d1
push dword [ebp - 0x40]
call fcn.00556a60
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xa0000000
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [edi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test esi, esi
jne 0x43b0f6
xor ecx, ecx
jmp 0x43b109
mov ecx, esi
lea edx, [ecx + 1]
jmp 0x43b100
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b100
sub ecx, edx
push 0
push ecx
push ecx
push esi
test ebx, ebx
jne 0x43b116
push ebx
push ebx
jmp 0x43b119
push 0xffffffffffffffff
push ebx
push dword [edi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, 1
sete bl
cmp dword [ebp - 0x14], 8
jb 0x43b139
push dword [ebp - 0x28]
call fcn.00556a60
add esp, 4
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 - 0x10]
xor ecx, ebp
call fcn.005571f4
mov esp, ebp
pop ebp
ret 8
Function at 0x43dfc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593bc3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x611e60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0043cac0
mov dword [edi], eax
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0043cac0
mov dword [edi + 8], eax
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.0043cac0
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x2c], 7
mov dword [edi + 0x28], 0
mov word [edi + 0x18], ax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 7
mov word [edi + 0x30], ax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], 7
mov word [edi + 0x48], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x440720
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
mov eax, dword [0x611e60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x20]
xor eax, eax
push esi
push edi
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.00558cf0
add esp, 0xc
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x22c
lea eax, [ebp - 0x2b0]
push 0
push eax
call fcn.00558cf0
add esp, 0xc
mov dword [ebp - 0x2b0], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4407ec
lea eax, [ebp - 0x2b0]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4407ec
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x4407c0
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x28c]
push eax
call edi
test eax, eax
je 0x440812
lea eax, [ebp - 0x2b0]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4407c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
cmp dword [ebp + 0x1c], 8
jb 0x4407ff
push dword [ebp + 8]
call fcn.00556a60
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005571f4
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2a8]
push esi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x84]
push eax
push 0x59e6b8
call fcn.00558a20
add esp, 8
mov bl, 1
jmp 0x4407ee
Function at 0x440c70
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5941bb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x611e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x238], 0
call fcn.00558cf0
add esp, 0xc
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x234]
push eax
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x440cfa
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x440d24
xor ecx, ecx
jmp 0x440d3f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440d30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00422430
push 0x5f2b7c
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.0043d500
add esp, 0xc
cmp dword [ebp - 0x21c], 8
jb 0x440d85
push dword [ebp - 0x230]
call fcn.00556a60
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005571f4
mov esp, ebp
pop ebp
ret

Function at 0x440db0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea ecx, [ebp - 8]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x20]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x440df0
mov ecx, dword [ebp - 8]
mov bl, 1
mov eax, dword [ebp - 4]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [esi], ecx
jmp 0x440df2
xor bl, bl
cmp dword [ebp + 0x1c], 8
jb 0x440e03
push dword [ebp + 8]
call fcn.00556a60
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440e10
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594211
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x611e60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 1
mov word [esi], ax
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push 0
cmovae eax, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0x34
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x440f2a
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00541c5a
add esp, 4
mov edi, eax
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push edi
push ebx
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x440f21
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x440f21
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5f2b7c
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x440f21
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x59e788
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov ecx, esi
push edi
call fcn.004237b0
push edi
call fcn.00556a60
add esp, 4
cmp dword [ebp + 0x20], 8
jb 0x440f3b
push dword [ebp + 0xc]
call fcn.00556a60
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4411c0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x611e60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov word [ebp - 0x18], cx
push 0x59e5a0
push eax
call fcn.00442010
add esp, 0xc
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00422530
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005571f4
mov esp, ebp
pop ebp
ret
Function at 0x441370
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5942db
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x611e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x828]
xor eax, eax
mov dword [ebp - 0x834], 0
push eax
push 0x5f2ad0
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
call fcn.00422430
lea eax, [ebp - 0x82c]
mov dword [ebp - 4], 0
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x82c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x441427
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5f2ad0
mov ecx, esi
call fcn.00422530
jmp 0x4414cc
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.00558cf0
add esp, 0xc
mov dword [ebp - 0x830], 0x800
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push 0x59e73c
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4414b2
cmp word [ebp - 0x810], ax
jne 0x441483
xor ecx, ecx
jmp 0x44149f
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441490
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.00422430
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x828]
mov ecx, esi
push eax
call fcn.00421f60
cmp dword [ebp - 0x814], 8
jb 0x4414e3
push dword [ebp - 0x828]
call fcn.00556a60
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005571f4
mov esp, ebp
pop ebp
ret
Function at 0x441500
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594332
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x611e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x218], 0
push ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov word [eax], cx
mov ecx, eax
push 0x5f2ad0
mov dword [ebp - 4], 0
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x21c], eax
call fcn.00422430
push esi
push 0x100
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push eax
push 0x5f2ad0
push edi
push ebx
mov dword [ebp - 0x218], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x4415e7
cmp word [ebp - 0x210], 0
jne 0x4415bc
xor ecx, ecx
jmp 0x4415d4
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4415c5
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push eax
call fcn.00422430
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005571f4
mov esp, ebp
pop ebp
ret

Function at 0x4416c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push str.Kill
call fcn.00558a20
add esp, 8
call fcn.00558a06
push dword [ebp + 8]
push 0
push 0x42b
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x4416f0
xor al, al
pop ebp
ret
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov al, 1
pop ebp
ret

Function at 0x441700
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 1
push 0
push 0
push dword [ebp + 0xc]
push str.Open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret
Function at 0x441980
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
cmp byte [ebp + 0xc], 0
je 0x4419e1
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00558cf0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], 0x5f2ad0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret
push str.wdc.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.WdcRunTaskAsInteractiveUser
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x39
push 0
push dword [ebp + 8]
call eax
mov esp, ebp
pop ebp
ret

Function at 0x444020
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59472e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x611e60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [edi], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [ebp - 0x10], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00448940
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [edi + 0x20], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00448940
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
mov byte [ebp - 4], 2
je 0x444148
test dl, 0x10
jne 0x444148
mov eax, 1
jmp 0x44414a
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.0044b760
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x44aea0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x44aed1
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x44aec0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x44c780
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594e90
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x611e60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.0054278b
mov esi, dword [ebp + 8]
lea edi, [ebx + 0x10]
xor eax, eax
mov dword [ebx], vtable.._AV___LaunchPad_V___Bind__0A_XV_lambda_3bc57a02792396c7bffc01ea0577bb6f______V_std___std__.0
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
mov dword [edi + 0x10], 0
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], edi
mov word [edi], ax
call fcn.004220c0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.004220c0
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x44dca0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsx eax, byte [eax]
add eax, 0xffffffde
cmp eax, 0x59
ja case.0x44dcba.35
movzx eax, byte [eax + 0x44dd24]
jmp dword [eax*4 + 0x44dd08]
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0044cff0
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0044dc30
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0044cf00
push 0
push dword [ebp + 0xc]
push edx
call fcn.0044d910
pop ebp
ret 8
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0044d650
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0044cd90
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0044d050

Function at 0x44e230
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595048
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x611e60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.004220c0
xor eax, eax
mov dword [esi + 0x2c], 7
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
mov dword [ecx + 0x10], 0
push eax
push dword [ebp + 0xc]
mov word [ecx], ax
call fcn.004220c0
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x30], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44fdb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [eax], 0
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44fdc7
sub esi, edx
sar esi, 1
je 0x44fde1
cmp word [ecx + esi*2 - 2], 0x5c
jne 0x44fde1
dec esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea ecx, [esi*2 + 6]
mov dword [ebp - 4], eax
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
jne 0x44fe07
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea edi, [esi + esi]
push edi
push dword [ebp + 8]
push ebx
call fcn.00557660
add esp, 0xc
mov dword [edi + ebx], 0x2e005c
xor eax, eax
mov word [ebx + esi*2 + 4], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
push 0
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
cmp esi, 0xffffffff
je 0x44fe55
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov dword [eax], 1
mov eax, 1
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 3
pop esi
setne cl
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450310
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push str.HttpDownloadEnd
push 1
push 0x4a3
push 0x59fcd0
push str.CDuiFrameWnd::DownloadSuccess
mov edi, ecx
call fcn.00493e90
push 0xc
mov dword [ebp - 4], 0
call fcn.00556a0f
mov esi, eax
add esp, 0x18
test esi, esi
je 0x45035d
mov byte [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x45035f
xor esi, esi
call fcn.00445c30
mov dword [esi + 4], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x450450
push 0
push 0
mov dword [esi + 8], 1
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [edi + 0x6c8], 2
je 0x4503d0
push str.switch
lea ecx, [edi + 0x2c]
mov dword [edi + 0x6c8], 2
call fcn.00458ea6
test eax, eax
je 0x4503d0
push str.UpdateWindowSate:kWindow_Installing
push 1
push 0x2a9
push 0x59fcd0
push str.CDuiFrameWnd::UpdateWindowSate
call fcn.00493e90
add esp, 0x14
mov ecx, edi
call fcn.00453c60
push dword [edi + 0x748]
mov ecx, edi
call fcn.004545c0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x450920
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x611e60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 0x24], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
mov dword [ebp - 0x30], 0
push 4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28], ebx
push eax
push 0x58
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x450981
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005571f4
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x45096e
cmp dword [esi + 0x14], 8
jb 0x45098d
mov esi, dword [esi]
push 0
push 0x50
push esi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x45096e
cmp dword [edi + 0x14], 8
jb 0x4509a8
mov edi, dword [edi]
push 0
push 0
push 0
push 0
push edi
push 0x5f2b68
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
test ebx, ebx
je 0x45096e
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x45096e
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x450ad3
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea eax, [ebp - 0x20]
push 0
push eax
push 0
push 0
push 0x13
push ebx
mov dword [ebp - 0x20], 0
call esi
mov eax, dword [ebp - 0x20]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00541c5a
mov ecx, dword [ebp - 0x20]
mov edi, eax
inc ecx
push ecx
push 0
push edi
call fcn.00558cf0
add esp, 0x10
lea eax, [ebp - 0x20]
push 0
push eax
push edi
push 0
push 0x13
push ebx
call esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
push edi
mov esi, eax
call fcn.00558911
add esp, 4
cmp esi, 0x12e
jne 0x45096e
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea eax, [ebp - 0x20]
push 0
push eax
push 0
push 0
push 0x21
push ebx
call edi
mov eax, dword [ebp - 0x20]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00541c5a
mov ecx, dword [ebp - 0x20]
mov esi, eax
inc ecx
push ecx
push 0
push esi
call fcn.00558cf0
add esp, 0x10
lea eax, [ebp - 0x20]
push 0
push eax
push esi
push 0
push 0x21
push ebx
call edi
push esi
lea ecx, [ebp - 0x1c]
call fcn.00422530
mov ecx, dword [ebp - 0x24]
push eax
call fcn.00423770
lea ecx, [ebp - 0x1c]
call fcn.00422630
push esi
call fcn.00558911
add esp, 4
jmp 0x450af8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_has_occurred._n
push 1
push 0xe3
push 0x59fcd0
push str.GetRedirectUrl
call fcn.00493e90
add esp, 0x18
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebx
call esi
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005571f4
mov esp, ebp
pop ebp
ret