joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422b78
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x838
mov eax, 0x508e3b
call fcn.0044e637
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x838], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x844], esi
call fcn.00418720
lea eax, [ebp - 0x834]
mov dword [ebp - 0x834], esi
push eax
push 0x20119
push esi
push str.SoftWare
mov dword [ebp - 0x830], esi
mov dword [ebp - 0x82c], esi
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x422c03
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.0041ae10
push 0
jmp 0x422cf2
lea eax, [ebp - 0x830]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x422c2c
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x422bee
lea eax, [ebp - 0x82c]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x838]
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x422c73
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
mov ecx, edi
lea eax, [ebp - 0x828]
push eax
call fcn.0041ae10
jmp 0x422cf1
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0042ce60
add esp, 0xc
mov dword [ebp - 0x83c], 0x400
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x840]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x834]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.00432c45
pop ecx
mov ecx, edi
test eax, eax
je 0x422c65
lea eax, [ebp - 0x810]
push eax
call fcn.00418720
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00418870
mov eax, edi
call fcn.0044e5f2
ret
Function at 0x422d07
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x834
mov eax, 0x509216
call fcn.0044e637
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
and dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.00418720
xor ecx, ecx
lea eax, [ebp - 0x834]
push eax
push 0xf013f
push ecx
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], ecx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x82c], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x422d8b
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.0041ae10
push 0
jmp 0x422e89
xor ecx, ecx
lea eax, [ebp - 0x830]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push esi
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call esi
test eax, eax
je 0x422dbf
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x422d76
xor ecx, ecx
lea eax, [ebp - 0x82c]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push ebx
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x422dfa
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x422d76
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0042ce60
add esp, 0xc
mov dword [ebp - 0x838], 0x400
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x834]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.00432c45
pop ecx
mov ecx, edi
test eax, eax
jne 0x422e7c
lea eax, [ebp - 0x828]
push eax
call fcn.0041ae10
jmp 0x422e88
lea eax, [ebp - 0x810]
push eax
call fcn.00418720
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00418870
mov eax, edi
call fcn.0044e5f2
ret
Function at 0x423094
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x55b008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x61c]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x208
push esi
push 0
push eax
mov dword [ebp - 0x620], ebx
call fcn.0042ce60
push esi
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0042ce60
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0042f955
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0042f955
lea eax, [ebp - 0x61c]
push eax
call fcn.00436b8a
lea eax, [ebp - 0x414]
push eax
call fcn.00436b8a
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.00435500
add esp, 0x38
test eax, eax
je 0x4231e8
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4231e8
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor esi, esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0042ce60
add esp, 0xc
lea eax, [ebp - 0x20c]
test esi, esi
jne 0x423171
push edi
push str._s.bak
push eax
call fcn.00424a23
add esp, 0xc
jmp 0x423181
push esi
push edi
push str._s.bak_d
push eax
call fcn.00424a23
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42319f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00437667
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
lea eax, [ebp - 0x20c]
push 0
push eax
jne 0x4231e6
call ebx
cmp esi, 0xa
jge 0x4231e8
inc esi
jmp 0x423140
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e191
mov esp, ebp
pop ebp
ret
Function at 0x4231f9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push edi
push eax
xor edi, edi
mov ebx, 0xf013f
push ebx
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
call esi
test eax, eax
jne 0x4232d1
lea eax, [ebp - 8]
push eax
push ebx
push edi
push str.SoftWare
push dword [ebp - 4]
call esi
test eax, eax
je 0x423252
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4232d1
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0xc]
push edi
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call esi
test eax, eax
je 0x423276
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4232c7
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x423294
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4232c2
push dword [ebp + 0x18]
call fcn.00432c45
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x18]
push 1
push edi
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4232d8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov ebx, 0xf013f
mov dword [ebp - 0xc], edi
push ebx
push edi
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423395
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 8]
push edi
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x423336
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x423394
push edi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call esi
test eax, eax
je 0x42335c
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x423392
push dword [ebp + 0x14]
call fcn.00432c45
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42344c
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x55b008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.0042ce60
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
pop esi
jg 0x4234af
cmp dword [ebp - 0x118], 2
jg 0x4234af
xor eax, eax
inc eax
jmp 0x4234b1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e191
mov esp, ebp
pop ebp
ret

Function at 0x423734
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x5092c4
call fcn.0044e637
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x423834
cmp byte [ebx + 0x3d], 0
je 0x423834
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x42376e
xor al, al
jmp 0x423836
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00423da9
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4237cc
sub eax, 1
je 0x4237d0
dec eax
sub eax, 1
je 0x423822
xor bl, bl
jmp 0x423824
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x423808
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0043cbb6
add esp, 0x10
cmp esi, eax
jne 0x4237c8
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x423822
test esi, esi
jne 0x423792
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00423d49
jmp 0x42378c
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00417280
mov al, bl
jmp 0x423836
mov al, 1
call fcn.0044e5f2
ret
Function at 0x42446f
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x5093f0
call fcn.0044e637
mov esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp + 8]
or ebx, 0xffffffff
cmp ecx, ebx
sete al
test al, al
je 0x42449b
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x4245fc
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4244c9
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x4244c9
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x4245fc
cmp dword [esi + 0x4c], 0
je 0x4245fa
mov ecx, esi
call fcn.00423cb6
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x4244f9
push dword [esi + 0x4c]
mov esi, dword [ebp + 8]
push esi
call fcn.004214ea
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x4245fa
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push 8
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x14], 0xf
call fcn.00423da9
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 0x10
lea edx, [ebp - 0x28]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call dword [edi + 0x1c]
test eax, eax
js 0x4245ee
cmp eax, 1
jg 0x4245d3
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x3c], edx
je 0x4245a4
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.0043cbb6
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x4245ee
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x40], eax
jne 0x4245ce
test edx, edx
jne 0x424524
cmp dword [ebp - 0x18], 0x20
jae 0x4245ee
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.00423d49
jmp 0x424521
mov ebx, dword [ebp + 8]
jmp 0x4245ee
cmp eax, 3
jne 0x4245ee
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.004214ea
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00417280
mov eax, ebx
call fcn.0044e5f2
ret 4

Function at 0x42503c
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0xb7
mov eax, esi
setne dl
mov dword [esi + 4], edx
pop esi
pop ebp
ret 4
Function at 0x426018
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x426886
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc18
mov eax, dword [0x55b008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x61c]
push esi
xor edi, edi
push edi
push eax
call fcn.0042ce60
push 0x50afb0
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0043d1e4
push 0x3e8
lea eax, [ebp - 0xc10]
push edi
push eax
call fcn.0042ce60
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._sgswb.log
push eax
call fcn.004215d6
push esi
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.0042ce60
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0042ce60
add esp, 0x48
lea eax, [ebp - 0x20c]
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0042cad0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call esi
test eax, eax
je 0x426a5d
lea eax, [ebp - 0x20c]
push eax
call fcn.00432c45
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.0043d1e4
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.004215d6
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
lea eax, [ebp - 0xc10]
push 0x1f3
push 0x1f4
push eax
call fcn.00426a6e
xor eax, eax
add esp, 0x38
mov word [ebp - 0x82a], ax
lea eax, [ebp - 0x414]
push eax
call esi
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x50afec
push eax
cmovne edi, ebx
call fcn.0043d3ca
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x426a5d
test edi, edi
jne 0x426a03
push esi
push 2
lea eax, [ebp - 0xc18]
mov dword [ebp - 0xc18], 0xfeff
push ebx
push eax
call fcn.0043cbb6
add esp, 0x10
lea eax, [ebp - 0xc10]
push eax
call fcn.00432c45
push esi
add eax, eax
push eax
lea eax, [ebp - 0xc10]
push ebx
push eax
call fcn.0043cbb6
push esi
push 2
lea eax, [ebp - 0xc14]
mov dword [ebp - 0xc14], 0xd
push ebx
push eax
call fcn.0043cbb6
push esi
push 2
lea eax, [ebp - 0xc14]
mov dword [ebp - 0xc14], 0xa
push ebx
push eax
call fcn.0043cbb6
push esi
call fcn.0043c11b
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e191
mov esp, ebp
pop ebp
ret
Function at 0x427465
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0xc8
mov eax, 0x5097a2
call fcn.0044e637
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xd0], ebx
push ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0x5561a8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.00418960
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.00425b7a
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4275d9
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push ebx
cmovae eax, dword [ebp + 0xc]
push 0x80
push 4
push ebx
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x427503
push 0x5561a8
mov ecx, esi
call fcn.00418720
jmp 0x4275e4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc8], eax
inc eax
push eax
mov dword [ebp - 0xcc], eax
call fcn.0044e7c4
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x427542
push 0x5561a8
mov ecx, esi
call fcn.00418720
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00418870
push ebx
jmp 0x4275f0
push dword [ebp - 0xcc]
push 0
push ebx
call fcn.0042ce60
add esp, 0xc
lea eax, [ebp - 0xd4]
push 0
push eax
push dword [ebp - 0xc8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc8]
lea ecx, [ebp - 0xc4]
push ebx
call fcn.0042687d
push ebx
call fcn.0044e7cd
pop ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xc4]
call fcn.004260cb
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.0042339b
pop ecx
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 4
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00417280
cmp dword [ebp - 0x30], ebx
jbe 0x4275ce
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004189e0
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00418870
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0041ae10
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00418870
push ebx
push 1
lea ecx, [ebp + 0xc]
call fcn.00418870
mov eax, esi
call fcn.0044e5f2
ret 0x1c
Function at 0x4276d0
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x508e85
call fcn.0044e637
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.0042ce60
lea eax, [edi + 4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x42772a
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00418720
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x427770
mov eax, dword [esi]
jmp 0x427772
mov eax, esi
push ebx
push eax
call fcn.00435500
pop ecx
pop ecx
test eax, eax
jne 0x4277bd
cmp byte [edi], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x4277a1
call fcn.00427604
jmp 0x4277a6
call fcn.0042769f
push eax
mov ecx, esi
call fcn.0041f10c
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00418870
mov eax, esi
call fcn.0044e5f2
ret 0x10
Function at 0x42870f
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x24]
push eax
xor eax, eax
push eax
push esi
push 0x4286fd
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x28], eax
pop esi
test eax, eax
je 0x42873d
cmp eax, 0xffffffff
je 0x42873d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x42a738
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x55b008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x42a7cd
lea ecx, [eax + 0x80]
add eax, 0x100
dec edi
mov dword [ebp - 0x14], ecx
shr edi, 3
inc edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edi
mov edx, ebx
mov ecx, esi
push 8
sub edx, esi
pop edi
mov al, byte [edx + ecx]
mov byte [ecx], al
inc ecx
sub edi, 1
jne 0x42a77d
push 8
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.0042b7b0
push esi
push esi
push dword [ebp - 0x14]
call fcn.00429a1e
mov edx, dword [ebp - 0x18]
add esp, 0x18
xor ecx, ecx
mov al, byte [edx + ecx]
xor byte [esi + ecx], al
inc ecx
cmp ecx, 8
jl 0x42a7a6
push 8
lea eax, [ebp - 0xc]
push eax
push edx
call fcn.0042b7b0
add esp, 0xc
add ebx, 8
add esi, 8
sub dword [ebp - 0x10], 1
jne 0x42a774
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e191
mov esp, ebp
pop ebp
ret

Function at 0x42aa4f
Capabilities:
Create directory

Disassembly:
push 0x49c
mov eax, 0x50995c
call fcn.0044e637
mov ebx, ecx
mov edi, dword [ebp + 8]
test edi, edi
jne 0x42aa6e
xor eax, eax
jmp 0x42abf6
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0042ce60
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.00436c30
push edi
xor esi, esi
call fcn.0042f6a0
mov edi, eax
mov dword [ebp - 0x214], 7
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x218], ecx
mov word [ebp - 0x228], ax
push 0x100
push ecx
lea eax, [ebp - 0x210]
mov dword [ebp - 4], ecx
push eax
call fcn.0042ce60
add esp, 0x24
cmp byte [ebp + edi - 0x111], 0x5c
je 0x42aadd
mov byte [ebp + edi - 0x110], 0x5c
cmp byte [ebp - 0x110], 0
je 0x42abe4
mov al, byte [ebp + esi - 0x110]
cmp al, 0x3a
jne 0x42aafd
push 2
pop eax
jmp 0x42abd4
cmp al, 0x5c
jne 0x42abd1
push esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0042b7b0
add esp, 0xc
cmp esi, 0x100
jae 0x42ac12
lea eax, [ebp - 0x210]
mov byte [ebp + esi - 0x210], 0
push eax
lea ecx, [ebp - 0x240]
call fcn.00417060
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x258]
mov ecx, ebx
push eax
call fcn.0042b165
push eax
lea ecx, [ebp - 0x228]
call fcn.0041f10c
push 0
push 1
lea ecx, [ebp - 0x258]
call fcn.00418870
push 0
push 1
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0
call fcn.00417280
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x4a8]
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x42abd1
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push 0
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42abfe
xor eax, eax
inc eax
add esi, eax
cmp byte [ebp + esi - 0x110], 0
jne 0x42aaea
push 0
push 1
lea ecx, [ebp - 0x228]
call fcn.00418870
xor eax, eax
inc eax
call fcn.0044e5f2
ret 4
push 0
push 1
lea ecx, [ebp - 0x228]
call fcn.00418870
jmp 0x42aa67
call fcn.0041e7c1
int3