joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41408f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov dword [esp + 0xc], 0
push 0x40
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x40
call fcn.00408c60
mov ecx, dword [0x41b0e0]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 4
push ecx
push eax
mov dword [esp + 0x18], eax
call edi
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x14]
call fcn.00407c10
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 1
call fcn.00407c10
mov esi, dword [esp + 0x28]
push 0x40
mov ebp, eax
mov dword [esi], 0
mov dword [esi + 4], 0x40
call fcn.00408c60
mov edx, dword [0x41b0e0]
add esp, 4
push edx
push eax
mov dword [esi], eax
call edi
mov eax, dword [ebp]
push eax
mov ecx, esi
call fcn.00407c10
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x10], 1
mov byte [esp + 0x24], 0
call fcn.004079e0
mov ecx, dword [esp + 0x1c]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x408a40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [ecx + 4]
test eax, eax
mov dword [esp + 8], ecx
jne 0x408a5d
or eax, 0xffffffff
add esp, 0x210
ret 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x230]
test edi, edi
mov ecx, 0xff
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], ecx
jne 0x408a7d
lea edi, [esp + 0x1c]
mov ebp, dword [esp + 0x224]
push edi
lea ecx, [esp + 0x124]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, eax
cmp esi, 0xea
jne 0x408afe
mov eax, dword [edi]
inc eax
push eax
call fcn.00408c60
add esp, 4
push edi
mov ebx, eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push 0
lea edx, [esp + 0x20]
push edx
mov edx, dword [ecx + 4]
lea eax, [esp + 0x34]
push eax
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, eax
test esi, esi
jne 0x408b27
mov ecx, dword [esp + 0x22c]
push ebx
call fcn.004082a0
push ebx
call fcn.004079e0
add esp, 4
jmp 0x408b16
test esi, esi
jne 0x408b16
mov ecx, dword [esp + 0x22c]
lea eax, [esp + 0x120]
push eax
call fcn.004082a0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x22c]
call fcn.004082a0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 0x10
Function at 0x408b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41412f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov edi, ecx
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 0
call fcn.004080c0
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call fcn.004080c0
push 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call fcn.004080c0
xor esi, esi
push esi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push esi
mov ecx, edi
mov byte [esp + 0x3c], 3
call fcn.00408a40
test eax, eax
jne 0x408bec
push ebp
mov ebp, dword [esp + 0x3c]
push ebp
lea ecx, [esp + 0x1c]
call fcn.00408090
test eax, eax
jne 0x408bdd
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
inc esi
push esi
mov ecx, edi
call fcn.00408a40
test eax, eax
je 0x408bb5
jmp 0x408beb
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.00408340
pop ebp
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00408100
lea ecx, [esp + 0x1c]
mov dword [esp + 8], 1
mov byte [esp + 0x2c], 2
call fcn.00407bb0
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
call fcn.00407bb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.00407bb0
mov ecx, dword [esp + 0x24]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8

Function at 0x409f82
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x409fa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040abf2
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x409fc5
test byte [esp + 8], 2
je 0x409fc5
call fcn.0040abe0
mov dword [eax], 0xd
call fcn.0040abe9
mov dword [eax], 5
jmp 0x409f9e
xor eax, eax
ret
Function at 0x40a7c3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x40a989
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x41dfa0]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x40a989
test cl, 0x48
je 0x40a829
mov al, byte [eax + 5]
cmp al, 0xa
je 0x40a829
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40a87b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x40a863
call fcn.0040abe0
mov dword [eax], 9
call fcn.0040abe9
mov dword [eax], esi
jmp 0x40a873
cmp eax, 0x6d
je 0x40a989
push eax
call fcn.0040abf2
pop ecx
or eax, 0xffffffff
jmp 0x40a98b
mov eax, dword [edi]
mov edx, dword [ebp - 0xc]
add dword [ebp - 8], edx
lea ecx, [eax + esi + 4]
mov al, byte [ecx]
test al, al
jns 0x40a984
test edx, edx
je 0x40a89e
cmp byte [ebx], 0xa
jne 0x40a89e
or al, 4
jmp 0x40a8a0
and al, 0xfb
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x40a97e
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x40a96e
cmp al, 0xd
je 0x40a8d4
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x40a960
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x40a8ee
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x40a8e9
add dword [ebp + 0x10], 2
jmp 0x40a942
mov dword [ebp + 0x10], eax
jmp 0x40a95c
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40a916
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40a95c
cmp dword [ebp - 0xc], 0
je 0x40a95c
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x40a937
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x40a942
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x40a95f
cmp ebx, dword [ebp + 0xc]
jne 0x40a947
cmp byte [ebp - 1], 0xa
jne 0x40a947
mov byte [ebx], 0xa
jmp 0x40a95f
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040fbb2
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x40a960
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x40a8b8
jmp 0x40a97e
mov eax, dword [edi]
lea esi, [eax + esi + 4]
mov al, byte [esi]
test al, 0x40
jne 0x40a97e
or al, 2
mov byte [esi], al
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x40a98b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a990
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x41ba80]
xor eax, dword [ebp + 4]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
jne 0x40a9b9
xor eax, eax
jmp 0x40ab27
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x41dfa0]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x40a9ec
push 2
push edi
push edi
push dword [ebp + 8]
call fcn.0040a0e6
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x40aabe
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edi
jbe 0x40aaf9
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x420]
mov dword [ebp - 0xc], edi
cmp ecx, dword [ebp + 0x10]
jae 0x40aa47
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x40aa38
inc dword [ebp - 0x18]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0xc]
mov byte [eax], dl
inc eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x400
jl 0x40aa1b
mov edi, eax
lea eax, [ebp - 0x420]
sub edi, eax
push 0
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40aa87
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
cmp eax, edi
jl 0x40aa90
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, dword [ebp + 0x10]
jb 0x40aa0c
jmp 0x40aa92
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0x40ab22
cmp dword [ebp - 8], edi
je 0x40aaf9
push 5
pop esi
cmp dword [ebp - 8], esi
jne 0x40aaeb
call fcn.0040abe0
mov dword [eax], 9
call fcn.0040abe9
mov dword [eax], esi
jmp 0x40aaf4
push edi
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40aae0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
jmp 0x40aa92
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x40aa92
push dword [ebp - 8]
call fcn.0040abf2
pop ecx
or eax, 0xffffffff
jmp 0x40ab25
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x40ab0e
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x40ab0e
xor eax, eax
jmp 0x40ab25
call fcn.0040abe0
mov dword [eax], 0x1c
call fcn.0040abe9
mov dword [eax], edi
jmp 0x40aaf4
sub eax, dword [ebp - 0x18]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
call fcn.0040fa69
leave
ret
Function at 0x40fa77
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0040c2f0
mov eax, dword [0x41ba80]
xor eax, dword [ebp + 4]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.0040fbb2
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x40fba1
push 2
push esi
push dword [ebp + 8]
call fcn.0040fbb2
add esp, 0xc
cmp eax, ebx
je 0x40fba1
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x40fb44
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x100c]
push esi
push eax
call fcn.00411ed0
push 0x8000
push dword [ebp + 8]
call fcn.004129b8
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp edi, ebx
mov eax, ebx
jge 0x40fafd
mov eax, edi
push eax
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.0040a990
add esp, 0xc
cmp eax, 0xffffffff
je 0x40fb1d
sub edi, eax
test edi, edi
jg 0x40faf5
jmp 0x40fb35
call fcn.0040abe9
cmp dword [eax], 5
jne 0x40fb32
call fcn.0040abe0
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004129b8
pop ecx
pop ecx
jmp 0x40fb8c
jge 0x40fb8c
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040fbb2
push dword [ebp + 8]
call fcn.0040a5a0
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x40fb8c
call fcn.0040abe0
mov dword [eax], 0xd
call fcn.0040abe9
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0040fbb2
add esp, 0xc
mov eax, esi
pop edi
jmp 0x40fba3
mov eax, ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.0040fa69
leave
ret

Function at 0x4111d5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x41ba80]
xor eax, dword [ebp + 4]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 4], eax
je 0x411250
push ebx
call fcn.0041119e
test eax, eax
pop ecx
jne 0x411222
call fcn.0040abe9
mov dword [eax], 0xf
call fcn.0040abe0
mov dword [eax], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop ebx
call fcn.0040fa69
leave
ret
and byte [ebp + 0xb], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0x104
lea eax, [ebp + 8]
add bl, 0x40
push eax
mov byte [ebp + 8], bl
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x2e
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x411262
lea eax, [ebp - 0x10c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x411212
inc eax
cmp eax, 0x104
ja 0x411212
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x41129a
cmp eax, dword [ebp + 0x10]
jg 0x41127d
mov eax, dword [ebp + 0x10]
push eax
call fcn.00409944
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x4112af
call fcn.0040abe0
mov dword [eax], 0xc
jmp 0x411212
cmp eax, dword [ebp + 0x10]
jle 0x4112af
call fcn.0040abe0
mov dword [eax], 0x22
jmp 0x411212
lea eax, [ebp - 0x10c]
push eax
push ecx
call fcn.0040f940
pop ecx
pop ecx
jmp 0x411214
Function at 0x41139c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x41cb7c], ebx
push esi
push edi
jne 0x41141c
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x411457
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41807c
push edi
call esi
test eax, eax
mov dword [0x41cb7c], eax
je 0x411457
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x41cb80], eax
call esi
cmp dword [0x41c8a0], 2
mov dword [0x41cb84], eax
jne 0x41141c
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x41cb8c], eax
je 0x41141c
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x41cb88], eax
mov eax, dword [0x41cb88]
test eax, eax
je 0x411461
call eax
test eax, eax
je 0x411448
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x41cb8c]
test eax, eax
je 0x411448
test byte [ebp - 8], 1
jne 0x411461
cmp dword [0x41c8ac], 4
jb 0x41145b
or byte [ebp + 0x12], 0x20
jmp 0x411480
xor eax, eax
jmp 0x411490
or byte [ebp + 0x12], 4
jmp 0x411480
mov eax, dword [0x41cb80]
test eax, eax
je 0x411480
call eax
mov ebx, eax
test ebx, ebx
je 0x411480
mov eax, dword [0x41cb84]
test eax, eax
je 0x411480
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x41cb7c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411ac8
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ebx
je 0x411b33
push 0x3d
push dword [ebp + 8]
call fcn.004131d2
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], esi
je 0x411b33
cmp dword [ebp + 8], esi
je 0x411b33
xor eax, eax
cmp byte [esi + 1], al
sete al
mov dword [ebp - 4], eax
mov eax, dword [0x41c8c0]
cmp eax, dword [0x41c8c4]
jne 0x411b19
mov edi, eax
call fcn.00411a67
mov dword [0x41c8c0], eax
cmp eax, ebx
jne 0x411b72
cmp dword [ebp + 0xc], ebx
je 0x411b3b
cmp dword [0x41c8c8], ebx
je 0x411b3b
call fcn.0040cfbb
test eax, eax
je 0x411b72
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
jne 0x411c76
push 4
call fcn.00409944
cmp eax, ebx
pop ecx
mov dword [0x41c8c0], eax
je 0x411b33
mov dword [eax], ebx
cmp dword [0x41c8c8], ebx
jne 0x411b72
push 4
call fcn.00409944
cmp eax, ebx
pop ecx
mov dword [0x41c8c8], eax
je 0x411b33
mov dword [eax], ebx
mov ebx, dword [0x41c8c0]
mov edi, esi
mov esi, dword [ebp + 8]
sub edi, esi
push esi
call fcn.00411a1a
mov edi, eax
test edi, edi
pop ecx
jl 0x411bcb
cmp dword [ebx], 0
je 0x411bcb
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.0040982c
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x411bb3
mov eax, dword [ebp + 8]
mov dword [esi], eax
jmp 0x411c01
mov ecx, dword [esi + 4]
mov dword [esi], ecx
inc edi
add esi, 4
cmp dword [esi], eax
jne 0x411baa
mov eax, edi
shl eax, 2
push eax
push ebx
call fcn.0040b5e5
test eax, eax
pop ecx
pop ecx
je 0x411c01
jmp 0x411bfc
cmp dword [ebp - 4], 0
jne 0x411c6f
test edi, edi
jge 0x411bdb
neg edi
lea eax, [edi*4 + 8]
push eax
push ebx
call fcn.0040b5e5
test eax, eax
pop ecx
pop ecx
je 0x411b33
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov dword [0x41c8c0], eax
cmp dword [ebp + 0xc], 0
je 0x411c58
push dword [ebp + 8]
call fcn.0040cf30
inc eax
inc eax
push eax
call fcn.00409944
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x411c58
push dword [ebp + 8]
push esi
call fcn.0040f940
mov eax, esi
sub eax, dword [ebp + 8]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
and byte [eax], 0
mov ecx, dword [ebp - 4]
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x411c51
or dword [ebp - 8], 0xffffffff
push esi
call fcn.0040982c
pop ecx
cmp dword [ebp - 4], 0
je 0x411c67
push dword [ebp + 8]
call fcn.0040982c
pop ecx
mov eax, dword [ebp - 8]
jmp 0x411b36
push esi
call fcn.0040982c
pop ecx
xor eax, eax
jmp 0x411b36
Function at 0x412148
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.0040c2f0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4121dd
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x41c8a0]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x4121dd
cmp eax, 1
je 0x4121f5
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4121dd
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x4121b2
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x4121d9
xor eax, eax
inc eax
jmp 0x412211
cmp esi, ebx
jae 0x4121e1
xor eax, eax
jmp 0x412211
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x41c8a0]
jmp 0x4121f7
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [ecx + 0x14], 0
jne 0x475002
push dword [ebp + 8]
call fcn.00423e65
pop ecx
leave
ret 4
inc ebp
or al, 0x8b
dec ecx
adc byte [esi - 0x75], dl
xor dword [edi - 0x73], edx
jge 0x475006
push edi
call dword [0x50529910]
push ecx
call dword [esi + 0x14]
mov eax, dword [ebp - 8]
pop edi
pop esi
jmp fcn.00404558
Function at 0x40fe30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x4c221c]
push ebx
push esi
push edi
mov dword [esp + 0x14], ecx
test al, 1
je 0x4113cf
or eax, 1
Function at 0x41d71e
Capabilities:
Parse credit card information

Disassembly:
inc ebx
push eax
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
movzx ecx, word [esi]
mov edi, dword [ebp + 0xc]
mov eax, ecx
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], eax
lea eax, [ecx - 0x21]
add esi, 2
push 0x1e
mov ebx, edx
pop edx
cmp ax, 0x40
ja 0x41d7e9
call fcn.0041d8de
movzx edx, ax
push 0x21
pop eax
sub eax, edx
add ecx, eax
push 0x29
pop eax
cmp cx, 0x27
je 0x41d8a4
cmp cx, 0x28
je 0x41d8a4
cmp cx, ax
je 0x41d8a4
cmp cx, 0x2d
je 0x41d8a4
cmp cx, 0x23
je 0x41d8ac
cmp cx, 0x24
je 0x41d8ac
cmp cx, ax
je 0x41d8ac
cmp cx, 0x2b
je 0x41d8ac
xor eax, eax
inc eax
mov dword [edi + 4], eax
mov eax, edx
cmp eax, 0x21
je 0x482997
cmp eax, 0x2e
je 0x41d8b3
cmp eax, 0x3b
je 0x48298f
cmp eax, 0x48
je 0x482987
push 0x1e
pop edx
cmp eax, 0x55
jne 0x41d7e6
movzx eax, word [esi]
mov dword [edi], eax
add esi, 2
movzx ecx, word [edi]
movzx eax, cx
cmp eax, edx
jg 0x41d80b
je 0x482a2c
cmp eax, 6
jl 0x41d8bd
cmp eax, 0xd
jg 0x41d862
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x1f
je 0x41d87c
cmp eax, 0x20
je 0x482a2c
add eax, 0xffffff92
cmp eax, 2
ja 0x41d8bd
cmp cx, 0x70
je 0x482a0a
stc
jo 0x41d839
test bl, bl
push ecx
push es
add byte [ebp - 0x48f0dfaa], cl
add al, byte [ebx - 0x77c6140]
lea edx, [esi + 0x20]
movzx eax, word [edx]
add eax, 0xffffff9e
cmp eax, 0xb
ja 0x41d855
clc
or esi, dword [edi + 0x18]
movzx eax, byte [eax + 0x41d8d2]
jmp dword [eax*4 + 0x41d8c6]
ret 0x8b02
mov ecx, edx
sub ecx, esi
sar ecx, 1
mov dword [edi + 8], ecx
mov eax, edx
jmp 0x41d806
cmp eax, 0xe
jle 0x41d8bd
push 0x10
pop edx
cmp eax, edx
jle 0x4829a5
cmp eax, 0x1a
jle 0x41d804
cmp eax, 0x1d
jne 0x41d8bd
movzx ecx, word [esi]
add esi, 2
test ebx, ebx
je 0x41d898
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
je 0x482acb
mov dword [edi + 8], ecx
or dword [edi + 0xc], 0xffffffff
jmp 0x41d804
add esi, 2
jmp 0x41d783
xor eax, eax
jmp 0x41d7ad
push 0x1e
pop edx
mov dword [edi], edx
jmp 0x41d7e6
push dword [ebx]
shr cl, 0x42
invalid
xor eax, eax
jmp 0x41d806
int3
mov ebp, 0xffff861
mov bh, 0x41
add cl, byte [ebp - 0x7c99bef4]
cmp dword [edi + 0x74], esi
movzx eax, word [ecx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
cmp word [ecx], 0x77
je 0x482993
movzx eax, word [ecx]
jmp 0x408b57
popal
clc
inc edi
pop es
and byte [eax], al
add byte [eax], al
jmp 0x4829be
push 0x1e
pop edx
jmp 0x41d807
movzx eax, word [esi + 4]
mov dword [edi + 8], eax
movzx eax, word [esi + 6]
mov dword [edi + 0xc], eax
jmp 0x4829fb
push 0x10
xor eax, eax
pop edx
cmp cx, dx
setne al
lea eax, [eax*2 + 0x1d]
mov dword [edi], eax
lea eax, [esi + 4]
jmp 0x41d827
lea ebx, [eax*4 + 0x4ae6a0]
lea eax, [edi + 0x20]
cmp edx, eax
jae 0x4829d7
mov eax, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebx]
add ebx, 4
add edx, 4
cmp eax, 0xffffffff
jne 0x482a11
jmp 0x4829e7
mov bh, 0x16
dec edx
lea edx, [esi + edx*2]
jmp 0x41d853
dec edx
add byte [ebx], al
shr ebx, 7
mov eax, dword [ebp + 8]
movzx eax, byte [ecx + eax]
mov dword [edi + 0xc], eax
cmp ecx, eax
je 0x41d8bc
or dword [edi + 0x10], 0xffffffff
jmp 0x41d825
Function at 0x45edae
Capabilities:
Encode data using xor

Disassembly:
push esi
dec esp
aam 0x83
in al, dx
sbb al, 0x8b
nop
rcl dword [ebx - 0x75], 0x5d
sbb byte [esi - 0x75], dl
inc esp
mov edi, esp
push edi
xor edi, edi
push 0x4e
mov dword [ebp - 4], edi
mov esi, edi
pop edi
xor edx, edx
cmp word [eax + 8], di
mov dword [ebp - 0x1c], edi
sete dl
mov dword [ebp - 8], 0xe800004f
mov dword [ebp - 0xc], 0xe8000047
mov dword [ebp - 0x10], 0xe8000048
mov dword [ebp - 0x14], 0xe800007f
mov eax, dword [ebx + ecx*4]
movzx eax, word [eax + 8]
cmp ax, di
jne 0x45ee06
test esi, esi
jne 0x45ee39
inc edx
jmp 0x45ee41
cmp ax, word [ebp - 8]
jne 0x45ee13
test esi, esi
jne 0x45ee39
dec edx
jmp 0x45ee41
cmp ax, 0x41
jne 0x45ee1d
add edx, edx
je 0x45ee44
cmp ax, word [ebp - 0xc]
jne 0x45ee26
inc esi
jmp 0x45ee41
cmp ax, word [ebp - 0x10]
jne 0x45ee2f
dec esi
jmp 0x45ee41
cmp ax, word [ebp - 0x14]
je 0xd745ef03
dec ebp
ror byte [edi], cl
test dl, al
add byte [eax], al
xlatb
inc ecx
jmp 0x45edf3
mov eax, dword [ebx + ecx*4 + 4]
cmp word [eax + 8], di
jne 0xe845ef07
xor edx, edx
inc edx
mov edi, edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
add ecx, 2
mov dword [ebp + 0xc], edi
add edx, edx
je 0x45ee93
mov dword [edx], edi
lea edi, [ebx + ecx*4]
push 0x4e
mov eax, dword [edi]
pop ebx
cmp word [eax + 8], bx
mov ebx, dword [ebp + 0x18]
jne 0x45ee90
push 0x4e
pop ebx
inc dword [edx]
lea edi, [edi + 4]
mov eax, dword [edi]
cmp word [eax + 8], bx
je 0x45ee80
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
lea edx, [ebx + ecx*4]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]