joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441e50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ada7b
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
cmp eax, ecx
push edi
mov edi, dword [esp + 0x9c]
je 0x441e9f
cmp edi, dword [eax]
je 0x441e8d
add eax, 0x80
cmp eax, ecx
jne 0x441e80
cmp eax, ecx
je 0x441e9f
push eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 4]
call fcn.004418d0
xor eax, eax
mov ecx, 0xf
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x14], al
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov byte [esp + 0x30], al
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], eax
mov byte [esp + 0x4c], al
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], eax
mov byte [esp + 0x68], al
mov dword [esp + 0xc], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 4]
mov dword [esp + 0x98], eax
call fcn.00441d80
lea ecx, [esp + 0xc]
mov dword [esp + 0x94], 0xffffffff
call fcn.0041a370
mov esi, dword [esi + 0xc]
mov dword [esi - 0x80], edi
mov ecx, dword [0x6247d4]
call fcn.004fa520
call fcn.0057b228
mov ecx, dword [esp + 0x8c]
mov dword [esi - 4], eax
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x90
ret 4
Function at 0x44c560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ae25a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CPythonSkill.0
mov eax, dword [esi + 0x60]
mov ecx, dword [eax]
lea edi, [esi + 0x5c]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x28], 6
call fcn.00447400
mov eax, dword [edi + 4]
push eax
call fcn.0057ad56
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x54]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x50]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov byte [esp + 0x28], 5
call fcn.00447a50
mov eax, dword [edi + 4]
push eax
call fcn.0057ad56
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x44]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
mov byte [esp + 0x28], 4
call fcn.00447a50
mov eax, dword [edi + 4]
push eax
call fcn.0057ad56
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x38]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x28], 3
call fcn.00447a50
mov eax, dword [edi + 4]
push eax
call fcn.0057ad56
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x30]
lea edi, [esi + 0x2c]
add esp, 4
mov byte [esp + 0x1c], 2
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00447a50
mov eax, dword [edi + 4]
push eax
call fcn.0057ad56
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x28]
add esp, 4
cmp eax, 0x10
jb 0x44c681
mov eax, dword [esi + 0x14]
push eax
call fcn.0057ad56
add esp, 4
mov dword [esi + 0x28], 0xf
mov dword [esi + 0x24], ebx
mov byte [esi + 0x14], bl
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea edi, [esi + 4]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
mov byte [esp + 0x28], bl
call fcn.00449c40
mov eax, dword [edi + 4]
push eax
call fcn.0057ad56
mov ecx, dword [esp + 0x18]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
add esp, 4
mov dword [esi], vtable.CSingleton_class_CPythonSkill_.0
pop edi
pop esi
mov dword [0x62498c], ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4590b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5aef58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x620368]
xor eax, esp
push ebx
push ebp
mov dword [esp + 0x10], eax
mov al, byte [esp + 0x58]
push esi
push edi
mov byte [esp + 0x10], al
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
lea ebp, [edi + edi + 2]
cmp ebp, esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], edi
jge 0x459163
nop
lea ecx, [ebp + ebp*4]
mov dl, byte [ebx + ecx*8 + 0x20]
lea eax, [ebx + ecx*8]
cmp dl, byte [eax - 8]
jae 0x459111
dec ebp
lea eax, [ebp + ebp*4]
mov edx, dword [ebx + eax*8]
lea esi, [ebx + eax*8]
push 0xffffffffffffffff
lea ecx, [edi + edi*4]
lea edi, [ebx + ecx*8]
push 0
lea eax, [esi + 4]
push eax
lea ecx, [edi + 4]
mov dword [edi], edx
call fcn.00403eb0
mov cl, byte [esi + 0x20]
mov byte [edi + 0x20], cl
mov dl, byte [esi + 0x21]
mov byte [edi + 0x21], dl
mov al, byte [esi + 0x22]
mov byte [edi + 0x22], al
mov cl, byte [esi + 0x23]
mov eax, dword [esp + 0x34]
mov byte [edi + 0x23], cl
mov edx, dword [esi + 0x24]
mov dword [edi + 0x24], edx
mov edi, ebp
lea ebp, [ebp + ebp + 2]
cmp ebp, eax
jl 0x459100
mov esi, eax
cmp ebp, esi
jne 0x4591a9
lea eax, [esi + esi*4]
mov edx, dword [ebx + eax*8 - 0x28]
lea ebp, [ebx + eax*8 - 0x28]
push 0xffffffffffffffff
lea ecx, [edi + edi*4]
lea edi, [ebx + ecx*8]
push 0
lea eax, [ebp + 4]
push eax
lea ecx, [edi + 4]
mov dword [edi], edx
call fcn.00403eb0
mov cl, byte [ebp + 0x20]
mov byte [edi + 0x20], cl
mov dl, byte [ebp + 0x21]
mov byte [edi + 0x21], dl
mov al, byte [ebp + 0x22]
mov byte [edi + 0x22], al
mov cl, byte [ebp + 0x23]
mov byte [edi + 0x23], cl
mov edx, dword [ebp + 0x24]
mov dword [edi + 0x24], edx
lea edi, [esi - 1]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
push eax
sub esp, 0x28
mov esi, esp
mov dword [esp + 0x3c], esp
mov dword [esi], ecx
push 0xffffffffffffffff
lea ecx, [esi + 4]
push 0
lea edx, [esp + 0x70]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.00403eb0
mov dl, byte [esp + 0x86]
mov al, byte [esp + 0x84]
mov cl, byte [esp + 0x85]
mov byte [esi + 0x22], dl
mov edx, dword [esp + 0x40]
push edx
mov byte [esi + 0x20], al
mov al, byte [esp + 0x8b]
mov byte [esi + 0x21], cl
mov ecx, dword [esp + 0x8c]
push edi
push ebx
mov byte [esi + 0x23], al
mov dword [esi + 0x24], ecx
call fcn.00458790
mov eax, dword [esp + 0x8c]
add esp, 0x38
cmp eax, 0x10
jb 0x45923a
mov eax, dword [esp + 0x40]
push eax
call fcn.0057ad56
add esp, 4
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x10]
pop ebp
pop ebx
xor ecx, esp
call fcn.0057b3d4
add esp, 0x18
ret
Function at 0x463350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5af640
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x620368]
xor eax, esp
push ebx
push esi
mov dword [esp + 0x4c], eax
mov esi, ecx
mov eax, dword [esi + 0xc34]
mov ecx, dword [esi + 0xc38]
xor ebx, ebx
cmp eax, ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x58], ebx
mov dword [esi + 0x350], eax
je 0x4633c5
mov edx, 0x40
lea esp, [esp]
mov eax, dword [esi + 0x350]
cmp dword [eax + 4], ecx
je 0x4634f4
add eax, edx
mov dword [esi + 0x350], eax
mov eax, dword [esi + 0xc38]
cmp dword [esi + 0x350], eax
jne 0x4633a0
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dl, byte [esp + 0x60]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x6c]
push 0xffffffffffffffff
mov byte [esp + 0x10], dl
push ebx
lea edx, [esp + 0x78]
mov dword [esp + 0x20], ecx
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.00403eb0
fld dword [esp + 0x68]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x2c], eax
call fcn.0057b228
mov dword [esp + 8], eax
fild dword [esp + 8]
fstp dword [esp + 0x14]
fld dword [esp + 0x6c]
call fcn.0057b228
mov dword [esp + 8], eax
fild dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 0xc30]
fstp dword [esp + 0x1c]
fld dword [esi + 0x348]
fdiv dword [esi + 0x340]
fmul dword [esp + 0x18]
fstp dword [esp + 0x20]
fld dword [esi + 0x34c]
fdiv dword [esi + 0x344]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x24]
call fcn.004630e0
mov eax, dword [esp + 0x48]
mov esi, 0x10
cmp eax, esi
jb 0x4634ae
mov edx, dword [esp + 0x34]
push edx
call fcn.0057ad56
add esp, 4
mov eax, dword [esp + 0x88]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp eax, esi
jb 0x4634d6
mov eax, dword [esp + 0x74]
push eax
call fcn.0057ad56
add esp, 4
mov ecx, dword [esp + 0x50]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x48]
pop ebx
xor ecx, esp
call fcn.0057b3d4
add esp, 0x54
ret 0x30
cmp dword [esp + 0x88], 0x10
jmp 0x4634c7
Function at 0x46eb60
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
push esi
push edi
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.0046ead0
mov edi, dword [ebp + 8]
push 0x5c5c38
push edi
call fcn.0057c174
add esp, 8
push 0x80
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
fld dword [esp + 0x14]
sub esp, 0x18
fstp qword [esp + 0x10]
fld dword [esp + 0x28]
fstp qword [esp + 8]
fld dword [esp + 0x24]
fstp qword [esp]
push 0x5c8770
push 0
push esi
call fcn.004d14d0
fld dword [esp + 0x48]
add esp, 0xc
fstp qword [esp + 0x10]
fld dword [esp + 0x40]
fstp qword [esp + 8]
fld dword [esp + 0x44]
fstp qword [esp]
push 0x5c8758
push 0
push esi
call fcn.004d14d0
fld dword [esp + 0x44]
add esp, 0xc
fstp qword [esp + 0x10]
fld dword [esp + 0x34]
fstp qword [esp + 8]
fld dword [esp + 0x30]
fstp qword [esp]
push 0x5c8744
push 0
push esi
call fcn.004d14d0
fld dword [esp + 0x44]
call fcn.0057b228
fld dword [esp + 0x40]
push eax
call fcn.0057b228
fld dword [esp + 0x40]
push eax
call fcn.0057b228
fld dword [esp + 0x50]
push eax
call fcn.0057b228
fld dword [esp + 0x58]
push eax
call fcn.0057b228
fld dword [esp + 0x60]
push eax
call fcn.0057b228
fld dword [esp + 0x4c]
push eax
call fcn.0057b228
fld dword [esp + 0x4c]
push eax
call fcn.0057b228
fld dword [esp + 0x4c]
push eax
call fcn.0057b228
push eax
push 0x5c86f8
push 0
push esi
call fcn.004d14d0
add esp, 0x54
push esi
call fcn.0057c069
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x46f4c0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x624458]
call fcn.00487090
test eax, eax
je 0x46f4dd
mov ecx, eax
call fcn.004cda60
test al, al
jne 0x46f533
fild dword [esp + 8]
mov eax, dword [esi + 0x131a4]
test eax, eax
fmul dword [esi + 0x13188]
fadd dword [0x5bb7cc]
fstp dword [esp + 8]
je 0x46f529
push 0x91
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x46f529
fld dword [0x5bb7cc]
push ecx
fsub dword [esp + 0xc]
mov ecx, esi
fmul dword [0x5c3a28]
fstp dword [esp]
call fcn.0046f270
pop esi
ret 4
mov eax, dword [esp + 8]
mov dword [esi + 0x1317c], eax
pop esi
ret 4
Function at 0x478540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b0128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x620368]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
xor eax, eax
push edi
mov esi, ecx
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], eax
mov byte [esp + 0xc], al
mov edi, dword [esp + 0x38]
mov dword [esp + 0x30], eax
lea eax, [esp + 8]
push eax
push edi
call fcn.00477690
test al, al
je 0x4785d0
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x47859f
lea eax, [esp + 0xc]
push eax
push edi
mov ecx, esi
call fcn.00478310
mov ecx, eax
call fcn.00476f30
test al, al
jne 0x4785d0
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x4785c2
lea eax, [esp + 0xc]
push eax
push 0x5ca080
call fcn.004fa1e0
add esp, 8
cmp dword [esp + 0x20], 0x10
pop edi
pop esi
jb 0x4785e6
mov ecx, dword [esp + 4]
push ecx
call fcn.0057ad56
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0057b3d4
add esp, 0x2c
ret 4

Function at 0x479090
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x5b01e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x620368]
xor eax, esp
push ebx
mov dword [esp + 0x24], eax
mov eax, dword [0x60640c]
mov cl, byte [eax]
push ebp
xor ebx, ebx
cmp cl, 0xa
push esi
push edi
mov dword [esp + 0x10], ebx
je 0x47919e
mov esi, 0x60640c
mov edi, 0xf
mov ebp, 0x10
lea esp, [esp]
push 4
push 0x5ca308
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004041a0
mov ecx, dword [esi]
mov eax, ecx
mov dword [esp + 0x3c], ebx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x479107
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403fc0
cmp dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x18]
jae 0x479129
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.0057beb9
add esp, 8
test eax, eax
jne 0x4791be
mov edx, dword [esp + 0x2c]
cmp edx, ebp
mov eax, dword [esp + 0x18]
mov ecx, eax
jae 0x47914f
lea ecx, [esp + 0x18]
mov eax, ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
cmp dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], 0xffffffff
jb 0x479172
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0057ad56
add esp, 4
mov eax, dword [esp + 0x10]
inc eax
mov edx, dword [eax*4 + 0x60640c]
lea esi, [eax*4 + 0x60640c]
mov dword [esp + 0x10], eax
cmp byte [edx], 0xa
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jne 0x4790e0
mov al, 1
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24]
pop ebx
xor ecx, esp
call fcn.0057b3d4
add esp, 0x30
ret
cmp dword [esp + 0x2c], ebp
jb 0x4791d1
mov eax, dword [esp + 0x18]
push eax
call fcn.0057ad56
add esp, 4
xor al, al
jmp 0x4791a0
Function at 0x479cb0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5b02e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x620368]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x54]
push ebp
mov ebp, dword [esp + 0x5c]
push esi
push 0
mov dword [esp + 0x4c], eax
call fcn.0057c372
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
add esi, eax
push esi
call fcn.004faf40
call fcn.004faf50
push eax
call fcn.0057c2ed
mov esi, 1
push esi
call fcn.004f9f10
push 0
push 0x5c8340
call fcn.0057beb9
add esp, 0x14
test eax, eax
jne 0x479d2c
push 0x5c8340
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push 0
push 0x5ca4a0
call fcn.0057beb9
add esp, 8
test eax, eax
jne 0x479d53
push 0x5ca48c
call fcn.0057d0f1
add esp, 4
xor al, al
jmp 0x479ee8
call dword [sym.imp.DevIL.dll_ilInit]
push ebp
call fcn.00478f90
add esp, 4
test eax, eax
je 0x479d4c
push edi
push 0
call fcn.004f9fd0
mov al, byte [0x628900]
add esp, 4
or edi, 0xffffffff
test al, 1
jne 0x479da6
or dword [0x628900], esi
mov ecx, 0x6288f8
mov dword [esp + 0x58], 0
call fcn.004fcb90
push 0x5b9e30
call fcn.0057b37d
add esp, 4
mov dword [esp + 0x58], edi
test byte [0x628900], 2
jne 0x479dd5
or dword [0x628900], 2
mov ecx, 0x626c40
mov dword [esp + 0x58], esi
call fcn.0053df80
push 0x5b9e20
call fcn.0057b37d
add esp, 4
mov dword [esp + 0x58], edi
push 0x5ca484
call fcn.004791e0
add esp, 4
test al, al
jne 0x479dfe
push 0
push 0
push 0x5ca450
call fcn.004fa2f0
add esp, 0xc
xor al, al
jmp 0x479ee7
push ebx
call fcn.0059dce0
add esp, 4
test al, al
je 0x479e19
call fcn.00478b80
push eax
call fcn.004d1c20
add esp, 4
push 0x13230
call fcn.0057a6d0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x58], 2
je 0x479e41
mov ecx, eax
call fcn.0046e3b0
mov esi, eax
jmp 0x479e43
xor esi, esi
push ebx
mov ecx, esi
mov dword [esp + 0x5c], edi
call fcn.004e2460
lea ecx, [esp + 0x10]
xor bl, bl
call fcn.00500880
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 3
call fcn.0040fbb0
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x5c], 4
call fcn.00501030
add esp, 4
push 0x5ca444
lea ecx, [esp + 0x14]
call fcn.00500ad0
test al, al
je 0x479e9f
lea ecx, [esp + 0x10]
push ebp
push ecx
call fcn.004797d0
add esp, 8
mov bl, al
mov ecx, esi
call fcn.0046c370
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
lea ecx, [esp + 0x10]
call sub.python22.dll_Py_Finalize
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 3
call fcn.0040fb20
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], edi
call fcn.005008a0
mov ecx, esi
call fcn.0046dab0
test esi, esi
je 0x479ee5
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov al, bl
pop edi
mov ecx, dword [esp + 0x4c]
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x40]
pop ebx
xor ecx, esp
call fcn.0057b3d4
add esp, 0x4c
ret
Function at 0x479f10
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x404
mov eax, dword [0x620368]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x410]
push esi
mov dword [esp + 0x408], eax
push edi
lea eax, [esp + 0xc]
push eax
push 0x100
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea edx, [esp + 0xc]
mov cl, byte [eax + edx - 1]
dec edx
cmp cl, 0x5c
je 0x479f71
lea edi, [esp + 0xc]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x479f60
mov ax, word [0x5ca4d0]
mov word [edi], ax
lea edi, [esp + 0xc]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x479f76
mov ecx, dword [0x5ca4bc]
mov edx, dword [0x5ca4c0]
mov eax, dword [0x5ca4c4]
mov dword [edi], ecx
mov ecx, dword [0x5ca4c8]
mov dword [edi + 4], edx
mov dl, byte [0x5ca4cc]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov byte [edi + 0x10], dl
call fcn.00478ba0
lea edx, [esp + 0x30c]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x479fb5
push 7
lea eax, [esp + 0x310]
push 0x5ca4b4
push eax
call fcn.0057ba84
add esp, 0xc
test eax, eax
jne 0x479ffa
call fcn.00478ba0
add eax, 7
lea edx, [esp + 0x30c]
sub edx, eax
jmp 0x479ff0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x479ff0
mov esi, dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
lea ecx, [esp + 0xc]
push ecx
push 0x1ff
lea edx, [esp + 0x114]
push edx
push 0
push ebx
lea eax, [esp + 0x320]
push eax
call esi
mov al, byte [esp + 0x10c]
test al, al
jne 0x47a092
mov edx, dword [esp + 0x414]
mov eax, dword [0x626c2c]
push 0x1ff
lea ecx, [esp + 0x110]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov al, byte [esp + 0x10c]
test al, al
jne 0x47a092
lea ecx, [esp + 0xc]
push ecx
push 0x1ff
lea edx, [esp + 0x114]
push edx
push 0
push ebx
push 0x5ca4b0
call esi
mov al, byte [esp + 0x10c]
test al, al
jne 0x47a092
lea edx, [esp + 0x10c]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x47a088
lea eax, [esp + 0x414]
push eax
mov ecx, 0x626c30
call fcn.0045a9e0
mov esi, eax
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47a0b0
sub eax, edx
push eax
lea ecx, [esp + 0x110]
push ecx
mov ecx, esi
call fcn.004041a0
mov ecx, dword [esp + 0x40c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0057b3d4
add esp, 0x404
ret
Function at 0x4870a0
Capabilities:
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4870b0
sub eax, edx
mov edx, eax
mov eax, 0x1505
mov ecx, 0
je 0x4870df
push edi
jmp 0x4870d0
movsx edi, byte [ecx + esi]
imul eax, eax, 0x21
add eax, edi
inc ecx
cmp ecx, edx
jb 0x4870d0
pop edi
pop esi
ret
Function at 0x4a73b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b26c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push 0x10
push 0x5cccec
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.004041a0
mov eax, dword [esp + 0x34]
add eax, 4
push eax
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], 0
call fcn.004dd570
mov ebx, eax
mov eax, dword [esp + 0x1c]
neg ebx
sbb bl, bl
inc bl
cmp eax, 0x10
jb 0x4a742a
mov edx, dword [esp + 8]
push edx
call fcn.0057ad56
add esp, 4
mov ecx, dword [esp + 0x20]
xor eax, eax
test bl, bl
sete al
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4b0f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b2bf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x5cceb0
mov dword [esp + 0xc], esi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
lea ebp, [esi + 0x84]
mov ecx, ebp
mov byte [esp + 0x18], 7
call fcn.00431bc0
mov dword [ebp + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
lea ebp, [esi + 0xb8]
mov ecx, ebp
mov byte [esp + 0x18], 0xa
call fcn.00431bc0
mov dword [ebp + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
lea ebp, [esi + 0xc8]
mov ecx, ebp
mov byte [esp + 0x18], 0xb
call fcn.00423450
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x10]
mov byte [eax + 0x11], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
mov eax, 0xff
mov word [esi + 0xb2], ax
mov word [esi + 0xb0], ax
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret