joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484f4f
Capabilities:
Get file size

Disassembly:
push 0xd0
mov eax, 0x48bb12
call fcn.004674b1
mov ebx, dword [ebp + 8]
and dword [ebp - 4], 0
push 0x49a82c
lea ecx, [ebp - 0x60]
mov dword [ebx], vtable.replay::log::file.0
call fcn.00402f80
push 0x49a830
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.00402f80
push dword [ebp + 0xc]
lea edi, [ebp - 0x60]
lea ecx, [ebp - 0x7c]
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004885c3
push eax
lea eax, [ebp - 0x44]
push str.log_
push eax
mov byte [ebp - 4], 3
call fcn.004286a8
add esp, 0x10
lea esi, [ebx + 4]
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00411090
lea ecx, [ebp - 0x44]
call fcn.00402ff0
lea ecx, [ebp - 0x28]
call fcn.00402ff0
lea ecx, [ebp - 0x7c]
call fcn.00402ff0
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00402ff0
push dword [ebp + 0xc]
lea ecx, [ebx + 0xc]
call fcn.00402fc0
push dword [ebp + 0xc]
mov byte [ebp - 4], 0xa
mov edi, 0x49a83c
lea esi, [ebp - 0x28]
mov dword [ebx + 0x28], 0x100000
mov dword [ebx + 0x2c], 1
call fcn.00405030
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x48501e
mov eax, dword [eax + 4]
jmp 0x485021
add eax, 4
push 0
push 0x80
push 4
push 0
push 7
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [ebp - 0x28]
mov dword [ebx + 0x30], eax
call fcn.00402ff0
mov eax, dword [ebx + 0x30]
cmp eax, 0xffffffff
jne 0x4850e3
push dword [ebp + 0xc]
mov edi, str..log.txt
lea esi, [ebp - 0x28]
call fcn.00405030
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x48506d
mov eax, dword [eax + 4]
jmp 0x485070
add eax, 4
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [ebp - 0x28]
mov dword [ebx + 0x30], eax
call fcn.00402ff0
mov eax, dword [ebx + 0x30]
cmp eax, 0xffffffff
jne 0x4850e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea esi, [ebp - 0x28]
call fcn.00488b11
push eax
lea eax, [ebp - 0x44]
push str.CreateFile_failed:
push eax
mov byte [ebp - 4], 0xb
call fcn.004286a8
add esp, 0x10
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 0xc
call fcn.0042c59b
push 0x4a8ad8
lea eax, [ebp - 0xdc]
push eax
call fcn.004675bb
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x4850f6
push ebx
call fcn.0048482a
mov eax, ebx
call fcn.00467589
ret 8
Function at 0x485100
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48bb58
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4bd514]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x4bd514]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x1c]
push eax
mov esi, ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movsx eax, byte [edi + str.____]
push eax
movzx eax, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x2e]
push eax
movzx eax, word [esp + 0x30]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x34]
push eax
lea eax, [esp + 0x98]
push str._.4d__.2d__.2d__.2d:_.2d:_.2d__c
push eax
call fcn.00488798
add esp, 0x24
and dword [esp + 0xa8], 0
push ebx
lea ecx, [esp + 0x64]
call fcn.00403130
mov byte [esp + 0xa8], 1
cmp edi, 5
jne 0x4851f8
push 3
pop edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push ebx
call fcn.00403130
lea eax, [esp + 0x60]
push eax
call fcn.00484b7a
add esp, 0x20
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb4], 2
call fcn.00403870
lea ecx, [esp + 0x44]
mov byte [esp + 0xa8], 1
call fcn.00403160
mov dword [esp + 0x34], vtable.replay::scope.0
mov dword [esp + 0x38], esi
test esi, esi
je 0x48520f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [esp + 0xa8], 3
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx + 4]
jmp 0x48522d
cmp edi, dword [eax + 0xc]
jge 0x48522a
mov ecx, eax
mov eax, dword [eax]
jmp 0x48522d
mov eax, dword [eax + 8]
cmp byte [eax + 0x15], 0
je 0x48521f
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x34]
mov ebx, dword [eax]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x485258
cmp eax, dword [esp + 0x3c]
je 0x48525d
call fcn.004658e0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4852d2
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
call fcn.0042c9ab
mov esi, eax
call fcn.0042c836
mov esi, dword [eax + 4]
push 1
push 0xfde9
lea edx, [esp + 0x68]
lea ecx, [esp + 0x4c]
call fcn.00487b06
pop ecx
pop ecx
push eax
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0xb0], 4
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 4]
lea ecx, [esp + 0x44]
mov byte [esp + 0xa8], 3
call fcn.00402ff0
lea esi, [esp + 0x14]
call fcn.0042c9ab
jmp 0x48524a
lea esi, [esp + 0x34]
mov byte [esp + 0xa8], 1
call fcn.0041d800
lea ecx, [esp + 0x60]
call fcn.00403160
lea ecx, [esp + 0x7c]
call fcn.00402ff0
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0046544a
mov esp, ebp
pop ebp
ret 4
Function at 0x485eb7
Capabilities:
Hash data with md5

Disassembly:
push 4
mov eax, 0x48b843
call fcn.004674b1
mov esi, dword [ebp + 8]
lea eax, [esi + 0x18]
xor ebx, ebx
push eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.004287e6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov byte [esi + 0x30], bl
mov ebx, esi
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call fcn.00485e9c
mov eax, esi
call fcn.00467589
ret 8

Function at 0x486103
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [eax + 0x18], 8
jb 0x486111
mov eax, dword [eax + 4]
jmp 0x486114
add eax, 4
push dword [ebp + 0xc]
push 0
push edi
push 0
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x486130
and dword [edi], 0
xor ecx, ecx
test eax, eax
sete cl
mov al, cl
pop ebp
ret 8

Function at 0x48613d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48bc29
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
mov eax, dword [0x4bd514]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
cmp dword [esi + 0x18], 8
jb 0x486178
mov eax, dword [esi + 4]
jmp 0x48617b
lea eax, [esi + 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test ebx, ebx
je 0x4861f5
push 1
push 0
mov edx, esi
lea ecx, [esp + 0x30]
call fcn.00487b06
pop ecx
pop ecx
and dword [esp + 0xb0], 0
cmp dword [eax + 0x18], 0x10
jb 0x4861bc
mov eax, dword [eax + 4]
jmp 0x4861bf
add eax, 4
push ebx
push eax
lea eax, [esp + 0x14]
push str.RegSetValueEx___failed:_value___s____i_
push eax
call fcn.00488798
add esp, 0x10
push eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0xb8], 1
call fcn.0042beb1
push 0x4a89c0
lea eax, [esp + 0x48]
push eax
call fcn.004675bb
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48620b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48bc76
mov eax, dword fs:[0]
push eax
sub esp, 0x140
push edi
mov eax, dword [0x4bd514]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
cmp dword [esi + 0x18], 8
mov dword [esp + 0xc], ebx
jb 0x48624a
mov eax, dword [esi + 4]
jmp 0x48624d
lea eax, [esi + 4]
lea ecx, [esp + 0xc]
push ecx
push dword [ebp + 0xc]
xor edi, edi
push edi
push edi
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x10], eax
cmp dword [esp + 0xc], ebx
je 0x4862d4
push 1
push edi
mov edx, esi
lea ecx, [esp + 0x54]
call fcn.00487b06
pop ecx
pop ecx
mov dword [esp + 0x150], edi
cmp dword [eax + 0x18], 0x10
jb 0x486291
mov eax, dword [eax + 4]
jmp 0x486294
add eax, 4
push dword [esp + 0xc]
push ebx
push eax
lea eax, [esp + 0x20]
push str.Size_mismatch:_value___s__expected__i_found__i
push eax
call fcn.00488798
add esp, 0x14
push eax
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x158], 1
call fcn.0042bf7b
push 0x4a8a40
lea eax, [esp + 0x88]
push eax
call fcn.004675bb
cmp eax, edi
je 0x48633c
push 1
push edi
mov edx, esi
lea ecx, [esp + 0x70]
call fcn.00487b06
pop ecx
pop ecx
mov dword [esp + 0x150], 2
cmp dword [eax + 0x18], 0x10
jb 0x4862fe
mov eax, dword [eax + 4]
jmp 0x486301
add eax, 4
push dword [esp + 0x10]
push eax
lea eax, [esp + 0x38]
push str.RegQueryValueEx___failed:_value___s____i_
push eax
call fcn.00488798
add esp, 0x10
push eax
lea eax, [esp + 0xe8]
push eax
mov byte [esp + 0x158], 3
call fcn.0042beb1
push 0x4a89c0
lea eax, [esp + 0xe8]
jmp 0x4862ce
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x4864a3
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48bcfa
mov eax, dword fs:[0]
push eax
mov eax, 0x1004c
call fcn.00469e10
mov eax, dword [0x4bd514]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x10038], ecx
lea ecx, [ebp - 0x10034]
xor ebx, ebx
push ecx
mov esi, edx
mov dword [ebp - 0x1003c], eax
mov dword [ebp - 0x10030], ebx
push eax
lea edi, [ebp - 0x10030]
mov eax, esi
mov dword [ebp - 0x10030], ebx
mov dword [ebp - 0x10034], ebx
call fcn.00486103
mov eax, dword [ebp - 0x10034]
push ebx
shr eax, 1
push eax
lea ecx, [ebp - 0x1002c]
call fcn.0040a090
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x10030]
mov edx, esi
call fcn.00486352
cmp dword [ebp - 0x10014], 8
mov eax, dword [ebp - 0x10028]
jae 0x486549
lea eax, [ebp - 0x10028]
mov ebx, dword [ebp - 0x10034]
push eax
push dword [ebp - 0x1003c]
call fcn.0048620b
mov eax, dword [ebp - 0x10018]
xor ebx, ebx
cmp eax, ebx
je 0x4865a2
lea esi, [eax - 1]
cmp eax, esi
ja 0x486579
call fcn.00444fca
mov eax, dword [ebp - 0x10018]
cmp dword [ebp - 0x10014], 8
mov ecx, dword [ebp - 0x10028]
jae 0x48658e
lea ecx, [ebp - 0x10028]
cmp word [ecx + esi*2], bx
jne 0x4865a2
push ebx
dec eax
push eax
lea ecx, [ebp - 0x1002c]
call fcn.00428682
cmp dword [ebp - 0x10030], 2
jne 0x486608
cmp dword [ebp - 0x10014], 8
mov eax, dword [ebp - 0x10028]
jae 0x4865c0
lea eax, [ebp - 0x10028]
push 0x8000
lea ecx, [ebp - 0x10010]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
push eax
lea eax, [ebp - 0x10010]
push eax
lea ecx, [ebp - 0x10058]
call fcn.0040a060
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x1002c]
mov byte [ebp - 4], 1
call fcn.00403870
lea ecx, [ebp - 0x10058]
mov byte [ebp - 4], bl
call fcn.00403160
mov ecx, dword [ebp - 0x10038]
lea eax, [ebp - 0x1002c]
push eax
call fcn.00403130
lea ecx, [ebp - 0x1002c]
call fcn.00403160
mov eax, dword [ebp - 0x10038]
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.0046544a
leave
ret 4
Function at 0x486b09
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48b64a
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push esi
push edi
mov eax, dword [0x4bd514]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
xor eax, eax
push 0x30
push eax
mov word [esi + 0x30], ax
lea eax, [esp + 0x14]
push eax
call fcn.004676e0
add esp, 0xc
cmp dword [edi + 0x18], 8
mov dword [esp + 0xc], 0x30
mov dword [esp + 0x10], 3
jb 0x486b73
mov eax, dword [edi + 4]
mov dword [esp + 0x34], eax
jmp 0x486b7a
add edi, 4
mov dword [esp + 0x34], edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x18], 0x4868f0
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov word [esi + 0x30], ax
test ax, ax
jne 0x486bef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea esi, [esp + 0x5c]
call fcn.00488b11
and dword [esp + 0xe4], 0
push eax
lea eax, [esp + 0x44]
push str.RegisterClassEx_failed:
push eax
call fcn.004286a8
add esp, 0x10
push eax
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0xe8], 1
call fcn.0042bcd9
push 0x4a8924
lea eax, [esp + 0x78]
push eax
call fcn.004675bb
mov eax, esi
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x488bef
Capabilities:
Get file version info

Disassembly:
push 0x48
mov eax, 0x48b9fd
call fcn.004674b1
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
push ebx
mov dword [ebp - 0x14], edi
mov esi, edx
mov dword [edi + 0x18], 0xf
call fcn.004037d0
mov dword [ebp - 4], ebx
cmp dword [esi + 0x18], 0x10
mov dword [ebp - 0x18], 1
lea ebx, [esi + 4]
jb 0x488c2b
mov eax, dword [ebx]
jmp 0x488c2d
mov eax, ebx
lea ecx, [ebp - 0x34]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
test eax, eax
je 0x488ced
lea ecx, [ebp - 0x30]
push ecx
mov edi, eax
call fcn.004259e0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
jne 0x488c61
call fcn.004658e0
cmp dword [esi + 0x18], 0x10
jb 0x488c69
mov ebx, dword [ebx]
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x488ce2
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
jne 0x488c88
call fcn.004658e0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x49b4d0
push dword [ebp - 0x24]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x488ce2
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
lea eax, [ebp - 0x54]
push 0x49b4d4
push eax
call fcn.00488798
add esp, 0x18
push 0xffffffffffffffff
push 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
push eax
call fcn.004035d0
lea ecx, [ebp - 0x54]
call fcn.00402ff0
lea esi, [ebp - 0x30]
call fcn.004034d0
mov edi, dword [ebp - 0x14]
mov eax, edi
call fcn.00467589
ret
Function at 0x1003292f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10023bc9
call fcn.10022973
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], eax
xor eax, eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x418], eax
push 0x60
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.100339be
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x100329a4
push 2
mov ecx, esi
call fcn.100339be
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x100329a4
call fcn.10031dc9
mov esi, eax
jmp 0x10032a78
push dword [ebp - 0x41c]
push ebx
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x100329c2
call fcn.10031dc9
jmp 0x10032a6b
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
je 0x100329b8
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x424], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x100329f4
mov esi, 0x8007000e
jmp 0x10032a6d
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1000f462
jmp 0x10032a1e
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x100329ed
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x100329b8
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.1000f462
mov esi, eax
test edi, edi
je 0x10032a78
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10032a91
lea ecx, [ebp - 0x418]
call fcn.10032083
lea ecx, [ebp - 0x428]
call fcn.1003150e
mov eax, esi
call fcn.10022963
ret 0x10
Function at 0x1004807d
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x100481de
push 0x29
pop edi
mov edx, 0x10000000
cmp eax, 0x7c
je 0x100481de
cmp eax, edi
jne 0x100480be
cmp dword [esi + 0x10], 0
mov eax, edi
jne 0x100481de
cmp eax, edi
jne 0x100480be
test dword [esi + 0x50], edx
je 0x100481e4
cmp eax, 0x2e
jne 0x100480d9
push 5
lea ecx, [esi + 0x24]
call fcn.1000f462
mov ecx, esi
call fcn.10049c8b
jmp 0x100481c9
cmp eax, 0x5c
jne 0x1004812e
mov ecx, esi
call fcn.10049c8b
test byte [esi + 0x50], 0x80
je 0x10048122
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x1004810a
push 4
lea ecx, [esi + 0x24]
call fcn.1000f462
mov ecx, esi
call fcn.10049c8b
jmp 0x100481d0
cmp eax, 0x42
jne 0x10048122
push 4
lea ecx, [esi + 0x24]
call fcn.1000f462
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x100480fe
mov ecx, esi
call fcn.1000f462
jmp 0x100481c9
cmp eax, 0x5b
jne 0x1004814e
mov ecx, esi
call fcn.10049c8b
mov ecx, esi
call fcn.1004877d
push 4
push 0x5d
mov ecx, esi
call fcn.1000f462
jmp 0x100481c9
cmp eax, 0x28
jne 0x1004816f
mov ecx, esi
call fcn.10049c8b
mov ecx, esi
call fcn.1004a1aa
push 5
push edi
mov ecx, esi
mov bl, al
call fcn.1000f462
jmp 0x100481c5
cmp eax, 0x5e
jne 0x1004817b
push 2
jmp 0x100480f6
cmp eax, 0x24
jne 0x10048187
push 3
jmp 0x100480f6
cmp eax, 0x2a
je 0x100481f4
cmp eax, 0x2b
je 0x100481f4
cmp eax, 0x3f
je 0x100481f4
cmp eax, 0x7b
je 0x100481f4
cmp eax, 0x7d
jne 0x100481a5
test dword [esi + 0x50], edx
je 0x100481ec
cmp eax, 0x5d
jne 0x100481af
test dword [esi + 0x50], edx
je 0x100481f0
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1000f462
mov ecx, esi
call fcn.10049c8b
mov bl, 1
test bl, bl
je 0x100481d0
mov ecx, esi
call fcn.1000f462
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10048093
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
push 6
jmp 0x100481e6
push 4
jmp 0x100481e6
push 0xa
jmp 0x100481e6
Function at 0x1004807e
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x100481de
push 0x29
pop edi
mov edx, 0x10000000
cmp eax, 0x7c
je 0x100481de
cmp eax, edi
jne 0x100480be
cmp dword [esi + 0x10], 0
mov eax, edi
jne 0x100481de
cmp eax, edi
jne 0x100480be
test dword [esi + 0x50], edx
je 0x100481e4
cmp eax, 0x2e
jne 0x100480d9
push 5
lea ecx, [esi + 0x24]
call fcn.1000f462
mov ecx, esi
call fcn.10049c8b
jmp 0x100481c9
cmp eax, 0x5c
jne 0x1004812e
mov ecx, esi
call fcn.10049c8b
test byte [esi + 0x50], 0x80
je 0x10048122
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x1004810a
push 4
lea ecx, [esi + 0x24]
call fcn.1000f462
mov ecx, esi
call fcn.10049c8b
jmp 0x100481d0
cmp eax, 0x42
jne 0x10048122
push 4
lea ecx, [esi + 0x24]
call fcn.1000f462
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x100480fe
mov ecx, esi
call fcn.1000f462
jmp 0x100481c9
cmp eax, 0x5b
jne 0x1004814e
mov ecx, esi
call fcn.10049c8b
mov ecx, esi
call fcn.1004877d
push 4
push 0x5d
mov ecx, esi
call fcn.1000f462
jmp 0x100481c9
cmp eax, 0x28
jne 0x1004816f
mov ecx, esi
call fcn.10049c8b
mov ecx, esi
call fcn.1004a1aa
push 5
push edi
mov ecx, esi
mov bl, al
call fcn.1000f462
jmp 0x100481c5
cmp eax, 0x5e
jne 0x1004817b
push 2
jmp 0x100480f6
cmp eax, 0x24
jne 0x10048187
push 3
jmp 0x100480f6
cmp eax, 0x2a
je 0x100481f4
cmp eax, 0x2b
je 0x100481f4
cmp eax, 0x3f
je 0x100481f4
cmp eax, 0x7b
je 0x100481f4
cmp eax, 0x7d
jne 0x100481a5
test dword [esi + 0x50], edx
je 0x100481ec
cmp eax, 0x5d
jne 0x100481af
test dword [esi + 0x50], edx
je 0x100481f0
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1000f462
mov ecx, esi
call fcn.10049c8b
mov bl, 1
test bl, bl
je 0x100481d0
mov ecx, esi
call fcn.1000f462
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10048093
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
push 6
jmp 0x100481e6
push 4
jmp 0x100481e6
push 0xa
jmp 0x100481e6
Function at 0x41aa41
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a6ef

Function at 0x41e65c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041e4db

Function at 0x401026
Capabilities:
Create process on windows
Delete file
Read file on windows
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov edx, section..text
push edi
push esi
push ebx
sub esp, 0x574
lea ecx, [esp + 0x64]
cmp edx, entry0
jae 0x40104c
movzx eax, byte [edx]
inc edx
xor al, 0xd9
mov byte [ecx], al
inc ecx
jmp 0x401039
mov byte [ecx], 0
lea esi, [esp + 0x64]
push esi
push 1
push 0
call 0x401220
push 0x104
lea ebx, [esp + 0x468]
push ebx
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 2
push 0
push 0xffffffffffffff9c
push eax
call sub.KERNEL32.dll_SetFilePointer
push 0
lea ebp, [esp + 4]
push ebp
push 0x64
push esi
push ebx
call sub.KERNEL32.dll_ReadFile
push ebx
call sub.KERNEL32.dll_CloseHandle
lea edx, [esp + 0x65]
lea ecx, [esp + 0xc7]
cmp edx, ecx
jae 0x4010d4
movzx eax, byte [esp + 0x64]
xor byte [edx], al
inc edx
jmp 0x4010c6
lea edx, [esp + 0x14]
lea eax, [esp + 0x58]
cmp edx, eax
jae 0x4010e6
mov byte [edx], 0
inc edx
jmp 0x4010dc
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x8d]
push eax
call sub.KERNEL32.dll_CreateProcessA
test eax, eax
jne 0x401205
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x47c]
push eax
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 2
mov eax, 0xffffff9c
push 0
sub eax, dword [esp + 0x6d]
push eax
push ebx
call sub.KERNEL32.dll_SetFilePointer
push 0
push ebp
push dword [esp + 0x6d]
push dword [esp + 0x71]
push 0
call sub.KERNEL32.dll_GetProcessHeap
push eax
call sub.KERNEL32.dll_HeapAlloc
push eax
mov esi, eax
push ebx
call sub.KERNEL32.dll_ReadFile
push ebx
call sub.KERNEL32.dll_CloseHandle
mov eax, esi
mov edx, esi
add eax, dword [esp + 0x65]
cmp esi, eax
jae 0x40119b
movzx eax, byte [esp + 0x64]
xor byte [edx], al
mov eax, esi
inc edx
add eax, dword [esp + 0x65]
cmp edx, eax
jmp 0x401187
push pe_nt_image_headers32
lea edi, [esp + 0x6d]
push edi
call sub.KERNEL32.dll_SetFileAttributesA
push edi
call sub.KERNEL32.dll_DeleteFileA
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push edi
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 0
push ebp
push dword [esp + 0x6d]
push esi
push eax
call sub.KERNEL32.dll_WriteFile
push ebx
call sub.KERNEL32.dll_CloseHandle
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call sub.KERNEL32.dll_CreateProcessA
push 0
call sub.KERNEL32.dll_ExitProcess
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp dword [sym.imp.KERNEL32.dll_CreateMutexA]