joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000fde0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x1021dacc]
sub esp, 8
add eax, 0x216
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov dword [0x1021dab4], eax
mov edi, eax
test eax, eax
jle 0x1000fe2a
lea eax, [esp + 8]
push eax
push 0x40
push 4
push 0xace354
call esi
test eax, eax
je 0x1000fe2a
mov ecx, 0xace354
lea edx, [esp + 0xc]
push edx
mov dword [ecx], edi
mov eax, dword [esp + 0xc]
push eax
push 4
push ecx
call esi
lea ecx, [esp + 8]
push ecx
push 0x40
push 9
push 0xace4dc
call esi
test eax, eax
je 0x1000fe70
mov edx, dword [str.text2600]
mov eax, 0xace4dc
mov dword [eax], edx
mov ecx, dword [0x10109490]
mov dword [eax + 4], ecx
mov dl, byte [0x10109494]
mov byte [eax + 8], dl
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push 9
push 0xace4dc
call esi
lea edx, [esp + 8]
push edx
push 0x40
push 0xa
push 0xace5c8
call esi
test eax, eax
je 0x1000feb8
mov ecx, dword [str.space2600]
mov eax, 0xace5c8
mov dword [eax], ecx
mov edx, dword [0x1010949c]
mov dword [eax + 4], edx
mov cx, word [0x101094a0]
lea edx, [esp + 0xc]
push edx
mov word [eax + 8], cx
mov eax, dword [esp + 0xc]
push eax
push 0xa
push 0xace5c8
call esi
pop edi
pop esi
add esp, 8
ret

Function at 0x1000fec0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x1021dacc]
sub esp, 8
add eax, 0x190
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov dword [0x1021dab8], eax
mov edi, eax
test eax, eax
jle 0x1000ff0a
lea eax, [esp + 8]
push eax
push 0x40
push 4
push 0xace354
call esi
test eax, eax
je 0x1000ff0a
mov ecx, 0xace354
lea edx, [esp + 0xc]
push edx
mov dword [ecx], edi
mov eax, dword [esp + 0xc]
push eax
push 4
push ecx
call esi
lea ecx, [esp + 8]
push ecx
push 0x40
push 9
push 0xace4dc
call esi
test eax, eax
je 0x1000ff50
mov edx, dword [str.text2200]
mov eax, 0xace4dc
mov dword [eax], edx
mov ecx, dword [0x101094a8]
mov dword [eax + 4], ecx
mov dl, byte [0x101094ac]
mov byte [eax + 8], dl
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push 9
push 0xace4dc
call esi
lea edx, [esp + 8]
push edx
push 0x40
push 0xa
push 0xace5c8
call esi
test eax, eax
je 0x1000ff98
mov ecx, dword [str.space2200]
mov eax, 0xace5c8
mov dword [eax], ecx
mov edx, dword [0x101094b4]
mov dword [eax + 4], edx
mov cx, word [0x101094b8]
lea edx, [esp + 0xc]
push edx
mov word [eax + 8], cx
mov eax, dword [esp + 0xc]
push eax
push 0xa
push 0xace5c8
call esi
pop edi
pop esi
add esp, 8
ret
Function at 0x1000ffa0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x1021dacc]
sub esp, 8
add eax, 0x12c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov dword [0x1021dabc], eax
mov edi, eax
test eax, eax
jle 0x1000ffea
lea eax, [esp + 8]
push eax
push 0x40
push 4
push 0xace354
call esi
test eax, eax
je 0x1000ffea
mov ecx, 0xace354
lea edx, [esp + 0xc]
push edx
mov dword [ecx], edi
mov eax, dword [esp + 0xc]
push eax
push 4
push ecx
call esi
lea ecx, [esp + 8]
push ecx
push 0x40
push 9
push 0xace4dc
call esi
test eax, eax
je 0x10010030
mov edx, dword [str.text1600]
mov eax, 0xace4dc
mov dword [eax], edx
mov ecx, dword [0x101094c0]
mov dword [eax + 4], ecx
mov dl, byte [0x101094c4]
mov byte [eax + 8], dl
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push 9
push 0xace4dc
call esi
lea edx, [esp + 8]
push edx
push 0x40
push 0xa
push 0xace5c8
call esi
test eax, eax
je 0x10010078
mov ecx, dword [str.space1600]
mov eax, 0xace5c8
mov dword [eax], ecx
mov edx, dword [0x101094cc]
mov dword [eax + 4], edx
mov cx, word [0x101094d0]
lea edx, [esp + 0xc]
push edx
mov word [eax + 8], cx
mov eax, dword [esp + 0xc]
push eax
push 0xa
push 0xace5c8
call esi
pop edi
pop esi
add esp, 8
ret

Function at 0x10010080
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x1021dacc]
sub esp, 8
add eax, 0x32
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov dword [0x1021dac0], eax
mov edi, eax
test eax, eax
jle 0x100100c8
lea eax, [esp + 8]
push eax
push 0x40
push 4
push 0xace354
call esi
test eax, eax
je 0x100100c8
mov ecx, 0xace354
lea edx, [esp + 0xc]
push edx
mov dword [ecx], edi
mov eax, dword [esp + 0xc]
push eax
push 4
push ecx
call esi
lea ecx, [esp + 8]
push ecx
push 0x40
push 8
push 0xace4dc
call esi
test eax, eax
je 0x10010105
mov edx, dword [str.text800]
mov eax, 0xace4dc
mov dword [eax], edx
mov ecx, dword [0x101094d8]
lea edx, [esp + 0xc]
push edx
mov dword [eax + 4], ecx
mov eax, dword [esp + 0xc]
push eax
push 8
push 0xace4dc
call esi
lea ecx, [esp + 8]
push ecx
push 0x40
push 9
push 0xace5c8
call esi
test eax, eax
je 0x1001014b
mov edx, dword [str.space800]
mov eax, 0xace5c8
mov dword [eax], edx
mov ecx, dword [0x101094e0]
mov dword [eax + 4], ecx
mov dl, byte [0x101094e4]
mov byte [eax + 8], dl
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push 9
push 0xace5c8
call esi
pop edi
pop esi
add esp, 8
ret
Function at 0x10010160
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x1021dacc]
sub esp, 8
add eax, 0xc8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov dword [0x1021dac8], eax
mov edi, eax
test eax, eax
jle 0x100101aa
lea eax, [esp + 8]
push eax
push 0x40
push 4
push 0xace354
call esi
test eax, eax
je 0x100101aa
mov ecx, 0xace354
lea edx, [esp + 0xc]
push edx
mov dword [ecx], edi
mov eax, dword [esp + 0xc]
push eax
push 4
push ecx
call esi
lea ecx, [esp + 8]
push ecx
push 0x40
push 9
push 0xace4dc
call esi
test eax, eax
je 0x100101f0
mov edx, dword [str.text1200]
mov eax, 0xace4dc
mov dword [eax], edx
mov ecx, dword [0x101094ec]
mov dword [eax + 4], ecx
mov dl, byte [0x101094f0]
mov byte [eax + 8], dl
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push 9
push 0xace4dc
call esi
lea edx, [esp + 8]
push edx
push 0x40
push 0xa
push 0xace5c8
call esi
test eax, eax
je 0x10010238
mov ecx, dword [str.space1200]
mov eax, 0xace5c8
mov dword [eax], ecx
mov edx, dword [0x101094f8]
mov dword [eax + 4], edx
mov cx, word [0x101094fc]
lea edx, [esp + 0xc]
push edx
mov word [eax + 8], cx
mov eax, dword [esp + 0xc]
push eax
push 0xa
push 0xace5c8
call esi
pop edi
pop esi
add esp, 8
ret

Function at 0x10010240
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0xace354
call esi
test eax, eax
je 0x1001027e
mov edx, dword [0x1021dacc]
mov ecx, 0xace354
lea eax, [esp + 8]
push eax
mov dword [ecx], edx
mov ecx, dword [esp + 8]
push ecx
push 4
push 0xace354
call esi
lea edx, [esp + 4]
push edx
push 0x40
push 0x1e
push 0xace4dc
call esi
test eax, eax
je 0x100102b9
push 0x1e
push 0x1021d680
push 0xace4dc
call fcn.10096590
mov ecx, dword [esp + 0x10]
add esp, 0xc
lea eax, [esp + 8]
push eax
push ecx
push 0x1e
push 0xace4dc
call esi
lea edx, [esp + 4]
push edx
push 0x40
push 0x1e
push 0xace5c8
call esi
test eax, eax
je 0x100102f4
push 0x1e
push 0x10207000
push 0xace5c8
call fcn.10096590
mov ecx, dword [esp + 0x10]
add esp, 0xc
lea eax, [esp + 8]
push eax
push ecx
push 0x1e
push 0xace5c8
call esi
pop esi
add esp, 8
ret

Function at 0x10010630
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x100c93ab
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x101222d0]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
push str.InfinityLog.txt
lea eax, [esp + 8]
push eax
call fcn.10017270
mov ecx, dword [esp + 0xa4]
push ecx
lea edx, [esp + 8]
push edx
mov dword [esp + 0xa4], 0
call fcn.10019960
push eax
call fcn.10002130
add esp, 0xc
push 5
push 0
push 0
push str.InfinityLog.txt
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10011850
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor ebx, ebx
cmp dword [0x29d9d28], 3
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
jne 0x100119c9
push 0x71
call esi
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
jne 0x100118b8
cmp byte [0x1013028f], bl
je 0x100118bf
mov eax, dword [0x1021dad0]
cmp eax, 0x13
jne 0x100118a0
xor eax, eax
mov dword [0x1021dad0], eax
call fcn.1000eff0
mov byte [0x1013028f], bl
jmp 0x100118bf
inc eax
mov dword [0x1021dad0], eax
cmp eax, 0x13
ja 0x100118b0
call fcn.1000eff0
mov byte [0x1013028f], bl
jmp 0x100118bf
mov byte [0x1013028f], 1
push 0x72
call esi
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
jne 0x10011910
cmp byte [0x10129f6b], bl
je 0x10011917
mov eax, dword [0x1021dad4]
cmp eax, 0x11
jne 0x100118f8
xor eax, eax
mov dword [0x1021dad4], eax
call fcn.1000d060
mov byte [0x10129f6b], bl
jmp 0x10011917
inc eax
mov dword [0x1021dad4], eax
cmp eax, 0x11
ja 0x10011908
call fcn.1000d060
mov byte [0x10129f6b], bl
jmp 0x10011917
mov byte [0x10129f6b], 1
push 0x73
call esi
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
jne 0x1001197b
cmp byte [0x1020701e], bl
je 0x10011982
mov eax, dword [0x1017356c]
cmp eax, 2
jne 0x10011940
xor eax, eax
jmp 0x10011941
inc eax
mov dword [0x1017356c], eax
sub eax, ebx
je 0x1001196e
sub eax, 1
je 0x10011961
sub eax, 1
jne 0x10011973
call fcn.1000ab30
mov byte [0x1020701e], bl
jmp 0x10011982
call fcn.1000aa60
mov byte [0x1020701e], bl
jmp 0x10011982
call fcn.1000a9f0
mov byte [0x1020701e], bl
jmp 0x10011982
mov byte [0x1020701e], 1
push 0x7a
call esi
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
jne 0x100119c2
cmp byte [0x1014b612], bl
je 0x100119c9
cmp dword [0x1021dad8], 0xc
jne 0x100119b4
mov dword [0x1021dad8], ebx
mov byte [0x1014b612], bl
jmp 0x100119c9
inc dword [0x1021dad8]
mov byte [0x1014b612], bl
jmp 0x100119c9
mov byte [0x1014b612], 1
cmp dword [0x29d9d28], 4
jne 0x10011a19
push 0x7a
call esi
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
jne 0x10011a12
cmp byte [0x1014b612], bl
je 0x10011a19
cmp dword [0x1021db0c], 2
jne 0x10011a04
mov dword [0x1021db0c], ebx
mov byte [0x1014b612], bl
jmp 0x10011a19
inc dword [0x1021db0c]
mov byte [0x1014b612], bl
jmp 0x10011a19
mov byte [0x1014b612], 1
mov eax, dword [0x2a33c49]
cmp eax, 0x14173
je 0x10011a33
cmp eax, 0x14274
je 0x10011a33
cmp eax, 0x14375
jne 0x10011a9d
mov eax, dword [0x29d9d28]
cmp eax, 3
je 0x10011a42
cmp eax, 4
jne 0x10011a9d
push 0x2e
call esi
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
jne 0x10011a96
cmp byte [0x1012f673], bl
je 0x10011a9d
mov eax, dword [0x1021db10]
cmp eax, 1
jne 0x10011a6b
xor eax, eax
jmp 0x10011a6c
inc eax
mov dword [0x1021db10], eax
sub eax, ebx
je 0x10011a88
sub eax, 1
jne 0x10011a8d
call fcn.1000b300
pop esi
mov byte [0x1012f673], bl
pop ebx
ret
call fcn.1000ac20
pop esi
mov byte [0x1012f673], bl
pop ebx
ret
mov byte [0x1012f673], 1
pop esi
pop ebx
ret
Function at 0x100143f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
cmp dword [0x29d9d28], 3
jne 0x10014473
mov eax, dword [0x101273c0]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [0x2967da0]
add esi, dword [esp + 0x14]
push edi
mov edi, dword [eax]
add edi, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push 0x40
push 4
push 0x2967da0
call ebx
test eax, eax
je 0x10014444
mov edx, 0x2967da0
lea eax, [esp + 0x10]
push eax
mov dword [edx], esi
mov ecx, dword [esp + 0x10]
push ecx
push 4
push edx
call ebx
mov esi, dword [0x101273c0]
push ebp
lea edx, [esp + 0x10]
push edx
push 0x40
push 4
push esi
mov ebp, esi
call ebx
test eax, eax
je 0x1001446f
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
push 4
push esi
mov dword [ebp], edi
call ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x10014ac0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
mov edi, dword [esp + 0x1c]
cmp edi, 0x93db74
jge 0x10014b26
push ebp
lea esp, [esp]
mov eax, dword [0x1019435c]
mov ecx, dword [edi]
lea edx, [esp + 0x10]
push edx
push 0x40
lea esi, [eax + edi - 0x401000]
push 4
push esi
lea ebp, [ecx + eax - 0x401000]
call ebx
test eax, eax
je 0x10014b16
lea eax, [esp + 0x14]
push eax
mov dword [esi], ebp
mov ecx, dword [esp + 0x14]
push ecx
push 4
push esi
call ebx
add edi, 4
cmp edi, 0x93db74
jl 0x10014ae0
mov edi, dword [esp + 0x20]
pop ebp
mov eax, dword [0x1019435c]
mov edx, dword [esp + 0x18]
lea esi, [eax + edx - 0x400ffd]
lea edi, [eax + edi - 0x401000]
lea eax, [esp + 0x1c]
push eax
push 0x40
push 4
push esi
call ebx
test eax, eax
je 0x10014b5e
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push edx
push 4
push esi
mov dword [esi], edi
call ebx
pop edi
pop esi
pop ebx
add esp, 8
ret 8
Function at 0x10016810
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebp
push esi
push edi
call ebx
push eax
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [esp + 0x10], 0x1c
xor esi, esi
call ebx
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Thread32First
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1001686c
call ebp
cmp eax, 0x12
je 0x1001686c
cmp dword [esp + 0x1c], ebx
jne 0x1001685d
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push edi
call sub.KERNEL32.dll_Thread32Next
test esi, esi
je 0x10016848
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x10017270
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x100c9382
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101222d0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [edi], 0x1010a0a0
mov dword [edi + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 4]
push esi
mov dword [esp + 0x24], ebx
push edi
mov dword [esp + 0x1c], 1
call fcn.10018480
mov dword [esp + 0x20], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
call fcn.10019210
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x1021dea0]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, dword [esp + 0x2c]
push eax
mov byte [esp + 0x24], 2
call fcn.100186b0
test eax, eax
jne 0x10017367
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x10017360
or eax, 4
push ebx
push eax
call fcn.10001e10
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8
Function at 0x10019210
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x100c8eab
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101222d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100bdf30
push 4
mov dword [esp + 0x20], 0
call fcn.100956b7
mov edi, eax
add esp, 4
test edi, edi
je 0x1001928e
call fcn.100bd975
mov dword [edi], eax
call fcn.100bd76e
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.100bdbc8
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10019283
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.100bdbf0
jmp 0x10019290
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x1001b1e0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [ecx + 0x3c]
add eax, ecx
movzx ecx, word [eax + 0x14]
cmp esi, dword [ecx + eax + 0x2c]
push edi
lea edi, [ecx + eax + 0x18]
jae 0x1001b1f8
mov eax, esi
pop edi
ret
push ebx
movzx ebx, word [eax + 6]
xor eax, eax
xor edx, edx
cmp ax, bx
jae 0x1001b225
movzx eax, dx
lea ecx, [eax + eax*4]
lea eax, [edi + ecx*8]
mov ecx, dword [eax + 0xc]
cmp esi, ecx
jb 0x1001b21f
mov eax, dword [eax + 0x10]
add eax, ecx
cmp esi, eax
jb 0x1001b22a
inc edx
cmp dx, bx
jb 0x1001b206
pop ebx
xor eax, eax
pop edi
ret
movzx eax, dx
lea ecx, [eax + eax*4]
mov eax, dword [edi + ecx*8 + 0x14]
sub eax, dword [edi + ecx*8 + 0xc]
lea ecx, [edi + ecx*8]
pop ebx
add eax, esi
pop edi
ret
Function at 0x1001b240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [edi + 0x3c]
movzx ecx, word [eax + edi + 0x18]
add eax, edi
mov edx, 0x10b
sub esp, 8
cmp cx, dx
je 0x1001b262
mov eax, 0x20b
xor eax, eax
add esp, 8
ret
push ebx
push ebp
push esi
mov esi, dword [eax + 0x78]
mov ecx, edi
call fcn.1001b1e0
mov ebp, eax
mov esi, dword [ebp + edi + 0x20]
add ebp, edi
mov ecx, edi
mov dword [esp + 0x10], ebp
call fcn.1001b1e0
mov esi, dword [ebp + 0x24]
mov ebx, eax
mov ecx, edi
add ebx, edi
call fcn.1001b1e0
mov ebp, dword [ebp + 0x18]
add eax, edi
mov dword [esp + 0xc], eax
test ebp, ebp
je 0x1001b2ca
lea ecx, [ecx]
mov esi, dword [ebx]
mov ecx, edi
dec ebp
call fcn.1001b1e0
add eax, edi
push str.ReflectiveLoader
push eax
call fcn.10092fb0
add esp, 8
test eax, eax
jne 0x1001b2d3
add dword [esp + 0xc], 2
add ebx, 4
test ebp, ebp
jne 0x1001b2a0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0x1c]
mov ecx, edi
call fcn.1001b1e0
mov ecx, dword [esp + 0xc]
movzx edx, word [ecx]
add eax, edi
mov esi, dword [eax + edx*4]
mov ecx, edi
call fcn.1001b1e0
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x100391b0
Capabilities:
Parse credit card information

Disassembly:
mov al, byte [esp + 4]
mov cl, al
sub cl, 0x41
cmp cl, 0x19
ja 0x100391c1
mov al, 1
ret
mov dl, al
sub dl, 0x61
cmp dl, 0x19
jbe 0x100391be
mov cl, al
sub cl, 0x30
cmp cl, 9
jbe 0x100391be
cmp al, 0x2f
je 0x100391be
cmp al, 0x2e
je 0x100391be
cmp al, 0x40
je 0x100391be
cmp al, 0x2d
je 0x100391be
cmp al, 0x25
je 0x100391be
cmp al, 0x3a
je 0x100391be
cmp al, 0x3f
je 0x100391be
cmp al, 0x21
je 0x100391be
cmp al, 0x5f
je 0x100391be
cmp al, 0x26
je 0x100391be
cmp al, 0x3b
je 0x100391be
cmp al, 0xc0
jae 0x10039208
xor al, al
ret
cmp al, 0xf7
je 0x10039205
cmp al, 0xd7
setne al
ret
Function at 0x100456d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100c4a3b
mov eax, dword fs:[0]
push eax
mov eax, 0x18a4
call fcn.10097560
mov eax, dword [0x101222d0]
xor eax, esp
mov dword [esp + 0x18a0], eax
push esi
mov eax, dword [0x101222d0]
xor eax, esp
push eax
lea eax, [esp + 0x18ac]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18bc]
lea ecx, [esp + 8]
call fcn.10065270
lea ecx, [esp + 8]
mov dword [esp + 0x18b4], 0
call fcn.100652a0
test al, al
jne 0x1004574b
lea edx, [esp + 0x8a4]
push edx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1004576f
lea eax, [esp + 0xa0]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0xa0]
push ecx
mov ecx, esi
call fcn.10031e10
jmp 0x1004577e
lea edx, [esp + 0x8a4]
push edx
mov ecx, esi
call fcn.10035190
lea ecx, [esp + 8]
mov dword [esp + 0x18b4], 0xffffffff
call fcn.10065290
mov ecx, dword [esp + 0x18ac]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x18a0]
xor ecx, esp
call fcn.10091e94
add esp, 0x18b0
ret
Function at 0x10045c80
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x100c4bac
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x101222d0]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101222d0]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov edi, dword [esp + 0x468]
mov esi, dword [esp + 0x46c]
lea ecx, [esp + 0x14]
call fcn.10031a80
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x464], 0
call fcn.10035b40
push 0x5c
push 0x2f
lea ecx, [esp + 0x1c]
call fcn.10033ad0
lea ecx, [esp + 0x14c]
call fcn.10065270
lea ecx, [esp + 0x14c]
mov byte [esp + 0x460], 1
call fcn.100652a0
test al, al
lea ecx, [esp + 0x14]
je 0x10045d2f
call fcn.10032830
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jmp 0x10045e4c
call fcn.100340b0
cmp eax, 0x104
jle 0x10045dfe
lea ecx, [esp + 0x31c]
call fcn.10031a80
lea eax, [esp + 0x31c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x468], 2
call fcn.100455a0
add esp, 8
lea ecx, [esp + 0x1e4]
call fcn.10031a80
push 0x100fef30
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x464], 3
call fcn.10035870
lea ecx, [esp + 0x31c]
call fcn.10032ca0
push eax
lea ecx, [esp + 0x1e8]
call fcn.10035870
lea ecx, [esp + 0x1e4]
call fcn.10035340
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x10045dd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10045dcf
mov esi, 1
test esi, esi
lea ecx, [esp + 0x1e4]
setne bl
mov byte [esp + 0x460], 2
call fcn.10031b40
lea ecx, [esp + 0x31c]
mov byte [esp + 0x460], 1
call fcn.10031b40
jmp 0x10045e4f
lea ecx, [esp + 0x14]
call fcn.10035340
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, eax
test ebp, ebp
jne 0x10045e4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov edi, eax
je 0x10045e40
push edi
mov ecx, esi
call fcn.1004d980
mov ebx, dword [esi]
lea ecx, [esp + 0x14]
call fcn.10032ca0
mov edx, dword [ebx + 0x2c]
push eax
push str.failedToDeleteFilepath
mov ecx, esi
call edx
cmp edi, 2
jne 0x10045e4a
mov ebp, 1
test ebp, ebp
setne bl
lea ecx, [esp + 0x14c]
mov byte [esp + 0x460], 0
call fcn.10065290
lea ecx, [esp + 0x14]
mov dword [esp + 0x460], 0xffffffff
call fcn.10031b40
mov al, bl
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.10091e94
add esp, 0x450
ret