joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1133d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1133d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x1133d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1133d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1133d94
push eax
push esi
call fcn.0113620b
add esp, 8
pop esi
ret 0x10

Function at 0x1133da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1133e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x1133e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x114c320
push ecx
mov dword [esp + 0x1c], 4
call fcn.01135dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x1133dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x1133e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1133ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x1133eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x114c320
push ecx
mov dword [esp + 0x1c], 4
call fcn.01135dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x1133eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x1133e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x1134000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x1134131
push esi
call fcn.01137145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.01126080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x1134131
push 0
push ebp
call fcn.011263a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.01126260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x113408b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.011262f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1134121
push 0x114c918
push edi
call fcn.011353f0
push eax
push ebx
push esi
call fcn.01133f60
push 0x114c8f8
push edi
call fcn.011353f0
push eax
push ebx
push esi
call fcn.01133f60
push 0x114c8d8
push edi
call fcn.011353f0
push eax
push ebx
push esi
call fcn.01133f60
push 0x114c8c0
push edi
call fcn.011353f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.01133f60
push 0x114c8a0
push edi
call fcn.011353f0
push eax
push ebx
push esi
call fcn.01133f60
push 0x114c888
push edi
call fcn.011353f0
push eax
push ebx
push esi
call fcn.01133f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x11351b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.01135140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.01135140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.01135140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.01135140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x1135bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1135c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x114787c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1135c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1135c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x962150
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x33b000]
push edi
or ebp, 0xffffffff
jmp 0x962172
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x962179
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x962168
mov eax, 1
add ebx, ebx
jne 0x96218b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x96219c
jne 0x9621bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9621bb
dec eax
add ebx, ebx
jne 0x9621a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x962180
add ebx, ebx
jne 0x9621b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x96220d
xor ecx, ecx
sub eax, 3
jb 0x9621d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x962242
sar eax, 1
mov ebp, eax
jmp 0x9621de
add ebx, ebx
jne 0x9621de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9621ac
inc ecx
add ebx, ebx
jne 0x9621ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9621ac
add ebx, ebx
jne 0x9621f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9621ee
jne 0x96220a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9621ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x96222c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x96221e
jmp 0x96216e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x96222c
add edi, ecx
jmp 0x96216e
pop esi
mov edi, esi
mov ecx, 0x381c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x96224a
cmp byte [edi], 0x15
jne 0x96224a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x96224f
lea edi, [esi + 0x55f000]
mov eax, dword [edi]
or eax, eax
je 0x9622c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5765c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x576684]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x96227c
mov ecx, edi
jns 0x9622ab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x57668c]
or eax, eax
je 0x9622c1
mov dword [ebx], eax
add ebx, 4
jmp 0x962299
call dword [esi + 0x576688]
mov ebp, dword [esi + 0x576690]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x9622fb
sub esp, 0xffffff80
jmp 0x4703fe
Function at 0x298068a3
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x298529aa
call fcn.29802379
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x298069b3
cmp byte [edi + 0x3d], bl
je 0x298069b3
mov eax, dword [edi]
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x298583e0]
mov ecx, edi
call esi
cmp eax, 0xffffffff
jne 0x298068e4
xor al, al
jmp 0x298069b5
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.2980706a
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x14]
cmp esi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x38]
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, ebx
je 0x2980693d
sub eax, 1
je 0x29806940
dec eax
sub eax, 1
jne 0x298069a0
inc eax
jmp 0x2980699e
mov byte [edi + 0x3d], bl
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edx, dword [ebp - 0x2c]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x30], edx
je 0x2980697c
push dword [edi + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov edx, dword [ebp - 0x30]
add esp, 0x10
cmp edx, eax
jne 0x2980699c
mov esi, dword [ebp - 0x14]
cmp byte [edi + 0x3d], 0
je 0x2980699a
test edx, edx
jne 0x29806902
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.29806fa0
jmp 0x298068ff
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
call fcn.29850f7a
mov al, bl
jmp 0x298069b5
mov al, 1
call fcn.29802cf8
ret
Function at 0x298076c0
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x29852b5e
call fcn.29802379
mov ebx, ecx
or edi, 0xffffffff
cmp dword [ebp + 8], edi
jne 0x298076dd
xor eax, eax
jmp 0x29807843
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
test eax, eax
je 0x29807711
mov eax, dword [ebx + 0x30]
mov ecx, ebx
mov edx, dword [ebx + 0x20]
mov esi, dword [eax]
add esi, dword [edx]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
cmp eax, esi
jae 0x29807711
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov ecx, dword [ebp + 8]
mov byte [eax], cl
mov eax, ecx
jmp 0x29807843
cmp dword [ebx + 0x4c], 0
je 0x29807841
mov ecx, ebx
call fcn.29806d41
xor ecx, ecx
cmp dword [ebx + 0x38], ecx
jne 0x29807745
push dword [ebx + 0x4c]
mov ebx, dword [ebp + 8]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x29807841
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push 8
mov byte [ebp - 0x29], al
mov dword [ebp - 0x14], 0xf
call fcn.2980706a
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp esi, 0x10
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [ebx + 0x38]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x29]
push eax
lea eax, [ebx + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x29807832
cmp eax, 1
jg 0x29807817
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edx, dword [ebp - 0x30]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x298077e8
push dword [ebx + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov edx, dword [ebp - 0x34]
add esp, 0x10
cmp edx, eax
jne 0x29807832
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x29]
mov byte [ebx + 0x3d], 1
cmp dword [ebp - 0x38], eax
jne 0x29807812
test edx, edx
jne 0x2980776a
cmp dword [ebp - 0x18], 0x20
jae 0x29807832
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.29806fa0
jmp 0x29807767
mov edi, dword [ebp + 8]
jmp 0x29807832
cmp eax, 3
jne 0x29807832
push dword [ebx + 0x4c]
movsx eax, byte [ebp - 0x29]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
pop ecx
cmovne edi, dword [ebp + 8]
pop ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 5
call fcn.29850f7a
mov eax, edi
call fcn.29802cf8
ret 4
Function at 0x29850f7a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x29850f89
pop dword [ebp - 0x30]
mov eax, 0x7826ce2a
sub eax, 0x4ea1bea1
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x5cde596f
add dword [ebp - 0x40], 0xf173ebdc
mov dword [ebp - 0x3c], 0x1a0d6dbd
sub dword [ebp - 0x3c], 0xe7da2178
mov dword [ebp - 0x38], 0x318a8fe9
sub dword [ebp - 0x38], 0xe53e4bbb
mov dword [ebp - 0x34], 0x96cff83c
add dword [ebp - 0x34], 0x693007c4
lea eax, [ebp - 0x40]
push eax
mov eax, 0x27ccc26c
add eax, 0x1b8be54
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xe1053f8f
add dword [ebp - 0x40], 0x936d29c7
mov dword [ebp - 0x3c], 0x5327146f
sub dword [ebp - 0x3c], 0x11bab2fa
mov dword [ebp - 0x38], 0x2df57446
add dword [ebp - 0x38], 0x3579f826
mov dword [ebp - 0x34], 0x8de716ff
sub dword [ebp - 0x34], 0x8de716ff
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x3c40fce6
sub eax, 0x12bb7c2e
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x4947a
push 0
call eax
mov ecx, 0x5da2066c
sub ecx, 0x5da1b850
mov esi, eax
mov edi, 0x9b68a8a2
sub edi, 0x71df22a2
add edi, dword [ebp - 0x30]
mov ebx, 0xdb41fd56
add ebx, 0x3a430864
xor dword [ebp - 0x24], 0x3ce7f224
mov edx, dword [edi]
add edx, ebx
sub dword [ebp - 0xc], 0xd83d06ec
mov dword [esi], edx
mov dword [ebp - 0x14], 0xa654d93
add esi, 0x5dba875c
sub esi, 0x5dba8758
add edi, 0x4ae2eaad
sub edi, 0x4ae2eaa9
loop 0x298510ab
add eax, 0xc0f06b77
add eax, 0x3f10bfcc
xor ebx, ebx
add ebx, eax
add eax, 0x92ced586
add eax, 0x6d312a7f
mov ecx, 0x73aa3a4a
add ecx, 0xb5d5c5b6
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x41b4f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x424c20], ecx
add edx, 1
cmp edx, 0x100
jb 0x41b4f2
cmp edx, 0x800
jae 0x41b5db
mov edi, edi
mov eax, dword [edx*4 + 0x424820]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x424c20]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x424c1c], eax
jb 0x41b5b0
mov eax, 0x41bdb0
mov dword [0x424c0c], eax
mov dword [0x426c20], eax
mov dword [0x424c08], 0x41bcd0
call fcn.0041b810
test eax, eax
jne 0x41b607
mov dword [0x426c20], 0x41bcd0
ret
Function at 0x415b32
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x415b41
pop dword [ebp - 0x48]
mov eax, 0xcfecaed9
add eax, 0x3054ac68
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x2ba00660
add dword [ebp - 0x58], 0x22b23eeb
mov dword [ebp - 0x54], 0xa3277de1
sub dword [ebp - 0x54], 0x70f4319c
mov dword [ebp - 0x50], 0x50c64463
add dword [ebp - 0x50], 0xfb85ffcb
mov dword [ebp - 0x4c], 0x8fffefab
sub dword [ebp - 0x4c], 0x8fffefab
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x2ef528f1
sub dword [ebp - 0x58], 0xba82bf9b
mov dword [ebp - 0x54], 0xfb88fb9e
sub dword [ebp - 0x54], 0xba1c9a29
mov dword [ebp - 0x50], 0x3d57bc39
add dword [ebp - 0x50], 0x2617b033
mov dword [ebp - 0x4c], 0xdc71f13d
sub dword [ebp - 0x4c], 0xdc71f13d
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x81b1c2f0
sub eax, 0x81704218
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x38e80
push 0
call eax
mov ecx, 0x4992
xor edx, edx
add edx, eax
mov edi, 0x429600
add edi, dword [ebp - 0x48]
mov esi, 0xb57e8c4c
sub esi, 0xc866c459
sub dword [ebp - 0x2c], ebx
mov ebx, dword [edi]
add dword [ebp - 0x30], 0x8527f68f
xor ebx, esi
mov dword [edx], ebx
xor dword [ebp - 0x40], edi
add edx, 4
add edi, 0xff11196
sub edi, 0xff11192
loop 0x415c54
add eax, 0x1b4b4be4
sub eax, 0x1b4a32c9
xor ebx, ebx
add ebx, eax
add eax, 0xf376b9a9
sub eax, 0xf376b9a4
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x402b38
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404600
test esi, esi
jne 0x402b6e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004046f0
jmp 0x402b8c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029ec
mov edi, eax
test esi, esi
je 0x402b8c
cmp dword [ebx], 0
je 0x402b8c
dec esi
jmp 0x402b75
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40367c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x47f020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403714
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4036f4
xor eax, eax
push ebp
push 0x4036ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403730
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4036f4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x47f020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x47f020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4043e0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48204c], 0
je 0x404441
cmp word [0x482220], 0xd7b2
jne 0x404409
cmp dword [0x482228], 0
jbe 0x404409
mov eax, 0x48221c
call dword [0x482238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47f090
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404468
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47f030], 0
jne 0x40445d
push 0
push 0x47f088
push 0x47f090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4045b4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027a4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48204d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40457c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4065ec
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406652
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404870
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403234
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40663c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406659
lea eax, [ebp - 0x10]
call fcn.00404600
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404ac0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4090ed
test al, 0x10
jne 0x4090f1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40bcc0
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 0x40bcf9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004046f0
jmp 0x40bd02
mov eax, ebx
mov edx, esi
call fcn.00404654
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bd0c
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 0x40bd2d
mov al, byte [esp]
jmp 0x40bd2f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c3b4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c22c
mov eax, dword [0x481090]
cmp byte [eax], 0
je 0x40c430
mov eax, dword [0x480d00]
call fcn.00402f30
call fcn.0040290c
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.00409310
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 0x40c478
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c466
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x480c70]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x482668]
call fcn.00405ae4
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