joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018fa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov eax, 0x465a90
cmp word [0x465a90], cx
mov dword [ebp - 4], ecx
je 0x401926
inc dword [ebp - 4]
inc eax
inc eax
cmp word [eax], cx
jne 0x40191c
mov eax, dword [ebp - 0xc]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
cmp ecx, edx
mov dword [ebp - 0xc], ecx
je 0x4019e4
jmp 0x40194a
mov ecx, dword [ebp - 0xc]
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x4019e4
mov eax, dword [edi + 0x3c]
push 0x465a90
push dword [ebp - 4]
mov esi, dword [eax + edi + 0x78]
mov eax, dword [esi + edi + 0x1c]
add esi, edi
push dword [ecx + 0x30]
add eax, edi
mov ebx, dword [esi + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x24]
add ebx, edi
add eax, edi
mov dword [ebp - 0x14], eax
call fcn.00408000
pop ecx
push eax
call fcn.00401854
push eax
call fcn.004018ba
add esp, 0x10
cmp eax, 0xf2a29920
je 0x4019d3
and dword [ebp - 8], 0
cmp dword [esi + 0x18], 0
jbe 0x4019d3
mov eax, dword [ebx]
push 0x465a90
push dword [ebp - 4]
add eax, edi
push eax
call fcn.004017e9
push eax
call fcn.004018ba
add esp, 0x10
cmp eax, dword [ebp + 8]
je 0x4019eb
inc dword [ebp - 8]
add ebx, 4
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x18]
jb 0x4019a5
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jne 0x401947
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + eax*4]
add eax, edi
jmp 0x4019e6
Function at 0x10002320
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x1004f280
jmp 0x10004df0
push 0xffffffffffffffff
push 0x1003eecf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
mov dword [esi + 0xc], ebx
call fcn.1001ff60
mov al, byte [esp + 0x13]
mov dword [esp + 0x38], ebx
mov byte [esi + 0x1c], al
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20], cl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dl, byte [esp + 0x13]
push 0x1000
mov byte [esp + 0x3c], 2
mov byte [esi + 0x2c], dl
call fcn.1002fe15
mov edi, eax
add esp, 4
mov dword [esi + 0x30], eax
mov dword [esp + 0x14], edi
mov ebp, 0x100
mov dword [esp + 0x1c], edi
cmp edi, ebx
mov byte [esp + 0x38], 3
je 0x10004ea5
mov al, byte [esp + 0x20]
push ebx
mov ecx, edi
mov byte [edi], al
call fcn.100043a0
mov ecx, dword [0x1004120c]
lea edx, [esp + 0x20]
push ecx
push ebx
push edx
mov ecx, edi
call fcn.100049f0
add edi, 0x10
dec ebp
mov byte [esp + 0x38], 2
mov dword [esp + 0x14], edi
jne 0x10004e76
mov eax, dword [esi + 0x30]
add eax, 0x1000
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x10004ee7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x10004ede
cmp al, 0xff
je 0x10004ede
dec al
mov byte [ecx], al
jmp 0x10004ee7
push ecx
call fcn.10021520
add esp, 4
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x1000dc80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov ecx, 0x100641f8
push str.soundmax_8
call fcn.10018270
mov al, byte [0x1004868c]
mov dword [0x1004f164], 0xffffffff
test al, al
je 0x1000dd0e
mov ecx, 0x3b
xor eax, eax
mov dl, byte [eax + str._f_fuqp_v]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax], dl
jns 0x1000dcc9
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 6
jl 0x1000dcac
push esi
push edi
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xe], 0
repne scasb al, byte es:[edi]
fld qword [0x10067128]
fadd qword [0x10041310]
fstp qword [0x10061618]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x10062aa4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov ecx, dword [0x100621f8]
mov eax, 1
test ecx, ecx
mov dword [0x10064088], eax
mov dword [0x100505a0], 0xffffffff
mov dword [0x100505a4], 0xffffffff
mov dword [0x1006407c], 2
jle 0x1000dd4d
cmp dword [0x10064084], eax
jne 0x1000dd4d
mov byte [0x10062211], al
push str.round
call fcn.10008a50
add esp, 4
mov ecx, 0x100641f8
push str.cl_bob_0
call fcn.10018270
mov ecx, 0x100505a0
call fcn.1001e080
cmp eax, 0xd
je 0x1000dd7d
cmp eax, 0x18
jne 0x1000dd87
mov dword [0x1006229c], 0
add esp, 8
ret
Function at 0x10018180
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x100641f8
jmp 0x10019390
push 0xffffffffffffffff
push 0x1003f55b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov byte [esi + 8], al
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
lea ecx, [esi + 0x18]
mov dword [esp + 0x18], edi
call fcn.1001ff60
mov cl, byte [esp + 0xb]
mov dl, byte [esp + 0xb]
mov byte [esi + 0x24], cl
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov ecx, esi
mov byte [esi + 0x34], dl
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
call fcn.10018780
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x10018270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1003f498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x24]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
push edi
mov byte [esp + 0x14], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x18]
push ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call fcn.100041b0
test al, al
je 0x100182e6
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.10004110
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], ebp
cmp edx, ebp
mov ecx, 0x10041208
je 0x100182f9
mov ecx, edx
mov esi, ecx
mov al, byte [ecx]
cmp al, 0x20
je 0x10018305
cmp al, 9
jne 0x10018309
inc ecx
inc esi
jmp 0x100182fb
mov al, byte [esi]
cmp al, 0x20
jl 0x1001832c
cmp al, 0x3b
je 0x1001832c
cmp al, 0x22
jne 0x10018325
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10018326
cmp al, 0x22
jne 0x10018317
jmp 0x10018326
inc esi
mov al, byte [esi]
cmp al, 0x20
jge 0x1001830f
cmp byte [ecx], 0x2f
jne 0x10018337
cmp byte [ecx + 1], 0x2f
je 0x1001837a
cmp ecx, esi
jae 0x10018350
mov bl, byte [esi]
push ecx
mov ecx, dword [esp + 0x14]
mov byte [esi], 0
call fcn.100187e0
mov byte [esi], bl
mov edx, dword [esp + 0x18]
cmp byte [esi], 0
je 0x10018390
inc esi
mov ecx, esi
mov al, byte [ecx]
cmp al, 0x20
je 0x10018362
cmp al, 9
jne 0x10018366
inc ecx
inc esi
jmp 0x10018358
mov al, byte [esi]
cmp al, 0x20
jl 0x1001832c
cmp al, 0x3b
je 0x1001832c
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
jge 0x1001836c
jmp 0x1001832c
cmp edx, ebp
je 0x100183b0
mov al, byte [edx - 1]
test al, al
je 0x100183a6
cmp al, 0xff
je 0x100183a6
dec al
mov byte [edx - 1], al
jmp 0x100183b0
cmp edx, ebp
je 0x100183b0
mov al, byte [edx - 1]
test al, al
je 0x100183a6
cmp al, 0xff
je 0x100183a6
dec al
mov byte [edx - 1], al
jmp 0x100183b0
dec edx
push edx
call fcn.10021520
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x10019690
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push ebp
xor eax, eax
push esi
push edi
test ecx, ecx
je 0x1001971c
mov edx, dword [esp + 0x18]
test edx, edx
je 0x1001971c
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1001971c
mov edx, dword [ecx + 0x3c]
mov esi, dword [edx + ecx + 0xd8]
mov edi, dword [edx + ecx + 0xdc]
add esi, ecx
add edi, esi
cmp esi, edi
jae 0x1001971e
mov ebp, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [esi]
mov edx, dword [esp + 0x18]
cmp ecx, edx
jne 0x10019710
test ebp, ebp
je 0x100196e2
mov dword [ebp], ecx
lea eax, [esp + 0x14]
push eax
push 0x40
push 4
push esi
call ebx
test eax, eax
je 0x1001971c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
mov dword [esi], ecx
push edx
push eax
push 4
push esi
call ebx
test eax, eax
je 0x1001971c
mov eax, 1
add esi, 4
cmp esi, edi
jb 0x100196d1
pop edi
pop esi
pop ebp
pop ebx
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x422d6d
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
xor ebx, ebx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x422d85
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x422d8f
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrename]
pop ecx
pop ecx
test eax, eax
je 0x422df9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, esi
mov eax, dword [eax]
mov dword [ebp - 4], eax
call fcn.0040abca
test al, al
jne 0x422def
cmp dword [ebp - 4], 0xd
jne 0x422df5
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x422dc3
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x422dcd
mov ecx, dword [edi]
push eax
push ecx
push str.Retrying_Rename___s__to___s__due_to_EACCES_error
call fcn.00404e83
add esp, 0xc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x1f4
jl 0x422d7b
jmp 0x422df5
mov eax, dword [ebp + 8]
mov byte [eax], 1
xor al, al
jmp 0x422dfb
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4231d0
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x437c45
call fcn.00434148
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
lea eax, [edi + 0x14]
mov dword [ebp - 0x18], ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.0040670f
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
mov ecx, esi
call fcn.0042307c
or dword [ebp - 4], 0xffffffff
mov ebx, eax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42324d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423244
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x423244
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0042f05f
pop ecx
pop ecx
push dword [edi + 4]
mov ecx, dword [ebp - 0x2c]
xor eax, eax
push dword [edi]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0042ed86
mov esi, dword [edi + 8]
mov eax, dword [ebp - 0x2c]
push ebx
push esi
push 1
push dword [eax + 4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, esi
jne 0x423295
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
pop ecx
call fcn.004340f7
ret 8
push str.Failure_extracting_contents_of_the_application_bundle.
call fcn.00404eb2
mov dword [esp], str.I_O_failure_when_writing_extracted_files.
call fcn.00404eb2
lea eax, [ebp - 0x30]
mov dword [esp], 0x450750
push eax
mov dword [ebp - 0x30], 0x800080a0
call fcn.004307ce
int3
Function at 0x428abd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x45200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
cmp dword [ebx + 0x38], 0
je 0x428b2e
cmp byte [ebx + 0x3d], 0
je 0x428b2e
mov eax, dword [ebx]
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x43b2c4]
mov ecx, ebx
call esi
cmp eax, 0xffffffff
je 0x428b68
push edi
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov esi, dword [edi]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x40]
push eax
mov ecx, dword [esi + 0x20]
call dword [0x43b2c4]
mov ecx, edi
call dword [esi + 0x20]
xor ecx, ecx
pop edi
sub eax, ecx
je 0x428b3e
sub eax, 1
je 0x428b41
dec eax
sub eax, 1
jne 0x428b68
mov byte [ebx + 0x3d], cl
mov al, 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f021
leave
ret
mov byte [ebx + 0x3d], cl
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x428b5f
push dword [ebx + 0x4c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x428b68
cmp byte [ebx + 0x3d], 0
sete al
jmp 0x428b30
xor al, al
jmp 0x428b30

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6e5c3b70
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x15b86804
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4ea640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0xa92020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4ea6d8
push closesocket
call fcn.004e8290
test eax, eax
jne 0x4ea6b8
xor eax, eax
push ebp
push 0x4ea6b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4ea6f4
mov eax, dword [ebp - 4]
push eax
call fcn.004e8298
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea6b8
mov eax, dword [ebp - 4]
push eax
call fcn.004e8288
ret
mov ax, word [0xa92020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0xa92020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4eb404
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0xaa3044], 0
je 0x4eb465
cmp word [0xaa3218], 0xd7b2
jne 0x4eb42d
cmp dword [0xaa3220], 0
jbe 0x4eb42d
mov eax, 0xaa3214
call dword [fcn.00aa3230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0xa92090
push 0xfffffffffffffff5
call fcn.004e81b0
push eax
call fcn.004e81e8
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4eb48c
push 0xfffffffffffffff5
call fcn.004e81b0
push eax
call fcn.004e81e8
pop edx
ret
cmp byte [0xa92030], 0
jne 0x4eb481
push 0
push 0xa92088
push 0xa92090
push 0
call fcn.004e8200
pop edx
ret
Function at 0x4ec9f8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x121]
push eax
push 0
call fcn.004e8238
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4ecc3c
push reloc.WS2_32.dll_accept
call fcn.004e8290
test eax, eax
je 0x4eca7a
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4ecc3c
push closesocket
call fcn.004e8290
test eax, eax
je 0x4eca7a
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4ecc58
push reloc.WS2_32.dll_accept
call fcn.004e8290
test eax, eax
jne 0x4ecb03
xor eax, eax
push ebp
push 0x4ecafc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x121]
mov edx, 0x105
call fcn.004ec820
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x121]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004e8298
test eax, eax
je 0x4ecae1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4ecc78
mov eax, dword [ebp - 8]
push eax
call fcn.004e8298
test eax, eax
je 0x4ecae1
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ecb03
mov eax, dword [ebp - 8]
push eax
call fcn.004e8288
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x121]
push eax
call fcn.004e8270
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call fcn.004e8258
push eax
call fcn.004e8230
xor ebx, ebx
cmp byte [ebp - 0x121], 0
je 0x4ecc33
cmp byte [ebp - 0xd], 0
jne 0x4ecb4a
cmp byte [ebp - 0x12], 0
je 0x4ecc33
lea eax, [ebp - 0x121]
push eax
call fcn.004e8278
lea edx, [ebp - 0x121]
add eax, edx
mov dword [ebp - 0x1c], eax
jmp 0x4ecb66
dec dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp byte [eax], 0x2e
je 0x4ecb79
lea eax, [ebp - 0x121]
cmp eax, dword [ebp - 0x1c]
jne 0x4ecb63
lea eax, [ebp - 0x121]
cmp eax, dword [ebp - 0x1c]
je 0x4ecc33
inc dword [ebp - 0x1c]
cmp byte [ebp - 0x12], 0
je 0x4ecbbd
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004e8270
push 2
push 0
lea eax, [ebp - 0x121]
push eax
call fcn.004e8260
mov ebx, eax
test ebx, ebx
jne 0x4ecc33
cmp byte [ebp - 0xd], 0
je 0x4ecc33
lea eax, [ebp - 0x121]
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004e8270
push 2
push 0
lea eax, [ebp - 0x121]
push eax
call fcn.004e8260
mov ebx, eax
test ebx, ebx
jne 0x4ecc33
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x121]
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004e8270
push 2
push 0
lea eax, [ebp - 0x121]
push eax
call fcn.004e8260
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ed304
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4ed36a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call fcn.004e8230
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004eb7f8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004ea234
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4ed354
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed371
lea eax, [ebp - 0x10]
call fcn.004eb588
ret

Function at 0x4f1790
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call fcn.004ed744
test eax, eax
jle 0x4f17c9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004eb678
jmp 0x4f17d2
mov eax, ebx
mov edx, esi
call fcn.004eb5dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4f17dc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call fcn.004ed744
test eax, eax
jle 0x4f17fd
mov al, byte [esp]
jmp 0x4f17ff
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4f2c58
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4f2cbc
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call fcn.004ed744
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004eb7f8
mov eax, dword [ebp - 0xc]
push eax
call fcn.004ed704
mov edx, eax
pop eax
call fcn.004eec20
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f2cc3
lea eax, [ebp - 0xc]
call fcn.004eb588
ret
Function at 0x4f3d84
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0xa9233c
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x4f3e48
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x4f3dbc
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x4f3e5f
dec edx
je 0x4f3ea0
jmp 0x4f3efd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x4f3efd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret