joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4897e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4897e8
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4899bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x415e20]
call fcn.00403570
mov dword [ebp - 4], eax
mov esi, 0x41
lea eax, [ebp - 0x2c]
mov ebx, esi
mov edx, ebx
call fcn.0040455c
lea eax, [ebp - 0x2c]
mov edx, 0x4899d8
call fcn.0040463c
mov eax, dword [ebp - 0x2c]
call fcn.00404834
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x48998a
push ebx
call fcn.00470338
test al, al
je 0x48998a
lea eax, [ebp - 0x30]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x34]
call fcn.00402c28
mov edx, 0x4899dc
lea eax, [ebp - 0x34]
mov cl, 2
call fcn.00402bf8
lea edx, [ebp - 0x34]
lea eax, [ebp - 8]
call fcn.004045d8
mov eax, ebx
call fcn.00470264
mov edi, eax
mov eax, ebx
call fcn.00470264
lea edx, [ebp - 0xc]
call fcn.00408614
inc edi
je 0x489970
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, ebx
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004893ec
mov edx, 0x4899e8
mov eax, 0x4899f8
call fcn.0046fd9c
cmp eax, 4
je 0x48990b
lea ecx, [ebp - 0x10]
mov edx, 0x489a40
mov eax, dword [ebp - 0xc]
call fcn.0048912c
mov al, byte [0x489a48]
push eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x489a54
mov edx, 0x489a60
mov eax, dword [ebp - 0x10]
call fcn.0040d33c
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x10]
call fcn.0040440c
jmp 0x48992b
cmp dword [ebp - 0x18], 0
jne 0x489920
lea eax, [ebp - 0x10]
mov edx, 0x489a74
call fcn.0040440c
jmp 0x48992b
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.0040440c
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x24]
call fcn.0040440c
push dword [ebp - 8]
push 0x489a88
push dword [ebp - 0xc]
push 0x489a94
push dword [ebp - 0x10]
push 0x489aa0
push dword [ebp - 0x14]
push 0x489a94
lea eax, [ebp - 0x40]
mov edx, 8
call fcn.004046f4
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x48998a
push 0x30
mov ecx, 0x489aa4
mov edx, 0x489aac
mov eax, dword [0x48ec4c]
mov eax, dword [eax]
call fcn.0045b39c
jmp 0x489994
inc esi
cmp esi, 0x5b
jne 0x489814
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4899c3
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404398
lea eax, [ebp - 0x2c]
mov edx, 0xa
call fcn.00404398
ret
Function at 0x401260
Capabilities:
Hide graphical window

Disassembly:
push ebp
push esp
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov esi, dword [esp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4030f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x403100], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x40128d
push esp
mov dword [ebp - 0x24], 0x401330
mov eax, dword [0x4030f4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.wookernof
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4030f4]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.tofkol
push str.wookernof
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403104], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40132c
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x40130d
pop ebp
ret 0x10

Function at 0x40b0c0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
cmp word [ecx], 0x5a4d
je 0x40b0ce
xor eax, eax
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40b0cb
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
push ecx
pop eax
ret

Function at 0x40b0f0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x40b12c
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x40b122
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x40b12e
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x40b112
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x405f90
Capabilities:
Encode data using xor

Disassembly:
je 0x405f9e
or byte [eax], al
adc eax, 0x4091a7
mov dword [esi], eax
mov eax, esi
pop esi
ret 0xff04
push ebp
je 0x405f78
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
push 0xffffffffffffffbf
lea edi, [edx + 0x47e8db4]
mov dword [ebp - 8], esi
clc
push edi
push eax
mov dword [edx + 0x1b3717f4], ecx
add byte [eax], al
add esp, 0xc
add esi, 0x4c
xchg edi, eax
mov esp, 0x5600404d
call dword [0x409120]
push 0xffffffffffffffff
push edi
pop ss
push ebp
push ds
add byte [eax], al
mov esi, eax
pop ecx
test esi, esi
pop ecx
invalid
Function at 0x40236f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 0x14]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
mov dword [ebp - 4], 3
push edi
push dword [ebp + 0xc]
call fcn.0041e78a
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x40257c
push 4
lea eax, [ebp - 4]
push eax
push 0x42d808
call dword [sym.imp.PPLIB32W.DLL__GetCustData_12]
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4023f4
push 0xce
push edi
mov dword [0x439094], ebx
call dword [sym.imp.USER32.dll_KillTimer]
push edi
call fcn.0040224e
lea eax, [esi + esi]
push eax
push dword [0x439048]
call fcn.00420b52
push 1
push ebx
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x40257c
test byte [ebp + 0x10], 8
je 0x402464
push 0xce
push edi
mov dword [0x439094], ebx
call dword [sym.imp.USER32.dll_KillTimer]
push edi
call fcn.0040224e
cmp dword [0x43608c], ebx
je 0x40242b
push 1
call fcn.0041a098
push 1
push ebx
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
test byte [ebp + 0x10], 4
je 0x40244d
cmp esi, ebx
setle al
lea eax, [eax + eax + 0xd6b]
push eax
push ebx
push edi
call dword [sym.imp.PPLIB32W.DLL__PPxCommonCommand_12]
jmp 0x40257c
cmp esi, ebx
setle al
dec eax
and eax, 0x14
add eax, 0xfffffff6
push eax
call fcn.0041db7a
jmp 0x40257c
test byte [ebp + 0x10], 1
je 0x402487
push dword [0x43608c]
mov eax, esi
imul eax, dword [ebp - 4]
push ebx
push 0xfffffffffffffffd
cdq
pop ecx
idiv ecx
imul eax, dword [0x43cb3c]
push eax
jmp 0x4024a3
test byte [ebp + 0x10], 0x10
je 0x4024ad
mov eax, dword [0x43b21c]
push dword [0x43608c]
imul eax, esi
push 0xfffffffffffffffd
pop ecx
cdq
idiv ecx
push eax
push ebx
call fcn.004018b1
jmp 0x40257c
cmp word [0x43906c], 0x31
jne 0x40252a
mov eax, dword [0x43902c]
mov dword [ebp + 0x14], 0x42d804
cmp eax, ebx
jne 0x4024d7
push ebx
lea eax, [ebp + 0x14]
push eax
push 0x43b520
call dword [sym.imp.PPLIB32W.DLL__GetPPxhWndFromID_12]
mov dword [ebp + 0x10], eax
cmp eax, ebx
je 0x40252a
push 0xce
push edi
mov dword [0x439094], ebx
call dword [sym.imp.USER32.dll_KillTimer]
push edi
call fcn.0040224e
xor eax, eax
cmp esi, ebx
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
setl al
push ebx
lea eax, [eax + eax + 0x4126]
push eax
push dword [0x43b660]
push dword [ebp + 0x10]
call esi
push ebx
push 0x404e
push dword [0x43b660]
push dword [ebp + 0x10]
call esi
jmp 0x40257c
mov eax, dword [0x43cb2c]
mov edx, dword [ebp - 4]
mov ecx, dword [0x43b21c]
mov edi, eax
imul edi, edx
cmp edi, ecx
jl 0x402554
mov edi, edx
neg edi
cmp esi, edi
jle 0x40254d
cmp esi, edx
jl 0x402554
mov eax, ecx
imul eax, esi
jmp 0x40255a
imul eax, esi
imul eax, edx
push 0xfffffffffffffffd
pop ecx
cdq
idiv ecx
push ebx
xor ecx, ecx
mov edx, eax
call fcn.0041b4ab
cmp dword [0x436088], ebx
je 0x40257c
push 0x4360a4
call fcn.00401847
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x402c0c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov edi, 0x258
push edi
mov esi, 0x436344
push esi
push dword [esp + 0x1c]
xor eax, eax
mov word [0x436344], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x43b544]
xor ebx, ebx
cmp eax, ebx
jge 0x402c6d
cmp eax, 0xfffffffd
jne 0x402c4c
mov dword [0x43b544], 0xfffffffe
jmp 0x402ce4
mov eax, dword [0x436038]
mov eax, dword [eax + 4]
mov dword [0x43b544], eax
mov eax, dword [0x4360b0]
mov dword [0x43b548], eax
mov eax, dword [0x4360e4]
mov dword [0x43b230], eax
cmp word [0x436344], bx
jne 0x402c8e
mov eax, dword [esp + 0x10]
push 1
push ebx
mov dword [0x4360e0], ebx
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x402ce4
push ebx
push ebx
push edi
push 0x4360ec
push 0xffffffffffffffff
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
cmp dword [0x436088], ebx
je 0x402cb7
mov eax, dword [0x43b548]
sub eax, dword [0x4360b0]
jmp 0x402cc5
mov eax, dword [0x43b544]
mov ecx, dword [0x436038]
sub eax, dword [ecx + 4]
push eax
push ebx
call fcn.004018b1
mov eax, dword [0x43b230]
mov dword [0x4360e4], eax
mov eax, dword [esp + 0x10]
push 2
push dword [eax + 0xc]
call fcn.0041c523
pop edi
pop esi
pop ebx
ret 8
Function at 0x403189
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x38], 1
je 0x4031cd
test byte [0x439080], 8
jne 0x4031cd
push dword [ebp + 0x14]
call fcn.004021d7
cmp eax, dword [0x436084]
je 0x40336c
push 1
push 0x43b280
push dword [ebp + 8]
mov dword [0x436084], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x40336c
push ebx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
jle 0x40336b
call dword [sym.imp.USER32.dll_GetMessageTime]
mov ecx, dword [esi + 0x3c]
mov dword [0x438ae0], eax
cmp ecx, dword [0x4368e8]
jne 0x403212
push dword [esi + 0x1c]
lea eax, [esi + 0x28]
push dword [esi + 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x40336b
push esi
call fcn.0040218c
jmp 0x40336b
mov eax, dword [0x4368dc]
push edi
mov edi, dword [0x4368e0]
cmp ecx, eax
je 0x403226
cmp ecx, edi
jne 0x403274
mov edx, dword [0x439094]
cmp edx, 4
jne 0x403258
mov eax, dword [esi + 0x20]
test byte [ebp + 0x10], dl
je 0x403242
add eax, dword [0x438af8]
push ebx
jmp 0x40324a
add eax, dword [0x436004]
push 1
push eax
push dword [ebp + 8]
call fcn.0041ad74
jmp 0x40336a
cmp edx, 3
jne 0x403274
cmp dword [0x43b404], 6
jb 0x403274
push ebx
push dword [ebp + 8]
call fcn.00402ebc
jmp 0x40336a
cmp ecx, eax
jne 0x403304
cmp ecx, edi
jne 0x403288
cmp dword [0x43608c], ebx
jne 0x403304
mov ecx, dword [esi + 0x14]
mov eax, dword [0x43b264]
cmp ecx, eax
mov edx, dword [esi + 0x10]
jl 0x40336a
cmp dword [0x4368d8], ebx
je 0x4032e0
mov edi, dword [0x436024]
add edi, eax
cmp ecx, edi
jl 0x40336a
mov edi, dword [0x43600c]
sub edi, eax
cmp ecx, edi
jge 0x40336a
mov eax, dword [0x43601c]
cmp edx, eax
jl 0x40336a
mov ecx, dword [0x436008]
sub ecx, eax
cmp edx, ecx
jge 0x40336a
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
push ebx
neg edx
neg ecx
call fcn.0041b4ab
cmp dword [0x436088], ebx
je 0x40336a
push 0x4360a4
call fcn.00401847
jmp 0x40336a
cmp ecx, dword [0x4368e4]
jne 0x40336a
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call edi
mov ebx, 0x8000
mov ecx, ebx
test cx, ax
jne 0x403346
mov eax, dword [0x4368e4]
cmp eax, 3
jne 0x40332f
push 4
pop eax
push eax
call edi
test bx, ax
jne 0x403346
push esi
call fcn.0041e56a
mov dword [esi + 0x38], 2
jmp 0x40336a
mov ecx, dword [esi + 0x24]
add ecx, dword [0x43b244]
push 5
xor eax, eax
push eax
push eax
push ecx
mov ecx, dword [esi + 0x20]
add ecx, dword [0x43b240]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x4078c7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x438fe8], 3
push esi
mov esi, 0x100000
jl 0x4078e2
xor eax, eax
inc eax
jmp 0x4079d3
push edi
xor edi, edi
cmp dword [0x43903c], edi
je 0x4079cd
push edi
push edi
push dword [0x43bd70]
push dword [0x439038]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [0x43bd74]
mov eax, dword [0x43bd70]
sub ecx, eax
cmp ecx, esi
cmovb esi, ecx
push edi
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [0x43bd68]
push esi
add ecx, eax
push ecx
push dword [0x439038]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4079d6
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x407975
add dword [0x43bd70], eax
call fcn.00407862
test eax, eax
jne 0x4079f1
mov ecx, dword [0x43bd74]
cmp dword [0x43bd68], edi
je 0x40796f
cmp ecx, edi
je 0x40796f
mov eax, dword [0x43bd70]
cmp ecx, eax
jae 0x407910
mov dword [0x43bd70], ecx
push dword [0x439038]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x43bd68]
cmp edx, edi
je 0x4079c1
mov eax, dword [0x43bd74]
cmp eax, edi
je 0x4079c1
mov ecx, dword [0x43bd70]
lea esi, [edx + ecx]
cmp eax, ecx
jbe 0x4079b2
sub eax, ecx
push eax
push 0xaa
push esi
call fcn.004229f0
add esp, 0xc
push 0x400
push edi
push esi
call fcn.004229f0
add esp, 0xc
mov dword [0x439038], edi
mov dword [0x43903c], edi
mov eax, dword [0x43bd70]
pop edi
pop esi
leave
ret
cmp dword [0x43903c], 2
je 0x407975
push edi
push edi
push dword [0x43b52c]
call dword [sym.imp.PPLIB32W.DLL__PPErrorBox_12]
xor eax, eax
jmp 0x4079d2
push str.BRAKJob_breaked
push 0x20000000
call fcn.00417cf8
jmp 0x407975
Function at 0x4082a7
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
test byte [0x439058], 0x43
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
mov dword [0x43907c], 1
je 0x4082ec
push 0xfffffffffffffff0
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xdfffffff
push eax
push 0xfffffffffffffff0
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 5
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_IsIconic]
call edi
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x40830a
push dword [esi + 0xc]
call ebx
test eax, eax
jne 0x408322
push 0xffff0000
push 0xf120
push 0x112
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
xor ebp, ebp
cmp dword [0x43b564], ebp
je 0x408350
mov edx, dword [0x43b1d4]
xor ecx, ecx
cmp edx, ebp
push ebp
jl 0x408345
mov eax, dword [0x436038]
sub edx, dword [eax + 4]
dec edx
dec edx
jmp 0x40834b
mov edx, dword [0x43cb34]
call fcn.0041b4ab
push 1
push ebp
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.0041864a
cmp dword [0x436870], 0xfffffffd
jg 0x40840e
push dword [esi + 0xc]
call edi
test eax, eax
jne 0x408380
push dword [esi + 0xc]
call ebx
test eax, eax
jne 0x4083d0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [esp + 0x30], eax
jmp 0x4083be
cmp dword [esp + 0x14], 0x12
je 0x4083d0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
call edi
sub eax, dword [esp + 0x30]
cmp eax, 0x1f4
ja 0x4083d0
push 1
push ebp
push ebp
push dword [esi + 0xc]
lea eax, [esp + 0x20]
push eax
call ebx
test eax, eax
jne 0x408394
test byte [0x43b8ac], 0x1c
je 0x4083e5
push ebp
push ebp
push dword [esi + 0xc]
call fcn.00417fdd
jmp 0x40840e
mov eax, dword [0x4369b0]
sub eax, dword [0x4369a8]
push 0x116
push eax
mov eax, dword [0x4369ac]
sub eax, dword [0x4369a4]
push eax
push ebp
push ebp
push ebp
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [0x43904c], ebp
je 0x40842a
test byte [0x43b8ac], 3
je 0x40842a
push ebp
push dword [esi + 0xc]
call fcn.0041a1ad
jmp 0x408433
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_HideCaret]
pop edi
pop esi
mov dword [0x43907c], ebp
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x40a2f2
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push 0x8400
push 2
pop edi
push edi
mov dword [0x43bd7c], 1
mov dword [0x43bd74], 0x8000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x40a32a
push ebx
call fcn.0040fe23
xor eax, eax
jmp 0x40a39e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [0x43bd68], eax
cmp eax, ebx
jne 0x40a343
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x40a320
push ebp
push 0xfffffffffffffff6
mov dword [0x43bd6c], esi
mov dword [0x43bd70], ebx
mov dword [0x43903c], edi
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
inc dword [0x4390b4]
mov dword [0x439038], eax
call edi
mov ebp, eax
push eax
jmp 0x40a38c
call edi
mov ebx, eax
sub eax, ebp
cmp eax, 0xc8
ja 0x40a395
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.00408abf
test eax, eax
je 0x40a376
dec dword [0x4390b4]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40fa33
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x437b00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], eax
mov ebx, 0x4373e8
cmp dword [0x4373e8], eax
je 0x40fa8d
mov esi, dword [ebx + 4]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40fa69
sub eax, ecx
push eax
push esi
push dword [edi]
mov dword [ebp - 0x38], eax
call fcn.0042c629
add esp, 0xc
test eax, eax
je 0x40fad9
add ebx, 8
cmp dword [ebx], 0
jne 0x40fa61
mov eax, dword [edi]
mov cl, byte [eax]
and cl, 0xdf
cmp cl, 0x43
jne 0x40fafe
mov cl, byte [eax + 1]
and cl, 0xdf
cmp cl, 0x50
jne 0x40fafe
lea ecx, [eax + 2]
mov dl, byte [ecx]
cmp dl, 0x30
jb 0x40fafe
cmp dl, 0x39
ja 0x40fafe
push edi
mov dword [edi], ecx
call fcn.0040fa03
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp dword [ebp - 0x30], eax
jne 0x40fbe6
mov dword [ebp - 0x30], 3
jmp 0x40fbe6
mov eax, dword [ebx]
cmp eax, 0xe
jb 0x40faf2
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jne 0x40faf2
xor eax, eax
jmp 0x40fbe9
mov eax, dword [ebp - 0x38]
add dword [edi], eax
mov eax, dword [ebx]
jmp 0x40fbe9
mov ecx, eax
lea edi, [ebp - 0x2c]
jmp 0x40fb1e
cmp al, 0x3f
je 0x40fb24
cmp al, 0x3b
je 0x40fb24
lea edx, [ebp - 8]
cmp edi, edx
jae 0x40faeb
movzx ax, al
mov word [edi], ax
inc edi
inc edi
inc ecx
mov al, byte [ecx]
cmp al, 0x22
ja 0x40fb05
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x3c]
push eax
mov ebx, 0x20019
push ebx
push 0
push str.SoftwareClassesMIMEDatabaseCharset
push 0x80000002
call esi
test eax, eax
je 0x40fbac
jmp 0x40faeb
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push str.InternetEncoding
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40fbc2
xor eax, eax
mov dword [ebp - 0x38], 0x28
cmp dword [ebp - 0x40], eax
jne 0x40fbd4
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push eax
push eax
push str.AliasForCharset
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40fbd4
push dword [ebp - 0x34]
mov dword [ebp - 0x40], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x34]
push eax
push ebx
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x3c]
call esi
test eax, eax
je 0x40fb4d
jmp 0x40fbdd
cmp dword [ebp - 0x30], 0
je 0x40fbd4
lea eax, [ebp - 0x2c]
sub edi, eax
mov eax, dword [ebp - 0x44]
sar edi, 1
add dword [eax], edi
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422725
leave
ret 4
Function at 0x410f57
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.0040fa33
mov dword [ebp - 8], eax
test eax, eax
je 0x411054
mov ebx, dword [ebp + 8]
cmp byte [ebx], 0x3f
jne 0x411054
inc ebx
cmp eax, 2
je 0x410f9f
cmp eax, 0xc42c
je 0x410f9f
cmp eax, 0xc431
jne 0x410fa9
mov dword [ebp - 8], 3
mov eax, dword [ebp - 8]
cmp eax, 0xe
jl 0x410fc6
push eax
mov dword [0x438fe4], eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov dword [0x43cb38], eax
mov dword [ebp - 8], 0xd
cmp byte [ebx + 1], 0x3f
jne 0x411054
movsx cx, byte [ebx]
lea eax, [edi + 0x5c]
lea esi, [ebx + 2]
mov dword [ebp - 0xc], esi
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0x3fc
call fcn.0041e4c1
cmp ax, 0x42
jne 0x411045
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040fc46
test eax, eax
je 0x41100f
mov ecx, eax
inc dword [ebp + 8]
dec ecx
jne 0x411004
cmp eax, 3
je 0x410ff2
mov esi, dword [ebp - 0xc]
cmp byte [esi], 0x3f
jne 0x4110f3
cmp byte [esi + 1], 0x3d
jne 0x4110f3
inc esi
inc esi
mov cl, byte [esi]
mov eax, esi
cmp cl, 0xd
jne 0x4110cf
xor eax, eax
cmp byte [esi + 1], 0xa
sete al
inc eax
add eax, esi
jmp 0x4110d7
movsx cx, byte [ebx]
call fcn.0041e4c1
cmp ax, 0x51
je 0x4110c5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 4], 0
jle 0x411012
mov al, byte [esi]
cmp al, 0x3f
je 0x41101b
cmp al, 0x3d
je 0x411078
mov ecx, dword [ebp + 8]
inc dword [ebp + 8]
mov byte [ecx], al
inc esi
jmp 0x4110c2
inc esi
mov cl, byte [esi]
cmp cl, 0xd
jne 0x41108a
cmp byte [esi + 1], 0xa
jne 0x41108a
inc esi
inc esi
jmp 0x4110c5
movzx eax, cl
test byte [eax + str._AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA], 0xc
je 0x411054
mov dl, byte [esi + 1]
movzx eax, dl
test byte [eax + str._AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA], 0xc
je 0x411054
call fcn.00410968
mov ebx, eax
mov cl, dl
shl bl, 4
call fcn.00410968
add bl, al
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
inc esi
mov byte [eax], bl
inc esi
dec dword [ebp - 4]
cmp esi, dword [edi + 0x10]
jb 0x41105d
jmp 0x411012
cmp cl, 0xa
jne 0x4110d7
lea eax, [esi + 1]
mov cl, byte [eax]
cmp cl, 9
je 0x4110e3
cmp cl, 0x20
jne 0x4110f3
lea ecx, [eax + 1]
cmp byte [ecx], 0x3d
jne 0x4110f3
cmp byte [eax + 2], 0x3f
jne 0x4110f3
mov esi, ecx
mov eax, dword [edi + 0x10]
mov dword [edi + 0x4c], eax
mov eax, dword [edi + 0x40]
lea ecx, [edi + 0x5c]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp + 8]
mov dword [edi + 0x50], eax
xor eax, eax
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 8]
inc eax
mov dword [edi + 0x44], esi
mov dword [edi + 0x54], eax
mov dword [edi + 0x40], ecx
jmp 0x411056
Function at 0x416cec
Capabilities:
Open clipboard

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_OpenClipboard]
push edi
push 6
pop edi
jmp 0x416d04
dec edi
je 0x416d13
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esp + 0xc]
call esi
test eax, eax
je 0x416cf9
xor eax, eax
inc eax
jmp 0x416d15
xor eax, eax
pop edi
pop esi
ret 4

Function at 0x416d1a
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.0041694e
test eax, eax
je 0x416d9b
lea eax, [ebp - 0x10]
push eax
call fcn.0041e357
mov eax, dword [ebp - 4]
push 2
add eax, 2
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
test eax, eax
je 0x416d63
mov dword [ebp - 8], eax
push dword [ebp + 8]
call fcn.00416cec
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp dword [0x43b8a8], 1
je 0x416d8a
cmp dword [0x43b410], 2
jne 0x416d8a
push dword [ebp - 8]
push 0xd
jmp 0x416d8f
push dword [ebp - 8]
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
leave
ret 4