joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4288f8
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
xor esi, esi
push edi
lea ecx, [ebp - 0x24]
mov edi, eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.0040e2b7
lea ecx, [ebp - 0x18]
call fcn.0040e2b7
lea ecx, [ebp - 0x30]
call fcn.0040e2b7
push str.SOFTWAREClasses_
lea eax, [ebp - 0x24]
call fcn.0040e446
push dword [ebp + 8]
lea eax, [ebp - 0x24]
call fcn.0040e4de
push str.CLSID
lea eax, [ebp - 0x24]
call fcn.0040e4de
push 0x46af60
lea eax, [ebp - 0x18]
call fcn.0040e446
cmp edi, esi
je 0x42897f
cmp word [edi], 0x5c
je 0x42897f
cmp word [edi + 2], 0x5c
je 0x42897f
push 0x46f4c8
lea eax, [ebp - 0x18]
call fcn.0040e446
push edi
lea eax, [ebp - 0x18]
call fcn.0040e4de
cmp dword [ebp + 0x10], esi
je 0x4289ce
push 0x20
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.00450e40
add esp, 0xc
lea ebx, [ebp - 0x18]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x4c], esi
call fcn.0040e41a
push str.IPC_
lea eax, [ebp - 0x30]
call fcn.0040e4de
mov eax, dword [ebp - 0x30]
push esi
push dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x50]
push eax
call sub.MPR.dll_WNetAddConnection2W
mov edi, eax
cmp edi, esi
jne 0x428a6a
lea eax, [ebp - 0xc]
push eax
push reloc.WSOCK32.dll_bind
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov edi, eax
cmp edi, esi
jne 0x428a6a
lea eax, [ebp - 8]
push eax
push 0x20019
push esi
push dword [ebp - 0x24]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
cmp edi, esi
jne 0x428a65
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x258]
push eax
push esi
push esi
push esi
push dword [ebp - 8]
mov dword [ebp - 4], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, esi
jne 0x428a60
shr dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov word [ebp + eax*2 - 0x258], si
lea eax, [ebp - 0x258]
push eax
call fcn.0040d6b8
pop ecx
push dword [ebp + 0xc]
mov esi, eax
push esi
call dword [sym.imp.ole32.dll_CLSIDFromString]
push esi
mov edi, eax
call fcn.0044e346
pop ecx
push dword [ebp - 8]
call ebx
push dword [ebp - 0xc]
call ebx
push dword [ebp - 0x30]
call fcn.0044e346
push dword [ebp - 0x18]
call fcn.0044e346
push dword [ebp - 0x24]
call fcn.0044e346
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e42e
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.004537c0
push ebx
push esi
push edi
lea ecx, [ebp - 0xc]
call fcn.0040e2b7
lea ecx, [ebp - 0x18]
call fcn.0040e2b7
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.0040fc1a
mov esi, eax
movzx eax, word [esi]
xor bl, bl
test ax, ax
je 0x42e55c
inc edi
cmp ax, 0x25
jne 0x42e51b
cmp word [esi + edi*2], ax
jne 0x42e48b
push 0x25
lea eax, [ebp - 0xc]
mov bl, 1
call fcn.0040e525
inc edi
jmp 0x42e524
push 0x46af60
lea eax, [ebp - 0x18]
call fcn.0040e446
jmp 0x42e4ac
test ax, ax
je 0x42e4b6
movzx eax, ax
push eax
lea eax, [ebp - 0x18]
call fcn.0040e525
inc edi
movzx eax, word [esi + edi*2]
cmp ax, 0x25
jne 0x42e49a
cmp word [esi + edi*2], 0
je 0x42e533
and word [ebp - 0x2018], 0
push 0xfff
lea eax, [ebp - 0x2018]
push eax
push dword [ebp - 0x18]
inc edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x42e4f2
lea eax, [ebp - 0x2018]
push eax
lea eax, [ebp - 0xc]
call fcn.0040e4de
mov bl, 1
jmp 0x42e524
push 0x4702a4
lea eax, [ebp - 0xc]
mov bl, 1
call fcn.0040e4de
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xc]
call fcn.0040e4a2
push 0x4702a4
lea eax, [ebp - 0xc]
call fcn.0040e4de
jmp 0x42e524
push eax
lea eax, [ebp - 0xc]
call fcn.0040e525
movzx eax, word [esi + edi*2]
test ax, ax
jne 0x42e468
jmp 0x42e54d
push 0x4702a4
lea eax, [ebp - 0xc]
mov bl, 1
call fcn.0040e4de
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xc]
call fcn.0040e4a2
test bl, bl
je 0x42e55c
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0xc]
call fcn.004102cd
push dword [ebp - 0x18]
call fcn.0044e346
push dword [ebp - 0xc]
call fcn.0044e346
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4314c9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push str.open
lea esi, [ebp - 0x14]
call fcn.0040e2e3
xor ebx, ebx
push 0x3c
xor esi, esi
lea eax, [ebp - 0x5c]
push ebx
inc esi
push eax
xor edi, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
call fcn.00450e40
add esp, 0xc
cmp dword [ebp + 0x14], 2
jb 0x431532
mov ecx, dword [ebp + 0x10]
mov eax, esi
call fcn.004059bd
mov esi, eax
call fcn.0040fc1a
cmp word [eax], bx
je 0x431532
mov ecx, dword [ebp + 0x10]
xor eax, eax
inc eax
call fcn.004059bd
mov esi, eax
call fcn.0040fc1a
push eax
call fcn.0040d6b8
pop ecx
mov edi, eax
cmp dword [ebp + 0x14], 3
jb 0x431554
mov ecx, dword [ebp + 0x10]
push 2
pop eax
call fcn.004059bd
mov esi, eax
call fcn.0040fc1a
push eax
call fcn.0040d6b8
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 4
jb 0x43158f
mov ecx, dword [ebp + 0x10]
push 3
pop eax
call fcn.004059bd
mov esi, eax
call fcn.0040fc1a
cmp word [eax], bx
je 0x43158f
mov ecx, dword [ebp + 0x10]
push 3
pop eax
call fcn.004059bd
mov esi, eax
call fcn.0040fc3c
mov ebx, eax
lea eax, [ebp - 0x14]
call fcn.0040e41a
xor ebx, ebx
cmp dword [ebp + 0x14], 5
jb 0x4315ab
mov ecx, dword [ebp + 0x10]
push 4
pop eax
call fcn.004059bd
call fcn.0040fcf2
movzx eax, ax
mov dword [ebp - 8], eax
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.00450e40
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], 0x40
mov dword [ebp - 0x54], ebx
call fcn.004059bd
mov esi, eax
call fcn.0040fc1a
mov esi, dword [ebp - 4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp edi, ebx
mov dword [ebp + 0x10], eax
je 0x43160a
push edi
call fcn.0044e346
pop ecx
cmp esi, ebx
je 0x431615
push esi
call fcn.0044e346
pop ecx
cmp dword [ebp + 0x10], ebx
jne 0x431673
mov esi, dword [ebp + 8]
cmp byte [esi + 0x29c], 1
jne 0x43165d
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push eax
call fcn.00419279
push dword [eax]
mov ebx, esi
push 0x87
call fcn.004190b3
push dword [ebp - 0x20]
call fcn.0044e346
xor ebx, ebx
pop ecx
inc ebx
push dword [ebp - 0x14]
call fcn.0044e346
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x14
xor ecx, ecx
push ebx
inc ecx
mov eax, esi
call fcn.0041a88b
mov esi, dword [ebp + 0x18]
push ebx
call fcn.004101d5
jmp 0x43164b
cmp byte [ebp + 0xc], bl
je 0x431686
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x7d8], eax
jmp 0x43164b
mov esi, dword [ebp + 0x18]
push 1
call fcn.004101d5
cmp dword [ebp - 0x24], ebx
je 0x43164b
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43164b
Function at 0x4345dc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push edi
xor ebx, ebx
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push dword [ebp + 8]
mov dword [esp + 0x30], 0xff
call esi
mov edi, 0x103
jmp 0x434697
xor eax, eax
cmp byte [0x48a7c0], bl
je 0x434629
mov eax, 0x100
lea ecx, [esp + 0x14]
push ecx
or eax, 0x20019
push eax
push ebx
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4346a3
push dword [esp + 0x14]
call fcn.004345dc
pop ecx
push dword [esp + 0x14]
mov byte [esp + 0x13], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0xf], bl
je 0x4346a3
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4346a3
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push dword [ebp + 8]
mov dword [esp + 0x30], 0xff
call esi
cmp eax, edi
jne 0x43461a
mov al, 1
jmp 0x4346a5
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4350aa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
je 0x435132
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x435132
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push eax
xor ebx, ebx
push ebx
push ebx
push edi
call esi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], eax
je 0x435106
cmp dword [ebp + 0x10], ebx
jbe 0x435106
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4350fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
jmp 0x435134
push ebx
push ebx
push dword [ebp - 4]
push edi
call esi
cmp dword [ebp + 0x18], ebx
je 0x435126
push 2
push ebx
push ebx
push edi
call esi
push ebx
push ebx
push dword [ebp - 4]
mov edi, eax
push dword [ebp + 8]
call esi
sub edi, dword [ebp - 4]
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
inc eax
jmp 0x43513c
push 6
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43ab30
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
push 0x44
xor ebx, ebx
push ebx
mov edi, 0x48cd08
push edi
call fcn.00450e40
push 0x10
push ebx
mov esi, 0x48ccf8
push esi
call fcn.00450e40
add esp, 0x18
push esi
push edi
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [esp + 0x30]
xor eax, eax
inc eax
push ebx
mov dword [0x48cd08], 0x44
mov dword [0x48cd34], eax
mov word [0x48cd38], ax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
pop esi
pop ebx
je 0x43ab93
push dword [0x48ccf8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret 4
Function at 0x43b136
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [edi]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x4134], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x4138], eax
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
lea eax, [edi + 0x413c]
cmp ecx, dword [eax]
jne 0x43b182
cmp edx, dword [edi + 0x4140]
je 0x43b19c
cmp dword [ebp + 0xc], 1
mov dword [eax], ecx
mov dword [edi + 0x4140], edx
jne 0x43b19c
push edx
push ecx
push 0xfffffffffffffff5
push dword [ebp + 8]
call fcn.0043aa2f
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call esi
mov ebx, 0x8000
test bx, ax
jne 0x43b1c3
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
jne 0x43b1c3
and dword [ebp - 4], 0
jmp 0x43b1ca
mov dword [ebp - 4], 1
push 2
call esi
test bx, ax
jne 0x43b1e4
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
jne 0x43b1e4
xor ebx, ebx
jmp 0x43b1e7
xor ebx, ebx
inc ebx
mov esi, dword [ebp - 4]
cmp esi, dword [edi + 0x4144]
je 0x43b24e
cmp dword [ebp + 0xc], 1
jne 0x43b24e
cmp byte [edi + 0x4170], 0
je 0x43b254
test esi, esi
push dword [ebp - 8]
push dword [ebp - 0xc]
je 0x43b20f
push 0xfffffffffffffff9
jmp 0x43b23f
push 0xfffffffffffffff8
push dword [ebp + 8]
call fcn.0043aa2f
cmp byte [edi + 0x414c], 0
je 0x43b247
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x1000000
push dword [ebp - 8]
push dword [ebp - 0xc]
je 0x43b23d
push 0xfffffffffffffffa
jmp 0x43b23f
push 0xfffffffffffffff4
push dword [ebp + 8]
call fcn.0043aa2f
mov byte [edi + 0x414c], 0
cmp dword [ebp + 0xc], 0
je 0x43b25a
mov dword [edi + 0x4144], esi
cmp ebx, dword [edi + 0x4148]
je 0x43b288
cmp dword [ebp + 0xc], 1
jne 0x43b288
test ebx, ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
je 0x43b27e
push 0xfffffffffffffff7
push dword [ebp + 8]
call fcn.0043aa2f
jmp 0x43b28e
push 0xfffffffffffffff6
push dword [ebp + 8]
call fcn.0043aa2f
cmp dword [ebp + 0xc], 0
je 0x43b294
mov dword [edi + 0x4148], ebx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x440085
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
xor esi, esi
cmp word [eax], si
push edi
mov dword [ebp - 0xc], esi
je 0x44018d
push esi
push esi
push 3
push esi
push esi
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4400bc
xor eax, eax
jmp 0x4401b9
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push 2
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 0xc]
push eax
push 0x466900
push esi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x4400b5
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0xc]
lea eax, [ebp - 0x30]
push eax
push 0x18
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
cmp edx, esi
mov eax, dword [ebp + 0x10]
jne 0x440164
cmp dword [eax], esi
jne 0x440164
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
jmp 0x44016c
mov dword [ebp - 0x2c], edx
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
push 0x2000
push dword [eax]
push dword [ecx]
push esi
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x440190
mov dword [ebp - 8], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x44]
cmp eax, esi
je 0x4401a1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 8]
push eax
push esi
mov dword [edi + 0x44], eax
mov edi, dword [edi]
push 0x172
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4408fa
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x4158]
cmp eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push edi
je 0x440982
push 3
pop eax
cmp dword [esi + 0x14], eax
mov dword [ebp - 4], eax
jl 0x440979
lea edi, [esi + 0x64]
mov eax, dword [edi]
test eax, eax
je 0x44096b
cmp byte [eax + 0x70], 0xb
je 0x44096b
mov cl, byte [eax + 0x73]
movzx edx, cl
cmp edx, dword [esi + 0x4158]
je 0x44094d
cmp byte [esi + 0x4160], 0
je 0x44096b
cmp cl, 0xff
je 0x44096b
cmp byte [eax + 0x70], 0xa
je 0x44096b
push 0
push dword [eax]
call ebx
mov eax, dword [edi]
test byte [eax + 0x72], 0x40
je 0x44096b
cmp byte [eax + 0x70], 0x1a
jne 0x44096b
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 4
cmp eax, dword [esi + 0x14]
jle 0x44091f
mov eax, dword [ebp + 8]
mov dword [esi + 0x4158], eax
push 3
pop eax
cmp dword [esi + 0x14], eax
mov dword [ebp - 4], eax
jl 0x4409e2
lea edi, [esi + 0x64]
mov eax, dword [edi]
test eax, eax
je 0x4409d4
cmp byte [eax + 0x70], 0xb
je 0x4409d4
movzx ecx, byte [eax + 0x73]
cmp ecx, dword [esi + 0x4158]
jne 0x4409d4
test byte [eax + 0x72], 0x20
jne 0x4409d4
push 0
push dword [eax]
call ebx
mov eax, dword [edi]
push 4
push dword [eax]
call ebx
mov eax, dword [edi]
test byte [eax + 0x72], 0x40
je 0x4409d4
cmp byte [eax + 0x70], 0x1a
jne 0x4409d4
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 4
cmp eax, dword [esi + 0x14]
jle 0x440990
push 0
push dword [ebp + 8]
push 0x130c
push dword [esi + 0x4150]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
leave
ret 4
Function at 0x444dba
Capabilities:
Parse credit card information

Disassembly:
jmp 0x444e53
cmp ecx, 0x4f
jne 0x444dd1
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax + 2]
jmp 0x444e51
cmp ecx, 0x5e
jne 0x444ded
xor ecx, ecx
mov ch, byte [eax + 3]
mov cl, byte [eax + 4]
cmp ecx, dword [esp + 8]
je 0x444e60
movzx ecx, byte [0x4675de]
jmp 0x444e51
cmp ecx, 0x38
jl 0x444e1a
cmp ecx, 0x3d
jle 0x444e0b
cmp ecx, 0x40
jle 0x444e06
cmp ecx, 0x43
jle 0x444e0b
cmp ecx, 0x44
jne 0x444e1a
mov dl, byte [eax + 3]
jmp 0x444e0e
mov dl, byte [eax + 1]
cmp dl, 0xf
je 0x444e18
cmp dl, 0xe
jne 0x444e1a
inc eax
inc eax
movzx edx, byte [ecx + 0x467580]
add eax, edx
cmp dword [esp + 4], 0
je 0x444e53
cmp ecx, 0x1b
jl 0x444e53
cmp ecx, 0x1c
jle 0x444e3e
cmp ecx, 0x1d
jle 0x444e53
cmp ecx, 0x2a
jg 0x444e53
movzx ecx, byte [eax - 1]
cmp cl, 0xc0
jb 0x444e53
and ecx, 0x3f
movzx ecx, byte [ecx + 0x467640]
add eax, ecx
movzx ecx, byte [eax]
test ecx, ecx
jne 0x444dbf
xor eax, eax
ret
Function at 0x451a22
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x451a5f
cmp dword [ebp + 0x14], edi
je 0x451a5f
cmp ecx, edi
jne 0x451a66
call fcn.0045496c
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0045490d
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x451a7a
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x451a9b
cmp ebx, 0xffffffff
je 0x451a8a
push ebx
push edi
push ecx
call fcn.00450e40
add esp, 0xc
cmp esi, edi
je 0x451a47
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x451a47
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x451ab7
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x451abe
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x451baf
test word [esi + 0xc], 0x10c
je 0x451b12
mov eax, dword [esi + 4]
test eax, eax
je 0x451b12
jl 0x451c10
cmp ebx, eax
mov edi, ebx
jb 0x451ae3
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x451bb7
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0045a948
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x451ba7
cmp ebx, dword [ebp - 0xc]
jb 0x451b7f
cmp dword [ebp - 0xc], 0
je 0x451b3c
mov ecx, bind
xor edx, edx
cmp ebx, ecx
jbe 0x451b31
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x451b38
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x451b47
mov eax, bind
cmp ebx, eax
ja 0x451b47
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x451be3
push eax
push dword [ebp - 8]
push esi
call fcn.0045238a
pop ecx
push eax
call fcn.0045a84b
add esp, 0xc
test eax, eax
je 0x451c22
cmp eax, 0xffffffff
je 0x451c10
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x451ba7
push esi
call fcn.0045a16a
cmp eax, 0xffffffff
pop ecx
je 0x451c14
cmp dword [ebp - 4], 0
je 0x451be3
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x451ac6
mov eax, dword [ebp + 0x14]
jmp 0x451a61
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x451bce
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00450e40
add esp, 0xc
call fcn.0045496c
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x451a57
cmp dword [ebp + 0xc], 0xffffffff
je 0x451bf9
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00450e40
add esp, 0xc
call fcn.0045496c
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x451a57
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x451a61
or dword [esi + 0xc], 0x10
jmp 0x451c14
Function at 0x454ad3
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x475b50]
je 0x454aee
inc edi
cmp edi, 0x17
jb 0x454adf
cmp edi, 0x17
jae 0x454c6e
push ebp
push 3
call fcn.00460115
cmp eax, 1
pop ecx
je 0x454c3a
push 3
call fcn.00460115
test eax, eax
pop ecx
jne 0x454b22
cmp dword [0x475388], 1
je 0x454c3a
cmp ebx, 0xfc
je 0x454c6d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x477a90
push ebp
call fcn.0045fe39
add esp, 0xc
test eax, eax
je 0x454b58
push esi
push esi
push esi
push esi
push esi
call fcn.00454811
add esp, 0x14
push 0x104
mov esi, 0x477aa9
push esi
push 0
mov byte [0x477bad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x454b9c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0045fe39
add esp, 0xc
test eax, eax
je 0x454b9c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00454811
add esp, 0x14
push esi
call fcn.00450420
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x454be1
push esi
call fcn.00450420
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x477da4
push 0x4686d4
sub ecx, eax
push ecx
push eax
call fcn.0045fd86
add esp, 0x14
test eax, eax
je 0x454be1
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00454811
add esp, 0x14
jmp 0x454be3
xor esi, esi
push 0x4686d0
push ebx
push ebp
call fcn.0045fcc5
add esp, 0xc
test eax, eax
je 0x454c03
push esi
push esi
push esi
push esi
push esi
call fcn.00454811
add esp, 0x14
push dword [edi*8 + 0x475b54]
push ebx
push ebp
call fcn.0045fcc5
add esp, 0xc
test eax, eax
je 0x454c25
push esi
push esi
push esi
push esi
push esi
call fcn.00454811
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0045ff58
add esp, 0xc
jmp 0x454c6d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x454c6d
cmp ebp, 0xffffffff
je 0x454c6d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x475b54]
push dword [esi]
call fcn.00450420
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret