joyce8/EMBER2024-capa huggingface dataset:
Function at 0x577000
Capabilities:
Encode data using xor

Disassembly:
push eax
push ecx
push edx
push ebx
push ebp
push esi
push edi
call 0x57700c
pop ebx
sub ebx, 0x8d00c
push 0
pop ecx
push ebx
sub dword [ebx + 0x2dc], 0x5c7d551b
xor dword [ebx + 0x16c], 0x1f6e71d3
xor dword [ebx + 0x78], 0x48c038a0
add dword [ebx + 0x13c], 0x1dba3383
not dword [ebx + 0x1c4]
add dword [ebx + 0x8c], 0xf113dc0
xor dword [ebx + 0x2b4], 0x57292426
add dword [ebx + 0x90], 0x72815eba
add dword [ebx + 0xdc], 0x3f676a03
sub dword [ebx + 0xac], 0x2cf74d38
add dword [ebx + 0xe0], 0x6b69131d
add dword [ebx + 0x29c], 0x2c485d6c
xor dword [ebx + 0xf4], 0x608f0170
sub dword [ebx + 0xbc], 0x210a4531
xor dword [ebx + 0x30c], 0x594b469c
not dword [ebx + 0xa8]
add dword [ebx + 0x228], 0x44c32042
not dword [ebx + 0x28]
not dword [ebx + 0x168]
add dword [ebx + 0x44], 0x4a34433d
not dword [ebx + 0x290]
sub dword [ebx + 0x150], 0x23f9257e
xor dword [ebx + 0x25c], 0x75b06c62
sub dword [ebx + 0x200], 0x315606bb
add dword [ebx + 0x1dc], 0x544d5946
xor dword [ebx + 0x54], 0x48fb5edc
sub dword [ebx + 0x3c8], 0x4b566e4a
xor dword [ebx + 0x284], 0x59a63ad8
not dword [ebx + 0x3d4]
not dword [ebx + 0x12c]
not dword [ebx + 0x138]
add dword [ebx + 0x70], 0x61052e5c
add dword [ebx + 0x308], 0x6d9a177e
not dword [ebx + 0xb4]
not dword [ebx + 0x318]
not dword [ebx + 0x1b8]
add dword [ebx + 0xe8], 0x39d6514c
xor dword [ebx + 0xc0], 0x593a3e75
sub dword [ebx + 0x14], 0x34c7254a
xor dword [ebx + 0x144], 0x4b767c0f
xor dword [ebx + 0x2bc], 0xfe146f3
not dword [ebx + 0x1b4]
not dword [ebx + 0x18]
not dword [ebx + 0xec]
sub dword [ebx + 0x354], 0x511101c
xor dword [ebx + 0x1f4], 0x7c8b0113
add dword [ebx + 0x2e0], 0x4e59037f
xor dword [ebx + 0x204], 0xa74530b
not dword [ebx + 0x3f0]
not dword [ebx + 0x36c]
sub dword [ebx + 0xf0], 0x2e2716d5
add dword [ebx + 0x3a0], 0x7dcd5ad3
sub dword [ebx + 0x124], 0x45c12a3f
not dword [ebx + 0x3f8]
not dword [ebx + 0x7c]
add dword [ebx + 0x3bc], 0x4b5662fc
not dword [ebx + 0x38c]
add dword [ebx + 0x3b4], 0x4716e9b
sub dword [ebx + 0x268], 0x7b5e5ed3
xor dword [ebx + 0x64], 0x79ae5b82
xor dword [ebx + 0x68], 0x21a5808
xor dword [ebx + 0x1ac], 0x1b11c25
not dword [ebx + 0xe4]
xor dword [ebx + 0x238], 0x17d02532
not dword [ebx + 0x158]
not dword [ebx + 0x2d8]
xor dword [ebx + 0x384], 0x6b5c1d99
add dword [ebx + 0x4c], 0x7063f5f
add dword [ebx + 0x328], 0x35035334
xor dword [ebx + 0x114], 0x10564ac8
add dword [ebx + 0x1cc], 0x82f30d6
sub dword [ebx + 0x2a8], 0xa784eff
sub dword [ebx + 0x198], 0xe8654bf
add dword [ebx + 0x50], 0x63ca43fa
add dword [ebx + 0x194], 0x5a675ee3
sub dword [ebx + 0x3a4], 0x6a3c4d34
not dword [ebx + 0x60]
xor dword [ebx + 0x5c], 0xcb362ec
add dword [ebx + 0x3d8], 0x68ea7a5d
not dword [ebx + 0x244]
not dword [ebx + 0x378]
add dword [ebx + 0x154], 0x6cd729aa
add dword [ebx + 0x234], 0x6de47141
xor dword [ebx + 0xd0], 0x409c43f3
not dword [ebx + 0x2b8]
not dword [ebx + 0x14c]
not dword [ebx + 0x2d4]
xor dword [ebx + 0x270], 0x7f203390
xor dword [ebx + 0x210], 0x2ea761a0
sub dword [ebx + 0x2f4], 0x7aa66ab
xor dword [ebx + 0x98], 0x1baa4fc7
sub dword [ebx + 0x330], 0x3dad3c3a
xor dword [ebx + 0xc8], 0x3d13443
invalid
inc ebx
Function at 0x416000
Capabilities:
Accept command line arguments
Contain obfuscated stackstrings
Encode data using xor
Persist via run registry key
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 0x14], 0x3b200
mov dword [ebp - 0x34], 0x345c3a43
mov dword [ebp - 0x30], 0x37353034
mov dword [ebp - 0x2c], 0x2e386330
mov dword [ebp - 0x28], 0x657865
call 0x416031
pop edx
mov ecx, 0x23e
add edx, 0xf
xor byte [edx], 0xf7
inc edx
loop 0x41603a
xchg ebx, eax
or dl, al
invalid

Function at 0x49da20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
clc
sub esp, 0x30
cld
sahf
nop
cld
add cl, al
sub cl, al
cmc
pushal
add esp, 0x24
je 0x49dc4a
not dl
call fcn.0049dad4
mov ebx, dword [esp - 4]
xchg cl, dh
mov bl, 0
sbb ah, ah
sub ebx, 0x1e
jmp 0x49db6c
call esi
lea esi, [edx - 0x17]
test ebx, 0x6987cc21
pop edi
pop esi
mov eax, 0x86048ec2
pop ebp
sbb al, 0x68
pop edx
pop ebx
pop edx
pop ecx
cmp eax, 0xcd3b93cc
pop eax
ret 0x2c
sub bx, 0x62
jne 0x49da48
movzx edx, word [ebx + 0x3c]
adc edx, 0xffffee2b
jns 0x49da48
lea edi, [edi]
mov edx, dword [edx + ebx + 0x11d6]
lea ecx, [0x8e96373c]
xchg edi, eax
mov eax, esi
mov esi, ebx
xor dx, 0x45
jne 0x49da48
push 0x3803e5e1
call fcn.0049daf4
mov dword [esp + 0x44], esi
inc eax
call fcn.0049dda8
jmp 0x49dc18
mov dword [esp + 0x34], eax
mov ecx, eax
cmp eax, 3
jle 0x49db23
mov edi, ebp
mov ecx, ebx
mov eax, dword fs:[0x18]
test eax, eax
js 0x49dc4a
cmc
and al, 0xff
inc edx
dec edx
cmp edi, ecx
mov cl, al
xchg cl, dh
xchg edx, ecx
mov eax, dword [eax + 0x34]
jmp 0x49dc5b
push 0x533a0d7c
call fcn.0049daf4
cmp ch, ah
mov eax, esi
call eax
nop
add al, 0
jne 0x49dc68
inc edx
mov al, ch
nop
call fcn.0049dd61
push 0x2f448678
call fcn.0049daf4
adc ebp, 0x17
mov ecx, esp
push dword [esp + 0x34]
jmp 0x49db18
Function at 0x415ca5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x24], eax
mov ebx, ecx
push esi
xor eax, eax
mov dword [ebp - 0x20], ebx
push edi
mov edi, dword [ebp + 0x20]
inc eax
lock xadd dword [0x443f0c], eax
inc eax
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov esi, ecx
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx], ecx
mov dword [ebx + 4], 0x4115bf
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x5c], ecx
mov dword [ebx + 0x60], ecx
mov dword [ebx + 0x64], ecx
mov dword [ebx + 0x68], ecx
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x70], ecx
mov dword [ebx + 0x74], ecx
mov dword [ebx + 0x78], 7
mov dword [ebx + 0x7c], ecx
mov dword [ebx + 0x80], ecx
mov dword [ebx + 0x84], ecx
mov dword [ebx + 0x88], ecx
mov byte [ebx + 0x8c], cl
mov dword [ebx + 0xa8], ecx
mov dword [ebx + 0xac], ecx
mov dword [ebx + 0xb0], ecx
mov dword [ebx + 0xb4], ecx
mov dword [ebx + 0xb8], ecx
mov word [ebx + 0xbc], cx
mov byte [ebx + 0xbe], cl
test edi, edi
je 0x415db9
push 0x348
call fcn.0042b9c5
pop ecx
push dword [ebp + 0x2c]
mov ecx, eax
push dword [ebx + 0x6c]
push edi
call fcn.00416a5e
mov edi, eax
test edi, edi
je 0x415db9
cmp dword [edi + 0x28], 0
mov esi, edi
jne 0x415da3
mov ecx, edi
call fcn.00416aba
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x415db9
push eax
mov ecx, edi
call fcn.00416b55
push dword [ebp - 0x1c]
mov bl, al
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
mov ebx, dword [ebp - 0x20]
je 0x415db9
mov ecx, dword [ebx + 0xc]
xor esi, esi
cmp edi, ecx
je 0x415db9
test ecx, ecx
je 0x415db6
push ecx
call fcn.004169c5
mov dword [ebx + 0xc], edi
cmp dword [ebx + 0xc], 0
jne 0x415e7e
lea eax, [ebx + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
xor eax, eax
push eax
push 1
push eax
push eax
call edi
mov dword [ebx + 0xa8], eax
xor eax, eax
push eax
push 1
push eax
push eax
call edi
mov dword [ebx + 0xac], eax
test eax, eax
je 0x415e1f
xor ecx, ecx
cmp dword [ebx + 0xa8], ecx
je 0x415e1f
lea eax, [ebp - 0x2c]
push eax
push ecx
push ebx
push 0x416115
push 0x10000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x88], eax
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x64], eax
test eax, eax
je 0x415e42
push str.MiniDumpWriteDump
push eax
call edi
mov dword [ebx + 0x68], eax
push str.rpcrt4.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 0x70], eax
test eax, eax
je 0x415e5f
push 0x43d7e4
push eax
call edi
mov dword [ebx + 0x74], eax
push dword [ebp - 0x24]
lea edi, [ebx + 0x10]
mov ecx, edi
call fcn.00410e64
cmp dword [edi + 0x14], 8
jb 0x415e74
mov edi, dword [edi]
invalid
Function at 0x10006101
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x108
call fcn.1000b6ab
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x6bc29a
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
push 0x108
call fcn.1000b6ab
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x6bc29a
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 4]
call fcn.1000105f
mov eax, 0
cmp eax, ecx
jl 0x10006181
push 0
push 0x4011022
push 1
call fcn.1000b69f
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov ebx, dword [ebp - 8]
call fcn.1000105f
mov eax, 0
cmp eax, ecx
jl 0x100061b4
push 0x29
push 0x4011022
push 1
call fcn.1000b69f
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, 0x100
xor ebx, ebx
sub bl, cl
mov byte [ebx + eax], bl
loop 0x100061ca
push eax
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov esi, dword [ebp - 8]
add esi, 8
mov ecx, 0x100
xor ebx, ebx
cmp ebx, edi
jb 0x100061f2
xor ebx, ebx
mov ah, byte [ebx + edx]
mov byte [esi], ah
inc esi
inc ebx
loop 0x100061ec
pop edi
xor ebx, ebx
sub esi, 0x100
xor eax, eax
mov ecx, 0x100
mov dl, byte [eax + esi]
add bl, dl
mov dl, byte [eax + edi]
add bl, dl
mov dl, byte [eax + edi]
mov dh, byte [ebx + edi]
mov byte [eax + edi], dh
mov byte [ebx + edi], dl
inc eax
loop 0x1000620b
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
add esi, 8
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.1000bdf0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10006267
push ebx
call fcn.1000b699
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, 8
xor eax, eax
xor ebx, ebx
push ecx
movzx ecx, al
inc cl
push edx
mov dh, byte [ecx + edi]
add bl, dh
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
mov byte [ebx + edi], dh
add dl, dh
movzx edx, dl
mov dl, byte [edx + edi]
mov cl, byte [eax + esi]
xor cl, dl
pop edx
mov byte [eax + edx], cl
inc eax
pop ecx
loop 0x1000627c
mov ebx, dword [ebp - 4]
push ebx
call fcn.1000b699
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.1000b699
add esp, 4
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000c980
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1000c99e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1000c993
pop esi
ret
Function at 0x4026b0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x4026e3
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4026e3
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x4026e3
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x4026e3
mov al, 1
ret
xor al, al
ret

Function at 0x45f430
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
jne 0x45f4ca
push str.dwmapi.dll
call main
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
je 0x45f4c6
push str.DwmInvalidateIconicBitmaps
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.DwmSetIconicThumbnail
push dword [esi + 0x20]
mov dword [esi + 4], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.DwmSetIconicLivePreviewBitmap
push dword [esi + 0x20]
mov dword [esi + 8], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.DwmSetWindowAttribute
push dword [esi + 0x20]
mov dword [esi + 0xc], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.DwmGetWindowAttribute
push dword [esi + 0x20]
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.DwmExtendFrameIntoClientArea
push dword [esi + 0x20]
mov dword [esi + 0x14], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push str.DwmDefWindowProc
push dword [esi + 0x20]
mov dword [esi + 0x18], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
mov byte [esi + 0x24], 1
pop esi
ret
Function at 0x4a8cd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f10b
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
call fcn.00401a50
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, eax
call fcn.00401ab0
test al, al
je 0x4a8f17
call main
mov edi, eax
test edi, edi
je 0x4a8f17
test esi, esi
je 0x4a8f17
cmp word [esi], 0
je 0x4a8f17
push esi
lea ecx, [ebp - 0x23c]
call main
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x4a8db2
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x102
ja 0x4a8db2
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4a8db2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a8d90
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x23c]
call main
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x224]
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
push 0
push edi
movq qword [ebp - 0x278], xmm0
movq qword [ebp - 0x224], xmm0
call main
push 0x34
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.005290f0
add esp, 0xc
lea edi, [ebp - 0x23c]
cmp dword [ebp - 0x228], 8
lea ecx, [ebp - 0x224]
cmovae edi, dword [ebp - 0x23c]
call fcn.00416720
mov esi, eax
test esi, esi
jne 0x4a8e20
lea edi, [eax + 4]
jmp 0x4a8f03
mov eax, dword [ebp + 8]
mov ecx, esi
push 4
push 0
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x274]
push 4
push eax
mov dword [esi], 0x100
mov dword [esi + 4], 0
mov dword [esi + 0x3c], 3
push 0
mov dword [esi + 0x44], 0x70
call main
test al, al
jne 0x4a8e68
mov edi, 4
jmp 0x4a8f03
push 1
push 0
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x274], edi
call main
push eax
push edi
push 1
mov ecx, esi
call main
test al, al
jne 0x4a8e93
mov edi, 4
jmp 0x4a8f03
push 6
push 1
push 0x208
push ebx
push 2
mov ecx, esi
mov dword [ebp - 0x278], 0x208
mov dword [ebp - 0x274], ebx
call main
test al, al
jne 0x4a8ec1
mov edi, 4
jmp 0x4a8f03
lea eax, [ebp - 0x270]
push eax
push esi
lea ecx, [ebp - 0x224]
call main
mov edi, eax
cmp edi, 0xa
je 0x4a8f03
mov ecx, dword [esi + 0x5c]
add ecx, esi
push ecx
lea ecx, [ebp - 0x278]
call main
push esi
lea ecx, [ebp - 0x224]
mov bl, al
call main
test bl, bl
jne 0x4a8f03
mov edi, 2
lea ecx, [ebp - 0x23c]
call main
test edi, edi
jne 0x4a8f17
lea eax, [edi + 1]
jmp 0x4a8f19
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ac410
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4ac42b
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4ac440
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov dword [esi + 8], 0
cmp dword [esi + 0x1c], 0
je 0x4ac477
cmp dword [esi + 0x20], 8
push edi
lea edi, [esi + 0xc]
mov eax, edi
jb 0x4ac454
mov eax, dword [edi]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x4ac46a
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
pop edi
mov dword [esi + 0x24], eax
mov dword [esi], eax
pop esi
ret
mov dword [esi + 0x24], 0
mov dword [esi], 0
pop esi
ret

Function at 0x4eb2f0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x78], 0
je 0x4eb31b
cmp dword [esi + 0x7c], 0
je 0x4eb31b
cmp dword [esi + 0x80], 0
je 0x4eb31b
cmp dword [esi + 0x84], 0
je 0x4eb31b
cmp dword [esi + 0x88], 0
jne 0x4eb396
push str.prntvpt.dll
call main
mov edi, eax
add esp, 4
test edi, edi
je 0x4eb39b
push str.PTOpenProvider
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi + 0x78], eax
test eax, eax
je 0x4eb39b
push str.PTConvertDevModeToPrintTicket
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi + 0x7c], eax
test eax, eax
je 0x4eb39b
push str.PTCloseProvider
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi + 0x80], eax
test eax, eax
je 0x4eb39b
push str.PTConvertPrintTicketToDevMode
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi + 0x84], eax
test eax, eax
je 0x4eb39b
push str.PTReleaseMemory
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi + 0x88], eax
test eax, eax
je 0x4eb39b
pop edi
mov al, 1
pop esi
ret
pop edi
xor al, al
pop esi
ret
Function at 0x50f200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
push 5
push dword [edi + 0xcc]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0xcc]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 5
push dword [edi + 0xcc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 7
push dword [edi + 0xcc]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [ebp + 8], 0
je 0x50f263
push dword [edi + 0xcc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x5cb420]
test eax, eax
jne 0x50f27f
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0xc2], 0
mov dword [ebp - 0x24], eax
je 0x50f359
push esi
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x24]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 1
ja 0x50f358
test eax, eax
je 0x50f34e
cmp eax, 1
jne 0x50f33a
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x50f33f
mov esi, dword [edi + 4]
test esi, esi
je 0x50f30e
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0x24]
cmp ecx, eax
je 0x50f2f5
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x50f30e
lea eax, [ebp - 0x20]
push eax
push 0
push 0x37f
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
je 0x50f322
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x50f2d5
jmp 0x50f33f
cmp eax, 0xffffffff
je 0x50f34e
cmp byte [edi + 0xc2], 0
jne 0x50f290
jmp 0x50f358
mov dword [edi + 0xbc], 2
pop esi
cmp dword [edi + 0xbc], 1
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop edi
call fcn.0040154f
mov esp, ebp
pop ebp
ret 4
Function at 0x515c90
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor dl, dl
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x515e5f
push ebx
mov eax, ecx
push edi
cmp eax, 0x7c
je 0x515e5d
cmp eax, 0x29
jne 0x515cd3
cmp dword [esi + 0x10], 0
jne 0x515e5d
cmp eax, eax
jne 0x515cd3
test dword [esi + 0x50], 0x10000000
je 0x515e6c
jmp 0x515e14
cmp eax, 0x2e
jne 0x515ce7
push 5
lea ecx, [esi + 0x24]
call main
jmp 0x515e3f
cmp eax, 0x5c
jne 0x515d43
mov ecx, esi
call main
test byte [esi + 0x50], 0x80
je 0x515d37
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x515d16
push 4
lea ecx, [esi + 0x24]
call main
mov ecx, esi
call main
jmp 0x515e4d
cmp al, 0x42
jne 0x515d37
push 4
lea ecx, [esi + 0x24]
call main
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call main
jmp 0x515e4d
mov ecx, esi
call main
jmp 0x515e46
cmp eax, 0x5b
jne 0x515da4
mov ecx, esi
call main
lea ecx, [esi + 0x24]
call main
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x515d70
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call main
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x515d8e
cmp eax, 0x5d
jne 0x515d8e
push eax
lea ecx, [esi + 0x24]
call main
mov ecx, esi
call main
mov ecx, esi
call main
cmp dword [esi + 0x4c], 0x5d
jne 0x515e75
jmp 0x515e3f
cmp eax, 0x28
jne 0x515dd0
mov ecx, esi
call main
mov ecx, esi
call fcn.00518810
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x515e6c
mov ecx, esi
call main
test bl, bl
je 0x515e4d
jmp 0x515e46
cmp eax, 0x5e
jne 0x515de8
push 2
lea ecx, [esi + 0x24]
call main
mov ecx, esi
call main
jmp 0x515e4d
cmp eax, 0x24
jne 0x515e00
push 3
lea ecx, [esi + 0x24]
call main
mov ecx, esi
call main
jmp 0x515e4d
cmp eax, 0x2a
je 0x515e63
cmp eax, 0x2b
je 0x515e63
cmp eax, 0x3f
je 0x515e63
cmp eax, 0x7b
je 0x515e63
cmp ecx, 0x7d
jne 0x515e24
test dword [esi + 0x50], 0x10000000
je 0x515e7e
jmp 0x515e32
cmp ecx, 0x5d
jne 0x515e32
test dword [esi + 0x50], 0x10000000
je 0x515e75
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call main
mov ecx, esi
call main
mov ecx, esi
call main
mov ecx, dword [esi + 0x4c]
mov dl, 1
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x515ca5
pop edi
pop ebx
mov al, dl
pop esi
ret
push 0xa
mov ecx, esi
call main
push 5
mov ecx, esi
call main
push 4
mov ecx, esi
call main
push 6
mov ecx, esi
call main
int3

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x811c9dc5
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
sub edi, edx
xor esi, esi
cmp edx, dword [ebp + 0xc]
cmova edi, ebx
test edi, edi
je 0x5189a4
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
inc esi
imul eax, ecx, 0x1000193
cmp esi, edi
jne 0x518991
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x5195c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x5195cf
pop dword [ebp - 0x48]
mov eax, 0x5195cf
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x97982
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x4519
mov ebx, eax
mov esi, 0x75a0065e
add esi, 0x8ac991a2
add esi, dword [ebp - 0x48]
mov edx, 0x7c63555e
sub edx, 0x8fab32d1
add dword [ebp - 0x10], esi
mov edi, dword [esi]
add dword [ebp - 0xc], ebx
add edi, edx
xor dword [ebp - 0x28], 0x9e72b2f9
mov dword [ebx], edi
add dword [ebp - 0x30], 0xe85523c8
add ebx, 4
add esi, 4
loop 0x51961e
add eax, 0x41fe2feb
sub eax, 0x41fd28b4
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x52af887c
add ecx, 0xad907784
add ecx, dword [ebp - 0x48]
call ebx
leave
ret