joyce8/EMBER2024-capa huggingface dataset:
Function at 0x62c9f8
Capabilities:
Encode data using xor

Disassembly:
pop ebp
enter 0xffffffffffff9d03, 0xffffffffffffffaa
lodsb al, byte [esi]
test al, 0xa9
cmp eax, 0x699fe86e
cdq
jae 0x62ca43
fiadd word [ebp - 0xa]
iretd
pop edx
push ds
imul edi, dword [edi], 0x48
sbb ecx, edi
xor ecx, dword [eax + 0x5f]
cmp byte [0x138494d9], dh
push ds
invalid

Function at 0x659c85
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x662910
cmp edx, dword [eax]
je 0x659ca7
add eax, 8
inc ecx
cmp eax, 0x6629a0
jl 0x659c98
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x662910]
jne 0x659dd5
mov eax, dword [0xa65cf8]
cmp eax, 1
je 0x659daf
test eax, eax
jne 0x659cd8
cmp dword [0x6602b4], 1
je 0x659daf
cmp edx, 0xfc
je 0x659dd5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659d0f
lea eax, [ebp - 0x1a4]
push 0x65d880
push eax
call fcn.00656b40
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00656cc0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659d52
lea eax, [ebp - 0x1a4]
push eax
call fcn.00656cc0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65d87c
push edi
call fcn.00656e50
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65d860
push eax
call fcn.00656b40
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00656b50
lea eax, [ebp - 0xa0]
push 0x65d85c
push eax
call fcn.00656b50
push dword [esi + 0x662914]
lea eax, [ebp - 0xa0]
push eax
call fcn.00656b50
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65d834
push eax
call fcn.0065b54c
add esp, 0x2c
pop edi
jmp 0x659dd5
lea eax, [ebp + 8]
lea esi, [esi + 0x662914]
push 0
push eax
push dword [esi]
call fcn.00656cc0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x465ba0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4968e0], eax
je 0x465bc5
mov eax, 0x10dd
jmp 0x465d5d
cmp dword [0x4968e4], 0
je 0x465bd8
mov eax, dword [0x4968e4]
jmp 0x465d5d
cmp dword [ebp + 8], 0
jne 0x465be8
mov eax, 6
jmp 0x465d5d
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x465c11
mov dword [ebp - 0xc], 6
mov ecx, dword [ebp - 0xc]
mov dword [0x4968e4], ecx
mov edx, dword [ebp + 8]
mov dword [0x4968e8], edx
mov eax, dword [ebp - 0xc]
jmp 0x465d5d
push 0x18
call fcn.00421226
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x465c6a
mov dword [ebp - 0xc], 8
mov ecx, dword [ebp - 0xc]
mov dword [0x4968e4], ecx
cmp dword [ebp - 0x18], 0
je 0x465c59
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00421260
add esp, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [0x4968e8], ecx
mov eax, dword [ebp - 0xc]
jmp 0x465d5d
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00464620
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00464620
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0
je 0x465caa
cmp dword [ebp - 8], 0x1e
jbe 0x465cc6
mov dword [ebp - 0xc], 9
cmp dword [0x4968d8], 0
je 0x465cc1
jmp 0x465c3a
jmp 0x465c31
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x465ced
mov dword [ebp - 0xc], 9
cmp dword [0x4968d8], 0
je 0x465ce8
jmp 0x465c3a
jmp 0x465c31
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0x40
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x465d1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x465c31
mov edx, dword [ebp - 0x18]
mov dword [edx + 4], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4968f0]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
mov dword [0x4968f0], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x41fb30
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41fb36
ret
Function at 0x10008c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1005cc80]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0x57c33b12
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
sub eax, 0x8d7781d6
je 0x10008df3
jmp 0x10008cac
mov eax, dword [ebp - 0x28]
sub eax, 0x25eddf4
je 0x10008e38
jmp 0x10008cbf
mov eax, dword [ebp - 0x28]
sub eax, 0x4e649a1f
je 0x10008de7
jmp 0x10008cd2
mov eax, dword [ebp - 0x28]
sub eax, 0x57c33b12
je 0x10008cfd
jmp 0x10008ce5
mov eax, dword [ebp - 0x28]
sub eax, 0x6cd48e2e
je 0x10008d68
jmp 0x10008cf8
jmp 0x10008e4d
mov ecx, dword [0x1005e174]
mov eax, dword [0x1005e170]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x25eddf4
mov ecx, 0x6cd48e2e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x10008e4d
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
push eax
mov edx, esp
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [0x1005e174]
mov eax, dword [0x1005e170]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x25eddf4
mov ecx, 0x4e649a1f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x10008e4d
mov dword [ebp - 0x1c], 0x8d7781d6
jmp 0x10008e4d
mov edx, dword [ebp - 0x18]
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
mov ecx, dword [ebp - 0x14]
mov edi, dword [edx]
not byte [edi]
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
add byte [edi], 0x64
sub byte [edi], 0x88
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
imul byte [edi]
inc edi
loop 0x10008e05
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10022aa0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
push eax
mov eax, esp
mov dword [ebp - 0x14], edx
mov dword [eax], ecx
mov dword [ebp - 0x1c], 0x6cd48e2e
jmp 0x10008c96
Function at 0x10027aba
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10027af9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10027af9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10027af9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10027af9
cmp dword [ecx + 0x74], 0xe
jbe 0x10027af9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1002a484
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 0x1002a521
push ebx
push esi
call fcn.1002a44d
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.1002a3e1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002a4ce
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002a520
push edi
push eax
call fcn.10028d82
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002a4ee
call fcn.10028dd0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002a51f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002a3e1
add esp, 0x20
test eax, eax
jne 0x1002a50d
push edi
call fcn.10028dd0
jmp 0x1002a515
push ebx
call fcn.10028dd0
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 0x1002a78e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10032780
push 0x10032778
push str.FlsAlloc
push 0x1f
call fcn.1002a6aa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002a7c2
push dword [ebp + 8]
mov ecx, esi
call dword [0x10030150]
call esi
jmp 0x1002a7c8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002a80c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10032790
push 0x10032788
push str.FlsGetValue
push 0x21
call fcn.1002a6aa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002a843
push dword [ebp + 8]
mov ecx, esi
call dword [0x10030150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002a84b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10032798
push 0x10032790
push str.FlsSetValue
push 0x22
call fcn.1002a6aa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002a885
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10030150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1002fd90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002fdbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002fdbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401b10
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x20330
call fcn.00410770
mov eax, dword [0x41b2ec]
xor eax, esp
mov dword [esp + 0x20328], eax
push ebp
push esi
push edi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x132]
push ecx
mov word [esp + 0x134], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
xor edx, edx
push 0x1fffe
push edx
lea eax, [esp + 0x33a]
push eax
mov word [esp + 0x33c], dx
call sub.MSVCR90.dll_memset
add esp, 0xc
xor ecx, ecx
push 0x80
push ecx
lea edx, [esp + 0x22]
push edx
mov word [esp + 0x24], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
xor eax, eax
push 0x80
push eax
lea ecx, [esp + 0xaa]
push ecx
mov word [esp + 0xac], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
test esi, esi
je 0x401ca0
push 0x104
lea edx, [esp + 0x12c]
push edx
push str._Config_Original_QQGameDebug.ini
push esi
call fcn.0040c4ce
mov esi, eax
add esp, 0x10
mov dword [esp + 0x10], esi
test esi, esi
je 0x401c88
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x128]
push eax
push 0x40
lea ecx, [esp + 0x20]
push ecx
push 0x4151c0
push str.DebuggerSwitchLevel
push str.QQGame
call ebp
lea ecx, [esp + 0x18]
call fcn.00402100
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x10]
push 1
mov ecx, ebx
call eax
lea ecx, [esp + 0x128]
push ecx
push 0x40
lea edx, [esp + 0x20]
push edx
push 0x4151c0
push str.FileSwitchLevel
push str.QQGame
call ebp
lea ecx, [esp + 0x18]
call fcn.00402100
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x10]
push 0
mov ecx, ebx
call eax
lea ecx, [esp + 0x128]
push ecx
push 0x10000
lea edx, [esp + 0x338]
push edx
push str.SwitchLevels
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov dword [esp + 0x14], eax
test eax, eax
jbe 0x401c86
cmp word [esp + 0x330], 0
lea edi, [esp + 0x330]
mov dword [esp + 0xc], edi
jne 0x401ccc
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20328]
xor ecx, esp
call fcn.0041005a
add esp, 0x20330
ret
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20328]
xor ecx, esp
call fcn.0041005a
add esp, 0x20330
ret
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, edi
lea edx, [esp + 0x330]
sub ecx, edx
sar ecx, 1
cmp ecx, eax
ja 0x401c86
lea esi, [esp + 0x18]
call fcn.00401aa0
test eax, eax
je 0x401d44
lea eax, [esp + 0x128]
push eax
push 0x40
lea ecx, [esp + 0xa8]
push ecx
push str.Trace
mov edx, esi
push edx
push str.SwitchLevels
call ebp
lea ecx, [esp + 0xa0]
call fcn.00402100
mov edi, eax
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, esi
push ecx
mov ecx, ebx
call edx
mov ebp, eax
xor esi, esi
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push edi
push ebp
push esi
mov ecx, ebx
call edx
inc esi
cmp esi, 2
jl 0x401d28
mov edi, dword [esp + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401d50
sub eax, edx
sar eax, 1
lea eax, [edi + eax*2 + 2]
mov dword [esp + 0xc], eax
cmp word [eax], cx
jne 0x401cc0
mov ecx, dword [esp + 0x20334]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0041005a
add esp, 0x20330
ret
Function at 0x401d90
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x420
mov eax, dword [0x41b2ec]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push edi
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
test edi, edi
je 0x401e11
push 0x104
lea edx, [esp + 0x14]
push edx
push str._Config_Original_QQGameDebug.ini
push edi
call fcn.0040c4ce
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x401e8c
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [esp + 0x10]
push eax
push 0
push str.Log2Debugger
push str.QQGame
call ebx
mov edx, dword [esi]
mov ecx, esi
test eax, eax
je 0x401e2b
mov eax, dword [edx + 0x18]
call eax
jmp 0x401e32
xor eax, eax
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.0041005a
add esp, 0x420
ret
mov eax, dword [edx + 0x1c]
push 1
call eax
lea ecx, [esp + 0x10]
push ecx
push 0
push str.Log2File
push str.QQGame
call ebx
test eax, eax
je 0x401e7f
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x222]
push eax
mov word [esp + 0x224], dx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ebx, [esp + 0x218]
call fcn.00401eb0
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
mov eax, ebx
push eax
jmp 0x401e86
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 0
mov ecx, esi
call edx
mov eax, ebp
mov ecx, dword [esp + 0x424]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041005a
add esp, 0x420
ret

Function at 0x402680
Capabilities:
Create thread

Disassembly:
push esi
mov esi, edx
test eax, eax
je 0x4026fd
test ecx, ecx
je 0x4026fd
cmp dword [esi + 0x1c], 0
jne 0x4026fd
cmp dword [esi + 0x20], 0
jne 0x4026fd
cmp dword [esi + 0x24], 0
jne 0x4026fd
cmp dword [esi + 0x30], 0
jne 0x4026fd
mov dword [esi + 0x30], ecx
push eax
mov ecx, esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 1
call dword [0x4131bc]
call fcn.00402930
test eax, eax
je 0x4026fd
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x20], eax
test eax, eax
je 0x4026fd
push 0
push 0
push esi
push 0x402860
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x1c], eax
pop esi
mov eax, ecx
ret
xor eax, eax
pop esi
ret

Function at 0x402ac0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x804
mov eax, dword [0x41b2ec]
xor eax, esp
mov dword [esp + 0x800], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x814]
lea edx, [esp + 0x818]
push edx
push eax
lea ecx, [esp + 0x14]
push 0x3ff
push ecx
call dword [sym.imp.MSVCR90.dll__vsnwprintf]
add esp, 0x1c
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0041005a
add esp, 0x804
ret
Function at 0x402e30
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x230
mov eax, dword [0x41b2ec]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push edi
push 0x228
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x14], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 8]
mov edi, eax
push ecx
push edi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
lea edx, [esp + 8]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x402ef9
push esi
mov esi, dword [sym.imp.MSVCR90.dll__wcsicmp]
lea esp, [esp]
lea eax, [esp + 0x30]
push 0x413690
push eax
call esi
add esp, 8
test eax, eax
je 0x402ec4
lea ecx, [esp + 0xc]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x402ea0
jmp 0x402ef8
mov edx, dword [esp + 0x14]
push edx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x402ef8
mov eax, dword [esp + 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x402ef5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
pop esi
push edi
call ebx
mov ecx, dword [esp + 0x234]
pop edi
pop ebx
xor ecx, esp
call fcn.0041005a
add esp, 0x230
ret 4

Function at 0x402ff0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x804
mov eax, dword [0x41b2ec]
xor eax, esp
mov dword [esp + 0x800], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x818]
lea edx, [esp + 0x81c]
push edx
push eax
push 0x3ff
lea ecx, [esp + 0x18]
push 0x400
push ecx
call dword [sym.imp.MSVCR90.dll__vsnwprintf_s]
add esp, 0x20
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0041005a
add esp, 0x804
ret

Function at 0x403640
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x80c
mov eax, dword [0x41b2ec]
xor eax, esp
mov dword [esp + 0x808], eax
mov eax, dword [esp + 0x81c]
push ebx
mov ebx, dword [esp + 0x818]
push ebp
mov ebp, dword [esp + 0x820]
push esi
push edi
mov edi, dword [esp + 0x820]
xor edx, edx
push 0x7fe
mov dword [esp + 0x18], eax
mov esi, ecx
mov ecx, dword [esp + 0x834]
push edx
lea eax, [esp + 0x22]
push eax
mov dword [esp + 0x1c], ecx
mov word [esp + 0x24], dx
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x20]
add esp, 0xc
push edi
push 0x400
lea ecx, [esp + 0x20]
push ecx
push edx
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 0x834]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00403530
mov ecx, dword [esp + 0x818]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041005a
add esp, 0x80c
ret 0x18
Function at 0x4036f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x41b2ec]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x218]
push esi
mov esi, dword [esp + 0x218]
push edi
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
push esi
push 0x104
lea edx, [esp + 0x14]
push edx
push 0
push str.Path
push 0x4137dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ax, word [esp + 0xc]
lea ecx, [esp + 0xc]
test ax, ax
je 0x403778
movzx eax, ax
nop
cmp ax, 0x20
je 0x40376c
cmp ax, 9
jne 0x4037a3
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x403760
mov edx, dword [esp + 0x224]
push esi
push edx
push ebx
mov ecx, edi
call fcn.00403410
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041005a
add esp, 0x20c
ret 0xc
lea eax, [esp + 0xc]
push 0x3a
push eax
call dword [sym.imp.MSVCR90.dll_wcschr]
add esp, 8
test eax, eax
jne 0x4037d7
cmp word [esp + 0xc], 0x5c
je 0x4037d7
mov ecx, dword [esp + 0x224]
push ecx
push ebx
lea edx, [esp + 0x14]
push edx
push esi
mov ecx, edi
call fcn.004035b0
jmp 0x403789
mov eax, dword [esp + 0x224]
push eax
push ebx
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.004036f0
jmp 0x403789
Function at 0x4038e0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x428
mov eax, dword [0x41b2ec]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
mov ebx, dword [esp + 0x434]
push ebp
mov ebp, dword [esp + 0x43c]
push esi
push edi
mov edi, dword [esp + 0x43c]
push 0xa
mov esi, ecx
lea ecx, [esp + 0x14]
push ecx
push 0x413870
xor eax, eax
push str.NotUseDefaultDllPath
push 0x41383c
push edi
mov ecx, esi
mov word [esp + 0x28], ax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
call fcn.00403640
cmp word [esp + 0x10], 0x31
jne 0x403968
mov edx, dword [esp + 0x448]
push edx
push ebp
push ebx
push edi
mov ecx, esi
call fcn.004035b0
jmp 0x403a8b
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x236]
push ecx
mov word [esp + 0x238], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
push edi
push 0x104
lea edx, [esp + 0x234]
push edx
push 0
push str.DllPath
push str.DefaultValue
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x206
lea eax, [esp + 0x2a]
push 0
push eax
call sub.MSVCR90.dll_memset
xor ecx, ecx
add esp, 0xc
lea edx, [esp + 0x22c]
mov word [esp + 0x24], cx
push edx
mov ecx, esi
call fcn.004030b0
test eax, eax
je 0x403a01
test ebx, ebx
je 0x403a42
push 0x104
push ebx
mov ecx, esi
call fcn.004030f0
test eax, eax
je 0x403a42
push ebx
lea eax, [esp + 0x28]
push 0x104
push eax
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
add esp, 0xc
jmp 0x403a42
lea ecx, [esp + 0x22c]
push ecx
push 0x104
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.004031e0
push 0x4137d8
push 0x104
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.004031e0
push ebx
push 0x104
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.004031e0
lea edx, [esp + 0x24]
push 0x3a
push edx
call dword [sym.imp.MSVCR90.dll_wcschr]
add esp, 8
test eax, eax
jne 0x403a76
cmp word [esp + 0x24], 0x5c
je 0x403a76
mov eax, dword [esp + 0x448]
push eax
push ebp
lea ecx, [esp + 0x2c]
push ecx
push edi
mov ecx, esi
call fcn.004035b0
jmp 0x403a8b
mov eax, dword [esp + 0x448]
lea edx, [esp + 0x24]
push edx
push eax
push ebp
mov ecx, esi
call fcn.00403410
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041005a
add esp, 0x428
ret 0x10