joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a290
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x43000c]
movsd xmm0, qword [0x429434]
mov esi, ecx
lea ecx, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [0x42943c]
movsd qword [ebp - 0x1c], xmm0
movsd xmm0, qword [str._s.bak_u]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov word [ebp - 0x14], ax
movsd qword [ebp - 0x24], xmm0
lea eax, [ebp - 0x24]
push 9
push dword [esi + 4]
push eax
push ecx
call fcn.0040a6f0
add esp, 0x10
test eax, eax
mov dword [ebp - 0x38], eax
je 0x40a378
inc dword [ebp - 0x38]
xor edi, edi
mov dword [ebp - 0x34], esi
push edi
push dword [esi + 4]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040a730
add esp, 0x14
cmp dword [ebp - 0x2c], 0
je 0x40a378
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi + 4]
cmp edi, 8
mov dword [ebp - 0x30], ecx
ja 0x40a340
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x40a34a
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor ebx, ebx
test eax, eax
jne 0x40a368
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40a36d
mov esi, dword [ebp - 0x34]
inc edi
cmp edi, 0xa
jb 0x40a300
jmp 0x40a378
mov eax, dword [ebp - 0x30]
jmp 0x40a384
cmp eax, 2
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
je 0x40a384
mov ecx, esi
call fcn.0040a7d0
mov ebx, eax
mov eax, dword [ebp - 0x28]
test eax, eax
mov dword [ebp - 0x28], 0
jne 0x40a3a3
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ce4a
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call fcn.0040c66a
add esp, 4
jmp 0x40a38f
Function at 0x40a7d0
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x43000c]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0xc], eax
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40a7fc
test al, 1
je 0x40a80a
and eax, 0xfffffffe
push eax
jmp 0x40a801
push 0x80
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
mov eax, dword [esi]
inc eax
push dword [esi + 4]
push 0x42c00e
push eax
push ecx
call fcn.00409920
add esp, 0x10
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0x654
mov dword [ebp - 0x1a], 0
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
or eax, 2
xor ecx, ecx
mov esi, 0x80004005
mov dword [ebp - 0x10], 0
cmp eax, 2
cmove esi, ecx
test edi, edi
jne 0x40a890
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0040ce4a
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
push edi
call fcn.0040c66a
add esp, 4
jmp 0x40a87d
Function at 0x40a8e0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x43000c]
mov ebx, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
call fcn.004157a2
add esp, 4
test eax, eax
je 0x40aacd
mov edi, eax
movzx eax, word [ebx + eax*2 - 2]
cmp eax, 0x5c
je 0x40a91b
movzx eax, ax
cmp eax, 0x2f
jne 0x40a91c
dec edi
lea eax, [edi + 2]
mov ecx, 0xffffffff
add eax, eax
cmovae ecx, eax
push ecx
call fcn.0040c661
add esp, 4
mov esi, eax
lea eax, [edi + edi + 4]
push eax
push 0
push esi
call fcn.0040ebd0
add esp, 0xc
lea eax, [edi + 1]
push eax
push ebx
push esi
call fcn.00415c1b
add esp, 0xc
push esi
call fcn.00413b6b
add esp, 4
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0xf0000000
push 1
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x40aa3d
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x40aa64
add edi, edi
push 0
push edi
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x40aa64
mov dword [ebp - 0x1c], 4
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push 0
push eax
push ecx
push 4
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
xor edi, edi
test eax, eax
je 0x40aae3
mov edi, dword [ebp - 0x20]
push edi
call fcn.0040c661
add esp, 4
mov ebx, eax
push edi
push 0
push eax
call fcn.0040ebd0
add esp, 0xc
push 0
lea eax, [ebp - 0x20]
push eax
push ebx
push 2
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x40aa64
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40aa26
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x14]
mov edi, 1
test eax, eax
je 0x40aa66
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x40aa66
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x40aa64
push 0xf0000008
push 1
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x40a98d
xor edi, edi
push esi
call fcn.0040c66a
add esp, 4
test edi, edi
je 0x40aacd
mov esi, dword [ebp + 0xc]
push 0x104
push 0x42bee0
push esi
call fcn.00415c1b
add esp, 0xc
cmp dword [ebp - 0x20], 0
mov edi, ebx
je 0x40aabd
add esi, 0x48
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [edi + ebx]
push eax
push str._.2x
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
inc ebx
add esi, 4
cmp ebx, dword [ebp - 0x20]
jb 0x40aaa0
push edi
call fcn.0040c66a
add esp, 4
mov esi, 1
jmp 0x40aacf
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ce4a
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x40aa66
Function at 0x40b800
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ecx]
test eax, eax
je 0x40b845
mov esi, ecx
push eax
call fcn.0041401f
add esp, 4
lea edi, [esi + 0x20c]
mov dword [esi], 0
push 0
push edi
call fcn.00413928
add esp, 8
add esi, 4
test eax, eax
je 0x40b83e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x40b845
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop edi
pop ebp
ret

Function at 0x40b8d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 8
mov eax, dword [0x43000c]
mov edi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [edi], 0
je 0x40b928
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
push dword [edi]
push 1
push 0xd
push str._Warning:
call fcn.00415166
add esp, 0x10
mov ecx, dword [edi]
mov edx, esi
push dword [ebp - 0x10]
call fcn.0040b8a0
add esp, 4
push dword [edi]
push 1
push 4
push str._n
call fcn.00415166
add esp, 0x10
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0040ce4a
add esp, 8
pop esi
pop edi
pop ebp
ret
Function at 0x40b940
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x220
mov eax, dword [0x43000c]
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x21a]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x20a
push 0
push edi
call fcn.0040ebd0
add esp, 0xc
push 0x104
push esi
push edi
call fcn.00415c1b
add esp, 0xc
lea ebx, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push ebx
push 0x42bf30
push edi
call fcn.00415cac
add esp, 0xc
test eax, eax
je 0x40bb32
mov esi, eax
mov dword [ebp - 0x228], eax
nop
nop
nop
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
je 0x40bb10
push 0
push 0x2200000
push 3
push 0
push 7
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp eax, 0xffffffff
je 0x40ba51
push 0x4000
call fcn.0040c661
add esp, 4
mov ebx, eax
push 0x4000
push 0
push eax
call fcn.0040ebd0
add esp, 0xc
mov dword [ebp - 0x224], 0
push 0
lea eax, [ebp - 0x224]
push eax
push 0x4000
push ebx
push 0
push 0
push 0x900a8
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40ba64
mov eax, dword [ebx]
cmp eax, 0xa000000c
je 0x40ba72
cmp eax, 0xa0000003
jne 0x40ba64
movzx eax, word [ebx + 0xa]
cmp eax, 5
jb 0x40ba7b
movzx eax, word [ebx + 8]
and eax, 0xfffffffe
lea eax, [ebx + eax + 0x10]
jmp 0x40ba9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov ecx, 1
setne al
jmp 0x40bae2
mov dword [ebp - 0x22c], 1
mov al, 1
jmp 0x40bac1
movzx eax, word [ebx + 0xa]
cmp eax, 5
jae 0x40ba91
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x228], 0
jmp 0x40bac7
movzx eax, word [ebx + 8]
and eax, 0xfffffffe
lea eax, [ebx + eax + 0x14]
push 4
push str.___
push eax
call fcn.00415be1
add esp, 0xc
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x228]
setne cl
mov dword [ebp - 0x22c], ecx
or al, cl
mov dword [ebp - 0x228], eax
push ebx
call fcn.0040c66a
add esp, 4
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
lea ebx, [ebp - 0x220]
mov dword [ebp - 0x228], eax
mov eax, edi
inc eax
cmp eax, 2
jae 0x40baf6
test ecx, ecx
je 0x40bb10
jmp 0x40bb3c
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
test ecx, ecx
jne 0x40bb3c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebx
push 0x42bf30
push 0
call fcn.00415cac
add esp, 0xc
mov edi, eax
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test edi, edi
jne 0x40b9b0
mov dword [ebp - 0x228], 0
mov ebx, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
and bl, 1
call fcn.0040ce4a
mov eax, ebx
add esp, 0x220
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40bf60
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [0x43000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 5
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
je 0x40c033
mov esi, eax
push 4
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
je 0x40c059
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], 0xcf
imul ebx, ecx, 0x3e8
test ebx, ebx
je 0x40c081
xor esi, esi
nop
nop
nop
nop
lea eax, [ebp - 0x38]
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x40bff0
cmp dword [ebp - 0x30], 1
jne 0x40c01c
jmp 0x40c0a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7b
jle 0x40c0be
lea ecx, [eax - 0x41c]
cmp ecx, 0xa
ja 0x40c0e5
mov edx, 0x601
bt edx, ecx
jae 0x40c0e5
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0x32
cmp esi, ebx
jb 0x40bfc0
mov ebx, dword [ebp - 0x30]
jmp 0x40c115
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x429
mov ebx, 0xfd
sete cl
xor ecx, 0xff
cmp eax, 5
cmovne ebx, ecx
jmp 0x40c123
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edi, 0x7a
jg 0x40c08b
cmp edi, 5
je 0x40c0a9
cmp edi, 6
jne 0x40c0b7
mov ebx, 0xec
jmp 0x40c123
mov ebx, 0xcf
jmp 0x40c115
cmp edi, 0x7b
je 0x40c0b0
cmp edi, 0x424
jne 0x40c0b7
mov ebx, 0xee
jmp 0x40c123
mov ebx, 1
jmp 0x40c115
mov ebx, 0xeb
jmp 0x40c123
mov ebx, 0xed
jmp 0x40c123
mov ebx, 0xef
jmp 0x40c123
cmp eax, 0x56
jg 0x40c0d4
cmp eax, 5
je 0x40c0f8
cmp eax, 6
jne 0x40c10d
mov ebx, 0xd9
jmp 0x40c112
cmp eax, 0x57
je 0x40c0ff
cmp eax, 0x7a
jne 0x40c10d
mov ebx, 0xdb
jmp 0x40c112
cmp eax, 0x7c
je 0x40c106
cmp eax, 0x45b
jne 0x40c10d
mov ebx, 0xde
jmp 0x40c112
mov ebx, 0xda
jmp 0x40c112
mov ebx, 0xdc
jmp 0x40c112
mov ebx, 0xdd
jmp 0x40c112
mov ebx, 0xdf
mov dword [ebp - 0x30], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push dword [ebp - 0x3c]
call esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ce4a
mov eax, ebx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40c240
Capabilities:
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x444
mov eax, dword [0x43000c]
mov esi, dword [ebp + 0x10]
xor ebx, ebx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
test eax, eax
je 0x40c281
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov ecx, dword [esi]
mov edx, eax
or edx, ecx
setne dl
test eax, eax
jne 0x40c283
test ecx, ecx
jne 0x40c3a2
jmp 0x40c283
xor edx, edx
lea esi, [ebp - 0x21a]
mov dword [ebp - 0x450], edx
push 0x20a
push 0
push esi
call fcn.0040ebd0
add esp, 0xc
push esi
push 0x42bed2
push dword [ebp + 8]
call fcn.0040c140
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x40c393
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x40c393
mov esi, eax
lea edi, [ebp - 0x23a]
push dword [ebp + 0xc]
push str.failed:__d
push edi
call fcn.0040c3c0
add esp, 0xc
push edi
call fcn.004154d0
add esp, 4
lea ecx, [ebp - 0x448]
push 0
push ecx
mov dword [ebp - 0x44c], eax
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
test edi, edi
je 0x40c393
mov eax, dword [ebp - 0x44c]
cmp dword [ebp - 0x448], eax
jne 0x40c393
lea esi, [ebp - 0x444]
push 0x20a
push 0
push esi
call fcn.0040ebd0
add esp, 0xc
push 0x104
push dword [ebp + 8]
push esi
call fcn.00415c1b
add esp, 0xc
push esi
call fcn.004157a2
add esp, 4
add eax, 0xd
xor ebx, ebx
cmp eax, 0x103
ja 0x40c393
push str.update.status
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x40c393
push 1
push esi
lea eax, [ebp - 0x21a]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor ebx, ebx
test eax, eax
setne bl
cmp byte [ebp - 0x450], 0
je 0x40c3a2
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ce4a
mov eax, ebx
add esp, 0x444
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40c400
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x230
mov edi, dword [ebp + 8]
mov eax, dword [0x43000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
je 0x40c47d
mov esi, eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40c497
lea ebx, [ebp - 0x218]
nop
nop
nop
nop
nop
nop
push ebx
push edi
call fcn.00413a00
add esp, 8
test eax, eax
je 0x40c4a8
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40c450
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0x490
jmp 0x40c4b1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ce4a
add esp, 0x230
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40c4b1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ce4a
mov eax, edi
add esp, 0x230
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40c570
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x254
mov eax, dword [0x43000c]
mov esi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x40c5dc
lea ecx, [ebp - 0x258]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40c612
lea eax, [ebp - 0x22c]
push 0x105
push eax
push 0x4319ac
call fcn.00415c1b
add esp, 0xc
mov esi, 0x4319ac
mov word [0x431bb4], 0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040ce4a
mov eax, esi
add esp, 0x254
pop esi
pop ebp
ret
lea ecx, [ebp - 0x258]
lea eax, [esi + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x40c5a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00412d7e
cmp esi, 2
mov ecx, 9
cmove ecx, esi
xor esi, esi
mov dword [eax], ecx
jmp 0x40c5c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x12
je 0x40c5c7
call fcn.00412d7e
mov dword [eax], 2
jmp 0x40c5c7

Function at 0x41c57e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c7c9

Function at 0x41ef90
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ef9b
Function at 0x10001520
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10068390], 0
je 0x10001539
mov eax, dword [0x10068390]
jmp 0x100016d6
mov dword [0x10068390], 0x10068368
push 0x28
push 0
push 0x10068368
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x10068368], eax
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1006836c], eax
cmp dword [0x1006836c], 0
jne 0x1000157f
xor eax, eax
jmp 0x100016d6
push str.ImagehlpApiVersionEx
mov eax, dword [0x1006836c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10068370], eax
push str.SymInitialize
mov ecx, dword [0x1006836c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10068374], eax
push str.SymSetOptions
mov edx, dword [0x1006836c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10068378], eax
push str.SymGetOptions
mov eax, dword [0x1006836c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1006837c], eax
push str.SymLoadModule
mov ecx, dword [0x1006836c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10068380], eax
push str.SymGetModuleInfo
mov edx, dword [0x1006836c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10068384], eax
push str.SymGetSymFromName
mov eax, dword [0x1006836c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10068388], eax
push str.BindImage
mov ecx, dword [0x1006836c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1006838c], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [ebp - 8], 9
cmp dword [0x10068370], 0
je 0x1000165d
lea eax, [ebp - 8]
push eax
call dword [0x10068370]
cmp dword [0x10068370], 0
je 0x1000166f
movzx ecx, word [ebp - 8]
cmp ecx, 9
jge 0x1000168a
mov edx, dword [0x1006836c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x1006836c], 0
xor eax, eax
jmp 0x100016d6
cmp dword [0x10068374], 0
je 0x100016a3
push 0
push 0
mov eax, dword [0x10068368]
push eax
call dword [0x10068374]
cmp dword [0x1006837c], 0
je 0x100016d1
cmp dword [0x10068378], 0
je 0x100016d1
call dword [0x1006837c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 7
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x10068378]
mov eax, dword [0x10068390]
mov esp, ebp
pop ebp
ret
Function at 0x1000f210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov ecx, 0xc6
xor eax, eax
nop
mov dl, byte [edi + eax + 0x26000661]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1000f23d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x1000f220
pop edi
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
ret 4

Function at 0x1000f250
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov ecx, 0xbf
xor eax, eax
nop
mov dl, byte [edi + eax - 0x298e884b]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1000f27d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xf
jl 0x1000f260
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
ret 4

Function at 0x1000f290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov ecx, 0xf6
xor eax, eax
nop
mov dl, byte [edi + eax + 0x66132a8d]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1000f2bd
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x10
jl 0x1000f2a0
pop edi
mov byte [esi + 0x10], 0
mov eax, esi
pop esi
ret 4

Function at 0x1000f2d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov ecx, 0x6a
xor eax, eax
nop
mov dl, byte [edi + eax - 0x6c62999f]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1000f2fd
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x10
jl 0x1000f2e0
pop edi
mov byte [esi + 0x10], 0
mov eax, esi
pop esi
ret 4

Function at 0x1000f310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov ecx, 0x9b
xor eax, eax
nop
mov dl, byte [edi + eax - 0x783554e3]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1000f33d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1a
jl 0x1000f320
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
ret 4

Function at 0x1000f350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov ecx, 0xaf
xor eax, eax
nop
mov dl, byte [edi + eax + 0x12bb26b0]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1000f37d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1a
jl 0x1000f360
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
ret 4
Function at 0x1000f870
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x44
mov eax, dword [0x1005200c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, dword [esp + 0x4c]
xorps xmm1, xmm1
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
push edi
mov edi, edx
call fcn.1000f840
cmp dword [eax + 0x14], 0x10
jb 0x1000f89d
mov eax, dword [eax]
push ebx
push 0x20
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x28]
cmp eax, 0x10
jb 0x1000f8c2
inc eax
push eax
push dword [esp + 0x18]
call fcn.1000b6b0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov ecx, dword [esp + 0x50]
add esp, 4
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003da32
add esp, 0x44
ret

Function at 0x1000f950
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
mov eax, dword [0x1005200c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, dword [esp + 0x4c]
push esi
push edi
mov edi, edx
mov esi, ecx
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0xc]
call fcn.1000f820
cmp dword [eax + 0x14], 0x10
jb 0x1000f97e
mov eax, dword [eax]
push ebx
push 0x20
lea ecx, [esp + 0x2c]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x20]
cmp eax, 0x10
jb 0x1000f9a3
inc eax
push eax
push dword [esp + 0x10]
call fcn.1000b6b0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, dword [esp + 0x48]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003da32
add esp, 0x40
ret
Function at 0x10017740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov ecx, 0x45
xor eax, eax
nop
mov dl, byte [edi + eax - 0x11cf7276]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1001776d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x10017750
pop edi
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
ret 4