joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10029e92
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x414
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x390], eax
push ebx
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x18a]
push edi
push eax
mov ebx, ecx
mov word [ebp + 0x188], di
call fcn.10085bc0
push esi
lea eax, [ebp - 0x7e]
push edi
push eax
mov word [ebp - 0x80], di
call fcn.10085bc0
add esp, 0x18
push edi
push 0x2b
lea eax, [ebp + 0x188]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x188]
push str._shiqiang_
push eax
call fcn.100860a3
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
lea eax, [ebp + 0x188]
push eax
call esi
test eax, eax
jne 0x10029f25
push edi
lea eax, [ebp + 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x188]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.100860cd
lea eax, [ebp - 0x80]
push str.wnsoft.ini
push eax
call fcn.100860a3
add esp, 0x10
lea eax, [ebp + 0x188]
push eax
call esi
test eax, eax
je 0x10029fa8
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x80]
push eax
push dword [ebx]
mov edi, str.Globals
push str.OnlyIdentifier1
push edi
call esi
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebx]
add eax, 0x208
push eax
push str.OnlyIdentifier2
push edi
call esi
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebx]
add eax, 0x410
push eax
push str.OnlyIdentifier3
push edi
call esi
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebx]
add eax, 0x618
push eax
push str.OnlyIdentifier4
push edi
call esi
mov ecx, dword [ebp + 0x390]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008545e
add ebp, 0x394
leave
ret
Function at 0x10029fc0
Capabilities:
Set registry value

Disassembly:
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov edi, 0xf003f
push edi
xor ebx, ebx
push ebx
push str.software
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002a0b7
push ebx
lea eax, [esp + 0x10]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push str.ShiQiang
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1002a0b7
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push dword [esi]
call edi
lea eax, [eax + eax + 2]
push eax
push dword [esi]
push 1
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.OnlyIdentifier1
push dword [esp + 0x24]
call ebx
mov eax, dword [esi]
mov ebp, 0x208
add eax, ebp
push eax
call edi
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esi]
add eax, ebp
push eax
push 1
push 0
push str.OnlyIdentifier2
push dword [esp + 0x24]
call ebx
mov eax, dword [esi]
mov ebp, 0x410
add eax, ebp
push eax
call edi
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esi]
add eax, ebp
push eax
push 1
push 0
push str.OnlyIdentifier3
push dword [esp + 0x24]
call ebx
mov eax, dword [esi]
mov ebp, 0x618
add eax, ebp
push eax
call edi
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esi]
add eax, ebp
push eax
push 1
push 0
push str.OnlyIdentifier4
push dword [esp + 0x24]
call ebx
push dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [esp + 0x14]
call esi
pop ebp
pop edi
pop esi
pop ebx
pop ecx
pop ecx
ret
Function at 0x1002a1a6
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x5c0]
sub esp, 0x640
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x5bc], eax
mov eax, dword [ebp + 0x5c8]
push ebx
mov dword [ebp - 0x78], eax
push esi
push edi
xor eax, eax
xor ebx, ebx
mov word [ebp + 0x5a8], bx
lea edi, [ebp + 0x5aa]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x206
push edi
lea eax, [ebp + 0x3a2]
push ebx
push eax
mov word [ebp + 0x3a0], bx
call fcn.10085bc0
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0x3a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x101ebef0
call fcn.10085b54
push eax
lea eax, [ebp + 0x3a0]
push eax
lea eax, [ebp + 0x5a8]
push eax
call fcn.1008657b
push edi
lea eax, [ebp + 0x19a]
push ebx
push eax
mov word [ebp + 0x198], bx
call fcn.10085bc0
push edi
lea eax, [ebp - 0x6e]
push ebx
push eax
mov word [ebp - 0x70], bx
call fcn.10085bc0
add esp, 0x28
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
lea eax, [ebp + 0x198]
push eax
lea eax, [ebp + 0x5a8]
push eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
pop edi
pop esi
pop ebx
je 0x1002a2a4
push dword [ebp - 0x74]
push str._08X
push dword [ebp - 0x78]
call fcn.10004df5
add esp, 0xc
jmp 0x1002a2b3
push 0x101ebf0c
push dword [ebp - 0x78]
call fcn.100860cd
pop ecx
pop ecx
mov ecx, dword [ebp + 0x5bc]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x5c0
leave
ret 4
Function at 0x1002a5b8
Capabilities:
Get mac address on windows

Disassembly:
push 0x58
mov eax, 0x1017d9a6
call fcn.100854d6
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 4
call fcn.10085b54
push eax
xor ebx, ebx
push ebx
push esi
call fcn.10085bc0
push 0x288
call fcn.1008969b
mov esi, eax
add esp, 0x14
cmp esi, ebx
mov dword [ebp - 0x30], esi
je 0x1002a737
lea eax, [ebp - 0x34]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x1002a625
push esi
call fcn.100895be
push dword [ebp - 0x34]
call fcn.1008969b
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
je 0x1002a737
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x34]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x1002a72e
push 6
pop ecx
lea edi, [ebp - 0x2a]
mov word [ebp - 0x2c], bx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x1002a6f3
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x2c]
push 0x1018ef5c
push eax
call fcn.10004df5
lea eax, [esi + 0x10c]
push eax
call fcn.1008c279
push 0x1018ef58
push eax
call fcn.1008be00
add esp, 0x2c
test eax, eax
ja 0x1002a713
cmp dword [esi + 0x1a0], 0x47
je 0x1002a713
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
call fcn.100015f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.10011048
push ebx
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.100017c0
mov esi, dword [esi]
cmp esi, ebx
jne 0x1002a65a
lea ecx, [ebp - 0x48]
call fcn.10010859
test eax, eax
jbe 0x1002a726
push ebx
lea ecx, [ebp - 0x48]
call fcn.10010ac5
cmp dword [eax + 0x18], 8
jb 0x1002a718
mov eax, dword [eax + 4]
jmp 0x1002a71b
lea eax, [ebp - 0x2c]
jmp 0x1002a71b
add eax, 4
push eax
push dword [ebp - 0x38]
call fcn.100860cd
pop ecx
pop ecx
lea ecx, [ebp - 0x48]
call fcn.10010d20
push dword [ebp - 0x30]
call fcn.100895be
pop ecx
call fcn.10085559
ret 4
Function at 0x1002b417
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9b8]
sub esp, 0xa38
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x9b4], eax
push ebx
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x5a6]
push edi
push eax
mov dword [ebp - 0x80], ecx
mov word [ebp + 0x5a4], di
call fcn.10085bc0
push esi
lea eax, [ebp + 0x39e]
push edi
push eax
mov word [ebp + 0x39c], di
call fcn.10085bc0
push esi
lea eax, [ebp - 0x72]
push edi
push eax
mov word [ebp - 0x74], di
call fcn.10085bc0
push esi
lea eax, [ebp + 0x196]
push edi
push eax
mov word [ebp + 0x194], di
call fcn.10085bc0
push esi
lea eax, [ebp + 0x7ae]
push edi
push eax
mov word [ebp + 0x7ac], di
call fcn.10085bc0
lea eax, [ebp + 0x7ac]
push 0x1018a1c8
push eax
call fcn.100860cd
add esp, 0x44
lea eax, [ebp + 0x7ac]
push str.SHSoft
push eax
call fcn.100860a3
lea eax, [ebp + 0x7ac]
push 0x101ebeec
push eax
call fcn.100860a3
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push edi
lea eax, [ebp + 0x7ac]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002b561
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x5a4]
push eax
push edi
push edi
push str.OnlyIdentifier1
push dword [ebp - 0x7c]
mov dword [ebp - 0x78], 0x104
call esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x39c]
push eax
push edi
push edi
push str.OnlyIdentifier2
push dword [ebp - 0x7c]
call esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
push edi
push str.OnlyIdentifier3
push dword [ebp - 0x7c]
call esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x194]
push eax
push edi
push edi
push str.OnlyIdentifier4
push dword [ebp - 0x7c]
call esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x5a4]
push eax
call fcn.10085b54
mov esi, eax
lea eax, [ebp + 0x39c]
push eax
call fcn.10085b54
mov ebx, eax
lea eax, [ebp - 0x74]
push eax
call fcn.10085b54
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x194]
push eax
call fcn.10085b54
add esp, 0x10
cmp esi, edi
je 0x1002b604
cmp ebx, edi
je 0x1002b604
cmp dword [ebp - 0x78], edi
je 0x1002b604
cmp eax, edi
je 0x1002b604
mov esi, dword [ebp - 0x80]
lea eax, [ebp + 0x5a4]
push eax
push dword [esi]
call fcn.100860cd
lea eax, [ebp + 0x39c]
push eax
mov eax, dword [esi]
add eax, 0x208
push eax
call fcn.100860cd
lea eax, [ebp - 0x74]
push eax
mov eax, dword [esi]
add eax, 0x410
push eax
call fcn.100860cd
lea eax, [ebp + 0x194]
push eax
mov eax, dword [esi]
add eax, 0x618
push eax
call fcn.100860cd
xor eax, eax
add esp, 0x20
inc eax
jmp 0x1002b606
xor eax, eax
mov ecx, dword [ebp + 0x9b4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008545e
add ebp, 0x9b8
leave
ret
Function at 0x1002b61e
Capabilities:
Set registry value

Disassembly:
push ecx
push ecx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov edi, 0xf003f
push edi
xor ebp, ebp
push ebp
push str.software
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002b6de
push ebp
lea eax, [esp + 0x10]
push eax
push ebp
push edi
push ebp
push ebp
push ebp
push str.ShiQiang
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1002b6de
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
mov ebx, 0x104
push ebx
push dword [esi]
push 1
push ebp
push str.OnlyIdentifier1
push dword [esp + 0x24]
call edi
mov eax, dword [esi]
push ebx
add eax, 0x208
push eax
push 1
push ebp
push str.OnlyIdentifier2
push dword [esp + 0x24]
call edi
mov eax, dword [esi]
push ebx
add eax, 0x410
push eax
push 1
push ebp
push str.OnlyIdentifier3
push dword [esp + 0x24]
call edi
mov eax, dword [esi]
push ebx
add eax, 0x618
push eax
push 1
push ebp
push str.OnlyIdentifier4
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [esp + 0x14]
call esi
pop ebx
pop edi
pop esi
pop ebp
pop ecx
pop ecx
ret

Function at 0x10034785
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x14]
push eax
push 0
push esi
push 0x100346cf
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x18], eax
pop esi
je 0x100347b4
cmp eax, 0xffffffff
je 0x100347b4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x100348c8
Capabilities:
Read .ini file

Disassembly:
push 0xd5c
mov eax, 0x1017e7bb
call fcn.100854d6
mov edi, 0x104
push edi
xor ebx, ebx
lea eax, [ebp - 0x114]
push ebx
push eax
mov dword [ebp - 0xd68], ecx
call fcn.10085bc0
mov esi, 0x206
push esi
lea eax, [ebp - 0x72a]
push ebx
push eax
mov word [ebp - 0x72c], bx
call fcn.10085bc0
add esp, 0x18
lea ecx, [ebp - 0xd64]
call fcn.10029a0c
lea eax, [ebp - 0x72c]
push eax
lea ecx, [ebp - 0xd64]
mov dword [ebp - 4], ebx
call fcn.1002c231
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x72c]
push eax
call fcn.1001c38e
mov ebx, dword [ebp - 0xd68]
pop ecx
pop ecx
lea eax, [ebp - 0x114]
add ebx, 4
push eax
mov ecx, ebx
call fcn.10017f5b
and word [ebp - 0x31c], 0
push esi
lea eax, [ebp - 0x31a]
push 0
push eax
call fcn.10085bc0
and word [ebp - 0x524], 0
push esi
lea eax, [ebp - 0x522]
push 0
push eax
call fcn.10085bc0
add esp, 0x18
push str.SmartCloudInfo.ini
call fcn.100052f9
mov ecx, eax
call fcn.10019925
push eax
lea eax, [ebp - 0x31c]
push 0x1018725c
push eax
call fcn.10004df5
add esp, 0x10
lea eax, [ebp - 0x31c]
push eax
push edi
lea eax, [ebp - 0x524]
push eax
push 0x101ebf0c
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, 0x1018f098
push edi
mov ecx, ebx
call fcn.10017f5b
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.1001c38e
pop ecx
pop ecx
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.10017f5b
push str._tShuRuFa
mov ecx, ebx
call fcn.10017f5b
push 0x1018f960
mov ecx, ebx
call fcn.10017f5b
and word [ebp - 0xb3c], 0
push esi
lea eax, [ebp - 0xb3a]
push 0
push eax
call fcn.10085bc0
lea eax, [ebp - 0xb3c]
push str.1.3.1.8
push eax
call fcn.100860cd
add esp, 0x14
push edi
mov ecx, ebx
call fcn.10017f5b
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0xb3c]
push eax
call fcn.1001c38e
pop ecx
pop ecx
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.10017f5b
and word [ebp - 0x934], 0
push esi
lea eax, [ebp - 0x932]
push 0
push eax
call fcn.10085bc0
add esp, 0xc
call fcn.100052f9
mov ecx, eax
call fcn.10019963
push eax
push 0x104
lea eax, [ebp - 0x934]
push eax
push 0x101ebf0c
push str.UserID
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
mov ecx, ebx
call fcn.10017f5b
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x934]
push eax
call fcn.1001c38e
pop ecx
pop ecx
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.10017f5b
push edi
mov ecx, ebx
call fcn.10017f5b
lea eax, [ebp - 0xb58]
push 0
push eax
call fcn.1001e8d9
pop ecx
pop ecx
cmp dword [ebp - 0xb40], 8
mov eax, dword [ebp - 0xb54]
mov byte [ebp - 4], 1
jae 0x10034b18
lea eax, [ebp - 0xb54]
lea ecx, [ebp - 0x114]
push ecx
push eax
call fcn.1001c38e
pop ecx
pop ecx
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.10017f5b
push 0
push 1
lea ecx, [ebp - 0xb58]
call fcn.100017c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd64]
call sym.Plugin.dll_CleanUpPluginSystemManager
call fcn.10085559
ret
Function at 0x10035af5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
cmp dword [0x10213b60], edi
mov esi, ecx
je 0x10035c3b
cmp dword [esi + 0x20], 8
jb 0x10035b18
mov eax, dword [esi + 0xc]
jmp 0x10035b1b
lea eax, [esi + 0xc]
push ebx
push 0x1018fa14
push eax
push dword [0x10204f08]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
je 0x10035c3a
push ebx
push dword [0x10204f08]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push dword [0x10204f08]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 0x42
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 4]
push dword [ebp - 8]
push eax
call fcn.10088150
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0xc]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push edi
push dword [ebp - 0xc]
call fcn.10034f15
cmp eax, edi
pop ecx
pop ecx
je 0x10035c3a
mov dword [esi + 4], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x10213b64
call fcn.100358b5
mov ebx, dword [ebp + 8]
push edi
mov dword [eax], esi
push dword [0x10204f08]
push edi
push ebx
push edi
push edi
push edi
push SysReAllocStringLen
push 0x80c80000
push edi
push dword [0x10204f04]
push 0x80020
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push ebx
mov dword [esi + 0x24], eax
call edi
test eax, 0x10000000
jne 0x10035c00
mov byte [esi + 0x2c], 1
jmp 0x10035c24
test eax, 0x21000000
je 0x10035c0d
mov byte [esi + 0x2c], 5
jmp 0x10035c24
push 8
push dword [esi + 0x24]
mov byte [esi + 0x2c], 7
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov ecx, esi
call fcn.100352cb
push 0xfffffffffffffffc
push ebx
call edi
push 0x1003592a
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x10035d22
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esi]
test edi, edi
jne 0x10035d32
xor eax, eax
jmp 0x10035d5b
push ebx
mov ebx, dword [esp + 0x10]
push dword [ebx]
push edi
push 1
push dword [esp + 0x20]
call fcn.1008cacc
add esp, 0x10
cmp eax, edi
mov dword [esi], eax
jne 0x10035d52
xor eax, eax
jmp 0x10035d5a
push dword [ebx]
call fcn.1008c801
pop ecx
pop ebx
pop edi
pop esi
ret

Function at 0x10035d5e
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esi]
test edi, edi
jne 0x10035d6e
xor eax, eax
jmp 0x10035d97
push ebx
mov ebx, dword [esp + 0x10]
push dword [ebx]
push edi
push 1
push dword [esp + 0x20]
call fcn.10085f48
add esp, 0x10
cmp eax, edi
mov dword [esi], eax
jne 0x10035d8e
xor eax, eax
jmp 0x10035d96
push dword [ebx]
call fcn.1008c801
pop ecx
pop ebx
pop edi
pop esi
ret
Function at 0x100362c8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x100362e1
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [edi + ecx - 4]
mov dword [ebp - 4], ecx
lea esi, [eax + edi]
jmp 0x10036304
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x10036309
inc esi
cmp esi, dword [ebp - 4]
jb 0x100362fb
mov eax, esi
sub eax, edi
cmp esi, dword [ebp - 4]
mov dword [ebp - 8], eax
jae 0x100363fe
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x1003635d
xor edx, edx
mov cl, byte [esi + 4]
test cl, cl
mov dword [ebp + 0xc], eax
je 0x10036334
cmp cl, 0xff
jne 0x10036388
xor ebx, ebx
mov bh, cl
movzx ecx, byte [esi + 2]
mov bl, byte [esi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
cmp dword [ebp + 0x18], 0
je 0x10036396
lea ebx, [edi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x1003639d
dec ecx
shl edx, cl
and edx, 7
je 0x10036325
movzx ecx, byte [edx + 0x1018fa64]
mov ebx, esi
sub ebx, ecx
cmp byte [edx + 0x1018fa5c], 0
mov cl, byte [ebx + 4]
je 0x10036385
test cl, cl
je 0x10036385
cmp cl, 0xff
jne 0x10036325
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x100362f6
sub edi, eax
sub edi, dword [ebp + 0x10]
mov ebx, edi
test edx, edx
je 0x100363d1
movzx edi, byte [edx + 0x1018fa64]
push 0x18
shl edi, 3
pop ecx
sub ecx, edi
mov eax, ebx
shr eax, cl
test al, al
je 0x100363bc
cmp al, 0xff
jne 0x100363ce
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, edi
xor edi, edi
inc edi
shl edi, cl
dec edi
xor edi, ebx
jmp 0x1003634f
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 1], bl
add eax, 5
jmp 0x100362f6
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret

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

Disassembly:
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x100399ed
mov dword [ecx*4 + 0x10213ba8], eax
inc ecx
cmp ecx, 0x100
jb 0x100399e8
mov edx, 0x800
jmp 0x10039a3a
mov eax, dword [ecx*4 + 0x102137a8]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x10213ba8]
inc ecx
mov dword [ecx*4 + 0x10213ba4], eax
cmp ecx, edx
jb 0x10039a19
mov dword [0x10215ba8], 0x100365ab
call fcn.10036518
test eax, eax
pop esi
jne 0x10039a5c
mov dword [0x10215ba8], 0x10036641
ret
Function at 0x1003b11e
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x25c
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x25c], eax
push 0xc
mov eax, 0x1017e9b3
call fcn.1008546d
mov esi, dword [ebp + 0x268]
mov eax, dword [ebp + 0x26c]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
jne 0x1003b181
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x25c]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x260
leave
ret 8
call fcn.1003ad3d
push 0x206
mov edi, eax
lea eax, [ebp + 0x56]
push ebx
push eax
mov word [ebp + 0x54], bx
call fcn.10085bc0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push esi
lea eax, [ebp + 0x38]
push eax
call fcn.1003aeb9
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 4], ebx
jae 0x1003b1ba
lea eax, [ebp + 0x3c]
push edi
push 0x104
lea ecx, [ebp + 0x54]
push ecx
mov esi, 0x101ebf0c
push esi
push eax
mov edi, 0x1018fca8
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x54]
push esi
push eax
call fcn.100862d7
test eax, eax
pop ecx
pop ecx
jne 0x1003b260
push ebx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], 7
call fcn.10001b40
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
mov byte [ebp - 4], 1
jae 0x1003b207
lea eax, [ebp + 0x3c]
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, dword [ebp - 0x14]
push eax
push edi
call fcn.1003ad9e
test al, al
jne 0x1003b23a
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.100017c0
mov byte [ebp - 0xd], bl
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.100017c0
mov al, byte [ebp - 0xd]
jmp 0x1003b15c
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x1003b246
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x54]
push eax
call fcn.100860cd
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], bl
call fcn.100017c0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp]
push eax
call fcn.1003aff5
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push ebx
lea eax, [ebp]
push eax
mov byte [ebp - 4], 2
call fcn.10001d30
push ebx
push 1
lea ecx, [ebp]
call fcn.100017c0
mov byte [ebp - 0xd], 1
jmp 0x1003b227

Function at 0x1003b308
Capabilities:
Terminate thread

Disassembly:
push esi
lea esi, [ecx + 0x84c]
mov eax, dword [esi]
test eax, eax
je 0x1003b321
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi], 0
pop esi
ret