joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1017e09f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1017e13c
push ebx
push esi
call fcn.1017e068
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1017cb21
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1017e0e9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1017e13b
push edi
push eax
call fcn.10175d7a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1017e109
call fcn.10175d40
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1017e13a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1017cb21
add esp, 0x20
test eax, eax
jne 0x1017e128
push edi
call fcn.10175d40
jmp 0x1017e130
push ebx
call fcn.10175d40
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1017e13f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1017e150
pop esi
ret
push ebx
push edi
push esi
call fcn.1017e068
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10175d7a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1017e178
push ebx
push esi
push edi
call fcn.1015d680
add esp, 0xc
push 0
call fcn.10175d40
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1017e8d2
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1017e3ed

Function at 0x10180eac
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1017417c
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10180f1b
cmp esi, dword [ebp - 4]
je 0x10180f16
cmp dword [ebp + 0xc], 0
je 0x10180f16
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10180ef3
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.101809fe
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10180f1d
xor eax, eax
inc eax
jmp 0x10180f1d
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10180f82
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10216574]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1017417c
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1017417c
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10180ff9
cmp word [ecx], dx
je 0x10180ff9
mov eax, dword [0x101ec804]
push edi
dec eax
push eax
push 0x101ec6f0
call fcn.10180f21
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1018106c
cmp word [eax], dx
je 0x1018106c
mov eax, dword [edi]
test eax, eax
je 0x1018101d
cmp word [eax], dx
je 0x1018101d
lea eax, [ebp - 0x10]
push eax
call fcn.10180904
jmp 0x10181026
lea eax, [ebp - 0x10]
push eax
call fcn.1018099f
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10181096
mov eax, dword [0x101ec6ec]
push dword [ebp - 0x14]
dec eax
push eax
push 0x101ec3e0
call fcn.10180f21
add esp, 0xc
test al, al
je 0x10181096
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10181061
cmp word [eax], di
je 0x10181061
lea eax, [ebp - 0x10]
push eax
call fcn.10180904
pop ecx
jmp 0x10181098
lea eax, [ebp - 0x10]
push eax
call fcn.1018099f
jmp 0x1018105e
mov eax, dword [edi]
test eax, eax
je 0x10181083
cmp word [eax], dx
je 0x10181083
lea eax, [ebp - 0x10]
push eax
call fcn.101808b9
pop ecx
jmp 0x10181096
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10181161
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10180da6
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10181161
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10181161
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10181161
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x101810ee
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.101777f9
test ebx, ebx
je 0x1018115c
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.101777f9
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10181161
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10181161
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10170956
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10181163
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1015b166
leave
ret
Function at 0x1018568b
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10185607
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x101857fa
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x101857fa
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x101857af
jg 0x101856e7
test eax, eax
je 0x101857a5
push 1
push 0x1000
call fcn.10177ab3
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1018570a
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1018579c
push 0x8000
push ebx
call fcn.10169b51
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10185733
jg 0x1018572e
cmp ecx, 0x1000
jb 0x10185733
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10178767
add esp, 0x10
cmp eax, 0xffffffff
je 0x10185778
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1018572e
jl 0x1018575f
test ecx, ecx
jne 0x10185720
push dword [ebp - 0xc]
push ebx
call fcn.10169b51
push esi
call fcn.10175d40
add esp, 0xc
xor ebx, ebx
jmp 0x10185808
cmp byte [edi + 0x24], 0
je 0x1018578f
cmp dword [edi + 0x20], 5
jne 0x1018578f
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1018579a
mov ebx, dword [edi + 0x18]
jmp 0x1018579c
xor ebx, ebx
push esi
call fcn.10175d40
pop ecx
jmp 0x10185808
test ecx, ecx
jg 0x10185771
jl 0x101857af
test eax, eax
jae 0x10185771
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1017928a
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x101857cf
cmp byte [edi + 0x1c], 0
je 0x10185771
jmp 0x10185800
push ebx
call fcn.10172c97
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10185771
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10185808
cmp byte [edi + 0x1c], 0
je 0x10185805
mov ebx, dword [edi + 0x18]
jmp 0x10185808
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1017928a
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x101863e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1018640d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1018640d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1018a7d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1020ebb0
push 0x1015cf90
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x10216574]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, ecx
mov eax, dword [0x10221824]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test al, 1
jne 0x1018a829
or eax, 1
mov dword [0x10221824], eax
call esi
mov dword [0x10221828], eax
call esi
mov ecx, eax
sub ecx, dword [0x10221828]
cmp ecx, 0x3e8
jb 0x1018a9e3
mov dword [0x10221828], eax
push 0x101efa1c
push ebx
call fcn.1015d0f0
mov esi, eax
push 0x104
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.1015d520
add esp, 0x14
test esi, esi
je 0x1018a9e3
mov dword [ebp - 4], 0
mov eax, esi
sub eax, ebx
push eax
push ebx
lea eax, [ebp - 0x120]
push eax
call fcn.10160e30
add esp, 0xc
lea ecx, [ebp - 0x120]
call fcn.10189b80
mov edi, eax
test edi, edi
je 0x1018a9dc
inc esi
push 0x101efa20
push esi
call fcn.1015d0f0
add esp, 8
test eax, eax
jne 0x1018a9bb
push 0x101efa24
push esi
call fcn.1015d0f0
add esp, 8
test eax, eax
jne 0x1018a9bb
push 0x101efa28
push esi
call fcn.1015d0f0
add esp, 8
test eax, eax
je 0x1018a8eb
mov ecx, edi
call fcn.10189b00
jmp 0x1018a9c2
push 0x101efa2c
push esi
call fcn.1015d0f0
add esp, 8
test eax, eax
jne 0x1018a9c2
push 0x101efa30
push esi
call fcn.1015d0f0
add esp, 8
test eax, eax
je 0x1018a91f
mov ecx, edi
call fcn.101892d0
jmp 0x1018a9c2
push 0x101efa34
push esi
call fcn.1015d0f0
add esp, 8
test eax, eax
je 0x1018a940
lea edx, [eax + 4]
mov ecx, edi
call fcn.10189270
jmp 0x1018a9c2
push 0x101efa38
push esi
call fcn.1015d0f0
add esp, 8
test eax, eax
je 0x1018a95e
lea edx, [eax + 4]
mov ecx, edi
call fcn.10189220
jmp 0x1018a9c2
push 0x101efa3c
push esi
call fcn.1015d0f0
add esp, 8
test eax, eax
je 0x1018a97c
lea edx, [eax + 4]
mov ecx, edi
call fcn.101891d0
jmp 0x1018a9c2
push 0x101efa40
push esi
call fcn.1015d0f0
add esp, 8
test eax, eax
je 0x1018a9c2
push 0x101efa44
push ebx
call fcn.1015d0f0
add esp, 8
test eax, eax
jne 0x1018a9c2
push 0x101efa4c
push ebx
call fcn.1015d0f0
add esp, 8
test eax, eax
jne 0x1018a9c2
mov ecx, edi
call fcn.10189b00
jmp 0x1018a9c2
mov ecx, edi
call fcn.101892f0
test edi, edi
je 0x1018a9dc
push 0x10
push edi
call fcn.1015b197
add esp, 8
jmp 0x1018a9dc
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1015b166
mov esp, ebp
pop ebp
ret
Function at 0x1018aec0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10216574]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x104
lea eax, [ebp - 0x128]
mov ebx, ecx
push 0
push eax
call fcn.1015d520
add esp, 0xc
mov eax, 0x5fe9d4
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x12c], eax
push dword [ebp - 0x12c]
lea eax, [ebp - 0x128]
push 0x101efb10
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x12c], esi
push edi
lea edi, [esi + 0x3e9]
mov ecx, ebx
push edi
call fcn.1001b626
push 0
push 0
push 0xf1
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x24]
movq qword [ebp - 0x14], xmm0
push 0x101efb1c
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 8], 0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push 0x101efb24
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
mov ecx, ebx
mov esi, eax
call fcn.1001b626
push 0
push esi
push 0xf1
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp - 0x12c]
inc esi
mov dword [ebp - 0x12c], esi
cmp esi, 0xe
jb 0x1018af21
pop edi
mov ecx, ebx
call fcn.1018b8d0
mov ecx, ebx
call fcn.1018b850
mov ecx, ebx
call fcn.1018b7d0
mov ecx, ebx
call fcn.1018b750
mov ecx, ebx
call fcn.1018b6d0
mov ecx, ebx
call fcn.1018b650
mov ecx, ebx
call fcn.1018b5d0
mov ecx, ebx
call fcn.1018b560
mov ecx, ebx
call fcn.1018b4e0
mov ecx, ebx
call fcn.1018b460
mov ecx, ebx
call fcn.1018b3e0
mov ecx, ebx
call fcn.1018b360
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1015b166
mov esp, ebp
pop ebp
ret
Function at 0x1018b950
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x10216574]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x3f7
mov esi, ecx
call fcn.1001b626
mov ecx, eax
call fcn.1001c178
push 0
push 0x405
mov ecx, esi
call fcn.1001b626
mov ecx, eax
call fcn.1001c178
push 0
push 0x406
mov ecx, esi
call fcn.1001b626
mov ecx, eax
call fcn.1001c178
push 0
push 0x407
mov ecx, esi
call fcn.1001b626
mov ecx, eax
call fcn.1001c178
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.1015d520
add esp, 0xc
lea eax, [ebp - 0x68]
push 0x101efa94
push 0x103
push eax
push 0x101efaa8
push 0x101efab0
push str.AllRepairItem
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x68]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1018b9f0
sub ecx, edx
lea eax, [ebp - 0x68]
push ecx
push eax
lea ecx, [esi + 0xb0]
call fcn.1000f9d0
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.1015d520
add esp, 0xc
lea eax, [ebp - 0x68]
push 0x101efac8
push 0x103
push eax
push 0x101efadc
push 0x101efae0
push str.AllSaturateItem
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1018ba42
sub eax, edx
lea ecx, [esi + 0xc8]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.1000f9d0
push 0
push 0x3e8
push 0x577
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1015b166
mov esp, ebp
pop ebp
ret

Function at 0x1018bd00
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.10012621
push eax
lea ecx, [ebp - 1]
call fcn.1001e477
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1018bd49
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push str.HelpTools.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push 0x1018bdc0
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x10221070], eax
lea ecx, [ebp - 1]
call fcn.1000f700
mov esp, ebp
pop ebp
ret

Function at 0x1018c210
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.1001e9b4
mov ecx, esi
call fcn.1001d96b
mov eax, dword [0x10221654]
push 0
push 0
push 0
push 0x1018c270
push 0
push 0
mov dword [0x1022137c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.10192b60
mov eax, 1
pop esi
ret
Function at 0x1018e2b0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.1018e4c0
add esp, 4
test eax, eax
js 0x1018e4b2
push ebx
push edi
mov edi, dword [esi + 0xf0]
xor ebx, ebx
shl edi, 2
test edi, edi
jle 0x1018e328
mov eax, dword [ebp + 8]
lea esi, [esi + edi*4]
add esi, 8
add eax, 8
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x1018e2e5
mov esi, dword [ebp + 8]
mov ebx, 1
cmp dword [esi + 0xf0], ebx
jle 0x1018e4ae
lea edi, [esi + 4]
nop dword [eax]
movzx eax, byte [edi + 0xd]
lea edi, [edi + 0x10]
mov edx, dword [edi - 4]
inc ebx
movzx ecx, byte [eax*4 + 0x101f1800]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x101f0400]
movzx eax, byte [eax*4 + 0x101f1800]
xor ecx, dword [eax*4 + 0x101f0c00]
movzx eax, byte [edi - 2]
movzx eax, byte [eax*4 + 0x101f1800]
xor ecx, dword [eax*4 + 0x101f0800]
movzx eax, dl
mov edx, dword [edi]
movzx eax, byte [eax*4 + 0x101f1800]
xor ecx, dword [eax*4 + 0x101f0000]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi - 4], ecx
movzx ecx, byte [eax*4 + 0x101f1800]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x101f0800]
movzx eax, byte [eax*4 + 0x101f1800]
xor ecx, dword [eax*4 + 0x101f0400]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x101f1800]
xor ecx, dword [eax*4 + 0x101f0c00]
movzx eax, dl
mov edx, dword [edi + 4]
movzx eax, byte [eax*4 + 0x101f1800]
xor ecx, dword [eax*4 + 0x101f0000]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi], ecx
movzx ecx, byte [eax*4 + 0x101f1800]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x101f0800]
movzx eax, byte [eax*4 + 0x101f1800]
xor ecx, dword [eax*4 + 0x101f0400]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x101f1800]
xor ecx, dword [eax*4 + 0x101f0c00]
movzx eax, dl
mov edx, dword [edi + 8]
movzx eax, byte [eax*4 + 0x101f1800]
xor ecx, dword [eax*4 + 0x101f0000]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi + 4], ecx
movzx ecx, byte [eax*4 + 0x101f1800]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x101f0800]
movzx eax, byte [eax*4 + 0x101f1800]
xor ecx, dword [eax*4 + 0x101f0400]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x101f1800]
xor ecx, dword [eax*4 + 0x101f0c00]
movzx eax, dl
movzx eax, byte [eax*4 + 0x101f1800]
xor ecx, dword [eax*4 + 0x101f0000]
mov dword [edi + 8], ecx
cmp ebx, dword [esi + 0xf0]
jl 0x1018e340
pop edi
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x1018e4c0
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
test edx, edx
je 0x1018e642
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1018e642
mov dword [ecx + 0xf0], 0xa
mov eax, dword [edx]
push ebx
mov ebx, eax
rol eax, 8
and eax, 0xff00ff
ror ebx, 8
and ebx, 0xff00ff00
or ebx, eax
mov dword [ecx], ebx
mov eax, dword [edx + 4]
push esi
push edi
mov edi, eax
rol eax, 8
and eax, 0xff00ff
ror edi, 8
and edi, 0xff00ff00
or edi, eax
mov dword [ecx + 4], edi
mov eax, dword [edx + 8]
mov esi, eax
rol eax, 8
and eax, 0xff00ff
ror esi, 8
and esi, 0xff00ff00
or esi, eax
mov dword [ecx + 8], esi
mov eax, dword [edx + 0xc]
mov edx, eax
rol eax, 8
and eax, 0xff00ff
ror edx, 8
and edx, 0xff00ff00
or edx, eax
mov dword [ecx + 0xc], edx
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + 0x101f1400]
mov eax, edx
shr eax, 8
xor ecx, 0x1000000
movzx eax, al
and ecx, 0xff000000
mov eax, dword [eax*4 + 0x101f1000]
and eax, 0xff0000
xor ecx, eax
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x101f1800]
xor ecx, eax
movzx eax, dl
mov eax, dword [eax*4 + 0x101f1c00]
and eax, 0xff00
xor ecx, eax
xor ecx, ebx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x10]
mov dword [eax], ecx
xor ecx, edi
mov edi, 0x101effa4
mov dword [ebx + 0x14], ecx
xor ecx, esi
mov dword [ebx + 0x18], ecx
xor ecx, edx
mov dword [ebx + 0x1c], ecx
nop
mov ebx, dword [eax + 0xc]
mov esi, eax
add eax, 0x10
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [ecx*4 + 0x101f1000]
mov ecx, ebx
shr ecx, 0x10
and edx, 0xff0000
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x101f1400]
and ecx, 0xff000000
xor edx, ecx
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx*4 + 0x101f1800]
xor edx, ecx
movzx ecx, bl
mov ecx, dword [ecx*4 + 0x101f1c00]
and ecx, 0xff00
xor edx, ecx
xor edx, dword [edi]
add edi, 4
xor edx, dword [esi]
mov dword [eax], edx
mov ecx, dword [eax - 0xc]
xor ecx, edx
mov dword [eax + 4], ecx
mov edx, dword [eax - 8]
xor edx, ecx
mov dword [eax + 8], edx
xor edx, ebx
mov dword [eax + 0xc], edx
cmp edi, 0x101effc8
jne 0x1018e5c0
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
ret
or eax, 0xffffffff
pop ebp
ret
Function at 0x10192960
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [sym.imp.WS2_32.dll_recv]
add eax, 5
jmp eax

Function at 0x10192970
Capabilities:
Send data
Send data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [sym.imp.WS2_32.dll_send]
add eax, 5
jmp eax

Function at 0x10192980
Capabilities:
Connect socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [sym.imp.WS2_32.dll_connect]
add eax, 5
jmp eax
Function at 0x10194920
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x10216574]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x64
lea eax, [ebp - 0x68]
mov esi, ecx
push 0
push eax
call fcn.1015d520
add esp, 0xc
lea eax, [ebp - 0x68]
push 0x101f2988
push 0x103
push eax
push 0x101f299c
push 0x101f29a4
push str.AllSmeltItem
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10194970
sub eax, edx
lea ecx, [esi + 0xb0]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.1000f9d0
push 0x3ec
push 0x3ec
push 0x3eb
mov ecx, esi
call fcn.1001b4a3
push 0
push 0x3e8
push 0x57b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1015b166
mov esp, ebp
pop ebp
ret