joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4118e0
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52fa98
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x411982
cmp word [esi], di
je 0x411982
test eax, eax
je 0x41193e
cmp word [eax], di
je 0x41193e
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x411982
jmp 0x41197d
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004d7bd0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x411982
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x4119b3
mov dword [ebp - 0x424], edi
lea edx, [ebp - 0x424]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x4119b3
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret 0x30
Function at 0x412ae0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x412b39
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x412b39
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x412b2a
cmp esi, edx
jae 0x412b39
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x412b18
cmp esi, edx
jae 0x412b39
cmp word [esi], 0
je 0x412b39
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x413f00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
mov eax, dword [ebp + 0x48]
push esi
movups xmmword [ebp - 0x48], xmm0
mov esi, dword [ebp + 0x8c]
movups xmm0, xmmword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x90]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x4c], esi
mov dword [edi + 0x40], esi
movups xmm0, xmmword [ebp + 0x28]
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [ebp + 0x38]
movups xmmword [ebp - 0x18], xmm0
movups xmm0, xmmword [ebp + 0x4c]
movups xmmword [ebp - 0x8c], xmm0
movups xmm0, xmmword [ebp + 0x5c]
movups xmmword [ebp - 0x7c], xmm0
movups xmm0, xmmword [ebp + 0x6c]
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [ebp + 0x7c]
movups xmmword [ebp - 0x5c], xmm0
test esi, esi
jle 0x414084
cmp esi, 0x40
jb 0x41406d
lea edx, [esi - 1]
lea ecx, [ebp + esi - 0x49]
add edx, edi
cmp edi, ecx
ja 0x413fa7
lea ecx, [ebp - 0x48]
cmp edx, ecx
jae 0x41406d
lea ecx, [ebp + esi - 0x8d]
cmp edi, ecx
ja 0x413fc0
lea ecx, [ebp - 0x8c]
cmp edx, ecx
jae 0x41406d
mov ecx, esi
push ebx
and ecx, 0x8000003f
jns 0x413fd0
dec ecx
or ecx, 0xffffffc0
inc ecx
mov ebx, esi
lea edx, [edi + 0x20]
sub ebx, ecx
mov dword [ebp - 0x98], edx
mov esi, edi
lea ecx, [ebp - 0x38]
sub esi, ecx
sub ecx, edi
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x7c]
sub ecx, edi
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x48]
lea ecx, [ebp - 0x38]
add edx, eax
movups xmm1, xmmword [ebp + eax - 0x8c]
add ecx, eax
pxor xmm1, xmm0
movups xmm0, xmmword [ecx]
movups xmmword [esi + ecx], xmm1
mov ecx, dword [ebp - 0x94]
movups xmm1, xmmword [ebp + eax - 0x7c]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x6c]
movups xmmword [edx - 0x10], xmm1
movups xmm1, xmmword [ebp + eax - 0x28]
add eax, 0x40
pxor xmm1, xmm0
movups xmm0, xmmword [edi + edx]
movups xmmword [edx], xmm1
movups xmm1, xmmword [ecx + edx]
pxor xmm1, xmm0
movups xmmword [edx + 0x10], xmm1
mov edx, dword [ebp - 0x98]
cmp eax, ebx
jl 0x414000
mov esi, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa0]
pop ebx
cmp eax, esi
jge 0x414084
mov cl, byte [ebp + eax - 0x8c]
xor cl, byte [ebp + eax - 0x48]
mov byte [edi + eax], cl
inc eax
cmp eax, esi
jl 0x414071
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
Function at 0x416ab0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x68], 0x740068
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x68]
mov eax, 0x58ce90
mov dword [ebp - 0x64], 0x700074
push edi
mov dword [ebp - 0x60], 0x2f003a
mov edx, 0x31
mov dword [ebp - 0x5c], 0x73002f
sub esi, eax
mov dword [ebp - 0x58], 0x2e0032
mov dword [ebp - 0x54], 0x75006c
mov dword [ebp - 0x50], 0x610064
mov dword [ebp - 0x4c], 0x680073
mov dword [ebp - 0x48], 0x2e0069
mov dword [ebp - 0x44], 0x6f0063
mov dword [ebp - 0x40], 0x2f006d
mov dword [ebp - 0x3c], 0x6e0069
mov dword [ebp - 0x38], 0x740073
mov dword [ebp - 0x34], 0x75002f
mov dword [ebp - 0x30], 0x69006e
mov dword [ebp - 0x2c], 0x73006e
mov dword [ebp - 0x28], 0x2e0074
mov dword [ebp - 0x24], 0x680070
mov dword [ebp - 0x20], 0x3f0070
mov dword [ebp - 0x1c], 0x720066
mov dword [ebp - 0x18], 0x6d006f
mov dword [ebp - 0x14], 0x62003d
mov dword [ebp - 0x10], 0x7a0069
mov dword [ebp - 0xc], 0x690068
lea ecx, [edx + 0x7fffffcd]
test ecx, ecx
je 0x416b9e
movzx ecx, word [esi + eax]
test cx, cx
je 0x416b9e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x416b80
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
Function at 0x418250
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 4], 0
je 0x418266
mov eax, 1
pop edi
pop ebp
ret 4
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x418324
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418324
push esi
call fcn.00475130
add esp, 4
test eax, eax
je 0x418324
cmp dword [edi + 0xc], 0
jne 0x4182f7
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0xc], eax
test eax, eax
je 0x41831b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi + 0xc]
mov dword [edi + 0x10], eax
call esi
push str.zlib_uncompress
push dword [edi + 0xc]
mov dword [edi + 0x14], eax
call esi
push str.zlib_compress
push dword [edi + 0xc]
mov dword [edi + 0x1c], eax
call esi
push str.zlib_compressBound
push dword [edi + 0xc]
mov dword [edi + 0x20], eax
call esi
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4182f7
call eax
mov dword [edi + 0x18], eax
cmp dword [edi + 0x14], 0
je 0x41831b
cmp dword [edi + 0x10], 0
je 0x41831b
cmp dword [edi + 0x18], 0
je 0x41831b
pop esi
mov dword [edi + 4], 1
mov eax, 1
pop edi
pop ebp
ret 4
mov eax, dword [edi + 4]
pop esi
pop edi
pop ebp
ret 4
pop esi
xor eax, eax
pop edi
pop ebp
ret 4

Function at 0x4190a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x88], 0x4f0053
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x88]
mov eax, 0x58cf30
mov dword [ebp - 0x84], 0x540046
push edi
mov dword [ebp - 0x80], 0x410057
mov edx, 0x41
mov dword [ebp - 0x7c], 0x450052
sub esi, eax
mov dword [ebp - 0x78], 0x4d005c
mov dword [ebp - 0x74], 0x630069
mov dword [ebp - 0x70], 0x6f0072
mov dword [ebp - 0x6c], 0x6f0073
mov dword [ebp - 0x68], 0x740066
mov dword [ebp - 0x64], 0x57005c
mov dword [ebp - 0x60], 0x6e0069
mov dword [ebp - 0x5c], 0x6f0064
mov dword [ebp - 0x58], 0x730077
mov dword [ebp - 0x54], 0x43005c
mov dword [ebp - 0x50], 0x720075
mov dword [ebp - 0x4c], 0x650072
mov dword [ebp - 0x48], 0x74006e
mov dword [ebp - 0x44], 0x650056
mov dword [ebp - 0x40], 0x730072
mov dword [ebp - 0x3c], 0x6f0069
mov dword [ebp - 0x38], 0x5c006e
mov dword [ebp - 0x34], 0x700041
mov dword [ebp - 0x30], 0x200070
mov dword [ebp - 0x2c], 0x610050
mov dword [ebp - 0x28], 0x680074
mov dword [ebp - 0x24], 0x5c0073
mov dword [ebp - 0x20], 0x360033
mov dword [ebp - 0x1c], 0x770030
mov dword [ebp - 0x18], 0x610070
mov dword [ebp - 0x14], 0x700070
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
lea ecx, [edx + 0x7fffffbd]
test ecx, ecx
je 0x4191d2
movzx ecx, word [esi + eax]
test cx, cx
je 0x4191d2
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4191b4
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
Function at 0x4194d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
test edx, edx
jne 0x4194f2
xor eax, eax
jmp 0x419510
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419500
sub eax, edi
sar eax, 1
pop edi
push eax
push edx
lea ecx, [esi + 4]
call fcn.00412460
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004d7bd0
add esp, 0xc
mov dword [ebp - 0x218], 1
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
lea ecx, [ebp - 0x20d]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x547e40
call fcn.00418fc0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x419598
lea eax, [ebp - 0x20c]
push str.birdwallpaper
push eax
call fcn.00502591
add esp, 8
test eax, eax
jne 0x419598
mov dword [esi + 8], 1
mov ecx, esi
call fcn.00419820
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.004b85ea
mov esp, ebp
pop ebp
ret 4
Function at 0x41ac90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.004d7bd0
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.004d7bd0
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41acf3
cmp dword [ebp - 0x114], 6
mov eax, 0x30
jae 0x41acf8
mov eax, 0x2c
mov ecx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x41ad16
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov ecx, edi
jmp 0x41ad18
mov eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x41ad2c
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [0x58fb20]
mov eax, esi
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b85ea
mov esp, ebp
pop ebp
ret 0x18
Function at 0x41d440
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530800
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x589644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebx - 0x6c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41d4c1
push dword [ebp - 0x14]
lea esi, [ebx - 0x70]
lea eax, [esi + 0x20]
push eax
push 0x587db8
push 0x587d88
push 0x58fb18
call fcn.0041cda0
movzx edi, ax
add esp, 0x14
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], edi
test eax, eax
jne 0x41d55e
call fcn.00471d56
mov dword [esi + 0x14], eax
test eax, eax
jne 0x41d55e
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
push dword [ebx - 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax + 0x24], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
call fcn.00478ed3
lea eax, [ebp - 0x20]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xd]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0x416420
push 0x58cdd8
call fcn.004798cc
add esp, 0x10
test eax, eax
je 0x41d5f8
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
call fcn.00478f0d
mov ecx, dword [0x58cdd4]
add esp, 4
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push 0x5480dc
call fcn.00411f00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push eax
call fcn.00471e58
test di, di
je 0x41d4c1
lea edi, [esi + 8]
test edi, edi
je 0x41d615
test esi, esi
je 0x41d615
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x587d8c
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x587da4]
mov dword [edi + 8], eax
push 0x587d8c
mov dword [0x587da4], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x587d7c]
mov eax, dword [0x587d84]
mov edx, dword [0x587d78]
sub eax, ecx
push 0
push dword [0x58fb1c]
push 0
push 0
push eax
mov eax, dword [0x587d80]
sub eax, edx
push eax
mov eax, dword [ebp - 0x14]
push ecx
push edx
push 0x86020000
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x41d4c1
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
call fcn.00478f4f
add esp, 4
mov byte [ebp - 4], 2
test al, al
jne 0x41d621
call fcn.0047999d
push 1
push 0xc0000005
call fcn.0041dd10
sub esp, 8
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.0040aa30
call fcn.0040b760
int3

Function at 0x41d9b0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi - 0x6c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41d9cb
push 0
push dword [esi - 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x41db40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push edi
mov edi, ecx
jne 0x41dbdf
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [edi + 0x28]
push 0
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041c440
mov dword [edi + 0x28], esi
pop esi
test eax, eax
jne 0x41dbae
cmp dword [ebp + 0xc], 0x111
jne 0x41dbdf
mov eax, dword [ebp + 0x10]
mov ecx, 0x7a
movzx eax, ax
cmp cx, ax
jne 0x41dbb9
mov eax, dword [edi + 0x70]
lea ecx, [edi + 0x70]
call dword [eax + 4]
push 0
push 2
push 0x464
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebx], 0
pop edi
mov eax, 1
pop ebx
pop ebp
ret 0x18
mov ecx, 0x7b
cmp cx, ax
jne 0x41dbdf
push 6
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov dword [ebx], 0
mov eax, 1
pop ebx
pop ebp
ret 0x18
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x18
Function at 0x4215a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530e4b
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x330]
push 0x320
push 0
push eax
mov dword [ebp - 0x334], esi
call fcn.004d7bd0
add esp, 0xc
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x421610
push 0x190
lea eax, [ebp - 0x330]
push eax
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.004214f0
mov ecx, eax
test ecx, ecx
je 0x42168d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x330]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x421646
movzx eax, ax
mov ecx, esi
push eax
call fcn.00418330
jmp 0x42166e
lea ecx, [ebp - 0x330]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421650
sub ecx, edx
lea eax, [ebp - 0x330]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00412460
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00408f30
int3

Function at 0x4216b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x42172d
mov esi, dword [ebp + 8]
mov ecx, 1
mov edx, dword [esi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x4216e7
push edi
mov ecx, esi
call fcn.0040d870
mov edx, dword [esi]
push edi
push edx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x42170e
mov ecx, dword [esi]
test ecx, ecx
je 0x421712
push dword [ecx - 8]
push ecx
call fcn.00504175
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x42172d
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x42172d
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.00408f30
int3

Function at 0x422ba0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x14]
push eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
mov dword [esi + 0x68], 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, esi
call fcn.004219b0
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
Function at 0x4239a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531328
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x589644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 0x1c], 0
jne 0x423b1c
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
cmp esi, 1
jne 0x4239ff
mov dword [ebx], 1
cmp esi, 8
jne 0x423b1c
call fcn.004214f0
mov ecx, eax
test ecx, ecx
je 0x423b32
jmp 0x423ac5
cmp esi, 0x14
jne 0x423a23
mov eax, ebx
mov dword [eax], 1
lea eax, [esi - 0x13]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0xf
jne 0x423a5e
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call fcn.00422640
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
je 0x4239e2
lea eax, [esi - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x102
jne 0x4239e2
cmp word [ebp + 0x10], 0xd
jne 0x423a84
mov ecx, dword [edi + 0x54]
test ecx, ecx
je 0x423a7d
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 1
jmp 0x423a86
xor esi, esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push dword [edi + 4]
push 0x2b10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, ebx
mov dword [eax], 0
test esi, esi
je 0x423b1c
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x18], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 4]
call fcn.004216b0
mov esi, dword [ebp + 0x18]
cmp dword [esi - 0xc], 0
jne 0x423af7
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x423b16
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebx], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x80004005
call fcn.00408f30
int3
Function at 0x425160
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x425375
push ebx
push edi
cmp eax, 0x7c
je 0x425373
cmp eax, 0x29
jne 0x4251a1
cmp dword [esi + 0x10], 0
jne 0x425373
cmp eax, eax
jne 0x4251a1
test dword [esi + 0x50], 0x10000000
je 0x425382
jmp 0x42532c
cmp eax, 0x2e
jne 0x4251fb
push 5
lea ecx, [esi + 0x24]
call fcn.00426ea0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4251ef
cmp byte [eax], 0x5c
jne 0x4251ec
lea ecx, [eax + 1]
cmp ecx, edx
je 0x4251ec
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4251d9
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4251ea
cmp bl, 0x29
je 0x4251ea
test dl, 0x10
jne 0x4251ec
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x4251ea
cmp dl, 0x7d
jne 0x4251ec
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00427a50
jmp 0x42535e
cmp eax, 0x5c
jne 0x425257
mov ecx, esi
call fcn.00426f10
test byte [esi + 0x50], 0x80
je 0x42524b
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x42522a
push 4
lea ecx, [esi + 0x24]
call fcn.00426ea0
mov ecx, esi
call fcn.00426f10
jmp 0x425365
cmp al, 0x42
jne 0x42524b
push 4
lea ecx, [esi + 0x24]
call fcn.00426ea0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00426f10
jmp 0x425365
mov ecx, esi
call fcn.004253a0
jmp 0x42535e
cmp eax, 0x5b
jne 0x4252b8
mov ecx, esi
call fcn.00426f10
lea ecx, [esi + 0x24]
call fcn.00424760
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x425284
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00426f10
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x4252a2
cmp eax, 0x5d
jne 0x4252a2
push eax
lea ecx, [esi + 0x24]
call fcn.004246f0
mov ecx, esi
call fcn.00426f10
mov ecx, esi
call fcn.00425ef0
cmp dword [esi + 0x4c], 0x5d
jne 0x42538b
jmp 0x425357
cmp eax, 0x28
jne 0x4252e8
mov ecx, esi
call fcn.00426f10
mov ecx, esi
call fcn.00427c50
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x425382
mov ecx, esi
call fcn.00426f10
test bl, bl
je 0x425365
jmp 0x42535e
cmp eax, 0x5e
jne 0x425300
push 2
lea ecx, [esi + 0x24]
call fcn.00426ea0
mov ecx, esi
call fcn.00426f10
jmp 0x425365
cmp eax, 0x24
jne 0x425318
push 3
lea ecx, [esi + 0x24]
call fcn.00426ea0
mov ecx, esi
call fcn.00426f10
jmp 0x425365
cmp eax, 0x2a
je 0x425379
cmp eax, 0x2b
je 0x425379
cmp eax, 0x3f
je 0x425379
cmp eax, 0x7b
je 0x425379
cmp eax, 0x7d
jne 0x42533c
test dword [esi + 0x50], 0x10000000
je 0x425394
jmp 0x42534a
cmp eax, 0x5d
jne 0x42534a
test dword [esi + 0x50], 0x10000000
je 0x42538b
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004245e0
mov ecx, esi
call fcn.00426f10
mov ecx, esi
call fcn.004278b0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x425173
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.00426a10
push 5
mov ecx, esi
call fcn.00426a10
push 4
mov ecx, esi
call fcn.00426a10
push 6
mov ecx, esi
call fcn.00426a10
int3