joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d9361fe
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x3d8]
sub esp, 0x458
mov eax, dword [0x6d948560]
xor eax, ebp
mov dword [ebp + 0x3d4], eax
mov eax, dword [ebp + 0x3e4]
push ebx
push esi
mov esi, dword [ebp + 0x3e0]
push edi
push esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [ebp - 0x74], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
push 0x5a
push esi
fstp dword [ebp - 0x70]
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x70]
fmul qword [0x6d93e5f0]
fld qword [0x6d93e5e8]
fdiv st(1), st(0)
fxch st(1)
call fcn.6d939b30
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x3e8]
imul eax, eax, 0xa
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fmul dword [ebp - 0x6c]
fdivrp st(1)
call fcn.6d939b30
mov dword [ebp - 0x7c], eax
push 1
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.GDI32.dll_DPtoLP]
fild dword [ebp - 0x7c]
fabs
fdiv qword [0x6d93e5e0]
fadd qword [0x6d93e5d8]
call fcn.6d939b30
neg eax
cmp dword [ebp + 0x3ec], ebx
mov dword [ebp - 0x68], eax
setne al
mov byte [ebp - 0x53], al
mov eax, dword [ebp + 0x3f0]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x54], bl
mov dword [ebp - 0x52], ebx
mov word [ebp - 0x4e], bx
mov dword [ebp - 0x58], eax
push 0x400
lea eax, [ebp - 0x2c]
push eax
push 0x1002
push 0x800
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push 5
lea eax, [ebp - 0x2c]
push 0x6d93f744
push eax
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
je 0x6d936349
push dword [ebp - 0x78]
jmp 0x6d93634e
push 0x6d93f74c
push 0x20
push eax
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [ebp - 0x74]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebp + 0x3d4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d9398d8
add ebp, 0x3d8
leave
ret 0x14
Function at 0x6d93705f
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x3d8]
sub esp, 0x458
mov eax, dword [0x6d948560]
xor eax, ebp
mov dword [ebp + 0x3d4], eax
mov eax, dword [ebp + 0x3e4]
push ebx
push esi
mov esi, dword [ebp + 0x3e0]
push edi
push esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [ebp - 0x74], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
push 0x5a
push esi
fstp dword [ebp - 0x70]
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x70]
fmul qword [0x6d93e5f0]
fld qword [0x6d93e5e8]
fdiv st(1), st(0)
fxch st(1)
call fcn.6d939b30
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x3e8]
imul eax, eax, 0xa
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fmul dword [ebp - 0x6c]
fdivrp st(1)
call fcn.6d939b30
mov dword [ebp - 0x7c], eax
push 1
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.GDI32.dll_DPtoLP]
fild dword [ebp - 0x7c]
fabs
fdiv qword [0x6d93e5e0]
fadd qword [0x6d93e5d8]
call fcn.6d939b30
neg eax
cmp dword [ebp + 0x3ec], ebx
mov dword [ebp - 0x68], eax
setne al
mov byte [ebp - 0x53], al
mov eax, dword [ebp + 0x3f0]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x54], bl
mov dword [ebp - 0x52], ebx
mov word [ebp - 0x4e], bx
mov dword [ebp - 0x58], eax
push 0x400
lea eax, [ebp - 0x2c]
push eax
push 0x1002
push 0x800
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push 5
lea eax, [ebp - 0x2c]
push str.Japan
push eax
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
je 0x6d9371aa
push dword [ebp - 0x78]
jmp 0x6d9371af
push 0x6d93f8a4
push 0x20
push eax
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [ebp - 0x74]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebp + 0x3d4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d9398d8
add ebp, 0x3d8
leave
ret 0x14
Function at 0x6d9373a4
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x17dc]
mov eax, 0x185c
call fcn.6d9399b0
mov eax, dword [0x6d948560]
xor eax, ebp
mov dword [ebp + 0x17d8], eax
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, edi
call fcn.6d9371ed
movzx eax, word [ebp + 0x17e8]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push ebx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0x7ff
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0xfd9]
push ebx
push eax
mov byte [ebp + 0xfd8], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
mov esi, 0x800
push esi
lea eax, [ebp + 0xfd8]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
je 0x6d937491
add edi, 0x38
push edi
mov edi, dword [sym.imp.MSVCR100.dll_sprintf_s]
push str.http:__java.sun.com_j2se__s_download.html
lea eax, [ebp - 0x28]
push esi
push eax
mov byte [ebp + 0x7d8], bl
call edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0xfd8]
push eax
push str.__s____s_
lea eax, [ebp + 0x7d8]
push esi
push eax
call edi
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0x30
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x7d8]
push eax
push ebx
mov dword [ebp - 0x80], esi
call dword [sym.imp.kernel32.dll_CreateProcessA]
mov ecx, dword [ebp + 0x17d8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.6d9398d8
add ebp, 0x17dc
leave
ret 0x10
Function at 0x6d9382f8
Capabilities:
Query environment variable

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esp + 8], ebx
je 0x6d93831b
push 0x104
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x6d93831b
mov bl, 1
mov al, bl
pop ebx
ret

Function at 0x6d938686
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x6d93b690
call fcn.6d93991a
mov eax, dword [ebp + 8]
push 0x104
push eax
xor edi, edi
push edi
push edi
xor ecx, ecx
push 0x6d93c7f4
mov word [eax], cx
mov dword [ebp - 4], edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x6d9386fa
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__NULL__pPath__MAX_PATH_
call fcn.6d9391ca
pop ecx
pop ecx
push edi
push esi
call fcn.6d92aed2
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.6d938f38
push eax
push esi
push 0x6d93fdac
call fcn.6d9391ca
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x6d9386f3
ret
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x6d9387ab
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x6d938757
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x6d9386be
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x6d9387ab
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x6d9387ab
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x6d9386be
mov eax, esi
call fcn.6d939986
ret
Function at 0x6d938924
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3b8]
sub esp, 0x438
mov eax, dword [0x6d948560]
xor eax, ebp
mov dword [ebp + 0x3b4], eax
push ebx
xor ebx, ebx
push esi
mov esi, 0x20019
push esi
push 0x6d93ff18
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x50], ebx
call fcn.6d92aed2
test eax, eax
je 0x6d9389bf
lea ecx, [ebp - 0x74]
call fcn.6d922c8b
lea ecx, [ebp - 0x5c]
call fcn.6d922c8b
lea ecx, [ebp - 0x68]
call fcn.6d922c8b
lea ecx, [ebp - 0x80]
call fcn.6d922c8b
xor eax, eax
mov ecx, dword [ebp + 0x3b4]
pop esi
xor ecx, ebp
pop ebx
call fcn.6d9398d8
add ebp, 0x3b8
leave
ret
push esi
push 0x6d93ff24
push dword [ebp - 0x80]
lea ecx, [ebp - 0x68]
call fcn.6d92aed2
test eax, eax
jne 0x6d938986
push esi
push 0x6d93ff30
push dword [ebp - 0x68]
lea ecx, [ebp - 0x5c]
call fcn.6d92aed2
test eax, eax
je 0x6d938a0d
lea ecx, [ebp - 0x74]
call fcn.6d922c8b
lea ecx, [ebp - 0x5c]
call fcn.6d922c8b
lea ecx, [ebp - 0x68]
call fcn.6d922c8b
lea ecx, [ebp - 0x80]
call fcn.6d922c8b
mov eax, ebx
jmp 0x6d9389a8
mov esi, 0x400
push esi
lea eax, [ebp - 0x4c]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x4c]
push eax
push ebx
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x6d9389e9
push edi
inc dword [ebp - 0x50]
mov edi, dword [ebp + 0x3c0]
lea eax, [ebp - 0x4c]
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x6d938a60
cmp cl, bl
je 0x6d938a5c
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x6d938a60
add eax, 2
add edi, 2
cmp cl, bl
jne 0x6d938a40
xor eax, eax
jmp 0x6d938a65
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
lea eax, [ebp - 0x4c]
je 0x6d938a8e
push esi
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x50]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x6d938a34
jmp 0x6d938ac4
push 0x20019
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x74]
call fcn.6d92aed2
test eax, eax
jne 0x6d938ac4
push str.UseNewJavaPlugin
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x50], ebx
call fcn.6d92aed2
test eax, eax
jne 0x6d938ac4
xor ebx, ebx
cmp dword [ebp - 0x50], 1
sete bl
pop edi
jmp 0x6d9389e9
Function at 0x6d9394e8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x6d94871c], 0
push esi
push edi
jne 0x6d93945e
call fcn.6d9393ca
test eax, eax
je 0x6d9394a3
mov eax, dword [0x6d94871c]
cmp eax, 1
jne 0x6d93947f
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6d9394a3
jmp 0x6d9394e5
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6d9394e5
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x6d9394a7
xor eax, eax
jmp 0x6d9394e5
mov eax, dword [esi]
push dword [0x6d94871c]
call edi
mov edi, eax
test edi, edi
je 0x6d9394c9
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6d9394e5
lea edi, [esi + 0xff0]
push esi
push dword [0x6d94871c]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6d9394cf
mov eax, esi
pop edi
pop esi
ret
jmp 0x6d93944a

Function at 0x6d9398d8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d948560]
jne 0x6d9398e2
repz ret
jmp fcn.6d939fe2
Function at 0x405d70
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x58
mov eax, 0x501f36
call fcn.004db315
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp + 0x14]
and dword [ebp - 4], 0
and dword [edi], 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 4]
sub eax, 0x200
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp eax, 0xe
ja 0x405dd5
push 0x10
call esi
mov ecx, 0x8000
test cx, ax
jne 0x405dc9
push 0x11
call esi
mov ecx, 0x8000
test cx, ax
jne 0x405dc9
push 0x12
call esi
mov ecx, 0x8000
test cx, ax
je 0x405dd5
xor ebx, ebx
inc ebx
mov dword [edi], ebx
mov eax, ebx
jmp 0x405eae
mov eax, dword [ebx + 4]
sub eax, 0x100
cmp eax, 9
ja 0x405ea8
push 0x11
call esi
mov ecx, 0x8000
test cx, ax
je 0x405e06
cmp dword [ebx + 8], 0x58
je 0x405e06
cmp dword [ebx + 8], 0x43
je 0x405e06
cmp dword [ebx + 8], 0x56
jne 0x405dc9
push 0x12
call esi
mov ecx, 0x8000
test cx, ax
je 0x405e20
cmp dword [ebx + 8], 0x25
je 0x405dc9
cmp dword [ebx + 8], 0x27
je 0x405dc9
cmp dword [ebx + 4], 0x100
jne 0x405ea8
mov eax, dword [ebx + 8]
cmp eax, 8
jne 0x405e99
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 0x14]
call fcn.0040d8af
mov esi, eax
mov dword [ebp - 0x54], esi
test esi, esi
je 0x405e4b
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
mov byte [ebp - 4], 2
test esi, esi
je 0x405e7c
mov dl, bl
mov ecx, esi
call fcn.0040d94c
test al, al
je 0x405e7c
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
jmp 0x405e9c
mov dword [edi], ebx
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
test esi, esi
je 0x405dce
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x405dce
xor ebx, ebx
inc ebx
add eax, 0xffffff90
cmp eax, 0xb
jbe 0x405dcc
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.004db262
ret 0x10
Function at 0x406a87
Capabilities:
Check if file exists

Disassembly:
push 0
mov eax, 0x50238e
call fcn.004db273
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x406aa5
xor al, al
jmp 0x406b58
mov eax, dword [0x5803cc]
mov ecx, edi
push dword [eax - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.00406c2e
and dword [ebp - 4], 0
mov ecx, 0x5803cc
push dword [eax]
call fcn.00406ef1
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040d570
test esi, esi
jne 0x406b20
mov eax, dword [0x5803cc]
mov ecx, edi
push dword [eax - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.00406cff
mov dword [ebp - 4], 2
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406b60
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x406b60
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0040d570
push 1
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00406c93
mov dword [ebp - 4], 6
push 0x534024
push dword [eax]
call fcn.004e32f5
pop ecx
pop ecx
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040d570
test esi, esi
setne al
call fcn.004db23c
ret 4
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x10]
call fcn.0040d570
jmp 0x406a9e

Function at 0x40d3cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40d425
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40d416
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x40d412
cmp esi, ecx
jae 0x40d416
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x40d400
cmp esi, ecx
jb 0x40d41a
xor eax, eax
jmp 0x40d424
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40da04
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x5036dc
call fcn.004db2a7
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x48], esi
and dword [ebp - 0x44], 0
xor edi, edi
mov eax, dword fs:[0x2c]
inc edi
mov dword [ebp - 0x54], esi
mov ecx, dword [eax]
mov eax, dword [0x58376c]
cmp eax, dword [ecx + 4]
jg 0x40db78
push 0x534888
lea ecx, [ebp - 0x28]
call fcn.0040437e
mov dword [ebp - 4], 2
lea edx, [ebp - 0x28]
push edi
lea ecx, [ebp - 0x40]
call fcn.0046b6d0
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00405662
push str.html
lea ecx, [ebp - 0x28]
call fcn.0040437e
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0046ab70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00405662
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0046d3b0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x40daa8
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x50], 0x533e78
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00405662
cmp edi, 0xffffffff
jne 0x40db0c
xor ebx, ebx
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], ebx
mov word [esi], ax
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 4
push edi
mov dword [ebp - 0x50], 0x533e78
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], ebx
jmp 0x40db65
lea eax, [ebp - 0x40]
mov ecx, 0x583770
push eax
call fcn.0046f170
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x40db24
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x48]
xor ebx, ebx
add eax, eax
push ebx
push edx
push eax
push ecx
push edi
mov dword [ebp - 0x48], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
lea ecx, [ebp - 0x40]
call fcn.0046d3b0
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 4
mov dword [ebp - 0x50], 0x533e78
test edi, edi
je 0x40db65
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x40]
call fcn.00405662
mov eax, esi
call fcn.004db251
ret
push 0x58376c
call fcn.004daaf6
cmp dword [0x58376c], 0xffffffff
pop ecx
jne 0x40da3a
mov dword [ebp - 4], edi
mov ecx, 0x583770
call fcn.0046e6e0
push 0x525b0a
call fcn.004da93d
mov byte [ebp - 4], 0
mov dword [esp], 0x58376c
call fcn.004daaac
pop ecx
jmp 0x40da3a

Function at 0x40ec66
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor edx, edx
mov ecx, 0x811c9dc5
cmp dword [esp + 8], edx
jbe 0x40ec8c
push esi
mov esi, dword [esp + 8]
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [esp + 0xc]
jb 0x40ec78
pop esi
mov eax, ecx
ret

Function at 0x410bbe
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, ecx
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [esp + 0xc]
lea esi, [eax + 1]
push esi
call fcn.0040d689
push esi
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0xc]
mov esi, eax
push esi
call fcn.00410b95
pop edi
mov eax, esi
pop esi
ret 4
Function at 0x41c452
Capabilities:
Parse credit card information

Disassembly:
push 0x2c
mov eax, 0x50661c
call fcn.004db2a7
mov ebx, ecx
mov edi, ebx
lea eax, [ebx - 0x218]
neg edi
sbb edi, edi
and edi, eax
cmp dword [ebx + 0x14], 0
jne 0x41c47b
xor al, al
jmp 0x41c598
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push eax
push 0x434
push dword [edi + 0x154]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
je 0x41c4a8
mov al, 1
jmp 0x41c598
mov al, byte [ebp + 8]
cbw
push eax
mov dword [ebp - 0x38], eax
call fcn.004e3827
pop ecx
test eax, eax
je 0x41c4a1
movsx ecx, byte [ebp + 8]
movzx eax, word [ebx]
mov dword [ebp - 0x2c], ecx
cmp eax, ecx
je 0x41c474
call fcn.0040d266
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d07d
mov dword [ebp - 4], 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 4]
call fcn.00410bbe
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
push esi
call fcn.0040437e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebx + 0x14]
jae 0x41c570
add ebx, 4
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x41c50f
mov eax, dword [ebx]
movzx eax, word [eax + ecx*2]
cmp eax, 0x3d
ja 0x41c53e
je 0x41c57c
sub eax, 0x23
je 0x41c52a
dec eax
sub eax, 1
je 0x41c52a
sub eax, 1
jmp 0x41c550
push dword [ebp - 0x38]
call fcn.004e3814
pop ecx
test eax, eax
jne 0x41c57c
push 0x1056
jmp 0x41c568
cmp eax, 0x3f
jb 0x41c552
cmp eax, 0x40
jbe 0x41c57c
cmp eax, 0x5e
je 0x41c57c
cmp eax, 0x60
je 0x41c57c
cmp dword [ebx + 0x14], 8
jb 0x41c55a
mov ebx, dword [ebx]
movzx eax, word [ebx + ecx*2]
cmp dword [ebp - 0x2c], eax
je 0x41c57c
push 0x1057
push ecx
mov ecx, edi
call fcn.0041c20c
push 0x10
call dword [sym.imp.USER32.dll_MessageBeep]
xor ebx, ebx
jmp 0x41c57e
mov bl, 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00405662
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.0040d570
mov al, bl
call fcn.004db251
ret 4

Function at 0x41fdf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5070d5
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x57d074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
call fcn.004da6a7
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 4], ecx
or dword [ebp - 4], 0xffffffff
push eax
push eax
push esi
push 0x41fdad
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x41fe56
push 8
push esi
call fcn.004dadb5
pop ecx
pop ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret