joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f740
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x48e300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0
mov edi, edx
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40f862
lea eax, [ebp - 0x210]
push eax
push 0x475498
push 1
push 0
push 0x4754a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40f85c
mov eax, dword [ebp - 0x210]
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x210]
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x210]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x210]
push 5
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
mov ecx, dword [eax]
push edx
push 0x4754b8
push eax
call dword [ecx]
test eax, eax
js 0x40f850
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00424e10
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x481a40
lea eax, [ebp - 0x20c]
push eax
call esi
push edi
lea eax, [ebp - 0x20c]
push eax
call esi
mov eax, dword [ebp - 0x214]
push 1
mov ecx, dword [eax]
lea edx, [ebp - 0x20c]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420548
mov esp, ebp
pop ebp
ret
Function at 0x4127c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4127cb
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x412895
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x483998]
movzx eax, byte [edx + 1]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x483998]
movzx eax, byte [edx + 2]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x483998]
movzx eax, byte [edx + 3]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x483998]
movzx eax, byte [edx + 4]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x483998]
movzx eax, byte [edx + 5]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x483998]
movzx eax, byte [edx + 6]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x483998]
movzx eax, byte [edx + 7]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x483998]
add edx, 8
sub esi, 8
dec edi
jne 0x4127e0
pop edi
test esi, esi
je 0x4128ba
lea esp, [esp]
movzx eax, byte [edx]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x483998]
lea edx, [edx + 1]
dec esi
jne 0x4128a0
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x412fd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, edx
push edi
mov edi, dword [ebp + 0xc]
mov esi, ebx
imul esi, dword [ebp + 8]
cmp byte [edi], 0
mov eax, ecx
mov dword [ebp - 4], eax
je 0x413013
push 0
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x413005
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x413024
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp - 4]
call fcn.00428b40
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp byte [esi], 0
push edi
mov dword [ebp - 8], ebx
mov edi, 1
je 0x41308b
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x413086
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x4130b8
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x41309c
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x10]
add eax, ebx
push edi
push eax
lea eax, [ebp - 1]
push eax
call fcn.00428b40
lea eax, [ebx + edi]
mov ebx, dword [ebp - 8]
add esp, 0xc
mov dword [esi + 0x18], eax
cmp edi, 1
jne 0x4130cc
movzx eax, byte [ebp - 1]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x4130c3
cmp byte [esi + 8], 0
je 0x4130c3
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4131e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [edi], 0
je 0x413214
cmp byte [edi + 1], 0
je 0x41320d
push 2
push 0
push 0
push dword [edi + 4]
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x41321a
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], eax
cmp byte [edi], 0
je 0x413239
cmp byte [edi + 1], 0
je 0x413235
push 1
push 0
push 0
push dword [edi + 4]
call ecx
sub eax, dword [edi + 0xc]
jmp 0x41323c
xor eax, eax
jmp 0x41323c
mov eax, dword [edi + 0x18]
push ebx
mov ebx, 0xffff
cmp eax, ebx
push esi
cmovb ebx, eax
push 0x404
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ebx
call fcn.00422999
mov esi, eax
add esp, 4
test esi, esi
jne 0x413268
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0xc], 0
cmp ebx, eax
jbe 0x41336a
lea esp, [esp]
mov ecx, dword [ebp - 4]
add eax, 0x400
cmp eax, ebx
mov edx, eax
cmova edx, ebx
mov ebx, dword [ebp - 4]
sub ecx, edx
sub ebx, ecx
cmp ebx, 0x404
mov eax, 0x404
cmova ebx, eax
cmp byte [edi], 0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
je 0x4132ce
cmp byte [edi + 1], 0
je 0x41336a
mov eax, dword [edi + 0xc]
push 0
push 0
add eax, ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4132d1
mov dword [edi + 0x18], ecx
cmp byte [edi], 0
mov ecx, ebx
mov dword [ebp - 8], ebx
je 0x4132f9
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4132f4
mov byte [edi + 8], 1
mov eax, dword [ebp - 0x10]
jmp 0x413322
mov edx, dword [edi + 0x18]
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x14]
jbe 0x41330c
mov ecx, dword [edi + 0x14]
sub ecx, edx
mov dword [ebp - 8], ecx
push ecx
mov ecx, dword [edi + 0x10]
add ecx, edx
push ecx
push esi
call fcn.00428b40
mov eax, dword [ebp - 8]
add esp, 0xc
add dword [edi + 0x18], eax
xor edx, edx
div ebx
cmp eax, 1
jne 0x41336a
lea eax, [ebx - 3]
test eax, eax
jle 0x41335c
dec eax
cmp byte [eax + esi], 0x50
jne 0x41334e
cmp byte [eax + esi + 1], 0x4b
jne 0x41334e
cmp byte [eax + esi + 2], 5
jne 0x41334e
cmp byte [eax + esi + 3], 6
je 0x413354
test eax, eax
jg 0x413332
jmp 0x41335c
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jne 0x41336a
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
cmp eax, ebx
jb 0x413280
push esi
call fcn.004212f3
mov eax, dword [ebp - 0xc]
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x414190
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x414208
cmp dword [esi + 4], 0xffffffff
jne 0x414208
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
jmp 0x4141c0
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4141c0
mov eax, dword [0x481a40]
mov dword [edi], eax
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.00412f30
add esp, 8
test eax, eax
jne 0x4141f2
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, eax
call fcn.00413380
mov dword [esi], eax
mov eax, dword [0x494838]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
pop edi
mov eax, 0x1000000
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x414980
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x48e300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
push esi
mov esi, ecx
test ebx, ebx
je 0x414a6a
movzx eax, word [ebx]
test ax, ax
je 0x414a6a
push edi
mov edi, ebx
mov ecx, ebx
cmp ax, 0x2f
je 0x4149be
cmp ax, 0x5c
jne 0x4149c0
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4149b2
cmp edi, ebx
je 0x414a0a
sub edi, ebx
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004236eb
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x414a7a
xor eax, eax
lea edx, [ebp - 0x20c]
mov ecx, esi
mov word [ebp + edi - 0x20c], ax
call fcn.00414980
lea ecx, [ebp - 0x414]
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x414a12
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x414a23
lea edi, [ebp - 0x414]
sub ebx, esi
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x414a40
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push 0
lea eax, [ebp - 0x414]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00420548
mov esp, ebp
pop ebp
ret
call fcn.00421b7a
int3
Function at 0x415160
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x48e300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
push edi
mov dword [ebp - 0x58], eax
mov ecx, 0x10
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [ebp - 0x48]
mov ebx, edx
mov edx, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 0x55555556
mov dword [ebp - 0x50], edx
imul dword [edx]
mov eax, edx
shr eax, 0x1f
add eax, edx
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x54], 0
test eax, eax
jle 0x415232
nop
mov al, byte [ebx]
mov dl, byte [ebx + 1]
movzx esi, al
mov eax, esi
shr eax, 2
movzx edi, dl
movzx eax, byte [ebp + eax - 0x48]
add ebx, 2
mov dword [ebp - 0x4c], ebx
mov bl, byte [ebx]
mov byte [ecx], al
mov eax, edi
shr eax, 4
shl esi, 4
or eax, esi
and eax, 0x3f
movzx esi, bl
movzx eax, byte [ebp + eax - 0x48]
mov byte [ecx + 1], al
mov edx, esi
shr edx, 6
lea eax, [edi*4]
mov edi, dword [ebp - 0x50]
or edx, eax
mov ebx, dword [ebp - 0x54]
inc dword [ebp - 0x4c]
and edx, 0x3f
and esi, 0x3f
movzx eax, byte [ebp + edx - 0x48]
mov byte [ecx + 2], al
movzx eax, byte [ebp + esi - 0x48]
mov byte [ecx + 3], al
mov eax, 0x55555556
imul dword [edi]
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add ecx, 4
mov dword [ebp - 0x54], ebx
cmp ebx, eax
mov ebx, dword [ebp - 0x4c]
jl 0x4151b0
jmp 0x415235
mov edi, dword [ebp - 0x50]
mov eax, dword [edi]
cdq
mov esi, 3
idiv esi
cmp edx, 1
jne 0x415267
movzx edx, byte [ebx]
mov eax, edx
shr eax, 2
and edx, esi
movzx eax, byte [ebp + eax - 0x48]
mov byte [ecx], al
add edx, edx
movzx eax, byte [ebp + edx*8 - 0x48]
mov byte [ecx + 1], al
mov word [ecx + 2], 0x3d3d
jmp 0x4152a5
cmp edx, 2
jne 0x4152a8
movzx esi, byte [ebx]
mov dl, byte [ebx + 1]
mov eax, esi
shr eax, 2
movzx edx, dl
movzx eax, byte [ebp + eax - 0x48]
mov byte [ecx], al
mov eax, edx
shr eax, 4
and esi, 3
shl esi, 4
or eax, esi
and edx, 0xf
movzx eax, byte [ebp + eax - 0x48]
mov byte [ecx + 1], al
movzx eax, byte [ebp + edx*4 - 0x48]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0x3d
add ecx, 4
mov byte [ecx], 0
sub ecx, dword [ebp - 0x58]
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420548
mov esp, ebp
pop ebp
ret
Function at 0x4152d0
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [ebx]
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0x3e000000
mov dword [ebp - 0x50], 0x3f000000
mov dword [ebp - 0x4c], 0x37363534
mov dword [ebp - 0x48], 0x3b3a3938
mov dword [ebp - 0x44], 0x3d3c
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0x2010000
mov dword [ebp - 0x38], 0x6050403
mov dword [ebp - 0x34], 0xa090807
mov dword [ebp - 0x30], 0xe0d0c0b
mov dword [ebp - 0x2c], 0x1211100f
mov dword [ebp - 0x28], 0x16151413
mov dword [ebp - 0x24], 0x191817
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x1c1b1a00
mov dword [ebp - 0x18], 0x201f1e1d
mov dword [ebp - 0x14], 0x24232221
mov dword [ebp - 0x10], 0x28272625
mov dword [ebp - 0xc], 0x2c2b2a29
mov dword [ebp - 8], 0x302f2e2d
mov word [ebp - 4], 0x3231
mov byte [ebp - 2], 0x33
mov dword [ebp + 8], eax
mov dword [ebx], edi
test eax, eax
jle 0x415437
mov al, byte [edx]
cmp al, 0xd
je 0x415430
cmp al, 0xa
je 0x415430
movzx eax, al
add edx, 2
movsx ecx, byte [ebp + eax - 0x7c]
movzx eax, byte [edx - 1]
shl ecx, 0x12
movsx eax, byte [ebp + eax - 0x7c]
shl eax, 0xc
add ecx, eax
mov eax, ecx
sar eax, 0x10
mov byte [esi], al
inc dword [ebx]
mov al, byte [edx]
inc esi
cmp al, 0x3d
je 0x41542b
movzx eax, al
inc edx
movsx eax, byte [ebp + eax - 0x7c]
shl eax, 6
add ecx, eax
mov eax, ecx
sar eax, 8
mov byte [esi], al
inc dword [ebx]
mov al, byte [edx]
inc esi
cmp al, 0x3d
je 0x41542b
movzx eax, al
inc edx
movsx eax, byte [ebp + eax - 0x7c]
add ecx, eax
mov byte [esi], cl
inc esi
inc dword [ebx]
add edi, 4
jmp 0x415432
inc edx
inc edi
cmp edi, dword [ebp + 8]
jl 0x4153c7
xor eax, eax
pop edi
mov byte [esi], al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c6a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48e300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xorps xmm0, xmm0
push edi
mov ebx, edx
push 0x58
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x18], 0
movq qword [ebp - 0x17], xmm0
movq qword [ebp - 0xf], xmm0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
call fcn.00422999
mov edi, eax
add esp, 4
lea eax, [edi + 0x48]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x24], eax
mov dword [eax], 0x10325476
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
mov dword [edi + 0x4c], 0x98badcfe
mov dword [edi + 0x50], 0xefcdab89
mov dword [edi + 0x54], 0x67452301
test eax, eax
je 0x41c757
mov ecx, dword [edi]
cdq
and ecx, 0x3f
add dword [edi], eax
push esi
adc dword [edi + 4], edx
xor esi, esi
cmp dword [ebp + 8], esi
jle 0x41c756
lea ebx, [edi + 8]
mov edi, dword [ebp - 0x24]
nop
mov al, byte [esi + str.ANYUKUN012_]
mov byte [ebx + ecx], al
inc ecx
cmp ecx, 0x40
jne 0x41c74a
mov edx, ebx
mov ecx, edi
call fcn.0041fd80
xor ecx, ecx
inc esi
cmp esi, dword [ebp + 8]
jl 0x41c730
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
pop esi
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00420400
push edi
call fcn.004212f3
add esp, 4
xor edx, edx
lea esp, [esp]
movzx ecx, byte [ebp + edx - 0x18]
mov eax, ecx
shr eax, 4
and ecx, 0xf
movzx eax, byte [eax + str.0123456789abcdef]
mov byte [ebx + edx*2], al
movzx eax, byte [ecx + str.0123456789abcdef]
mov byte [ebx + edx*2 + 1], al
inc edx
cmp edx, 0x10
jl 0x41c770
mov ecx, dword [ebp - 4]
pop edi
mov byte [ebx + 0x20], 0
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00420548
mov esp, ebp
pop ebp
ret
Function at 0x41f960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, edx
push ebx
neg eax
push esi
sbb eax, eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov esi, dword [ebp - 0x14]
and eax, 0xf
push edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
mov ebx, 0x484092
mov dword [ebp - 4], 0x10
movzx ecx, byte [ebx - 2]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
call fcn.0046a6c0
movzx ecx, byte [ebx - 1]
shld esi, edi, 1
and eax, 1
xor edx, edx
add edi, edi
add edi, eax
mov eax, dword [ebp + 8]
adc esi, edx
mov edx, dword [ebp + 0xc]
shld esi, edi, 1
add edi, edi
call fcn.0046a6c0
movzx ecx, byte [ebx]
and eax, 1
xor edx, edx
add edi, eax
mov eax, dword [ebp + 8]
adc esi, edx
mov edx, dword [ebp + 0xc]
shld esi, edi, 1
add edi, edi
call fcn.0046a6c0
movzx ecx, byte [ebx + 1]
and eax, 1
xor edx, edx
add edi, eax
mov eax, dword [ebp + 8]
adc esi, edx
mov edx, dword [ebp + 0xc]
shld esi, edi, 1
add edi, edi
call fcn.0046a6c0
and eax, 1
xor edx, edx
add edi, eax
adc esi, edx
dec dword [ebp - 4]
lea ebx, [ebx + 4]
jne 0x41f992
xor ebx, ebx
mov ecx, dword [ebp - 0xc]
mov eax, ebx
xor eax, dword [ebp - 8]
push dword [ecx + eax*8 + 4]
push dword [ecx + eax*8]
mov ecx, edi
call fcn.0041f610
xor ecx, ecx
or ecx, edi
xor edx, edx
xor eax, esi
xor edx, ecx
inc ebx
add esp, 8
mov edi, eax
mov esi, edx
cmp ebx, 0x10
jl 0x41fa13
xor eax, eax
or eax, edi
push eax
push esi
call fcn.0041f540
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4318f5
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00426605
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 0x43192d
xor eax, eax
jmp 0x431959
cmp esi, dword [ebp - 4]
je 0x431956
cmp dword [ebp + 0xc], 0
je 0x431956
push dword [edi + 0x9c]
call fcn.00431503
push dword [edi + 0x9c]
mov esi, eax
call fcn.00430bee
pop ecx
pop ecx
cmp esi, eax
je 0x431929
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x43219f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48e300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00429842
mov dword [ebp - 0x14], eax
cmp dword [0x491bb0], edi
jne 0x432290
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x43221d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x432370
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x432370
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x432370
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x491bb0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x491bb4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x491bb8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x491bc0], eax
test eax, eax
je 0x43228d
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x491bbc], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4322b5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4322a8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4322ca
push 4
pop eax
jmp 0x432372
cmp dword [ebp - 0x14], edi
je 0x4322ca
push dword [0x491bb0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4322af
mov eax, dword [0x491bbc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x432328
cmp dword [0x491bc0], esi
je 0x432328
push eax
call ebx
push dword [0x491bc0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x432328
test eax, eax
je 0x432328
call ecx
test eax, eax
je 0x43231d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x43231d
test byte [ebp - 8], 1
jne 0x432328
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x432358
mov eax, dword [0x491bb4]
cmp eax, esi
je 0x432355
push eax
call ebx
test eax, eax
je 0x432355
call eax
mov edi, eax
test edi, edi
je 0x432355
mov eax, dword [0x491bb8]
cmp eax, esi
je 0x432355
push eax
call ebx
test eax, eax
je 0x432355
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x491bb0]
call ebx
test eax, eax
je 0x432370
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x432372
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420548
leave
ret
Function at 0x436320
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x48e300]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x436370
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x43636a
shr eax, 8
cmp al, 2
jne 0x43636a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420548
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 2
call fcn.00420548
mov esp, ebp
pop ebp
ret
Function at 0x437a10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x437a3c
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x437a2d
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call ecx
jmp 0x437a70
cmp dword [esi + 8], 0
jne 0x437a60
push 0x481c60
push dword [eax + 8]
call fcn.004219ea
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x437a60
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.0045533d
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x437a92
mov eax, dword [esi + 8]
test eax, eax
je 0x437a8c
push eax
call fcn.00421d88
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x442ad0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push edi
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ecx + eax*4 + 0x130]
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [ebp + 0x18]
mov edi, eax
mov dword [ebx], 0
cmp edi, 0xffffffff
jne 0x442b4e
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x442b1e
pop esi
pop edi
mov dword [ebx], 0x51
xor eax, eax
pop ebx
pop ebp
ret
push esi
push dword [ebp + 8]
call fcn.0044e840
push eax
mov eax, dword [ebp + 8]
push str.Send_failure:__s
push dword [eax]
call fcn.004427c0
mov eax, dword [ebp + 8]
add esp, 0x14
mov eax, dword [eax]
mov dword [eax + 0x858c], esi
mov dword [ebx], 0x37
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x442c60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x164]
test eax, eax
je 0x442c89
push dword [esi + 0xf4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call eax
add esp, 0x14
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x442cbf
push dword [esi + 0xf0]
lea eax, [eax + eax*2]
push 1
add eax, 0x47c608
push 2
push eax
call fcn.00422138
push dword [esi + 0xf0]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00422138
add esp, 0x20
xor eax, eax
pop esi
pop ebp
ret