joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47321c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov ebx, 0x55f778
test edx, edx
jne 0x47322c
xor eax, eax
pop esi
pop ebx
ret
xor eax, 0xffffffff
cmp ecx, 8
jb 0x4732f4
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
sub ecx, 8
cmp ecx, 8
jae 0x473238
test ecx, ecx
je 0x473313
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
dec ecx
test ecx, ecx
jne 0x4732f8
xor eax, 0xffffffff
pop esi
pop ebx
ret
Function at 0x476ef4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, esi
call fcn.0040564c
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edx, eax
shl edx, 2
mov eax, dword [ebp - 4]
call fcn.004059d8
mov eax, esi
call fcn.0040564c
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edi, eax
test edi, edi
jle 0x477031
mov ebx, 1
mov eax, esi
call fcn.0040564c
lea edx, [ebx + ebx*2]
cmp eax, edx
jge 0x476f74
mov eax, esi
call fcn.0040564c
mov ecx, eax
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
sub ecx, eax
lea edx, [ebp - 7]
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
lea eax, [esi + eax]
call fcn.00402e08
jmp 0x476f8a
lea edx, [ebp - 7]
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
lea eax, [esi + eax]
mov ecx, 3
call fcn.00402e08
mov al, byte [ebp - 7]
mov edx, eax
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov ecx, 0x4770b4
mov dl, byte [ecx + edx]
mov byte [ebp - 0xb], dl
and al, 3
and eax, 0xff
shl eax, 4
mov dl, byte [ebp - 6]
and dl, 0xf0
and edx, 0xff
shr edx, 4
or eax, edx
mov edx, 0x4770b4
mov al, byte [edx + eax]
mov byte [ebp - 0xa], al
mov dl, byte [ebp - 6]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov al, byte [ebp - 5]
mov ecx, eax
and cl, 0xc0
and ecx, 0xff
shr ecx, 6
or edx, ecx
mov ecx, 0x4770b4
mov dl, byte [ecx + edx]
mov byte [ebp - 9], dl
and al, 0x3f
and eax, 0xff
mov edx, 0x4770b4
mov al, byte [edx + eax]
mov byte [ebp - 8], al
mov eax, dword [ebp - 4]
call fcn.004058a4
mov edx, ebx
dec edx
shl edx, 2
lea edx, [eax + edx]
lea eax, [ebp - 0xb]
mov ecx, 4
call fcn.00402e08
inc ebx
dec edi
jne 0x476f42
mov eax, esi
call fcn.0040564c
mov ecx, 3
cdq
idiv ecx
dec edx
jne 0x477077
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040564c
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004058a4
mov byte [eax + ebx - 2], 0x3d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040564c
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004058a4
mov byte [eax + ebx - 1], 0x3d
jmp 0x4770a4
mov eax, esi
call fcn.0040564c
mov ecx, 3
cdq
idiv ecx
cmp edx, 2
jne 0x4770a4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040564c
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004058a4
mov byte [eax + ebx - 1], 0x3d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477d58
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 3
add esp, 0xfffff004
push eax
dec eax
jne 0x477d61
mov eax, dword [ebp - 4]
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x302c], edx
mov dword [ebp - 0x3028], edx
mov dword [ebp - 0x3020], edx
mov dword [ebp - 0x3024], edx
mov dword [ebp - 0x301c], edx
mov dword [ebp - 0x3004], edx
mov dword [ebp - 0x3018], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47800c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x80e4]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403928
xor eax, eax
mov dword [ebx + 0x8110], eax
xor eax, eax
mov dword [ebx + 0x8118], eax
mov dword [ebx + 0x80e4], 0x3c
lea eax, [ebp - 0x1000]
mov dword [ebx + 0x8118], eax
mov dword [ebx + 0x811c], 0x800
lea eax, [ebp - 0x2000]
mov dword [ebx + 0x80f4], eax
mov dword [ebx + 0x80f8], 0x800
lea eax, [ebp - 0x3000]
mov dword [ebx + 0x8110], eax
mov dword [ebx + 0x8114], 0x800
lea eax, [ebx + 0x8040]
call fcn.0040538c
lea eax, [ebx + 0x80e4]
push eax
push 0x80000000
push 0
mov eax, dword [ebx + 0x8080]
call fcn.00405c90
push eax
call sub.wininet.dll_InternetCrackUrlW
test eax, eax
jne 0x477eb1
lea eax, [ebp - 0x3004]
push eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x3014], eax
mov byte [ebp - 0x3010], 0
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x3018]
call fcn.0040e01c
mov eax, dword [ebp - 0x3018]
mov dword [ebp - 0x300c], eax
mov byte [ebp - 0x3008], 0xb
lea edx, [ebp - 0x3014]
mov ecx, 1
mov eax, 0x478020
call fcn.0040b8a0
mov edx, dword [ebp - 0x3004]
lea eax, [ebx + 0x80a4]
call fcn.00405c80
jmp 0x477fb1
lea eax, [ebp - 0x301c]
mov edx, dword [ebx + 0x8110]
call fcn.00405c1c
mov eax, dword [ebp - 0x301c]
xor edx, edx
call fcn.00405dbc
jne 0x477ee6
lea eax, [ebx + 0x80a4]
mov edx, 0x47804c
call fcn.00405b10
jmp 0x477fb1
lea eax, [ebp - 0x3024]
mov edx, dword [ebx + 0x8118]
call fcn.00405c1c
mov eax, dword [ebp - 0x3024]
lea edx, [ebp - 0x3020]
call fcn.00477144
mov edx, dword [ebp - 0x3020]
lea eax, [ebx + 0x8040]
call fcn.004053e0
mov edx, dword [ebx + 0x8040]
mov eax, 0x47807c
call fcn.00405990
test eax, eax
jle 0x477f60
mov al, byte [0x478080]
push eax
lea eax, [ebp - 0x3028]
push eax
mov ecx, 0x47808c
mov edx, 0x47807c
mov eax, dword [ebx + 0x8040]
call fcn.0040fdd0
mov edx, dword [ebp - 0x3028]
lea eax, [ebx + 0x8040]
call fcn.004053e0
lea eax, [ebp - 0x302c]
mov edx, dword [ebx + 0x8100]
call fcn.00405c1c
mov eax, dword [ebp - 0x302c]
xor edx, edx
call fcn.00405dbc
jne 0x477fb1
mov eax, dword [ebx + 0x8120]
xor edx, edx
call fcn.00405dbc
je 0x477fb1
mov eax, dword [ebx + 0x8120]
call fcn.00405c90
mov dword [ebx + 0x8100], eax
mov eax, dword [ebx + 0x8124]
call fcn.00405c90
mov dword [ebx + 0x8108], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478013
lea eax, [ebp - 0x302c]
call fcn.00405ad4
lea eax, [ebp - 0x3028]
call fcn.0040538c
lea eax, [ebp - 0x3024]
call fcn.00405ad4
lea eax, [ebp - 0x3020]
call fcn.0040538c
lea eax, [ebp - 0x301c]
call fcn.00405ad4
lea eax, [ebp - 0x3018]
call fcn.0040538c
lea eax, [ebp - 0x3004]
call fcn.0040538c
ret
Function at 0x479cd8
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 4]
push edi
push 0x8000
lea eax, [esi + 0x40]
push eax
mov eax, dword [esi + 0x3c]
push eax
call sub.wininet.dll_InternetReadFile
cmp eax, 1
sbb ebx, ebx
inc ebx
cmp byte [esi + 0x804d], 0
je 0x479d13
mov eax, dword [esi + 0x80b4]
call fcn.00422220
jmp 0x479d87
lea edx, [esi + 0x40]
mov ecx, dword [edi]
mov eax, dword [esi + 0x80b4]
call fcn.00421d5c
mov eax, dword [edi]
add dword [esi + 0x80cc], eax
inc dword [esi + 0x8130]
call fcn.0040c9ec
fstp qword [esi + 0x8050]
wait
mov eax, esi
call fcn.00479744
cmp byte [esi + 0x804c], 0
jne 0x479d87
cmp dword [edi], 0
jbe 0x479d76
cmp word [esi + 0x808a], 0
je 0x479d76
mov eax, dword [esi + 0x80d0]
push eax
call sub.kernel32.dll_SetEvent
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x479d76
call fcn.0040ff0c
test bl, bl
je 0x479ce4
cmp dword [edi], 0
jne 0x479ce4
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x47a3c4
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe60
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040583c
xor eax, eax
push ebp
push 0x47a4cc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor eax, eax
push ebp
push 0x47a49b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040584c
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47a47b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x47a463
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx]
mov byte [eax], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + 1]
mov byte [eax + 1], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + 2]
mov byte [eax + 2], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + 3]
mov byte [eax + 3], dl
jmp 0x47a491
mov ecx, 0x47a4e4
mov dl, 1
mov eax, dword [0x40917c]
call fcn.0040e864
call fcn.00404c78
jmp 0x47a491
mov ecx, 0x47a50c
mov dl, 1
mov eax, dword [0x40917c]
call fcn.0040e864
call fcn.00404c78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47a4b1
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a4d3
lea eax, [ebp - 4]
call fcn.0040538c
ret
Function at 0x47a524
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040583c
xor eax, eax
push ebp
push 0x47a5a2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.icmp.dll_IcmpCreateFile
mov esi, eax
cmp esi, 0xffffffff
je 0x47a58c
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047a3c4
push 0x2710
push 0x80
lea eax, [ebp - 0x88]
push eax
push 0
push 0
push 0
push dword [ebp - 8]
push esi
call sub.icmp.dll_IcmpSendEcho
test eax, eax
setne bl
push esi
call sub.icmp.dll_IcmpCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a5a9
lea eax, [ebp - 4]
call fcn.0040538c
ret

Function at 0x47a5b4
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040583c
xor eax, eax
push ebp
push 0x47a63c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1a8]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, dword [ebp - 4]
call fcn.0040584c
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x14], eax
push 2
push 4
lea eax, [ebp - 0x14]
push eax
call sub.wsock32.dll_gethostbyaddr
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x47a61f
mov edx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040b388
jmp 0x47a626
mov eax, ebx
call fcn.0040538c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a643
lea eax, [ebp - 4]
call fcn.0040538c
ret
Function at 0x4811dc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41c524]
call fcn.00405fd4
xor eax, eax
push ebp
push 0x481320
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x55fe80], 0
jne 0x48122f
mov ecx, dword [0x56450c]
mov dl, 1
mov eax, dword [0x40917c]
call fcn.0040e920
call fcn.00404c78
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403928
mov eax, ebx
call fcn.00405c90
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x481330
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004074b4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405ca0
test eax, eax
jle 0x4812c7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4812c0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00405614
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004055fc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040a010
test eax, eax
jne 0x4812c0
mov ebx, 0x15
jmp 0x4812cc
mov ebx, 0x10
jmp 0x4812cc
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x55fe80]
call fcn.00481134
mov eax, dword [ebp - 8]
call fcn.00481134
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004074cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481327
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004053b0
lea eax, [ebp - 0x10]
mov edx, dword [0x41c524]
call fcn.004060a4
ret

Function at 0x4972ec
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x497311
cmp dword [esp + 4], 5
jb 0x497311
mov al, 1
jmp 0x497313
xor eax, eax
add esp, 0x94
ret
Function at 0x4b36ec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4b371a
mov eax, ebx
call fcn.004b41a0
cmp dword [ebx + 0x40], 0
je 0x4b3713
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4b378b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4b377d
cmp dword [ebx + 8], 0
je 0x4b373c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4b374e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4b377d
cmp dword [ebx + 8], 0
je 0x4b372f
cmp eax, 3
je 0x4b3761
dec eax
jne 0x4b372f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4b372f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4b372f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4b37a9
cmp dword [ebx + 0x14], 0xcc
je 0x4b37a9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004b37b4
pop ebx
ret
Function at 0x4c497c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040583c
xor eax, eax
push ebp
push 0x4c4b6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040564c
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edx, eax
shl edx, 2
mov eax, dword [ebp - 8]
call fcn.004059d8
mov eax, dword [ebp - 4]
call fcn.0040564c
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov esi, eax
test esi, esi
jle 0x4c4ae4
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.0040564c
lea edx, [ebx + ebx*2]
cmp eax, edx
jge 0x4c4a1e
mov eax, dword [ebp - 4]
call fcn.0040564c
mov edx, ebx
dec edx
lea edx, [edx + edx*2]
sub eax, edx
push eax
lea eax, [ebp - 4]
call fcn.004058a4
mov edx, ebx
dec edx
lea edx, [edx + edx*2]
add eax, edx
lea edx, [ebp - 0xb]
pop ecx
call fcn.00402e08
jmp 0x4c4a3b
lea eax, [ebp - 4]
call fcn.004058a4
mov edx, ebx
dec edx
lea edx, [edx + edx*2]
add eax, edx
lea edx, [ebp - 0xb]
mov ecx, 3
call fcn.00402e08
mov al, byte [ebp - 0xb]
mov edx, eax
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov ecx, 0x4c4b88
mov dl, byte [ecx + edx]
mov byte [ebp - 0xf], dl
and al, 3
mov edi, eax
and edi, 0xff
shl edi, 4
mov dl, byte [ebp - 0xa]
mov eax, edx
and al, 0xf0
and eax, 0xff
shr eax, 4
or edi, eax
mov eax, 0x4c4b88
mov al, byte [eax + edi]
mov byte [ebp - 0xe], al
and dl, 0xf
mov edi, edx
and edi, 0xff
shl edi, 2
mov al, byte [ebp - 9]
mov edx, eax
and dl, 0xc0
and edx, 0xff
shr edx, 6
or edi, edx
mov edx, 0x4c4b88
mov dl, byte [edx + edi]
mov byte [ebp - 0xd], dl
and al, 0x3f
and eax, 0xff
mov edx, 0x4c4b88
mov al, byte [edx + eax]
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 8]
call fcn.004058a4
mov edx, ebx
dec edx
shl edx, 2
lea edx, [eax + edx]
lea eax, [ebp - 0xf]
mov ecx, 4
call fcn.00402e08
inc ebx
dec esi
jne 0x4c49e3
mov eax, dword [ebp - 4]
call fcn.0040564c
mov ecx, 3
cdq
idiv ecx
dec edx
jne 0x4c4b2b
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040564c
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.004058a4
mov byte [eax + ebx - 2], 0x3d
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040564c
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.004058a4
mov byte [eax + ebx - 1], 0x3d
jmp 0x4c4b59
mov eax, dword [ebp - 4]
call fcn.0040564c
mov ecx, 3
cdq
idiv ecx
cmp edx, 2
jne 0x4c4b59
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040564c
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.004058a4
mov byte [eax + ebx - 1], 0x3d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4b76
lea eax, [ebp - 4]
call fcn.0040538c
ret
Function at 0x4c4c7c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040583c
xor eax, eax
push ebp
push 0x4c4d0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xa
call fcn.0040b39c
mov dword [ebp - 8], eax
push 0xa
mov eax, dword [ebp - 8]
push eax
push 0xe
push 0x800
call sub.kernel32.dll_GetLocaleInfoA_1
mov al, byte [0x4c4d18]
push eax
push ebx
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00405584
mov edx, dword [ebp - 0xc]
mov ecx, 0x4c4d24
mov eax, dword [ebp - 4]
call fcn.0040fdd0
mov eax, dword [ebp - 8]
call fcn.0040b3f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4d11
lea eax, [ebp - 0xc]
call fcn.0040538c
lea eax, [ebp - 4]
call fcn.0040538c
ret

Function at 0x4c4f90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040583c
xor eax, eax
push ebp
push 0x4c5047
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4c5025
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00403928
lea eax, [ebp - 0x122]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00403928
lea eax, [ebp - 0x122]
mov edx, dword [ebp - 4]
call fcn.0040b218
xor eax, eax
mov dword [ebp - 0x22], eax
lea eax, [ebp - 0x122]
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x14
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c5031
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c504e
lea eax, [ebp - 4]
call fcn.0040538c
ret
Function at 0x4c6154
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x574], ebx
mov dword [ebp - 0x578], ebx
mov dword [ebp - 0x570], ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
call fcn.0040583c
xor eax, eax
push ebp
push 0x4c63f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0
push 0
push 0
push 0
push 0x4c6408
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4c63b7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.0040584c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 4
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, 4
call fcn.00402bb0
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4c626a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0x13
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x4c6254
lea eax, [ebp - 0x570]
mov edx, dword [ebp - 0x18]
call fcn.00405584
mov eax, dword [ebp - 0x570]
mov edx, 0x4c6420
call fcn.00405798
je 0x4c6254
cmp byte [ebp + 8], 0
je 0x4c6242
mov eax, dword [ebp + 0xc]
call fcn.0046ea88
mov eax, 0x568284
mov edx, dword [ebp + 0xc]
call fcn.004053e0
call fcn.0040e838
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6271
mov eax, dword [ebp - 0x18]
call fcn.00402be0
ret

Function at 0x4c6494
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
mov dword [0x568270], 0xa2c2a
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403928
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x4c], esi
mov eax, edi
call fcn.0040584c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
call fcn.0040584c
mov dword [ebp - 0x40], eax
cmp byte [ebp + 8], 0
je 0x4c64f4
mov dword [ebp - 0x38], 1
jmp 0x4c64f9
xor eax, eax
mov dword [ebp - 0x38], eax
call fcn.0040c9ec
fstp st(0)
call fcn.0040c9ec
fstp st(0)
lea eax, [ebp - 0x54]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x4c655c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [0x564b24]
mov eax, dword [eax]
call fcn.0046c304
push 0x32
call sub.kernel32.dll_Sleep_1
cmp dword [ebp - 8], 0x103
jne 0x4c654d
mov eax, dword [0x564b24]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
je 0x4c6514
cmp dword [ebp - 8], 0
sete bl
mov eax, dword [ebp - 8]
mov dword [0x568270], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4