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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00573610
add esp, 0xc
mov dword [ebp - 4], edi
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x1c
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x548733
xor eax, eax
jmp 0x54878b
push esi
push str.TencentQQBrowserUser_DataDefault_
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00591d35
push 1
push 2
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push str.preferences
push eax
call fcn.00548549
push edi
mov esi, eax
lea eax, [ebp - 4]
push 2
push eax
lea eax, [ebp - 0x20c]
push str.bookmarks
push eax
call fcn.00548549
sub esi, 2
add esp, 0x34
add eax, esi
neg eax
sbb eax, eax
inc eax
pop esi
pop edi
leave
ret

Function at 0x548a27
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x548a3c
xor eax, eax
jmp 0x548b80
push ebx
push esi
push edi
lea ecx, [ebp - 0x24]
call fcn.00408fc4
mov esi, 0x613fcc
push esi
call fcn.0057e469
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.0040993b
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x548b74
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
test eax, eax
je 0x548a9d
inc eax
push eax
mov dword [ebp + 8], eax
call fcn.00591cad
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x548aa9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x548b74
push dword [ebp + 8]
push esi
push ebx
call fcn.00573610
add esp, 0xc
mov dword [ebp - 4], esi
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x548ad6
push ebx
call fcn.0057e74c
pop ecx
jmp 0x548a9d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00440ee4
push ebx
call fcn.0057e74c
cmp byte [ebp + 0xc], 0
pop ecx
je 0x548afd
lea eax, [ebp - 0x3c]
push eax
call fcn.00547c44
pop ecx
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
push esi
cmovae eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00457108
mov ecx, eax
call fcn.00457082
test al, al
je 0x548b6c
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
push esi
cmovae eax, dword [ebp - 0x24]
push esi
push 2
push esi
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x548b6c
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0xc]
push esi
push eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
inc eax
push eax
push ecx
push edi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x3c]
call fcn.00403e22
lea ecx, [ebp - 0x24]
call fcn.00403d40
mov eax, esi
pop esi
pop ebx
pop edi
leave
ret
Function at 0x548e04
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push edi
mov edi, ecx
call fcn.00549033
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x548f16
cmp dword [ebp + 0xc], 0xffffffff
jne 0x548e39
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x548e2e
mov eax, dword [eax]
push eax
call ecx
pop ecx
xor eax, eax
jmp 0x548f23
push ebx
push esi
push 0x1c
call fcn.00415d9b
mov ebx, eax
xor esi, esi
pop ecx
test ebx, ebx
je 0x548e5a
mov dword [ebx + 4], esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], 7
jmp 0x548e5c
mov ebx, esi
push dword [ebp + 8]
mov eax, dword [edi + 0x5c]
mov dword [ebx], eax
lea eax, [edi + 0x18]
push 0x61b560
push eax
lea eax, [ebp - 0x48]
push 0x6122dc
push eax
call fcn.00454afe
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00454b4c
add esp, 0xc
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004b9fac
add esp, 0xc
lea ecx, [ebx + 4]
push eax
call fcn.00446d47
lea ecx, [ebp - 0x18]
call fcn.00403d40
lea ecx, [ebp - 0x30]
call fcn.00403d40
lea ecx, [ebp - 0x48]
call fcn.00403d40
push esi
push esi
push ebx
push 0x548f66
push esi
push esi
call fcn.00595261
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x548f10
cmp ebx, 0xffffffff
je 0x548f10
cmp dword [ebp + 0xc], 0
je 0x548f05
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x548f0d
cmp eax, 0x102
je 0x548efb
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x548f10
push ebx
mov ecx, edi
call fcn.00548dda
jmp 0x548f10
push ebx
mov ecx, edi
call fcn.00548dda
xor esi, esi
inc esi
mov eax, esi
pop esi
pop ebx
jmp 0x548f23
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.00548f28
pop edi
leave
ret 8

Function at 0x5490e2
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x44]
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x38]
mov ebx, dword [edi + 0x34]
cmp ebx, eax
je 0x549126
mov esi, eax
mov edi, dword [ebx]
push 0x1d4c0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
add ebx, 4
cmp ebx, esi
jne 0x549105
mov esi, dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x54a63a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa78
push esi
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x54a651
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x54a84c
push ebx
push edi
lea eax, [ebp + 8]
xor edi, edi
push eax
push 0x5e9504
inc edi
xor ebx, ebx
push edi
push ebx
push 0x5ee0ac
mov dword [ebp + 8], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [ebp + 8]
js 0x54a83c
test eax, eax
je 0x54a83c
lea edx, [ebp - 4]
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
push edx
push 0x612334
push eax
call dword [ecx]
mov ecx, dword [ebp - 4]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x54a82b
cmp dword [esi + 0x14], 8
jb 0x54a6c1
mov esi, dword [esi]
mov eax, dword [ecx]
push 2
push esi
push ecx
call dword [eax + 0x14]
test eax, eax
js 0x54a828
mov esi, 0x208
lea eax, [ebp - 0x210]
push esi
push ebx
push eax
call fcn.00573610
push 0x250
lea eax, [ebp - 0xa78]
push ebx
push eax
call fcn.00573610
mov eax, dword [ebp + 8]
lea edx, [ebp - 0xa78]
add esp, 0x18
mov ecx, dword [eax]
push 6
push edx
push 0x104
lea edx, [ebp - 0x210]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x54a828
push esi
lea eax, [ebp - 0x418]
push ebx
push eax
call fcn.00573610
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x418]
add esp, 0xc
mov ecx, dword [eax]
push 0x104
push edx
push eax
call dword [ecx + 0x28]
test eax, eax
js 0x54a828
push esi
lea eax, [ebp - 0x620]
push ebx
push eax
call fcn.00573610
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x620]
add esp, 0xc
mov ecx, dword [eax]
push 0x104
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
js 0x54a828
push esi
lea eax, [ebp - 0x828]
push ebx
push eax
call fcn.00573610
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
add esp, 0xc
mov dword [ebp - 8], ebx
mov ecx, dword [eax]
push edx
push 0x104
lea edx, [ebp - 0x828]
push edx
push eax
call dword [ecx + 0x40]
test eax, eax
js 0x54a828
lea eax, [ebp - 0x210]
push eax
call fcn.0057e469
mov esi, dword [ebp + 0xc]
pop ecx
push eax
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00407cc7
lea eax, [ebp - 0x418]
push eax
call fcn.0057e469
pop ecx
push eax
lea eax, [ebp - 0x418]
push eax
lea ecx, [esi + 0x18]
call fcn.00407cc7
lea eax, [ebp - 0x620]
push eax
call fcn.0057e469
pop ecx
push eax
lea eax, [ebp - 0x620]
push eax
lea ecx, [esi + 0x30]
call fcn.00407cc7
lea eax, [ebp - 0x828]
push eax
call fcn.0057e469
pop ecx
push eax
lea eax, [ebp - 0x828]
push eax
lea ecx, [esi + 0x48]
call fcn.00407cc7
mov ecx, dword [ebp - 4]
jmp 0x54a82d
mov ecx, dword [ebp - 4]
mov edi, ebx
test ecx, ecx
je 0x54a837
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 8]
jmp 0x54a83e
mov edi, ebx
test eax, eax
je 0x54a848
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret
Function at 0x54ad0e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.0054a58b
cmp dword [ebp - 8], 0
je 0x54ad3f
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x54ad3f
xor esi, esi
inc esi
jmp 0x54ad41
xor esi, esi
lea ecx, [ebp - 0x18]
call fcn.00403d40
mov eax, esi
pop esi
leave
ret
Function at 0x54b2c8
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
xor eax, eax
inc ebx
mov dword [ebp - 8], eax
cmp dword [edi + 0x34], eax
je 0x54b30c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], ebx
push eax
lea ecx, [edi + 0x3c]
call fcn.0054a58b
cmp dword [eax + 0x10], 0
je 0x54b309
cmp dword [edi + 0x80], 0
mov eax, ebx
je 0x54b30c
mov byte [ebp - 1], 0
jmp 0x54b30f
mov eax, dword [ebp - 8]
mov byte [ebp - 1], bl
test al, 1
je 0x54b31b
lea ecx, [ebp - 0x20]
call fcn.00403d40
cmp byte [ebp - 1], 0
jne 0x54b415
lea esi, [edi + 0x24]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x54b332
mov eax, dword [esi]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push 0x208
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.00573610
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x54b357
mov esi, dword [esi]
xor ecx, ecx
lea eax, [ebp - 0x260]
push ecx
push ecx
push 0x104
push eax
push esi
push ecx
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x54b415
push 0
lea ecx, [ebp - 0x58]
call fcn.004c5ca0
lea eax, [edi + 0x3c]
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], eax
push ecx
mov ecx, eax
call fcn.0054a58b
cmp dword [eax + 0x14], 8
jb 0x54b399
mov eax, dword [eax]
push ebx
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00408fc4
sub esp, 0x18
lea eax, [ebp - 0x260]
mov ecx, esp
push eax
call fcn.00408fc4
lea ecx, [ebp - 0x58]
call fcn.004cbe20
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00403d40
test esi, esi
je 0x54b407
lea eax, [edi + 0x70]
mov edi, dword [ebp - 8]
push eax
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.0054a58b
push eax
call fcn.0054bbf6
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00403d40
test esi, esi
jne 0x54b409
sub esp, 0x18
mov ecx, edi
push esp
call fcn.0054a58b
lea ecx, [ebp - 0x58]
call fcn.004cc470
xor ebx, ebx
lea ecx, [ebp - 0x58]
call fcn.004c5d00
mov eax, ebx
jmp 0x54b417
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x54b54a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
mov edi, ecx
xor esi, esi
push esi
lea eax, [edi + 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004c2870
mov ecx, eax
call fcn.004c39f0
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x54b5c5
push 1
lea eax, [edi + 0x3c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004c2870
mov ecx, eax
call fcn.004c39f0
cmp dword [ebp - 0x20], esi
je 0x54b5bd
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x18]
cmovae ecx, dword [ebp - 0x30]
cmp dword [ebp - 4], 8
push ecx
cmovae eax, dword [ebp - 0x18]
push eax
call fcn.00455a20
pop ecx
pop ecx
mov esi, eax
lea ecx, [ebp - 0x30]
call fcn.00403d40
lea ecx, [ebp - 0x18]
call fcn.00403d40
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x54bbf6
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [esi + 0x10], 0
je 0x54bc6d
mov edi, dword [ebp + 8]
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x54bc17
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x54bc6d
push 0x208
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.00573610
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x54bc40
mov edi, dword [edi]
lea eax, [ebp - 0x208]
push eax
push edi
call fcn.00456834
cmp dword [esi + 0x14], 8
pop ecx
pop ecx
jb 0x54bc57
mov esi, dword [esi]
lea eax, [ebp - 0x208]
push esi
push eax
call fcn.00595551
pop ecx
pop ecx
test eax, eax
jne 0x54bc6d
inc eax
jmp 0x54bc6f
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x54d1eb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
xor ebx, ebx
push edi
push 0x60
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x40c], ebx
call esi
mov edi, eax
test edi, edi
jne 0x54d233
push 2
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
test edi, edi
jne 0x54d233
call fcn.0054c7fb
mov esi, eax
jmp 0x54d2cb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x54d24d
call fcn.0054c7fb
jmp 0x54d2be
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x54d246
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x54d273
mov esi, 0x8007000e
jmp 0x54d2c0
push eax
lea ecx, [ebp - 0x40c]
call fcn.0054c672
cmp dword [ebp - 0x40c], 0
je 0x54d26c
push esi
push dword [ebp - 0x40c]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x54d246
mov eax, dword [ebp - 0x40c]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 8]
push dword [ebp - 0x40c]
call fcn.0054d0d6
mov esi, eax
test edi, edi
je 0x54d2cb
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x54d2e4
lea ecx, [ebp - 0x40c]
call fcn.0054ca1c
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x54e144
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor esi, esi
push esi
push esi
push esi
call fcn.00529d8a
push 1
push dword [ebp + 8]
call fcn.0044b314
add esp, 0x14
push 0x60c5e0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 4
call fcn.0054c827
pop ecx
push esi
push dword [ebp + 8]
mov edi, 0x644374
push esi
mov ecx, edi
call fcn.0054cad3
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0054d979
add esp, 0xc
mov ecx, edi
mov esi, eax
call fcn.0054dbec
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10

Function at 0x54ed32
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push str._sogouexplorer.exe
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00452ffd
add esp, 0xc
lea eax, [ebp - 0x18]
cmp dword [ebp - 4], 8
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
lea ecx, [ebp - 0x18]
neg ebx
sbb bl, bl
inc bl
call fcn.00403d40
lea ecx, [ebp + 8]
call fcn.00403d40
mov al, bl
pop ebx
leave
ret 0x18
Function at 0x5510c7
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.00550f14
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x5510de
mov eax, dword [eax]
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push dword [esi + 0x3c]
mov dword [esi + 0x38], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push dword [esi + 0x38]
mov dword [esi + 0x40], eax
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push dword [ebp + 0xc]
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.00406392
mov ecx, esi
call fcn.005512c4
pop edi
pop esi
pop ebp
ret 8
Function at 0x5c3850
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005c320e

Function at 0x5c3c76
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005c3b4a

Function at 0x5cb653
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005cb24b

Function at 0x5cb65e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005cb3d5
Function at 0x4032b0
Capabilities:
Terminate process

Disassembly:
jmp 0x4a68cb
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4a68dc
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0040529a
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x4033a5
Capabilities:
Query environment variable

Disassembly:
jmp 0x4bd4a6
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4bd4b7
pop esi
ret
push ebx
push edi
push esi
call fcn.004bd38d
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403b84
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4bd4df
push ebx
push esi
push edi
call fcn.004050bf
add esp, 0xc
push 0
call fcn.00405b00
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x403ab2
Capabilities:
Parse credit card information

Disassembly:
jmp 0x41dbd0
mov edx, dword [ecx + 0x7108]
push esi
push edi
lea esi, [ecx + 0x717c]
lea edi, [ecx + 0x7180]
add ecx, 0x7140
lea eax, [edx - 1]
cmp eax, 2
ja 0x41dc04
mov dword [esi], 0xa
mov dword [edi], 0xa
mov dword [ecx], 1
lea eax, [edx - 4]
cmp eax, 2
ja 0x41dc1e
mov dword [esi], 0xf
mov dword [edi], 0xf
mov dword [ecx], 2
lea eax, [edx - 7]
cmp eax, 5
ja 0x41dc38
mov dword [esi], 0x14
mov dword [edi], 0x14
mov dword [ecx], 3
lea eax, [edx - 0xd]
cmp eax, 2
ja 0x41dc52
mov dword [esi], 0x19
mov dword [edi], 0x19
mov dword [ecx], 4
lea eax, [edx - 0x10]
cmp eax, 2
ja 0x41dc6c
mov dword [esi], 0x1e
mov dword [edi], 0x1e
mov dword [ecx], 5
lea eax, [edx - 0x13]
cmp eax, 1
ja 0x41dc86
mov dword [esi], 0x23
mov dword [edi], 0x23
mov dword [ecx], 6
cmp edx, 0x15
jl 0x41dc90
cmp edx, 0x1a
jle 0x41dced
cmp edx, 0x29
jl 0x41dc9a
cmp edx, 0x2e
jle 0x41dced
cmp edx, 0x3d
jl 0x41dca4
cmp edx, 0x42
jle 0x41dced
cmp edx, 0x51
jl 0x41dcae
cmp edx, 0x56
jle 0x41dced
cmp edx, 0x65
jl 0x41dcb8
cmp edx, 0x6a
jle 0x41dced
cmp edx, 0x79
jl 0x41dcc2
cmp edx, 0x7e
jle 0x41dced
cmp edx, 0x8d
jl 0x41dcd2
cmp edx, 0x92
jle 0x41dced
cmp edx, 0xa1
jl 0x41dce2
cmp edx, 0xa6
jle 0x41dced
lea eax, [edx - 0xb5]
cmp eax, 5
ja 0x41dcff
mov dword [esi], 0x14
mov dword [edi], 0x14
mov dword [ecx], 3
cmp edx, 0x1b
jl 0x41dd09
cmp edx, 0x20
jle 0x41dd69
cmp edx, 0x2f
jl 0x41dd13
cmp edx, 0x34
jle 0x41dd69
cmp edx, 0x43
jl 0x41dd1d
cmp edx, 0x48
jle 0x41dd69
cmp edx, 0x57
jl 0x41dd27
cmp edx, 0x5c
jle 0x41dd69
cmp edx, 0x6b
jl 0x41dd31
cmp edx, 0x70
jle 0x41dd69
cmp edx, 0x7f
jl 0x41dd3e
cmp edx, 0x84
jle 0x41dd69
cmp edx, 0x93
jl 0x41dd4e
cmp edx, 0x98
jle 0x41dd69
cmp edx, 0xa7
jl 0x41dd5e
cmp edx, 0xac
jle 0x41dd69
lea eax, [edx - 0xbb]
cmp eax, 5
ja 0x41dd7b
mov dword [esi], 0x19
mov dword [edi], 0x19
mov dword [ecx], 4
cmp edx, 0x21
jl 0x41dd85
cmp edx, 0x26
jle 0x41dde8
cmp edx, 0x35
jl 0x41dd8f
cmp edx, 0x3a
jle 0x41dde8
cmp edx, 0x49
jl 0x41dd99
cmp edx, 0x4e
jle 0x41dde8
cmp edx, 0x5d
jl 0x41dda3
cmp edx, 0x62
jle 0x41dde8
cmp edx, 0x71
jl 0x41ddad
cmp edx, 0x76
jle 0x41dde8
cmp edx, 0x85
jl 0x41ddbd
cmp edx, 0x8a
jle 0x41dde8
cmp edx, 0x99
jl 0x41ddcd
cmp edx, 0x9e
jle 0x41dde8
cmp edx, 0xad
jl 0x41dddd
cmp edx, 0xb2
jle 0x41dde8
lea eax, [edx - 0xc1]
cmp eax, 5
ja 0x41ddfa
mov dword [esi], 0x1e
mov dword [edi], 0x1e
mov dword [ecx], 5
cmp edx, 0x27
jl 0x41de04
cmp edx, 0x28
jle 0x41de67
cmp edx, 0x3b
jl 0x41de0e
cmp edx, 0x3c
jle 0x41de67
cmp edx, 0x4f
jl 0x41de18
cmp edx, 0x50
jle 0x41de67
cmp edx, 0x63
jl 0x41de22
cmp edx, 0x64
jle 0x41de67
cmp edx, 0x77
jl 0x41de2c
cmp edx, 0x78
jle 0x41de67
cmp edx, 0x8b
jl 0x41de3c
cmp edx, 0x8c
jle 0x41de67
cmp edx, 0x9f
jl 0x41de4c
cmp edx, 0xa0
jle 0x41de67
cmp edx, 0xb3
jl 0x41de5c
cmp edx, 0xb4
jle 0x41de67
lea eax, [edx - 0xc7]
cmp eax, 1
ja 0x41de79
mov dword [esi], 0x23
mov dword [edi], 0x23
mov dword [ecx], 6
pop edi
pop esi
ret
Function at 0x405169
Capabilities:
Parse pe header

Disassembly:
jmp 0x4615b9
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4615f8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4615f8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4615f8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4615f8
cmp dword [ecx + 0x74], 0xe
jbe 0x4615f8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40517d
Capabilities:
Print debug messages

Disassembly:
jmp 0x461b0f
push esi
mov esi, ecx
call fcn.004055ba
mov eax, 0x400000
mov dword [esi], 0x38
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xe00
mov dword [esi + 0x10], 0x4e5568
call fcn.00402c2a
test eax, eax
jns 0x461b5e
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x461b57
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x4f9420], 1
mov eax, esi
pop esi
ret
Function at 0x4b460b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4fa5f0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4b464b
cmp byte [ebx], 0xa
jne 0x4b464b
or byte [eax + edi + 0x28], 4
jmp 0x4b4650
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4b474e
mov al, byte [edx]
cmp al, 0x1a
je 0x4b4730
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4b467f
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4b46a4
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4b46ae
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4b4661
jmp 0x4b474e
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b472b
cmp dword [ebp - 0xc], 0
je 0x4b472b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4fa5f0]
test byte [eax + edi + 0x28], 0x48
je 0x4b4705
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4b46f0
mov byte [esi], dl
jmp 0x4b4701
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4fa5f0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4b474e
cmp byte [ebp - 1], 0xa
jne 0x4b4714
cmp esi, ebx
jne 0x4b4714
mov byte [esi], 0xa
jmp 0x4b474d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401866
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4b474e
mov byte [esi], 0xd
jmp 0x4b474d
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4fa5f0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4b474a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4b474e
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret