joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5341e0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov eax, dword [esi + 4]
cmp eax, 0x201
jne 0x53429c
call sub.user32.dll_ReleaseCapture
push 0x6b3368
call sub.user32.dll_GetCursorPos
mov eax, 0x6b3368
xor edx, edx
call fcn.00451c94
cmp eax, dword [0x6b3364]
je 0x53422f
test eax, eax
je 0x53422f
push 0
xor ecx, ecx
mov edx, 0xb013
call fcn.004545e8
mov edx, dword [0x530f60]
mov eax, 0x6b3368
call fcn.00534134
mov ebx, eax
test ebx, ebx
je 0x534290
cmp dword [ebx + 0x240], 0
je 0x534478
cmp byte [ebx + 0x255], 0
je 0x534284
mov dword [0x6b3364], ebx
mov eax, dword [esi + 0xc]
mov edx, dword [0x6b3364]
mov dword [edx + 0x258], eax
mov edx, 0x6b3368
mov eax, dword [0x6b3364]
call fcn.00536408
jmp 0x534478
xor eax, eax
mov dword [0x6b3360], eax
jmp 0x534478
xor eax, eax
mov dword [0x6b3360], eax
jmp 0x534478
cmp eax, 0x202
jne 0x534348
cmp dword [0x6b3364], 0
je 0x5342c3
mov eax, dword [0x6b3364]
mov byte [eax + 0x25c], 0
xor eax, eax
mov dword [0x6b3364], eax
mov eax, dword [esi]
call fcn.004502fc
mov ebx, eax
xor eax, eax
push ebp
push 0x534339
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x53432c
mov eax, ebx
mov edx, dword [0x530f60]
call fcn.0040400c
test al, al
je 0x53432c
cmp dword [ebx + 0x240], 0
je 0x53432c
cmp byte [ebx + 0x255], 0
je 0x53432c
mov dword [ebx + 0x258], 0xffffffff
push 0x6b3368
call sub.user32.dll_GetCursorPos
mov edx, 0x6b3368
mov eax, ebx
call fcn.005364fc
call sub.user32.dll_ReleaseCapture
mov eax, dword [ebp - 4]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x534478
cmp eax, 0x200
jne 0x534478
push 0x6b3368
call sub.user32.dll_GetCursorPos
cmp dword [0x6b3364], 0
je 0x5343d1
mov eax, dword [esi + 0xc]
mov edx, dword [0x6b3364]
cmp eax, dword [edx + 0x258]
je 0x534478
mov edx, dword [0x6b3364]
mov dword [edx + 0x258], eax
mov eax, 0x6b3368
xor edx, edx
call fcn.00451c94
cmp eax, dword [0x6b3364]
je 0x5343ad
test eax, eax
je 0x5343ad
push 0
xor ecx, ecx
mov edx, 0xb014
call fcn.004545e8
mov ebx, dword [0x6b3364]
call sub.user32.dll_ReleaseCapture
mov eax, dword [0x6b3364]
call fcn.00459b6c
push eax
call sub.user32.dll_SetCapture
xor eax, eax
mov dword [0x6b3364], eax
jmp 0x5343da
mov eax, dword [esi]
call fcn.004502fc
mov ebx, eax
test ebx, ebx
je 0x534478
mov eax, ebx
mov edx, dword [0x530f60]
call fcn.0040400c
test al, al
je 0x534478
cmp dword [ebx + 0x240], 0
je 0x534478
cmp byte [ebx + 0x255], 0
je 0x534478
cmp byte [ebx + 0x25c], 0
je 0x534446
mov edx, 0x6b3368
mov eax, ebx
call fcn.00536458
mov eax, ebx
call fcn.00459b6c
mov esi, eax
call sub.user32.dll_GetCapture
cmp esi, eax
je 0x534440
mov eax, dword [0x6b3364]
call fcn.00459b6c
push eax
call sub.user32.dll_SetCapture
mov eax, dword [ebp - 4]
mov byte [eax], 1
cmp byte [ebx + 0x25d], 0
je 0x534478
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx + 0x240]
mov edx, dword [edx + 0x218]
mov ecx, eax
sub ecx, dword [edx + 0x34]
cmp ecx, 0x96
jbe 0x534478
mov dword [edx + 0x34], eax
mov eax, dword [0x6b336c]
mov dword [edx + 0x2c], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x542614
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x693c20
mov ecx, dword [esp]
lea edx, [esp + 0xc]
xor ebx, ebx
mov bl, byte [edi]
mov bl, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x542633
mov esi, 1
mov edx, 0x693d28
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
shl ecx, 2
xor ebx, ebx
mov bl, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
xor ebx, ebx
mov bl, byte [esp + eax + 0x11]
add edi, ebx
xor ebx, ebx
mov bl, byte [esp + eax + 0xd]
shl ebx, 3
movzx ebp, byte [esp + eax + 0xe]
shl ebp, 2
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x5426ad
dec ebx
je 0x5426d1
dec ebx
je 0x5426f5
dec ebx
je 0x542718
jmp 0x542731
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 8
and ebx, 0xff
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x542731
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 4
and ebx, 0xff
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x542731
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 2
and ebx, 0xff
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x542731
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x54269a
inc esi
add edx, 0x40
cmp esi, 9
jne 0x54264f
mov esi, 0x20
mov eax, 0x693c50
mov edx, dword [esp + 4]
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x542756
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x542790
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
xor eax, eax
mov al, dl
mov bl, byte [eax + 0x693cd7]
test bl, bl
jbe 0x5427c1
lea eax, [esi + 0x3e0]
call fcn.00542770
lea eax, [esi + 0x3fc]
call fcn.00542770
dec bl
jne 0x5427a7
mov cl, 0x30
mov edi, 0x693ca8
mov eax, dword [esp]
mov dl, byte [edi]
cmp dl, 0x1c
ja 0x5427e3
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x5427f2
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x5427cb
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x542800
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.005425a8
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x54281c
mov bl, 0x1c
mov esi, 0x693c70
lea edi, [ebp - 0x41]
mov dl, byte [esi]
mov eax, dword [ebp - 8]
call fcn.005425a8
mov byte [edi], al
mov dl, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.005425a8
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x542838
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.00542790
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x542860
mov bl, 1
mov eax, 0x693ba0
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x542899
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x5428a6
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x542885
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x5428d0
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.00542614
jmp 0x5428f8
xor eax, eax
mov al, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.00542614
mov bl, 0x20
lea eax, [ebp - 0xa1]
mov dl, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x542900
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x5428b8
mov bl, 0x40
mov esi, 0x693be0
lea eax, [ebp - 0x3e1]
mov dl, byte [esi]
cmp dl, 0x20
ja 0x542966
and edx, 0xff
mov dl, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x542975
and edx, 0xff
mov dl, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x54294e
mov bl, 1
lea esi, [ebp - 0x3e1]
mov cl, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.005425d0
inc ebx
inc esi
cmp bl, 0x41
jne 0x542983
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x542ab0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov dword [esp], edx
mov esi, eax
mov dl, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
mov al, byte [esi + 1]
xor ecx, ecx
mov cl, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
mov dl, byte [esi + 2]
xor ecx, ecx
mov cl, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
mov al, byte [esi + 3]
xor ecx, ecx
mov cl, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
xor edx, edx
mov dl, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
mov al, byte [esi + 4]
shl eax, 3
and al, 0xff
xor edx, edx
mov dl, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
mov al, byte [esi + 5]
shl eax, 2
and al, 0xff
xor edx, edx
mov dl, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
mov al, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov edi, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
xor ebx, ebx
mov bl, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x542b5c
mov dl, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x542b57
mov eax, ebp
mov edx, 8
call fcn.00405304
push 1
mov eax, ebp
call fcn.004051d0
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.00542800
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x548a94
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
mov edx, ebx
add edx, 4
mov eax, esi
call fcn.00405304
mov eax, esi
call fcn.004051d0
push eax
mov edx, ebx
add edx, 2
xor ecx, ecx
pop eax
call fcn.0040359c
cmp byte [ebp - 1], 0
jne 0x548b07
mov eax, esi
call fcn.004051d0
mov dl, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov al, byte [ebp - 1]
sub al, 1
jb 0x548b20
sub al, 2
jb 0x548b27
jmp 0x548b2c
mov ebx, 2
jmp 0x548b2c
mov ebx, 1
mov eax, esi
call fcn.004051d0
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x548c0e
test edi, edi
jle 0x548b88
mov eax, esi
call fcn.004051d0
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.004051d0
mov byte [eax + ebx - 1], 0
jmp 0x548c02
test edi, edi
jge 0x548bce
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.004051d0
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x548c02
mov eax, esi
call fcn.004051d0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.004051d0
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x548b44
mov al, byte [ebp - 1]
sub al, 1
jb 0x548c1e
sub al, 2
jb 0x548c57
jmp 0x548c9e
cmp edi, 2
jne 0x548c24
dec ebx
mov eax, ebx
sub eax, 2
jl 0x548c9e
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.004051d0
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x693ef8]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x548c34
jmp 0x548c9e
cmp edi, 2
jne 0x548c5d
dec ebx
test ebx, ebx
jle 0x548c99
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.004051d0
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x693efc]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x548c69
jmp 0x548c99
inc ebx
mov eax, esi
call fcn.004051d0
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x548c8c
mov eax, esi
mov edx, ebx
call fcn.00405304
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x54d92c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x54d986
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x54d97c
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x54]
test al, al
jne 0x54d96d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54da70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x11c]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54d9a1
xor eax, eax
push ebp
push 0x54d9c6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x54d9bc
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54d9dc
xor edx, edx
push ebp
push 0x54da1e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x54da14
add dword [eax + 0x118], 0x64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 0x118]
cmp edx, dword [eax + 0x108]
jl 0x54da14
mov edx, dword [eax]
call dword [edx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54da34
xor eax, eax
push ebp
push 0x54da5a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x54da50
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54da70
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x54f898
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 8]
lea esi, [ebp - 0x50]
xor eax, eax
push ebp
push 0x54fa61
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 0x10]
call fcn.00404cac
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax], edx
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
call fcn.00404cac
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x54f9e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor ecx, ecx
mov edx, 0x3c
call fcn.0040359c
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], 0x20
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], pe_nt_image_headers32
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0x80
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0x80
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0x800
xor eax, eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], 0x800
mov dword [esi], 0x3c
push esi
push 0
mov eax, ebx
call fcn.00404f80
push eax
mov eax, ebx
call fcn.00405178
push eax
call sub.wininet.dll_InternetCrackUrlA
test eax, eax
je 0x54f9d7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x54]
mov edx, dword [esi + 0x10]
call fcn.00404e9c
mov eax, dword [ebp - 0x54]
mov ecx, dword [esi + 0x14]
mov edx, 1
call fcn.004051d8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x58]
mov edx, dword [esi + 0x2c]
call fcn.00404e9c
mov eax, dword [ebp - 0x58]
mov ecx, dword [esi + 0x30]
mov edx, 1
call fcn.004051d8
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0054f308
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xc8
jne 0x54f9d7
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54f9ff
cmp byte [ebp - 1], 0
je 0x54fa39
mov eax, dword [ebp - 0x10]
call fcn.00404f80
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
inc eax
call fcn.00402a88
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
call fcn.00405178
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
call fcn.00402d9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54fa68
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00404cd0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404cd0
ret
Function at 0x5503b0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov dword [ebp - 4], eax
cmp dword [0x694608], 0
je 0x5503d5
mov eax, dword [ebp - 4]
mov edx, dword [0x694608]
call fcn.00404d00
jmp 0x55044f
xor eax, eax
push ebp
push 0x550421
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x69]
xor ecx, ecx
mov edx, 0x65
call fcn.0040359c
push 0x64
lea eax, [ebp - 0x69]
push eax
push 0x59
call sub.kernel32.dll_GetUserDefaultUILanguage
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
mov eax, 0x694608
lea edx, [ebp - 0x69]
mov ecx, 0x65
call fcn.00404f14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x550441
mov eax, dword [ebp - 4]
mov edx, dword [0x694608]
call fcn.00404d00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55321c
Capabilities:
Copy file

Disassembly:
push ebx
mov ebx, eax
xor eax, eax
mov dl, byte [ebx + 4]
add dl, 0xfc
sub dl, 6
jae case.default.0x553250
mov eax, ebx
call fcn.00552e18
test al, al
jne case.default.0x553250
xor edx, edx
mov dl, byte [ebx + 4]
add edx, 0xfffffffc
cmp edx, 5
ja case.default.0x553250
jmp dword [edx*4 + 0x553257]
mov eax, dword [ebx + 0x18]
call fcn.0040b5ac
jmp case.default.0x553250
mov eax, dword [ebx + 0x18]
call fcn.00402f68
call fcn.00402c58
mov eax, dword [ebx + 0x18]
call fcn.0040b3b0
xor al, 1
jmp case.default.0x553250
mov eax, dword [ebx + 0x18]
call fcn.0040b3d4
mov eax, dword [ebx + 0x18]
call fcn.0040b3b0
jmp case.default.0x553250
push 0
mov eax, dword [ebx + 0x1c]
call fcn.00405178
push eax
mov eax, dword [ebx + 0x18]
call fcn.00405178
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
jmp case.default.0x553250
push 0xffffffffffffffff
mov eax, dword [ebx + 0x1c]
call fcn.00405178
push eax
mov eax, dword [ebx + 0x18]
call fcn.00405178
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
jmp case.default.0x553250
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
call fcn.0040b5c4
pop ebx
ret

Function at 0x553654
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405168
mov eax, dword [ebp - 8]
call fcn.00405168
xor eax, eax
push ebp
push 0x55375d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 0xffffffff
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x55370b
push dword fs:[edx]
mov dword fs:[edx], esp
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00405178
push eax
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x553701
push 4
mov eax, dword [ebp - 8]
call fcn.00405178
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x5536f8
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x5536ef
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55373f
mov ebx, dword [ebp - 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x553764
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404cd0
ret
Function at 0x553e28
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x554016
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x553feb
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0041f044
mov eax, dword [eax + 0x154]
lea edx, [ebp - 0x14]
call fcn.0040f90c
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x170]
mov ecx, 0x55402c
mov edx, dword [ebp - 0x14]
call fcn.00404fcc
mov eax, dword [ebp - 0x170]
call fcn.00405178
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x553feb
lea eax, [ebp - 0x16c]
mov edx, dword [ebp - 0x14]
call fcn.005553e4
mov ebx, eax
test ebx, ebx
je 0x553fc4
cmp byte [ebx + 0x150], 0
je 0x553fc4
lea edx, [ebp - 0x174]
mov eax, dword [ebx + 0x154]
call fcn.0040f90c
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0x18]
mov ecx, 0x554038
call fcn.00404fcc
mov eax, dword [ebp - 0x18]
call fcn.0040b3a0
test al, al
je 0x553fc4
lea eax, [ebp - 0x16c]
call fcn.00553d20
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x553f71
inc edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0041f044
mov eax, dword [eax + 0x18]
cdq
cmp edx, dword [ebp - 0x24]
jne 0x553f6b
cmp eax, dword [ebp - 0x28]
jne 0x553f6b
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
jmp 0x553f71
inc dword [ebp - 0x10]
dec edi
jne 0x553f42
cmp dword [ebp - 0x24], 0
jne 0x553f7f
cmp dword [ebp - 0x28], 0
jbe 0x553fc4
jmp 0x553f81
jle 0x553fc4
mov dl, 1
mov eax, dword [0x5538f4]
call fcn.00555648
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x158]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0x15c]
mov dword [eax + 0xc], edx
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.00553960
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0041ee98
lea eax, [ebp - 0x16c]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x553ec5
push esi
call sub.kernel32.dll_FindClose_1
inc dword [ebp - 0xc]
dec dword [ebp - 0x2c]
jne 0x553e76
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55401d
lea eax, [ebp - 0x174]
mov edx, 2
call fcn.00404cd0
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404cd0
ret