joyce8/EMBER2024-capa huggingface dataset:
Function at 0x673835
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x67394d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x67394d
mov eax, dword [esi + 0x3c]
push eax
call fcn.006c1564
mov esi, eax
test esi, esi
je 0x67394d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x67394d
mov ecx, esi
call fcn.006737c0
cmp edi, eax
jge 0x67394d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x6738d3
mov dword [esp + 0x34], 1
jmp 0x67392e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x67394d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00672d00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x677f40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
not eax
jbe 0x677f79
push ebx
push edi
mov edi, dword [esp + 0x14]
xor edx, edx
mov ebx, eax
mov dl, byte [ecx + edi]
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x731a80]
xor eax, edx
inc ecx
cmp ecx, esi
jb 0x677f57
pop edi
pop ebx
not eax
pop esi
ret

Function at 0x677f80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x100
lea eax, [esp]
xor ecx, ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10c]
push esi
mov ebx, ebp
xor esi, esi
push edi
sub ebx, eax
mov eax, ecx
xor edx, edx
div dword [esp + 0x11c]
mov eax, dword [esp + 0x118]
lea edi, [esp + ecx + 0x10]
mov byte [ebx + edi], cl
inc ecx
cmp ecx, 0x100
mov dl, byte [edx + eax]
mov byte [edi], dl
jb 0x677f9d
lea edi, [esp + 0x10]
mov eax, ebp
sub edi, ebp
mov edx, 0x100
mov cl, byte [eax]
mov bl, byte [edi + eax]
add esi, ecx
add ebx, esi
and ebx, 0xff
inc eax
mov esi, ebx
dec edx
mov bl, byte [esi + ebp]
mov byte [eax - 1], bl
mov byte [esi + ebp], cl
jne 0x677fd1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret
Function at 0x678000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push edi
xor ecx, ecx
xor esi, esi
xor edi, edi
test eax, eax
jbe 0x678074
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
inc ecx
and ecx, 0xff
mov dl, byte [ecx + eax]
mov bl, dl
mov byte [esp + 0x18], dl
add ebx, esi
and ebx, 0xff
mov esi, ebx
mov bl, byte [esi + eax]
mov byte [ecx + eax], bl
mov ebx, dword [esp + 0x18]
mov byte [esi + eax], dl
xor edx, edx
mov dl, byte [ecx + eax]
and ebx, 0xff
add edx, ebx
and edx, 0x800000ff
jns 0x67805e
dec edx
or edx, 0xffffff00
inc edx
mov dl, byte [edx + eax]
mov bl, byte [edi + ebp]
xor bl, dl
mov edx, dword [esp + 0x1c]
mov byte [edi + ebp], bl
inc edi
cmp edi, edx
jb 0x67801a
pop ebp
pop ebx
pop edi
pop esi
ret
Function at 0x6784c0
Capabilities:
Connect socket
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
push edi
push 1
push 2
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x678501
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x678681
pop edi
pop esi
mov dword [eax], 0xfffffffd
pop ebp
xor al, al
pop ebx
add esp, 8
ret
mov ebp, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
push 0x79fa64
push 0x1005
push 0xffff
push esi
call ebp
push 4
push 0x79fa64
push 0x1006
push 0xffff
push esi
call ebp
push 0x10
push 0x79fa54
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x67855b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
mov ebp, eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, dword [esp + 0x2c]
cmp esi, edi
jmp 0x678672
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, ebp
sub eax, edi
push 0
lea edx, [edi + ecx]
push eax
push edx
push esi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x678582
add edi, eax
cmp edi, ebp
jb 0x67855f
jmp 0x6785b9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x678681
push edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [esi], 0xfffffffd
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
cmp ebx, 4
jge 0x67860c
mov eax, 4
push 0
sub eax, ebx
lea ecx, [esp + ebx + 0x14]
push eax
push ecx
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
mov ebp, eax
je 0x678665
cmp edi, 0xffffffff
je 0x678665
add ebx, edi
cmp ebx, 4
jne 0x6785b7
mov edx, dword [esp + 0x10]
push ebx
push 0x1000
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [eax], ecx
jmp 0x6785b4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub eax, ebx
push 0
add edx, ebx
push eax
push edx
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
mov ebp, eax
je 0x678665
cmp edi, 0xffffffff
je 0x678665
mov eax, dword [esp + 0x10]
add ebx, edi
cmp ebx, eax
jne 0x6785b4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
push esi
mov dword [eax], ecx
mov dword [edx], ebx
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x678681
push ebp
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [esi], 0xfffffffd
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
Function at 0x67bb60
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x75bb14]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x67bb73
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x67bbb4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x75bbbc]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x67bbe6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x67bbea
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x67bbdb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x67bc08
mov bl, byte [esp + ecx + 0x4c]
jmp 0x67bc0c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x67bbfd
xor ecx, ecx
mov eax, 0x75bb24
xor ebx, ebx
mov bl, byte [ecx + 0x75bbcc]
cmp byte [esp + ebx + 0x14], 0
je 0x67bc37
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x75bbe4]
cmp byte [esp + ebx + 0x14], 0
je 0x67bc4e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x67bc1e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x67bba7
lea edx, [esp + 0x84]
push edx
call fcn.0067bc90
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x6875a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7b25c4]
xor edx, edx
cmp eax, edx
jne 0x6875c6
xor eax, eax
mov byte [eax + 0x7b24c4], al
inc eax
cmp eax, 0x100
jl 0x6875ae
mov dword [0x7b25c4], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7b24c4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x687657
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x68762a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x6875f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x6876d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x687723
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x68770a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x68e0b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6cf4de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0068e9d0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x732dec
call fcn.006bf87a
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x68e143
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006bf87a
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x68e13c
push 0
mov ecx, eax
call fcn.006851e0
mov dword [esi + 0xc], eax
jmp 0x68e145
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x68e145
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x69e7e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x69e901
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x69e8e5
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x69e837
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x69e815
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18

Function at 0x69f349
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x69f3a0
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x69f3a0
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x69f3a0
xor eax, eax
inc eax
jmp 0x69f3a2
xor eax, eax
leave
ret 0x10
Function at 0x69f3cb
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x69f439
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x736c8c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x69f430
cmp dword [ebp - 0xc], 4
jne 0x69f430
cmp dword [ebp - 0x10], edi
je 0x69f430
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x76aa58], edi
xor eax, eax
jmp 0x69f478
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x76aa58], edi
jge 0x69f473
lea eax, [ebp - 0x34]
push eax
mov dword [0x76aa58], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x69f473
cmp word [ebp - 0x14], 5
jb 0x69f473
call fcn.0069f3a6
test eax, eax
je 0x69f473
emms
mov dword [0x76aa58], 1
mov eax, dword [0x76aa58]
pop edi
leave
ret

Function at 0x6c1f07
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x6c1f3f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.006bff94
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.006bff6c
jmp 0x6c1f4b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x6c35f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x6c363b
call fcn.006c91ef
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x6c363b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x6c3632
xor eax, eax
jmp 0x6c3643
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.006c3649
pop edi
pop esi
pop ebx
ret 4

Function at 0x6c971f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x6c974d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x6c976b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.006c9685
jmp 0x6c976b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x6c976b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.006c9685
test edi, edi
mov eax, edi
jne 0x6c9755
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0xa362cc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a3614b

Function at 0xa3c831
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4285d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
jmp 0x4285ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4285f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4285e0
mov eax, 1
add ebx, ebx
jne 0x428603
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x428614
jne 0x428624
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x428624
dec eax
add ebx, ebx
jne 0x428620
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4285f8
xor ecx, ecx
sub eax, 3
jb 0x42863c
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4286ae
sar eax, 1
mov ebp, eax
jmp 0x428647
add ebx, ebx
jne 0x428647
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428654
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428678
inc ecx
add ebx, ebx
jne 0x428664
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428659
jne 0x428675
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428659
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428698
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428689
jmp 0x4285e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428698
add edi, ecx
jmp 0x4285e6
pop esi
mov edi, esi
mov ecx, 0x8f5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4286b6
cmp byte [edi], 0xd
jne 0x4286b6
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 0x4286bb
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x428733
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2fe78]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2ff2c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4286e8
mov ecx, edi
jns 0x428717
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 + 0x2ff30]
or eax, eax
je 0x42872d
mov dword [ebx], eax
add ebx, 4
jmp 0x428705
call dword [esi + 0x2ff40]
mov ebp, dword [esi + 0x2ff34]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
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 0x428767
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408e84
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x6f3237fb
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x41cc0e86
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x100c117
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x1003800
call fcn.01007d0c
xor esi, esi
cmp dword [0x10107f0], esi
jne 0x100c15b
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100c146
mov dword [0x10107f0], edi
jmp 0x100c15b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x100c15b
mov dword [0x10107f0], 2
mov eax, dword [0x10107f0]
cmp eax, 2
je 0x100c23c
cmp eax, esi
je 0x100c23c
cmp eax, 1
jne 0x100c1a0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x100c189
mov eax, dword [0x101070c]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x100c1a7
xor eax, eax
jmp 0x100c24e
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.01007e70
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x100c1dd
cmp edi, esi
jne 0x100c1f8
lea eax, [ebx + ebx]
push eax
call fcn.010080ad
pop ecx
mov edi, eax
cmp edi, esi
je 0x100c1a0
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100c22b
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x100c215
push esi
push esi
jmp 0x100c21b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x100c237
push edi
call fcn.01007fe8
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x100c24e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.01007d47
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
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x787b7e7e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7ac5437b
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219