joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10088bb0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x28]
cmp ax, 9
je 0x10088be8
cmp ax, 6
je 0x10088be8
push 1
mov edx, str.PreventFirstRunPage
mov ecx, str.SOFTWAREPoliciesMicrosoftMicrosoftEdge
call fcn.10085dd0
add esp, 4
mov esp, ebp
pop ebp
ret
sub esp, 8
mov dword [ebp - 4], 1
lea eax, [ebp - 4]
push eax
push ecx
call fcn.10085d40
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x10088c10
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10139252
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x1017cf40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x220], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x21c], 0
call fcn.101135a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10088caa
mov eax, dword [esi]
jmp 0x10088cac
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x218], cx
je 0x10088cd2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10088cc3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.10073a90
push 0xe
mov dword [ebp - 4], 0
mov ecx, esi
push str.SogouExplorer
mov dword [ebp - 0x21c], 1
call fcn.10074410
cmp dword [esi + 0x14], 8
jb 0x10088d0a
mov eax, dword [esi]
jmp 0x10088d0c
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xe
push str._favorite3.dat
mov ecx, esi
call fcn.10074410
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
Function at 0x10088d40
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10139288
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1017cf40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x38], edi
push 0x1016ea80
push 0x85
mov dword [ebp - 4], edi
push dword [0x10182df8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x10088dae
push esi
push dword [0x10182df8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
xor eax, eax
test edi, edi
mov dword [ebp - 0x38], edi
cmove esi, eax
mov dword [ebp - 0x34], esi
lea ecx, [ebp - 0x28]
call fcn.10088c10
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x1016ea0c
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
call fcn.1011764a
add esp, 0xc
cmp dword [ebp - 0x2c], 0
je 0x10088e46
test edi, edi
jne 0x10088dfa
xor ebx, ebx
jmp 0x10088e03
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test esi, esi
jne 0x10088e14
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x38]
jmp 0x10088e28
push esi
push dword [0x10182df8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x34], 0
test ebx, ebx
je 0x10088e3b
push dword [ebp - 0x2c]
push eax
push 1
push ebx
call fcn.1011f890
add esp, 0x10
push dword [ebp - 0x2c]
call fcn.10116eb0
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10088e5b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1006f7f0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test edi, edi
je 0x10088e7a
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret

Function at 0x10088ea0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1017cf40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.101135a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x10088f0f
xor ecx, ecx
jmp 0x10088f2f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10088f20
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.10073a90
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
Function at 0x10088f50
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1017cf40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.101135a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x10088fbf
xor ecx, ecx
jmp 0x10088fdf
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10088fd0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.10073a90
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
Function at 0x1008fff0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [edi], 0
cmp dword [0x1017f008], 0
je 0x10090047
mov eax, dword [0x10182e30]
test eax, eax
je 0x10090020
push eax
call dword [0x1017f060]
add esp, 4
lea edx, [ebp - 4]
mov ecx, 0x14
call fcn.1008d6d0
mov eax, dword [0x10182e30]
test eax, eax
je 0x10090042
push eax
call dword [0x1017f068]
mov esi, dword [ebp - 4]
jmp 0x10090051
mov esi, dword [ebp - 4]
jmp 0x10090054
push 0x14
call dword [0x1017f030]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10090062
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x1017f00c], 0
mov ebx, dword [ebp + 8]
je 0x100900ac
mov eax, dword [0x1017f110]
test eax, eax
je 0x10090085
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x100900ac
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x1008ffc0
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.101250a1
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x100900b9
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x100900d2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x10], eax
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b0380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
mov ecx, ebx
call fcn.100a34b0
mov edi, dword [ebx + 0x18]
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x1c], eax
movsx eax, byte [ebx + 0x44]
mov dword [ebp - 0x14], esi
mov esi, dword [ebx + 0x1c]
mov eax, dword [ebx + eax*4 + 0x78]
mov ecx, dword [eax + 0x3c]
movzx eax, word [ebx + 0x20]
sub ecx, edi
cmp eax, ecx
cmovb ecx, eax
cmp esi, ecx
ja 0x100b03d1
mov eax, 0x1010
mov dword [ebp - 0x24], edi
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x28], esi
jmp 0x100b03f0
lea eax, [ebp - 0x34]
xor edx, edx
push eax
push esi
mov ecx, ebx
call fcn.100ab1c0
add esp, 8
test eax, eax
jne 0x100b04b1
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov al, byte [edi]
cmp al, 0x80
jae 0x100b03fb
movzx ebx, al
jmp 0x100b0408
lea edx, [ebp - 8]
mov ecx, edi
call fcn.100919d0
mov ebx, dword [ebp - 8]
cmp ebx, 3
jb 0x100b0477
cmp ebx, esi
jg 0x100b0477
lea ecx, [edi - 1]
add ecx, ebx
mov al, byte [ecx]
cmp al, 0x80
jae 0x100b0421
movzx edx, al
jmp 0x100b042c
lea edx, [ebp - 8]
call fcn.100919d0
mov edx, dword [ebp - 8]
lea eax, [edx - 1]
cmp eax, 8
ja 0x100b0477
cmp edx, 7
je 0x100b0477
movzx ecx, byte [edx + 0x1016bed0]
lea eax, [ecx + ebx]
cmp esi, eax
jb 0x100b0477
sub esi, ecx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [edi + esi]
call fcn.100aefe0
mov ecx, dword [ebp + 8]
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x34]
call fcn.100aa920
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [ebp - 0x2c], 0x2460
jne 0x100b0486
cmp dword [ebp - 0x1c], 0
je 0x100b048e
lea ecx, [ebp - 0x34]
call fcn.100aa880
push 0x10171140
push 0x1273c
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.1008fdf0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b04c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [edx + 0x28]
mov ebx, ecx
mov ecx, edi
call fcn.100a34b0
mov esi, dword [edi + 0x1c]
xor eax, eax
mov edx, esi
add edx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x100b0581
jb 0x100b04f8
cmp edx, 0x7ffffffe
ja 0x100b0581
xor eax, eax
mov dword [ebp - 8], ebx
mov word [ebp - 0x20], ax
mov dword [ebp - 0x10], eax
movsx eax, byte [edi + 0x44]
mov edx, dword [edi + 0x18]
mov eax, dword [edi + eax*4 + 0x78]
mov ecx, dword [eax + 0x3c]
movzx eax, word [edi + 0x20]
sub ecx, edx
cmp eax, ecx
cmovb ecx, eax
cmp esi, ecx
ja 0x100b0532
mov eax, 0x1010
mov dword [ebp - 0x18], edx
mov word [ebp - 0x20], ax
mov dword [ebp - 0x1c], esi
jmp 0x100b054d
lea eax, [ebp - 0x28]
xor edx, edx
push eax
push esi
mov ecx, edi
call fcn.100ab1c0
add esp, 8
test eax, eax
jne 0x100b05ad
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
push 0
push dword [ebp + 8]
mov ecx, esi
call fcn.100af930
mov ecx, dword [ebp + 0xc]
add esp, 8
test dword [ebp - 0x20], 0x2460
mov dword [ecx], eax
jne 0x100b0570
cmp dword [ebp - 0x10], 0
je 0x100b0578
lea ecx, [ebp - 0x28]
call fcn.100aa880
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push 0x10171140
push 0x1275d
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
mov dword [eax], 0
call fcn.1008fdf0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c1d30
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 0
mov ebx, ecx
mov dword [esp + 0x18], eax
test edi, edi
je 0x100c1e9a
push 0
push 0x44
mov ecx, ebx
call fcn.1008dea0
mov esi, eax
add esp, 8
test esi, esi
je 0x100c1e8f
push dword [ebp + 8]
mov edx, dword [edi]
mov ecx, ebx
call fcn.100c1790
add esp, 4
mov dword [esi], eax
mov edx, dword [edi + 0x1c]
mov ecx, ebx
push dword [ebp + 8]
call fcn.100c19b0
add esp, 4
mov dword [esi + 0x1c], eax
mov edx, dword [edi + 0x20]
mov ecx, ebx
push dword [ebp + 8]
call fcn.100c1760
add esp, 4
mov dword [esi + 0x20], eax
mov edx, dword [edi + 0x24]
mov ecx, ebx
push dword [ebp + 8]
call fcn.100c1790
add esp, 4
mov dword [esi + 0x24], eax
mov edx, dword [edi + 0x28]
mov ecx, ebx
push dword [ebp + 8]
call fcn.100c1760
add esp, 4
mov dword [esi + 0x28], eax
mov edx, dword [edi + 0x2c]
mov ecx, ebx
push dword [ebp + 8]
call fcn.100c1790
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 0x2c], eax
mov ecx, ebx
mov al, byte [edi + 4]
lea edi, [esi + 0x30]
mov byte [esi + 4], al
mov eax, dword [esp + 0x1c]
push dword [ebp + 8]
mov dword [esi + 0x34], eax
mov dword [edi], 0
mov edx, dword [edx + 0x38]
call fcn.100c1760
mov dword [esi + 0x38], eax
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, ebx
push dword [ebp + 8]
mov edx, dword [eax + 0x3c]
call fcn.100c1760
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov eax, dword [ecx + 8]
and eax, 0xffffffdf
mov dword [esi + 8], eax
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x18], 0xffffffff
mov ax, word [ecx + 6]
mov word [esi + 6], ax
mov edx, dword [ecx + 0x40]
mov ecx, ebx
call fcn.100c1620
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [eax], esi
mov edi, dword [edi + 0x30]
mov dword [esp + 0x10], edi
test edi, edi
jne 0x100c1d64
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100cb690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
xor edi, edi
cmp dword [ecx + 0x14], edi
jle 0x100cb72a
nop dword [eax + eax]
mov eax, edi
mov ecx, edi
xor eax, 1
cmp edi, 2
cmovl ecx, eax
mov dword [ebp - 0x10], ecx
test esi, esi
je 0x100cb776
mov bl, byte [esi]
mov edx, ecx
mov ecx, dword [ebp - 4]
add edx, edx
mov eax, esi
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx + edx*8]
movzx ecx, bl
movzx esi, byte [ecx + 0x1016c2f0]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x1016c2f0]
sub esi, ecx
jne 0x100cb71b
sub edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
test bl, bl
je 0x100cb76c
movzx ecx, byte [edx + eax + 1]
inc eax
movzx edx, byte [ecx + 0x1016c2f0]
mov bl, byte [eax]
movzx ecx, bl
movzx esi, byte [ecx + 0x1016c2f0]
sub esi, edx
mov edx, dword [ebp - 0xc]
je 0x100cb6f7
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
inc edi
mov esi, dword [ebp + 8]
cmp edi, dword [ecx + 0x14]
jl 0x100cb6b0
mov dl, byte [ebx]
movzx eax, dl
movzx eax, byte [eax + 0x1016c2f0]
sub eax, 0x73
jne 0x100cb763
mov esi, str.sqlite_master
sub esi, ebx
test dl, dl
je 0x100cb7a3
movzx eax, byte [esi + ebx + 1]
inc ebx
movzx ecx, byte [eax + 0x1016c2f0]
mov dl, byte [ebx]
movzx eax, dl
movzx eax, byte [eax + 0x1016c2f0]
sub eax, ecx
je 0x100cb742
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x100cb71b
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
lea eax, [ebp - 0x10]
add ecx, ecx
push eax
mov eax, dword [ebp - 4]
mov edx, ebx
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
call fcn.10092250
add esp, 4
test eax, eax
je 0x100cb71e
mov eax, dword [eax + 8]
test eax, eax
jne 0x100cb765
jmp 0x100cb71e
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 0x10]
test esi, esi
jne 0x100cb7b9
neg eax
sbb eax, eax
jmp 0x100cb7c9
test eax, eax
je 0x100cb763
mov edx, eax
mov ecx, esi
call fcn.10090bc0
mov ecx, dword [ebp - 4]
test eax, eax
jne 0x100cb763
mov ebx, str.sqlite_temp_master
mov dword [ebp - 8], ebx
jmp 0x100cb6a4
Function at 0x100cb990
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ecx + 0x14]
push edi
mov dword [ebp - 0xc], edx
xor edi, edi
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edx
test eax, eax
jle 0x100cba5c
mov edx, dword [ecx + 0x10]
push ebx
mov dword [ebp - 0x14], edx
push esi
mov ecx, edi
mov eax, edi
xor ecx, 1
cmp edi, 2
cmovl eax, ecx
shl eax, 4
mov ecx, dword [eax + edx + 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100cba29
mov ebx, dword [eax + edx]
mov esi, ecx
mov al, byte [ecx]
movzx ecx, byte [ebx]
movzx edx, byte [ecx + 0x1016c2f0]
movzx ecx, al
movzx ecx, byte [ecx + 0x1016c2f0]
sub ecx, edx
jne 0x100cba17
sub ebx, esi
test al, al
je 0x100cba25
movzx ecx, byte [ebx + esi + 1]
inc esi
movzx edx, byte [ecx + 0x1016c2f0]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x1016c2f0]
sub ecx, edx
je 0x100cb9f6
mov edx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp - 0x10]
jge 0x100cba4c
mov edx, dword [ebp - 0x14]
jmp 0x100cb9b7
test ecx, ecx
jne 0x100cba17
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
add ecx, 0x18
push eax
call fcn.10092250
add esp, 4
test eax, eax
je 0x100cba55
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
test edx, edx
je 0x100cba1a
pop esi
pop ebx
mov eax, edx
pop edi
mov esp, ebp
pop ebp
ret
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x100cba1a
mov eax, edx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10105800
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10139206
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x1017cf40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], edx
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.101135a0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x21c]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10105870
mov ecx, 0xe
mov esi, str.TheWorld6User_DataDefault
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x21c]
movsw word es:[edi], word [esi]
call fcn.1007a220
lea ecx, [ebp - 0x21c]
add ecx, 0xfffffffe
nop
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x101058a0
mov eax, dword [str.Bookmarks]
sub esp, 0x18
mov dword [ecx], eax
mov edx, esp
mov eax, dword [0x10168d04]
mov dword [ecx + 4], eax
mov eax, dword [0x10168d08]
mov dword [ecx + 8], eax
mov eax, dword [0x10168d0c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10168d10]
mov dword [ecx + 0x10], eax
mov ax, word [0x10168d14]
mov word [ecx + 0x14], ax
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x101058fa
mov eax, dword [edx]
jmp 0x101058fc
mov eax, edx
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x10105908
xor ecx, ecx
jmp 0x10105919
mov ecx, ebx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10105910
sub ecx, esi
push ecx
push ebx
mov ecx, edx
call fcn.1006f560
lea ecx, [ebp - 0x234]
call fcn.10079670
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1010593f
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x24c]
call fcn.10079a00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x1010596e
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.1006f7f0
xor eax, eax
mov dword [ebp - 0x220], 7
cmp dword [ebp - 0x238], 0x10
lea edx, [ebp - 0x24c]
push ecx
push dword [ebp - 0x250]
cmovae edx, dword [ebp - 0x24c]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
call fcn.1006e810
mov ecx, dword [ebp - 0x238]
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp ecx, 0x10
jb 0x101059da
inc ecx
push ecx
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x24c]
call fcn.1006d5b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
Function at 0x1010bf80
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, edx
mov dword [esp + 0xc], ecx
mov esi, dword [edi]
test esi, esi
jne 0x1010bf9b
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, 0x400000
mov dword [edi], 0
nop dword [eax]
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
cmp esi, 0x400000
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call ebp
mov ecx, dword [esp + 0x18]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x1010bff7
test ecx, ecx
je 0x1010bfef
mov ecx, dword [esp + 0x10]
mov edx, 0x400000
test esi, esi
jne 0x1010bfb0
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x1010c220
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x24
xor eax, eax
push esi
push edi
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x10183018], ecx
inc eax
cmp eax, 0x100
jb 0x1010c227
cmp eax, 0x800
jae 0x1010c2f6
mov edx, dword [eax*4 + 0x10182c18]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x10183018]
mov dword [eax*4 + 0x10183018], edx
inc eax
cmp eax, 0x800
jb 0x1010c2d3
lea ecx, [esp + 8]
mov dword [0x10185334], 0x1010cfe0
call fcn.1010d0f0
test eax, eax
je 0x1010c383
mov edi, dword [esp + 0x18]
lea ecx, [esp + 8]
mov esi, edi
shr edi, 4
shr esi, 8
and edi, 0xf00f
and esi, 0xff00f
call fcn.1010d180
sub eax, 0
je 0x1010c36a
sub eax, 1
je 0x1010c359
sub eax, 1
jne 0x1010c383
cmp esi, 6
jb 0x1010c383
jne 0x1010c379
cmp edi, 0xf
jb 0x1010c383
mov dword [0x10185334], 0x1010d080
pop edi
pop esi
add esp, 0x24
ret
cmp esi, 5
jb 0x1010c383
jne 0x1010c379
cmp edi, 6
jb 0x1010c383
cmp edi, 0xa
jmp 0x1010c377
cmp esi, 6
jb 0x1010c383
jne 0x1010c379
cmp edi, 0x100c
je 0x1010c383
mov dword [0x10185334], 0x1010d080
pop edi
pop esi
add esp, 0x24
ret