joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a8420
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4a8453
push esi
call fcn.004b67d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4a844c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4a84d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4a84c2
mov eax, dword [esi + 8]
test eax, eax
je 0x4a8477
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4a84be
cmp eax, 2
je 0x4a84c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a846a
cmp eax, 3
je 0x4a849d
cmp eax, 1
jne 0x4a846a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4a846a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4a846a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004a8500
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4a84e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004a8500
add esp, 4
pop esi
ret

Function at 0x4a8d70
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4a8d91
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4a8d91
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4a8d91
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4c9ea0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4c9eec
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4c9eec
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4c9ed6
push eax
call ebp
test ax, ax
jl 0x4c9ee4
inc esi
add edi, 4
cmp esi, 6
jb 0x4c9ec8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004c9ba0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4cdbf0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4cdc50
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4cdc50
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4cdc50
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4cdc50
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4cdc60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4ceea0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4cef43
test eax, eax
jbe 0x4cef43
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4cef43
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4ceeee
xor esi, esi
jmp 0x4ceef4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4cef1f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00461550
add esi, eax
push esi
mov ebx, esi
call fcn.00461550
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4cef00
pop ebp
test edi, edi
pop edi
jne 0x4cef43
test ebx, ebx
je 0x4cef43
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004eaa90
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4cf0a5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4cf1bd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4cf1bd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004fc31e
mov esi, eax
test esi, esi
je 0x4cf1bd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4cf1bd
mov ecx, esi
call fcn.004cf030
cmp edi, eax
jge 0x4cf1bd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4cf143
mov dword [esp + 0x34], 1
jmp 0x4cf19e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4cf1bd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004ce5e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4d5160
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6631e8]
xor edx, edx
cmp eax, edx
jne 0x4d5186
xor eax, eax
mov byte [eax + 0x6630e8], al
inc eax
cmp eax, 0x100
jl 0x4d516e
mov dword [0x6631e8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6630e8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4d5217
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4d51ea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4d51b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4d5290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4d52e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4d52ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4dbca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x509f3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004dc5c0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x5f195c
call fcn.004fa635
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4dbd33
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004fa635
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4dbd2c
push 0
mov ecx, eax
call fcn.004d2da0
mov dword [esi + 0xc], eax
jmp 0x4dbd35
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4dbd35
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4fccc2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4fccfa
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004fad4f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004fad27
jmp 0x4fcd06
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4fe3b7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4fe3f9
call fcn.00503ff7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4fe3f9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4fe3f0
xor eax, eax
jmp 0x4fe401
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004fe407
pop edi
pop esi
pop ebx
ret 4

Function at 0x504527
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x504555
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x504573
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0050448d
jmp 0x504573
mov eax, dword [esi + 0x14]
test eax, eax
je 0x504573
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0050448d
test edi, edi
mov eax, edi
jne 0x50455d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x44df54
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x453b44]
cmp dword [eax + 0x30], 0
je 0x44dffe
cmp dword [ebx + 0x94], 0
jne 0x44dff8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44dee4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44dff8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44dfbe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44dff8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413c2c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44dfcd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44eb5c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44eb91
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004042d0
jmp 0x44eb9e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404234
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44fcb0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44fcf1
mov eax, esi
call fcn.00436250
test al, al
je 0x44fcf1
mov eax, dword [ebx + 0x84]
call fcn.00435f4c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44fcf1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435f4c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80f004]
jne 0x40100a
repz ret
jmp fcn.0040149a

Function at 0x406db3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x80f004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403b51
and dword [ebp - 0x14], 0
cmp dword [0x811d88], 0
mov dword [ebp - 0x18], eax
jne 0x406e66
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406f0e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406f0e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x811d88], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x811d8c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x811d90], eax
call edi
push eax
call esi
mov dword [0x811d98], eax
test eax, eax
je 0x406e66
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x811d94], eax
mov eax, dword [0x811d94]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406ebf
cmp dword [0x811d98], ecx
je 0x406ebf
push eax
call esi
push dword [0x811d98]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406ebf
test ebx, ebx
je 0x406ebf
call edi
test eax, eax
je 0x406eb6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406eb6
test byte [ebp - 8], 1
jne 0x406ebf
or dword [ebp + 0x10], 0x200000
jmp 0x406ef2
mov eax, dword [0x811d8c]
cmp eax, dword [ebp - 0x18]
je 0x406ef2
push eax
call esi
test eax, eax
je 0x406ef2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406ef2
mov eax, dword [0x811d90]
cmp eax, dword [ebp - 0x18]
je 0x406ef2
push eax
call esi
test eax, eax
je 0x406ef2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x811d88]
call esi
test eax, eax
je 0x406f0e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406f10
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x40c2f0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x8101f0]
sub esp, 0x10
push ebx
mov ebx, dword [0x22e3f38]
push edi
mov edi, dword [0x22e4214]
push eax
call fcn.0040c200
add esp, 4
cmp dword [0x22e4214], 0x2f
jne 0x40c34d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.0040c250
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c5d0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x80f004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
xor edi, edi
cmp dword [0x22e4214], 0x8cf
jne 0x40c606
push 0
push 0
call ebx
cmp edi, 0x845013
jne 0x40c61d
mov eax, dword [0x811010]
add eax, 0xa231
mov dword [0x22e4214], eax
cmp dword [0x22e4214], 0x141
jne 0x40c64b
push str.fifavejefibil_cisusahetohijeyimak_yehuwaganobanibama_samiwejafi_herizacowamodusuguhax
lea ecx, [ebp - 0x804]
push ecx
call esi
mov dword [0x8122b0], 0xec58acac
mov dword [0x8122b4], 0xffffffff
inc edi
cmp edi, 0xbbe2a98
jl 0x40c5f4
call fcn.0040c360
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x41ec40]
mov ecx, eax
inc eax
test ecx, ecx
mov dword [0x41ec40], eax
jle 0x401018
push 0
call fcn.0040d6a2
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x10]
cmp esi, ebp
je 0x401076
cmp edi, 0xb
je 0x401042
cmp edi, 0xe
je 0x401042
cmp edi, 0xf
je 0x401042
cmp edi, 0xa
je 0x401042
cmp edi, 0x12
jne 0x40104f
push 0x41c260
call fcn.0040d609
add esp, 4
mov edx, dword [0x46a54c]
push edx
call fcn.0040d4fc
mov eax, dword [edi*4 + 0x41d1f8]
push esi
push eax
push 0x41c248
push 0x41d7f8
call fcn.0040d411
add esp, 0x14
mov ecx, dword [0x41ec1c]
cmp ecx, ebp
je 0x40116e
mov eax, dword [0x46a55c]
cmp ecx, eax
je 0x4010bf
mov eax, dword [0x41ec18]
cmp eax, ebp
je 0x4010a5
push eax
call fcn.0040d3bb
mov ecx, dword [0x41ec1c]
add esp, 4
push ecx
call fcn.00408990
mov ecx, dword [0x41ec1c]
push ecx
call fcn.0040d38c
add esp, 8
jmp 0x40116e
push ebx
mov ebx, dword [0x46a540]
push eax
push 0x41c218
push 0x41d7f8
xor edi, edi
call fcn.0040d411
mov edx, dword [0x46a540]
mov eax, dword [0x41ec18]
push ebp
push edx
push eax
call fcn.0040d300
mov esi, dword [0x41f0c8]
mov eax, dword [0x46a540]
add esp, 0x18
cmp esi, ebp
mov dword [0x46a550], eax
je 0x401135
mov ecx, dword [0x41ec18]
push ecx
push esi
call fcn.00406090
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
add edx, ecx
add edx, eax
mov eax, dword [0x46a550]
add esp, 8
inc edi
lea eax, [eax + edx + 0x2e]
mov dword [0x46a550], eax
mov esi, dword [esi + 0x5c]
cmp esi, ebp
jne 0x401102
mov ecx, dword [0x41ec18]
mov edx, dword [0x41f0cc]
push ecx
mov ecx, dword [0x46a558]
push edx
push ecx
sub eax, ebx
push ebx
push eax
push edi
call fcn.00406860
mov edx, dword [0x41ec18]
push edx
call fcn.0040d3bb
mov edi, dword [esp + 0x30]
add esp, 0x1c
mov dword [0x41ec18], ebp
pop ebx
mov eax, dword [0x41f0c0]
cmp eax, ebp
je 0x401186
push eax
call fcn.0040d38c
add esp, 4
mov dword [0x41f0c0], ebp
mov eax, dword [0x41f0c4]
cmp eax, ebp
je 0x40119e
push eax
call fcn.0040d38c
add esp, 4
mov dword [0x41f0c4], ebp
mov eax, dword [0x46a55c]
cmp eax, ebp
je 0x4011b6
push eax
call fcn.0040d38c
add esp, 4
mov dword [0x46a55c], ebp
mov eax, dword [0x41f0cc]
cmp eax, ebp
je 0x4011ce
push eax
call fcn.0040d38c
add esp, 4
mov dword [0x41f0cc], ebp
call fcn.004011e0
push edi
call fcn.0040d6a2
pop edi
pop esi
pop ebp
nop
nop
nop
nop
Function at 0x407a00
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x41f0a8]
push ebx
push esi
push edi
test eax, eax
jne 0x407a3c
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [0x41f05c]
push eax
push esi
push ecx
call fcn.00413d75
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x407b16
test edi, edi
jne 0x407af5
pop edi
pop esi
pop ebx
ret
cmp eax, 1
jne 0x407a8d
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov edx, dword [0x41f05c]
shr eax, 1
push eax
lea ebx, [esi + eax]
push ebx
push edx
call fcn.00413d75
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
mov ecx, edi
je 0x407b16
test edi, edi
je 0x407b16
mov al, byte [ebx]
mov byte [esi], al
inc esi
inc ebx
cmp al, 0xa
jne 0x407a86
mov byte [esi - 1], 0xd
mov byte [esi], al
inc esi
inc edi
dec ecx
jne 0x407a74
sub esi, edi
jmp 0x407af5
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [0x41f05c]
dec eax
push eax
push esi
push ecx
mov ebx, esi
call fcn.00413d75
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
mov ecx, edi
je 0x407b16
test edi, edi
je 0x407b16
mov byte [edi + esi], 0xa
mov al, byte [ebx]
mov byte [esi], al
inc esi
inc ebx
cmp al, 0xd
jne 0x407acb
cmp byte [ebx], 0xa
jne 0x407acb
dec esi
dec edi
dec ecx
jne 0x407aba
test edi, edi
jne 0x407aeb
mov edx, dword [0x41f05c]
push 1
push esi
push edx
call fcn.00413d75
add esp, 0xc
mov edi, 1
jmp 0x407af5
sub esi, edi
cmp byte [edi + esi - 1], 0x1a
jne 0x407af5
dec edi
mov eax, dword [0x41ec48]
push edi
push esi
push eax
call fcn.00409650
mov dword [0x41ec48], eax
mov eax, dword [0x41f054]
add esp, 0xc
add eax, edi
mov dword [0x41f054], eax
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x407e40
Capabilities:
Parse credit card information

Disassembly:
mov eax, dword [0x41db90]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
push eax
push edi
xor ebx, ebx
mov dword [0x46aac0], edi
call fcn.0040e4d2
mov edx, dword [0x46aac0]
xor ecx, ecx
mov ebp, eax
add esp, 8
mov cl, byte [edx]
add ebp, edi
mov esi, ecx
test esi, esi
je 0x407fce
cmp esi, 0x20
je 0x407fa2
cmp esi, 0x3a
je 0x407fa2
cmp esi, 0x22
je 0x407fa2
cmp esi, 0x2a
je 0x407fa2
cmp esi, 0x2b
je 0x407fa2
cmp esi, 0x2c
je 0x407fa2
cmp esi, 0x3b
je 0x407fa2
cmp esi, 0x3c
je 0x407fa2
cmp esi, 0x3d
je 0x407fa2
cmp esi, 0x3e
je 0x407fa2
cmp esi, 0x3f
je 0x407fa2
cmp esi, 0x5b
je 0x407fa2
cmp esi, 0x5d
je 0x407fa2
cmp esi, 0x7c
je 0x407fa2
cmp esi, 0x2f
jne 0x407f21
mov eax, dword [0x41db90]
mov dword [0x46aac0], edi
push eax
push edi
call fcn.0040e4d2
mov ecx, dword [0x46aac0]
add esp, 8
add edi, eax
xor ebx, ebx
mov byte [ecx], 0x2f
jmp 0x407fa2
cmp esi, 0x2e
jne 0x407f5d
test ebx, ebx
je 0x407fa2
cmp ebx, 9
jge 0x407f56
mov edx, dword [0x41db90]
mov dword [0x46aac0], edi
push edx
push edi
call fcn.0040e4d2
add esp, 8
add edi, eax
mov eax, dword [0x46aac0]
mov ebx, 9
mov byte [eax], 0x2e
jmp 0x407fa2
mov ebx, 0xc
jmp 0x407fa2
cmp ebx, 0xc
jge 0x407fa2
cmp ebx, 8
je 0x407fa2
mov ecx, dword [0x41db90]
push ecx
push ebp
call fcn.0040e4d2
mov edx, dword [0x41db90]
add ebx, eax
push edx
push edi
mov dword [0x46aac0], edi
call fcn.0040e4d2
mov ecx, dword [0x46aac0]
add esp, 0x10
add edi, eax
and esi, 0xff
mov al, byte [esi + 0x46aae0]
mov byte [ecx], al
mov edx, dword [0x41db90]
mov dword [0x46aac0], ebp
push edx
push ebp
call fcn.0040e4d2
mov ecx, dword [0x46aac0]
add ebp, eax
xor eax, eax
add esp, 8
mov al, byte [ecx]
mov esi, eax
test esi, esi
jne 0x407e77
mov eax, dword [esp + 0x14]
mov byte [edi], 0
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x409650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push edx
push ecx
mov esi, dword [ebp + 0xc]
sub eax, eax
test esi, esi
je 0x409710
call fcn.00409720
mov edi, eax
mov eax, dword [ebp + 8]
sub ebx, ebx
mov ecx, dword [ebp + 0x10]
not eax
test ecx, ecx
je 0x40970e
test esi, 3
je 0x409694
xor al, byte [esi]
inc esi
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40967e
mov edx, ecx
shr ecx, 3
je 0x4096ed
xchg ebx, ebx
xchg ebx, ebx
nop
xor eax, dword [esi]
add esi, 4
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x4096a0
mov ecx, edx
and ecx, 7
je 0x40970e
xchg ebx, ebx
xchg ebx, ebx
xchg ebx, ebx
xchg ebx, ebx
xchg ebx, ebx
xchg ebx, ebx
xor al, byte [esi]
inc esi
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x409700
not eax
pop ecx
pop edx
pop ebx
pop esi
pop edi
pop ebp
ret