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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
lea edi, [ebp - 0xc]
mov dword [edi], eax
test edx, edx
je 0x4147d7
mov al, byte [ebp - 4]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 4]
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 4]
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, dword [ebp + 8]
dec eax
cmp eax, 0
jl 0x4147d7
mov dword [ebp - 8], eax
mov eax, dword [edi]
mov al, byte [eax]
mov cl, byte [ebp - 0xf]
add al, cl
mov ecx, dword [edi]
mov byte [ecx], al
mov esi, edx
dec esi
test esi, esi
jle 0x414796
mov eax, 1
mov ecx, dword [edi]
mov cl, byte [ecx + eax - 1]
mov ebx, dword [edi]
mov bl, byte [ebx + eax]
add cl, bl
mov bl, byte [ebp - 0xd]
xor cl, bl
mov ebx, dword [edi]
mov byte [ebx + eax], cl
inc eax
dec esi
jne 0x41477b
mov eax, dword [edi]
mov al, byte [eax + edx - 1]
mov cl, byte [ebp - 0x10]
add al, cl
mov ecx, dword [edi]
mov byte [ecx + edx - 1], al
mov eax, edx
sub eax, 2
cmp eax, 0
jl 0x4147ce
mov ecx, dword [edi]
mov cl, byte [ecx + eax + 1]
mov ebx, dword [edi]
mov bl, byte [ebx + eax]
add cl, bl
mov bl, byte [ebp - 0xe]
xor cl, bl
mov ebx, dword [edi]
mov byte [ebx + eax], cl
dec eax
cmp eax, 0xffffffff
jne 0x4147b1
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x414762
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4147e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
lea edi, [ebp - 0xc]
mov dword [edi], eax
test edx, edx
je 0x414894
mov al, byte [ebp - 4]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 4]
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 4]
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, dword [ebp + 8]
dec eax
cmp eax, 0
jl 0x414894
mov dword [ebp - 8], eax
mov esi, edx
sub esi, 2
test esi, esi
jl 0x41484b
inc esi
xor eax, eax
mov ecx, dword [edi]
mov cl, byte [ecx + eax]
xor cl, byte [ebp - 0xe]
mov ebx, dword [edi]
mov bl, byte [ebx + eax + 1]
sub cl, bl
mov ebx, dword [edi]
mov byte [ebx + eax], cl
inc eax
dec esi
jne 0x414832
mov eax, dword [edi]
mov al, byte [eax + edx - 1]
mov cl, byte [ebp - 0x10]
sub al, cl
mov ecx, dword [edi]
mov byte [ecx + edx - 1], al
mov eax, edx
dec eax
cmp eax, 1
jl 0x41487e
mov ecx, dword [edi]
mov cl, byte [ecx + eax]
xor cl, byte [ebp - 0xd]
mov ebx, dword [edi]
mov bl, byte [ebx + eax - 1]
sub cl, bl
mov ebx, dword [edi]
mov byte [ebx + eax], cl
dec eax
test eax, eax
jne 0x414864
mov eax, dword [edi]
mov al, byte [eax]
mov cl, byte [ebp - 0xf]
sub al, cl
mov ecx, dword [edi]
mov byte [ecx], al
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x414826
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x415464
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x4aa074
call fcn.004073e0
dec eax
jne 0x415485
push 0x4a9ee4
mov dl, 2
mov al, 2
call fcn.00406550
push eax
call sub.wsock32.dll_WSAStartup
ret
Function at 0x41d794
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x41d9b7
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x41d7c1
cmp dword [ebp - 4], 0
jg 0x41d7c8
mov bl, 3
jmp 0x41d9a1
mov eax, dword [ebp - 4]
mov ecx, 3
cdq
idiv ecx
test edx, edx
jne 0x41d7e6
mov eax, dword [ebp - 4]
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
jmp 0x41d7f4
mov eax, dword [ebp - 4]
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
inc ebx
mov edx, ebx
shl edx, 2
mov eax, edi
call fcn.00404970
dec ebx
test ebx, ebx
jl 0x41d98b
inc ebx
mov dword [ebp - 0xc], ebx
xor ebx, ebx
lea eax, [ebx + ebx*2]
add eax, 3
cmp eax, dword [ebp - 4]
jg 0x41d89e
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x445094]
mov byte [ebp - 5], al
lea eax, [ebx + ebx*2]
mov al, byte [esi + eax]
shl eax, 4
and al, 0x30
lea edx, [ebx + ebx*2]
inc edx
movzx edx, byte [esi + edx]
shr edx, 4
or al, dl
and eax, 0xff
mov al, byte [eax + 0x445094]
mov byte [ebp - 6], al
lea eax, [ebx + ebx*2]
inc eax
mov al, byte [esi + eax]
shl eax, 2
and al, 0x3c
lea edx, [ebx + ebx*2]
add edx, 2
movzx edx, byte [esi + edx]
shr edx, 6
or al, dl
and eax, 0xff
mov al, byte [eax + 0x445094]
mov byte [ebp - 7], al
lea eax, [ebx + ebx*2]
add eax, 2
mov al, byte [esi + eax]
and al, 0x3f
and eax, 0xff
mov al, byte [eax + 0x445094]
mov byte [ebp - 8], al
jmp 0x41d936
lea eax, [ebx + ebx*2]
add eax, 2
cmp eax, dword [ebp - 4]
jg 0x41d902
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x445094]
mov byte [ebp - 5], al
lea eax, [ebx + ebx*2]
mov al, byte [esi + eax]
shl eax, 4
and al, 0x30
lea edx, [ebx + ebx*2]
inc edx
movzx edx, byte [esi + edx]
shr edx, 4
or al, dl
and eax, 0xff
mov al, byte [eax + 0x445094]
mov byte [ebp - 6], al
lea eax, [ebx + ebx*2]
inc eax
mov al, byte [esi + eax]
shl eax, 2
and al, 0x3c
and eax, 0xff
mov al, byte [eax + 0x445094]
mov byte [ebp - 7], al
mov byte [ebp - 8], 0x3d
jmp 0x41d936
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x445094]
mov byte [ebp - 5], al
lea eax, [ebx + ebx*2]
mov al, byte [esi + eax]
shl eax, 4
and al, 0x30
and eax, 0xff
mov al, byte [eax + 0x445094]
mov byte [ebp - 6], al
mov byte [ebp - 7], 0x3d
mov byte [ebp - 8], 0x3d
mov eax, edi
call fcn.00404898
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 5]
mov byte [eax + edx], cl
mov eax, edi
call fcn.00404898
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 6]
mov byte [eax + edx + 1], cl
mov eax, edi
call fcn.00404898
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 7]
mov byte [eax + edx + 2], cl
mov eax, edi
call fcn.00404898
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 8]
mov byte [eax + edx + 3], cl
inc ebx
dec dword [ebp - 0xc]
jne 0x41d80f
lea edx, [ebp - 0x10]
mov eax, dword [edi]
call fcn.00407864
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.004043e8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d9be
lea eax, [ebp - 0x10]
call fcn.00404394
ret
Function at 0x41dd54
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
mov eax, dword [ebp + 0xc]
call fcn.00404830
xor eax, eax
push ebp
push 0x41ddb4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404840
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov ecx, eax
dec ecx
lea edx, [ebp - 0x104]
mov eax, dword [ebp + 8]
call fcn.00404484
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ddbb
lea eax, [ebp + 0xc]
call fcn.00404394
ret

Function at 0x41ddc4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x41def4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, ebx
call fcn.004043e8
mov eax, dword [esi]
call fcn.00404640
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41dede
mov eax, edi
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, edi
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, edi
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edi
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0x41deca
mov dword [ebp - 8], eax
mov eax, esi
call fcn.00404898
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
add dl, cl
mov byte [eax], dl
mov edi, dword [ebp - 0xc]
sub edi, 2
jl 0x41de76
inc edi
mov ebx, 2
mov eax, esi
call fcn.00404898
mov edx, dword [esi]
mov dl, byte [edx + ebx - 2]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xd]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x41de54
mov eax, esi
call fcn.00404898
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
add cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
dec ebx
cmp ebx, 1
jl 0x41debd
mov eax, esi
call fcn.00404898
mov edx, dword [esi]
mov dl, byte [edx + ebx]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xe]
xor dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0x41de9b
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x41de34
lea edx, [ebp - 0x14]
mov eax, dword [esi]
call fcn.0041dcb0
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.004043e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41defb
lea eax, [ebp - 0x14]
call fcn.00404394
ret
Function at 0x41df04
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov esi, dword [ebp + 8]
mov edx, esi
mov eax, edi
call fcn.0041dcb8
mov eax, dword [esi]
call fcn.00404640
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41dff0
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], bl
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0x41dff0
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jle 0x41df8b
mov ebx, 1
mov eax, esi
call fcn.00404898
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xe]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx]
sub dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x41df6c
mov eax, esi
call fcn.00404898
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
sub cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
cmp ebx, 2
jl 0x41dfd1
mov eax, esi
call fcn.00404898
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xd]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 2]
sub dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
cmp ebx, 1
jne 0x41dfaf
mov eax, esi
call fcn.00404898
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
sub dl, cl
mov byte [eax], dl
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x41df5f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41dffc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00404830
mov eax, dword [ebp - 8]
call fcn.00404830
mov eax, dword [ebp + 8]
call fcn.00404830
xor eax, eax
push ebp
push 0x41e184
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, esi
mov edx, dword [ebp + 8]
call fcn.004043e8
mov ecx, 0x41e1a0
mov edx, dword [ebp - 4]
mov eax, 0x80000002
call fcn.004157f8
lea eax, [ebp - 0xc]
push eax
push 0x20119
push 0
mov eax, dword [ebp - 4]
call fcn.00404840
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x41e161
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404840
mov edi, eax
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x41e14f
cmp dword [ebp - 0x10], 0
je 0x41e161
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.00404970
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00404898
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x41e14f
mov bl, 1
cmp dword [ebp - 0x14], 1
jne 0x41e0ed
mov eax, dword [esi]
call fcn.00404840
mov edx, eax
mov eax, esi
call fcn.0040459c
cmp dword [ebp - 0x14], 4
jne 0x41e118
mov eax, esi
call fcn.00404898
mov eax, dword [eax]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x114]
call fcn.004053a0
lea edx, [ebp - 0x114]
mov eax, esi
call fcn.00404608
cmp dword [ebp - 0x14], 3
jne 0x41e128
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.00404970
cmp dword [ebp - 0x14], 7
jne 0x41e139
mov edx, dword [ebp - 0x10]
dec edx
mov eax, esi
call fcn.00404970
cmp dword [ebp - 0x14], 2
jne 0x41e14f
mov eax, dword [esi]
call fcn.00404840
mov edx, eax
mov eax, esi
call fcn.0040459c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegFlushKey
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e18b
lea eax, [ebp - 8]
mov edx, 2
call fcn.004043b8
lea eax, [ebp + 8]
call fcn.00404394
ret
Function at 0x41e1ac
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404830
mov eax, dword [ebp + 0xc]
call fcn.00404830
mov eax, dword [ebp + 8]
call fcn.00404830
xor eax, eax
push ebp
push 0x41e2fa
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov ecx, 0x41e314
mov edx, dword [ebp - 4]
mov eax, 0x80000002
call fcn.004157f8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xf013f
push 0
push 0x41e320
push 0
mov eax, dword [ebp - 4]
call fcn.00404840
push eax
push edi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x41e2d7
cmp esi, 4
jne 0x41e259
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.00407c6c
mov dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x10]
push eax
push esi
push 0
mov eax, dword [ebp + 0xc]
call fcn.00404840
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
jmp 0x41e2c5
cmp esi, 7
jne 0x41e299
lea eax, [ebp + 8]
mov edx, 0x41e330
call fcn.00404648
mov eax, dword [ebp + 8]
call fcn.00404640
push eax
lea eax, [ebp + 8]
call fcn.00404898
push eax
push esi
push 0
mov eax, dword [ebp + 0xc]
call fcn.00404840
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
jmp 0x41e2c5
mov eax, dword [ebp + 8]
call fcn.00404640
push eax
lea eax, [ebp + 8]
call fcn.00404898
push eax
push esi
push 0
mov eax, dword [ebp + 0xc]
call fcn.00404840
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegFlushKey
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e301
lea eax, [ebp - 4]
call fcn.00404394
lea eax, [ebp + 8]
mov edx, 2
call fcn.004043b8
ret

Function at 0x41e640
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41e6d3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00407a94
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x41e6e8
lea eax, [ebp - 0x10]
push eax
call fcn.0041dd54
mov eax, dword [ebp - 0x10]
call fcn.00404840
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x41e6bd
mov ecx, ebx
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00407a94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e6da
lea eax, [ebp - 0x10]
call fcn.00404394
ret
Function at 0x4229c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4229f9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404484
jmp 0x422a02
mov eax, ebx
mov edx, esi
call fcn.004043e8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x422a0c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x422a2d
mov al, byte [esp]
jmp 0x422a2f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4230c4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x422f2c
mov eax, dword [0x4a7314]
cmp byte [eax], 0
je 0x423140
mov eax, dword [0x4a7230]
call fcn.00402d10
call fcn.00402b70
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00420328
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x423188
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x423176
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4a7208]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a8668]
call fcn.00405880
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x423ed0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x423f34
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404614
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0041ffdc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423f3b
lea eax, [ebp - 0xc]
call fcn.00404394
ret

Function at 0x424a1c
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00402de4
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x425508
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0x40
jle 0x425561
lea eax, [ebp - 0x114]
call fcn.00424a1c
mov eax, dword [ebp - 4]
lea edx, [eax + 1]
lea eax, [ebp - 0x114]
mov ecx, dword [ebp - 8]
call fcn.00425250
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x144]
call fcn.00425450
lea eax, [ebp - 0x144]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
lea eax, [ebp - 0x64]
call fcn.00424a1c
mov edx, dword [ebp - 8]
dec edx
test edx, edx
jl 0x42558a
inc edx
xor eax, eax
lea ecx, [ebp - 0x184]
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + eax]
xor bl, 0x36
mov byte [ecx], bl
inc eax
inc ecx
dec edx
jne 0x42557a
mov eax, dword [ebp - 8]
cmp eax, 0x3f
jg 0x4255a3
lea edx, [ebp + eax - 0x184]
mov byte [edx], 0x36
inc eax
inc edx
cmp eax, 0x40
jne 0x425599
lea edx, [ebp - 0x184]
lea eax, [ebp - 0x64]
mov ecx, 0x40
call fcn.0042531c
lea eax, [ebp - 0x64]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.0042531c
lea edx, [ebp - 0x64]
lea eax, [ebp - 0x124]
call fcn.00425450
lea eax, [ebp - 0xbc]
call fcn.00424a1c
mov edx, dword [ebp - 8]
dec edx
test edx, edx
jl 0x4255fe
inc edx
xor eax, eax
lea ecx, [ebp - 0x184]
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + eax]
xor bl, 0x5c
mov byte [ecx], bl
inc eax
inc ecx
dec edx
jne 0x4255ee
mov eax, dword [ebp - 8]
cmp eax, 0x3f
jg 0x425617
lea edx, [ebp + eax - 0x184]
mov byte [edx], 0x5c
inc eax
inc edx
cmp eax, 0x40
jne 0x42560d
lea edx, [ebp - 0x184]
lea eax, [ebp - 0xbc]
mov ecx, 0x40
call fcn.00425250
lea edx, [ebp - 0x124]
lea eax, [ebp - 0xbc]
mov ecx, 0x10
call fcn.00425250
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x134]
call fcn.00425450
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x134]
mov edx, 0x10
call fcn.004079ec
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x425a60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00404830
mov eax, dword [ebp - 8]
call fcn.00404830
mov eax, dword [ebp + 8]
call fcn.00404830
xor eax, eax
push ebp
push 0x425be8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, esi
mov edx, dword [ebp + 8]
call fcn.004043e8
mov ecx, 0x425c04
mov edx, dword [ebp - 4]
mov eax, 0x80000002
call fcn.00425994
lea eax, [ebp - 0xc]
push eax
push 0x20119
push 0
mov eax, dword [ebp - 4]
call fcn.00404840
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x425bc5
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404840
mov edi, eax
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x425bb3
cmp dword [ebp - 0x10], 0
je 0x425bc5
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.00404970
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00404898
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x425bb3
mov bl, 1
cmp dword [ebp - 0x14], 1
jne 0x425b51
mov eax, dword [esi]
call fcn.00404840
mov edx, eax
mov eax, esi
call fcn.0040459c
cmp dword [ebp - 0x14], 4
jne 0x425b7c
mov eax, esi
call fcn.00404898
mov eax, dword [eax]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x114]
call fcn.004053a0
lea edx, [ebp - 0x114]
mov eax, esi
call fcn.00404608
cmp dword [ebp - 0x14], 3
jne 0x425b8c
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.00404970
cmp dword [ebp - 0x14], 7
jne 0x425b9d
mov edx, dword [ebp - 0x10]
dec edx
mov eax, esi
call fcn.00404970
cmp dword [ebp - 0x14], 2
jne 0x425bb3
mov eax, dword [esi]
call fcn.00404840
mov edx, eax
mov eax, esi
call fcn.0040459c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegFlushKey
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425bef
lea eax, [ebp - 8]
mov edx, 2
call fcn.004043b8
lea eax, [ebp + 8]
call fcn.00404394
ret