joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50ffb8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x50ffcf
add esp, 0xfffffff0
call fcn.00405528
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004513d0
mov eax, dword [0x532ed4]
cmp byte [eax], 0
jne 0x50fffc
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x5331b8]
cmp word [eax + 2], 0
jne 0x510016
mov eax, dword [0x5331b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005121ac
mov eax, dword [0x5332e0]
cmp word [eax + 2], 0
jne 0x510030
mov eax, dword [0x5332e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005123b0
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x45fcb4]
call fcn.00465cb4
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x512928
mov dl, 1
mov eax, dword [0x436bb0]
call fcn.00404eec
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x436bb0]
call fcn.00404eec
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x464594]
call fcn.0046f300
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x510214
mov eax, dword [0x533094]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0046f790
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x512c10
mov dl, 1
mov eax, dword [0x436bb0]
call fcn.00404eec
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x533094]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041f090
test eax, eax
je 0x510144
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041ee40
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041f074
test eax, eax
je 0x51015c
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004077c4
push ebx
push 0x511b84
call fcn.00505b70
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x532ed4]
cmp byte [eax], 0
jne 0x5101ad
mov eax, ebx
call fcn.005103d4
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.00512e58
mov eax, ebx
call fcn.00513a84
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x51020a
call fcn.00405580
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51070c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x5107b8
cmp dword [ebx + 0x98], 0
jne 0x5107b2
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x510644
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x5107b2
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x510778
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5107b2
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.004441d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x510787
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5109d8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5392c0]
cmp dword [eax + 0x178], 0
je 0x510b3d
test bl, bl
jne 0x510a8b
cmp dword [esi + 0xa0], 0
jne 0x510a80
mov eax, esi
call fcn.005138d4
push eax
push 0x5108e4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x510a51
mov eax, dword [0x5392c0]
cmp byte [eax + 0xd7], 0
je 0x510a51
mov eax, dword [esi + 0xdc]
call fcn.004088a0
mov edi, eax
cmp edi, 0
jl 0x510a51
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x510a3a
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x510a80
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004441d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x510a60
inc dword [esi + 0xa0]
jmp 0x510b3d
cmp dword [esi + 0xa0], 0
jle 0x510b3d
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x510b3d
cmp dword [esi + 0x48], 0
je 0x510ae8
mov eax, dword [0x5392c0]
cmp byte [eax + 0xd7], 0
je 0x510ae8
mov eax, dword [esi + 0xdc]
call fcn.004088a0
mov edi, eax
cmp edi, 0
jl 0x510ae8
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x510ad1
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x510b17
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004441d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x510af7
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x502ad0]
call fcn.00408a4c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x511790
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x5117fb
cmp byte [ebx + 0xd7], 0
jne 0x5117fb
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406d70
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x5117e8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x511808
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00406fc8
jmp 0x511808
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00406fc8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x513040
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x5130ae
mov eax, esi
call fcn.004a323c
test al, al
je 0x5130ae
mov eax, dword [ebx + 0x88]
call fcn.004a2e88
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5130ae
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x5130a2
push 0
mov eax, dword [ebx + 0x88]
call fcn.004a2e88
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.00499ca4
jmp 0x5130ae
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.00512e78
pop esi
pop ebx
ret
Function at 0x517808
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x517882
mov eax, dword [ebx + 8]
call fcn.004a2e88
mov ecx, eax
mov dl, 1
mov eax, dword [0x4aecd4]
call fcn.0049d2ac
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.004b336c
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x517100
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.004a2e88
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.004a2e88
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5178f8
mov eax, dword [ebx + 8]
call fcn.004a2e88
mov ecx, eax
mov dl, 1
mov eax, dword [0x4aecd4]
call fcn.0049d2ac
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.004b336c
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x51714c
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.004a2e88
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.004a2e88
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x517964
mov eax, dword [ebx + 8]
call fcn.004a2e88
mov ecx, eax
mov dl, 1
mov eax, dword [0x4af710]
call fcn.0049d2ac
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x278], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.004a2e88
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.004a2e88
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x522848
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00406ccc
xor eax, eax
push ebp
push 0x522987
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x52295a
xor edx, edx
push ebp
push 0x522953
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x522895
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x522928
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x522917
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x5228da
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.00407730
lea ecx, [esi + 2]
mov edx, ebx
call fcn.004046b0
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52291e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x532f4c]
mov dl, 1
mov eax, dword [0x418ac8]
call fcn.00423898
call fcn.0040629c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52298e
lea eax, [ebp - 4]
call fcn.00406be8
ret
Function at 0x869166
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x863140]
jne 0x869170
repz ret
jmp fcn.008694af

Function at 0x86f328
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x863140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0086a976
and dword [ebp - 0x14], 0
cmp dword [0x866b2c], 0
mov dword [ebp - 0x18], eax
jne 0x86f3db
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x86f483
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x86f483
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x866b2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x866b30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x866b34], eax
call edi
push eax
call esi
mov dword [0x866b3c], eax
test eax, eax
je 0x86f3db
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x866b38], eax
mov eax, dword [0x866b38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x86f434
cmp dword [0x866b3c], ecx
je 0x86f434
push eax
call esi
push dword [0x866b3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x86f434
test ebx, ebx
je 0x86f434
call edi
test eax, eax
je 0x86f42b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x86f42b
test byte [ebp - 8], 1
jne 0x86f434
or dword [ebp + 0x10], 0x200000
jmp 0x86f467
mov eax, dword [0x866b30]
cmp eax, dword [ebp - 0x18]
je 0x86f467
push eax
call esi
test eax, eax
je 0x86f467
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x86f467
mov eax, dword [0x866b34]
cmp eax, dword [ebp - 0x18]
je 0x86f467
push eax
call esi
test eax, eax
je 0x86f467
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x866b2c]
call esi
test eax, eax
je 0x86f483
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x86f485
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00869166
leave
ret
Function at 0x4b8840
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7a000]
push edi
jmp 0x4b885a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b8861
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8850
mov eax, 1
add ebx, ebx
jne 0x4b8873
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b8884
jne 0x4b88a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b88a3
dec eax
add ebx, ebx
jne 0x4b8890
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b8868
add ebx, ebx
jne 0x4b889f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b88f5
xor ecx, ecx
sub eax, 3
jb 0x4b88bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b892a
sar eax, 1
mov ebp, eax
jmp 0x4b88c6
add ebx, ebx
jne 0x4b88c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8894
inc ecx
add ebx, ebx
jne 0x4b88d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8894
add ebx, ebx
jne 0x4b88e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b88d6
jne 0x4b88f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b88d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b8914
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b8906
jmp 0x4b8856
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b8914
add edi, ecx
jmp 0x4b8856
pop esi
mov edi, esi
mov ecx, 0x36f5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b8932
cmp byte [edi], 0x24
jne 0x4b8932
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b8937
lea edi, [esi + 0xb5000]
mov eax, dword [edi]
or eax, eax
je 0x4b89af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb98b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb99b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b8964
mov ecx, edi
jns 0x4b8993
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb99bc]
or eax, eax
je 0x4b89a9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b8981
call dword [esi + 0xb99cc]
mov ebp, dword [esi + 0xb99c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b89e3
sub esp, 0xffffff80
jmp 0x4595e0
Function at 0x10004820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004829
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x10004840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004849
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x10005590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10005599
pop esi
pop ebp
ret 8

Function at 0x100055b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055b9
pop esi
pop ebp
ret 4

Function at 0x100055d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055d9
pop esi
pop ebp
ret 8
Function at 0x100184b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x1017c928]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1017f7a8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x60], ebx
test eax, eax
jne 0x10018588
push esi
push 0x55
pop esi
push esi
push 0x1017f7b0
push 0x5c
push ebx
call dword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x10018572
push esi
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.100a6450
add esp, 0xc
mov eax, ebx
cmp word [eax*2 + 0x1017f7b0], 0x5f
mov cl, 0x2d
je 0x10018512
mov cl, byte [eax*2 + 0x1017f7b0]
mov byte [ebp + eax - 0x5c], cl
test cl, cl
je 0x1001851f
inc eax
cmp eax, esi
jl 0x100184fe
cmp eax, esi
push 0x41
sbb al, al
and byte [ebp - 8], al
call sym.icucnv67.dll_public:_static_void___cdecl_icu_67::ICU_Utility::appendToRule_class_icu_67::UnicodeString___int__signed_char__signed_char__class_icu_67::UnicodeString__
mov esi, eax
pop ecx
test esi, esi
je 0x10018572
lea eax, [ebp - 0x60]
push eax
push 0x40
lea eax, [ebp - 0x5c]
push esi
push eax
call sym.icucnv67.dll_public:_static_void___cdecl_icu_67::ICU_Utility::appendToRule_class_icu_67::UnicodeString___int__signed_char__signed_char__class_icu_67::UnicodeString__
add esp, 0x10
cmp dword [ebp - 0x60], ebx
jg 0x1001856b
push 0x10017d70
push 0x15
mov byte [eax + esi], bl
mov dword [0x1017f7a8], esi
mov byte [0x1017f7ac], 1
call sym.icucnv67.dll_public:_static_void___cdecl_icu_67::ICU_Utility::appendToRule_class_icu_67::UnicodeString___int__signed_char__signed_char__class_icu_67::UnicodeString__
pop ecx
jmp 0x10018571
push esi
call sym.icucnv67.dll_public:_static_void___cdecl_icu_67::ICU_Utility::appendToRule_class_icu_67::UnicodeString___int__signed_char__signed_char__class_icu_67::UnicodeString__
pop ecx
mov ecx, dword [0x1017f7a8]
mov eax, 0x100fbd80
test ecx, ecx
pop esi
cmovne eax, ecx
mov dword [0x1017f7a8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100814c9
leave
ret
Function at 0x10035ee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x10035eef
pop dword [ebp - 0x24]
mov eax, 0x8e2afd85
sub eax, 0x7e279e96
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x746f4
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x18c07f8e
sub ecx, 0x18c0279c
xor ebx, ebx
add ebx, eax
mov esi, 0xd24eedaa
sub esi, 0xc23621aa
add esi, dword [ebp - 0x24]
mov edi, 0x21f09c1e
add edi, 0xb0a03d01
xor dword [ebp - 0x18], edi
mov edx, dword [esi]
add dword [ebp - 4], edx
add edx, edi
add dword [ebp - 0x14], ebx
mov dword [ebx], edx
xor dword [ebp - 0xc], 0x13d74592
add ebx, 4
add esi, 4
loop 0x10035f4b
add eax, 0xca871a6a
sub eax, 0xca85c7cf
xor ebx, ebx
add ebx, eax
add eax, 0xa70b7792
sub eax, 0xa70b778d
mov ecx, 0x71a70c4b
add ecx, 0x9e58f3b5
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x1004fc10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov eax, dword [edi + 0xc]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
test eax, eax
jle 0x1004fc67
mov ebx, dword [edi + 4]
movzx edx, byte [ebp + 8]
mov ecx, dword [ebx + esi*8]
mov ebx, dword [ebx + esi*8 + 4]
movzx eax, cl
dec ebx
mov dword [ebp - 4], eax
mov eax, ebx
xor eax, ecx
test eax, 0xffffff00
jne 0x1004fc52
cmp dword [ebp - 4], edx
ja 0x1004fc5e
jmp 0x1004fc57
cmp dword [ebp - 4], edx
jbe 0x1004fcab
movzx eax, bl
cmp edx, eax
jbe 0x1004fcab
mov ebx, dword [edi + 4]
inc esi
cmp esi, dword [ebp - 8]
jl 0x1004fc32
lea ecx, [edi - 4]
call sym.icucnv67.dll_private:_signed_char___thiscall_icu_67::UnicodeSet::hasStrings_void_const
test al, al
je 0x1004fca2
mov eax, dword [edi + 0x28]
xor esi, esi
cmp dword [eax + 4], esi
jle 0x1004fca2
movzx ebx, byte [ebp + 8]
push esi
mov ecx, eax
call sym.icucnv67.dll_public:_static_void___cdecl_icu_67::ICU_Utility::appendToRule_class_icu_67::UnicodeString___int__signed_char__signed_char__class_icu_67::UnicodeString__
push 0
mov ecx, eax
call sym.icucnv67.dll_public:_static_void___cdecl_icu_67::ICU_Utility::appendToRule_class_icu_67::UnicodeString___int__signed_char__signed_char__class_icu_67::UnicodeString__
movzx eax, al
cmp eax, ebx
je 0x1004fcab
mov eax, dword [edi + 0x28]
inc esi
cmp esi, dword [eax + 4]
jl 0x1004fc81
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
mov al, 1
jmp 0x1004fca4