joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10035e60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push ebx
mov ebx, ecx
cmp dword [ebx], 0xffffffff
jne 0x10035e84
mov eax, dword [ebx + 0x88]
add ebx, 5
push eax
push ebx
push str._comm__Socket__s:_d_::recv_all_error:_Invalid_Socket.
push 0x1005399c
lea ecx, [esp + 0x1c]
jmp 0x10035ea5
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10035ebb
mov ecx, dword [ebx + 0x88]
add ebx, 5
push ecx
push ebx
push str._comm__Socket__s:_d_::recv_all_error:_NULL_buffer.
push 0x100539dc
lea ecx, [esp + 0x1c]
call fcn.10030b00
push eax
call fcn.10030b10
add esp, 0x10
or eax, 0xffffffff
pop ebx
pop ecx
ret 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
xor edi, edi
xor esi, esi
test ebp, ebp
mov dword [esp + 0x10], 0x10
jle 0x10035f62
jmp 0x10035edc
mov eax, dword [esp + 0x18]
mov cl, byte [ebx + 4]
test cl, cl
je 0x10035ef8
mov ecx, dword [ebx]
mov edx, ebp
sub edx, esi
push 0
add eax, esi
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
jmp 0x10035f15
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
push edx
mov edx, ebp
push ecx
mov ecx, dword [ebx]
sub edx, esi
push 0
add eax, esi
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
test edi, edi
je 0x10035f26
cmp edi, 0xffffffff
je 0x10035f2b
add esi, edi
cmp esi, ebp
jl 0x10035ed8
cmp edi, 0xffffffff
jne 0x10035f62
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.1002f6e0
mov edx, dword [ebx + 0x88]
add esp, 4
add ebx, 5
lea ecx, [esp + 0x18]
push eax
push edx
push ebx
push str._comm__Socket__s:_d_::recv_all_error:__s.
push 0x10053a18
call fcn.10030b00
push eax
call fcn.10030b10
add esp, 0x14
cmp esi, ebp
mov eax, esi
je 0x10035f6a
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x10038ed0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x22c
mov eax, dword [0x10062320]
mov dword [esp], str.getaddrinfo
test eax, eax
mov dword [esp + 4], 0x10038450
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x10038b90
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], 0x10038400
je 0x10038f2b
mov eax, dword [esp + 0x230]
and eax, 0xffff
mov eax, dword [eax*8 + 0x10053edc]
add esp, 0x22c
ret 4
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x134]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x10039074
lea edi, [esp + 0x134]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ws2_32
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
and ecx, 3
lea eax, [esp + 0x28]
rep movsb byte es:[edi], byte [esi]
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10038fcc
push str.getaddrinfo
push esi
call ebp
test eax, eax
jne 0x10039044
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edi, [esp + 0x134]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.wship6
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x28]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
mov esi, eax
test esi, esi
je 0x10039074
push str.getaddrinfo
push esi
call ebp
test eax, eax
jne 0x10039044
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10039074
xor ebx, ebx
lea edi, [esp + 0x14]
mov ecx, dword [edi - 4]
push ecx
push esi
call ebp
test eax, eax
mov dword [edi], eax
je 0x1003903b
inc ebx
add edi, 8
cmp ebx, 3
jl 0x1003904a
xor eax, eax
mov edx, dword [esp + eax + 0x14]
mov dword [eax + 0x10053edc], edx
add eax, 8
cmp eax, 0x18
jl 0x10039062
mov eax, dword [esp + 0x240]
pop edi
and eax, 0xffff
pop esi
pop ebp
mov dword [0x10062320], 1
mov eax, dword [eax*8 + 0x10053edc]
pop ebx
add esp, 0x22c
ret 4
Function at 0x1003de90
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x110]
mov ecx, ebx
push ebp
mov ebp, dword [esp + 0x110]
push esi
mov edx, ecx
push edi
xor eax, eax
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov byte [esp + 0x10], 0
and ecx, 3
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
rep stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push eax
push 0x100549d8
call esi
call fcn.1003c2f0
test eax, eax
je 0x1003df1a
mov al, byte [esp + 0x120]
test al, al
je 0x1003df1a
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push 0x100549e8
call esi
lea edx, [esp + 0x10]
push edx
push 0x100549fc
push ebx
push ebp
call fcn.1002a490
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret

Function at 0x1003eeb0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x1003eed7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1003eecd
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
ret
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
ret
Function at 0x1003eee0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10048060
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
test esi, esi
jne 0x1003ef1f
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1003ef4e
mov dword [ebp - 4], 0
push esi
call fcn.1003eeb0
push esi
call fcn.1003eb50
add esp, 8
jmp 0x1003ef47
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1003f00e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1003effa
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov byte [ebp - 0x128], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x127]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebp - 0x16]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x18]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x1a]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x1c]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x1e]
and edx, 0xffff
push edx
push esi
push str._s._x_x_x_x_x
push 0x103
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x24
push 3
lea ecx, [ebp - 0x128]
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
call esi
push 4
push 0
lea edx, [ebp - 0x128]
push edx
call esi
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003f890
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x26
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x1003f8db
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
pop edi
mov eax, 1
pop esi
add esp, 0x9c
ret
mov eax, dword [esp + 0x18]
mov ecx, 2
cmp eax, ecx
jne 0x1003f907
mov eax, dword [esp + 0xc]
cmp eax, 5
jb 0x1003f907
jne 0x1003f907
cmp dword [esp + 0x10], ecx
jae 0x1003f907
pop edi
mov eax, 1
pop esi
add esp, 0x9c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x9c
ret
Function at 0x10040740
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi], 0x10049820
call fcn.100408d0
lea ecx, [esi + 0x94]
call fcn.10036020
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov dword [esi], 0x1004968c
cmp eax, ebx
mov byte [esi + 0xc], bl
je 0x100407d4
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100407d4
mov ecx, dword [esi + 8]
lea eax, [esp + 0xc]
push eax
push ecx
mov byte [esi + 0xc], bl
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0xc], 0x103
jne 0x100407d4
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
push eax
call edi
mov al, byte [esi + 0xd]
mov dword [esi + 4], ebx
cmp al, bl
je 0x100407d4
cmp esi, ebx
je 0x100407d4
mov ecx, esi
call fcn.100100f0
push esi
call fcn.10047cb0
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x100407e7
push eax
call edi
mov dword [esi + 0x90], ebx
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10040800
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
push edi
push 0x10054ea8
lea edi, [esi + 0x94]
push eax
mov ecx, edi
call fcn.10035730
lea ebx, [esi + 0xe]
mov ecx, edi
push ebx
mov dword [esi + 0x520], eax
call fcn.10035600
mov al, byte [esi + 0xc]
test al, al
jne 0x1004089d
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
push ecx
push 0
push esi
push 0x10009b60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esp + 0x14]
mov dword [esi + 8], eax
test eax, eax
mov dword [esi + 4], edx
jne 0x100408ae
push eax
call fcn.1002f6e0
add esp, 4
lea ecx, [esp + 0xc]
push eax
push ebx
push str._comm__create_thread__s__failed:__s
push 0x10050794
call fcn.10030b00
push eax
call fcn.10030b10
mov ecx, dword [esi + 0x520]
add esp, 0x10
xor eax, eax
test ecx, ecx
pop edi
pop esi
setg al
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0x90]
test eax, eax
je 0x100408ae
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x520]
xor eax, eax
test ecx, ecx
pop edi
pop esi
setg al
pop ebx
pop ecx
ret 4
Function at 0x10042600
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi]
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
call dword [eax + 0x1c]
test eax, eax
jne 0x100426d7
cmp dword [esi + 0x10], 0xffffffff
je 0x100426d7
mov ecx, dword [esi + 8]
push ebx
mov dword [esi + 0x54], edi
call fcn.10046c40
mov ecx, dword [esi + 8]
mov ebx, eax
call fcn.10046890
mov ecx, dword [esi + 8]
add ebx, eax
mov dword [esp + 0x18], ebx
call fcn.10046890
mov ecx, dword [esi + 8]
mov ebx, eax
call fcn.10046790
sub eax, ebx
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], eax
push edi
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
mov edx, dword [esi + 0x10]
push eax
lea ecx, [esp + 0x24]
push 1
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSARecv]
xor ecx, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, 0xffffffff
setne cl
mov eax, ecx
cmp eax, edi
mov dword [esi + 0x50], eax
je 0x100426a6
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 8]
push edx
call fcn.10046910
mov eax, dword [esi + 0x24]
push eax
call ebx
cmp dword [esi + 0x50], edi
jne 0x100426cc
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x3e5
je 0x100426cc
mov dword [esi + 0xc], 1
call edi
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x54], eax
push ecx
call ebx
mov eax, dword [esp + 0xc]
pop ebx
pop edi
pop esi
add esp, 0x10
ret
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
Function at 0x10042830
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov dword [esp + 8], 0
mov eax, dword [esi]
call dword [eax + 0x1c]
test eax, eax
jne 0x10042945
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x10042945
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
lea edi, [esi + 0x14]
mov dword [esp + 0x10], edx
push 0
lea ecx, [esp + 0x10]
push edi
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x20]
push 1
push ecx
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
je 0x100428a9
mov edx, dword [esi + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x10
ret 0xc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x100428d4
mov edx, dword [esi + 0x24]
mov dword [esp + 8], 0xfffffffe
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x10
ret 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1004290c
cmp eax, 0x102
jne 0x1004292f
mov edx, dword [esi + 0x24]
mov dword [esp + 8], 0xfffffffc
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x10
ret 0xc
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push 0
push eax
push edi
push ecx
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
jne 0x1004292f
mov dword [esp + 8], 0xfffffffd
mov edx, dword [esi + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x10
ret 0xc
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x10
ret 0xc
Function at 0x10042950
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], 0
test eax, eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
je 0x10042a63
test ecx, ecx
jbe 0x10042a63
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x10042a63
test eax, eax
je 0x10042a63
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x100429af
pop edi
mov eax, 0xfffffffe
pop esi
add esp, 0x10
ret 0xc
lea edi, [esi + 0x28]
push 0
push edi
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x20]
push 1
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x10042a34
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x100429ed
mov dword [esi + 0xc], 1
mov dword [esp + 8], 0xfffffffe
jmp 0x10042a34
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x38]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10042a11
cmp eax, 0x102
jne 0x10042a34
mov dword [esp + 8], 0xfffffffc
jmp 0x10042a34
mov edx, dword [esi + 0x10]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push 0
push ecx
push edi
push edx
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
jne 0x10042a34
mov dword [esp + 8], 0xfffffffd
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esp + 8]
test ecx, ecx
jle 0x10042a59
mov edi, dword [esi + 0x48]
mov eax, ecx
cdq
add edi, eax
mov dword [esi + 0x48], edi
mov eax, dword [esi + 0x4c]
adc eax, edx
mov dword [esi + 0x4c], eax
pop edi
mov eax, ecx
pop esi
add esp, 0x10
ret 0xc
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x10
ret 0xc
Function at 0x863b40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d4000]
push edi
or ebp, 0xffffffff
jmp 0x863b62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x863b69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x863b58
mov eax, 1
add ebx, ebx
jne 0x863b7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x863b8c
jne 0x863bab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x863bab
dec eax
add ebx, ebx
jne 0x863b98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x863b70
add ebx, ebx
jne 0x863ba7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x863bfd
xor ecx, ecx
sub eax, 3
jb 0x863bc3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x863c32
sar eax, 1
mov ebp, eax
jmp 0x863bce
add ebx, ebx
jne 0x863bce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x863b9c
inc ecx
add ebx, ebx
jne 0x863bdc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x863b9c
add ebx, ebx
jne 0x863be9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x863bde
jne 0x863bfa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x863bde
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x863c1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x863c0e
jmp 0x863b5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x863c1c
add edi, ecx
jmp 0x863b5e
pop esi
mov edi, esi
mov ecx, 0x69d7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x863c3a
cmp byte [edi], 0x13
jne 0x863c3a
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 0x863c3f
lea edi, [esi + 0x45a000]
mov eax, dword [edi]
or eax, eax
je 0x863cb7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x467b94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x467cd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x863c6c
mov ecx, edi
jns 0x863c9b
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 + 0x467cd8]
or eax, eax
je 0x863cb1
mov dword [ebx], eax
add ebx, 4
jmp 0x863c89
call dword [esi + 0x467ce8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x863ce8
cmp al, 0xef
ja 0x863cdb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x863cbd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x863cca
mov ebp, dword [esi + 0x467cdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x863d1c
sub esp, 0xffffff80
jmp 0x4af4c0
Function at 0x40b044
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407b04
xor eax, eax
push ebp
push 0x40b104
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040858c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040873c
mov eax, dword [ebx]
call fcn.0040aef4
test al, al
jne 0x40b0e1
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040858c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040873c
mov eax, dword [ebx]
call fcn.0040aef4
test al, al
jne 0x40b0e1
mov eax, ebx
call fcn.00407a20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b10b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407a80
lea eax, [ebp - 4]
call fcn.00407a20

Function at 0x40caa4
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x40e538
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0040e524
add esp, 0x208
pop ebx
ret

Function at 0x419680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4196d9
test eax, edx
je 0x4196dc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x419697
movzx eax, word [eax]
sub eax, ecx
jmp 0x4196be
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4196bf
add ecx, 4
js 0x4196af
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4196bc
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4196be
xor eax, eax
ret
test eax, eax
je 0x4196e8
test edx, edx
jne 0x419688
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41e04c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x41e085
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407ba8
jmp 0x41e08e
mov eax, ebx
mov edx, esi
call fcn.00407e00
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4