joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460680
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebb88
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
push eax
call fcn.004603d0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x44]
mov esi, dword [edi]
cmp esi, edi
je 0x460820
nop
push 0xffffffffffffffff
push 0
lea ebx, [esi + 0x10]
mov dword [ebp - 0x18], 0xf
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00409690
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 0x4614a0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x34]
jne 0x4607c1
test ecx, ecx
je 0x460757
mov eax, dword [ebp - 0x30]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041f030
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x460770
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004099a0
cmp byte [esi + 0xd], 0
jne 0x4607b7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x46079c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4607b7
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x460790
jmp 0x4607b7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4607b5
cmp esi, dword [eax + 8]
jne 0x4607b5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4607a5
mov esi, eax
cmp esi, edi
jne 0x4606d0
jmp 0x46081d
mov ebx, dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
cmp ebx, eax
je 0x4607da
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00409690
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x18], eax
test ecx, ecx
je 0x460808
mov eax, dword [ebp - 0x30]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041f030
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x46081d
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004099a0
mov edi, dword [ebp - 0x44]
push edi
push dword [edi]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x44]
call fcn.0045e780
push dword [ebp - 0x44]
call fcn.004a0560
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret 4

Function at 0x4614f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push esi
push 0x4614a0
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x461610
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebdd2
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xa4], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.CGameBase.0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0xa8], esi
jb 0x46166d
mov eax, dword [ecx]
jmp 0x46166f
mov eax, ecx
mov byte [eax], 0
push 0
push 0x507250
mov dword [ebp - 4], 0
call fcn.00409af0
mov dword [ebp - 4], 1
mov dword [esi], vtable.COrigin.0
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
cmp dword [esi + 0x30], 8
jb 0x4616ab
mov eax, dword [esi + 0x1c]
jmp 0x4616ae
lea eax, [esi + 0x1c]
xor ecx, ecx
mov word [eax], cx
lea edx, [ecx + 0x54]
mov dword [ebp - 0xa0], 0x170054
mov dword [ebp - 0x9c], 0x8006e
mov dword [ebp - 0x98], 0x260004
mov dword [ebp - 0x94], 0x33003b
mov dword [ebp - 0x90], 0x350026
mov dword [ebp - 0x8c], 0x100039
mov dword [ebp - 0x88], 0x200035
mov dword [ebp - 0x84], 0x80035
mov dword [ebp - 0x80], 0x26001b
mov dword [ebp - 0x7c], 0x33003d
mov dword [ebp - 0x78], 0x3a003d
mov dword [ebp - 0x74], 0x180008
mov dword [ebp - 0x70], 0x37003b
mov dword [ebp - 0x6c], 0x380035
mov dword [ebp - 0x68], 0x3b0017
mov dword [ebp - 0x64], 0x20003a
mov dword [ebp - 0x60], 0x3a0031
mov dword [ebp - 0x5c], 0x20
mov byte [ebp - 4], 3
movzx eax, word [ebp + ecx*2 - 0x9e]
xor ax, dx
mov word [ebp + ecx*2 - 0x58], ax
movzx eax, word [ebp + ecx*2 - 0x9c]
xor ax, word [ebp - 0xa0]
mov word [ebp + ecx*2 - 0x56], ax
add ecx, 2
cmp ecx, 0x22
jae 0x461785
mov dx, word [ebp - 0xa0]
jmp 0x461750
xor eax, eax
mov word [ebp - 0x14], ax
cmp word [ebp - 0x58], ax
je 0x4617a6
lea eax, [ebp - 0x58]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x461797
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [esi + 0x1c]
call fcn.00403e20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret
Function at 0x465eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec768
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], 0x5f617518
mov dword [ebp - 0x28], 0x6b7d7579
mov dword [ebp - 0x24], 0x6c797c36
mov byte [ebp - 0x20], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.004782b0
mov byte [ebp - 4], 1
xor edx, edx
nop word [eax + eax]
mov cl, byte [ebp + edx - 0x2b]
xor cl, byte [ebp - 0x2c]
mov byte [ebp + edx - 0x1f], cl
inc edx
cmp edx, 0xb
jb 0x465f10
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0x14], 0
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00407900
add esp, 0xc
mov edx, esi
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.00420880
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x465f58
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004099a0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x465f7f
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.004099a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret 4

Function at 0x465fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec7a8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x2c], 0x6c52462b
mov dword [ebp - 0x28], 0x584e464a
mov dword [ebp - 0x24], 0x5f4a4f05
mov byte [ebp - 0x20], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.004782b0
mov edx, eax
mov byte [ebp - 4], 1
xor ecx, ecx
mov al, byte [ebp + ecx - 0x2b]
xor al, byte [ebp - 0x2c]
mov byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xb
jb 0x466003
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x14], 0
push eax
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.00407900
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00420580
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x46604b
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004099a0
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x466072
inc ecx
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x5c]
call fcn.004099a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret 4
Function at 0x468560
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ecb58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov al, 0xb
mov dword [ebp - 0x2c], 0
mov cl, 0x36
mov dword [ebp - 0x28], 0x3a360b59
mov dl, 0x3a
mov bl, 0x32
mov dword [ebp - 0x24], 0x382d2a32
mov ah, 0x2a
mov word [ebp - 0x20], 0x2b
mov ch, 0x2d
mov dh, 0x38
mov bh, 0x2b
mov dword [ebp - 4], 0
xor al, byte [ebp - 0x28]
mov byte [ebp - 0x1e], al
mov al, byte [ebp - 0x28]
xor cl, al
mov byte [ebp - 0x16], 0
xor dl, al
mov byte [ebp - 0x1d], cl
xor bl, al
mov byte [ebp - 0x1c], dl
xor ah, al
mov byte [ebp - 0x1b], bl
xor ch, al
mov byte [ebp - 0x1a], ah
xor dh, al
mov byte [ebp - 0x19], ch
xor bh, al
mov byte [ebp - 0x18], dh
mov byte [ebp - 0x17], bh
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x1e], 0
jne 0x46860a
xor eax, eax
jmp 0x468619
lea eax, [ebp - 0x1e]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x468610
sub eax, edx
push eax
lea eax, [ebp - 0x1e]
mov ecx, esi
push eax
call fcn.00409af0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret 4
Function at 0x46c4a0
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed398
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x50cba0]
mov edx, dword [ebp + 8]
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x98], 0
movaps xmm0, xmmword [0x50cb50]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 4
mov dword [ebp - 0xa4], 4
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x4c637c7c
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0
xor ecx, ecx
movzx eax, byte [ebp + ecx - 0x7b]
xor al, byte [ebp - 0x7c]
mov byte [ebp + ecx - 0x57], al
movzx eax, byte [ebp + ecx - 0x7a]
xor al, byte [ebp - 0x7c]
mov byte [ebp + ecx - 0x56], al
movzx eax, byte [ebp + ecx - 0x79]
xor al, byte [ebp - 0x7c]
mov byte [ebp + ecx - 0x55], al
movzx eax, byte [ebp + ecx - 0x78]
xor al, byte [ebp - 0x7c]
mov byte [ebp + ecx - 0x54], al
movzx eax, byte [ebp + ecx - 0x77]
xor al, byte [ebp - 0x7c]
mov byte [ebp + ecx - 0x53], al
add ecx, 5
cmp ecx, 0x23
jb 0x46c520
push edx
lea eax, [ebp - 0x57]
mov byte [ebp - 0x34], 0
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0040e8a0
add esp, 0xc
lea ecx, [ebp - 0x98]
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push ecx
push 0x20019
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46c64f
mov cl, 0x51
mov dword [ebp - 0x30], 0x223f1851
mov dword [ebp - 0x2c], 0x3d3d3025
xor edx, edx
mov dword [ebp - 0x28], 0x25302502
mov word [ebp - 0x24], 0x34
nop
movzx eax, byte [ebp + edx - 0x2f]
xor al, cl
mov byte [ebp + edx - 0x22], al
movzx eax, byte [ebp + edx - 0x2e]
xor al, byte [ebp - 0x30]
mov byte [ebp + edx - 0x21], al
movzx eax, byte [ebp + edx - 0x2d]
xor al, byte [ebp - 0x30]
mov byte [ebp + edx - 0x20], al
movzx eax, byte [ebp + edx - 0x2c]
xor al, byte [ebp - 0x30]
mov byte [ebp + edx - 0x1f], al
movzx eax, byte [ebp + edx - 0x2b]
xor al, byte [ebp - 0x30]
mov byte [ebp + edx - 0x1e], al
movzx eax, byte [ebp + edx - 0x2a]
xor al, byte [ebp - 0x30]
mov byte [ebp + edx - 0x1d], al
add edx, 6
cmp edx, 0xc
jae 0x46c624
mov cl, byte [ebp - 0x30]
jmp 0x46c5d0
lea eax, [ebp - 0xa0]
mov byte [ebp - 0x16], 0
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa4]
push eax
push 0
lea eax, [ebp - 0x22]
push eax
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x46c66a
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.004099a0
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x46c67b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret 4
Function at 0x46ca60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed488
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x50], 0
mov edx, 0x54
mov dword [ebp - 0x4c], 0xc0054
mov dword [ebp - 0x48], 0x3b0036
mov dword [ebp - 0x44], 0x4002c
mov dword [ebp - 0x40], 0x150037
mov dword [ebp - 0x3c], 0x240024
mov dword [ebp - 0x38], 0x31007a
mov dword [ebp - 0x34], 0x31002c
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov ax, word [ebp + ecx*2 - 0x4a]
xor ax, dx
mov word [ebp + ecx*2 - 0x2e], ax
inc ecx
cmp ecx, 0xd
jae 0x46caf9
mov dx, word [ebp - 0x4c]
jmp 0x46cae0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [ebp - 0x14], ax
mov dword [esi + 0x10], eax
mov word [esi], ax
cmp word [ebp - 0x2e], ax
je 0x46cb2f
lea eax, [ebp - 0x2e]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46cb20
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2e]
mov ecx, esi
push eax
call fcn.00403e20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret 4
Function at 0x477500
Capabilities:
Encode data using xor
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0x7604042a
mov dword [ebp - 0x2c], 0x4c444549
mov dword [ebp - 0x28], 0x43044d43
mov word [ebp - 0x24], 0x4344
mov byte [ebp - 0x22], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.004784a0
mov byte [ebp - 4], 1
xor ecx, ecx
nop
mov dl, byte [ebp + ecx - 0x2f]
xor dl, byte [ebp - 0x30]
mov byte [ebp + ecx - 0x21], dl
inc ecx
cmp ecx, 0xd
jb 0x477560
lea ecx, [ebp - 0x21]
mov byte [ebp - 0x14], 0
push ecx
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00407900
mov eax, dword [ebp - 0x34]
add esp, 0xc
cmp eax, 0x10
jb 0x47759b
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004099a0
cmp dword [ebp - 0x4c], 0x10
lea esi, [ebp - 0x60]
mov bh, 0x14
mov dword [ebp - 0x20], 0x67656704
cmovae esi, dword [ebp - 0x60]
mov al, 0x67
mov byte [ebp - 0x61], bh
mov dl, al
mov bh, 0x1c
mov dword [ebp - 0x44], 0x1415197a
mov byte [ebp - 0x62], bh
mov cl, 0x65
mov bh, 0x13
mov word [ebp - 0x1c], 0x616c
mov byte [ebp - 0x63], bh
mov ah, 0x19
mov bh, 0x1d
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x64], bh
mov ch, 0x61
mov bh, byte [ebp - 0x20]
mov bl, 0x6c
xor al, bh
mov dword [ebp - 0x40], 0x1d131c
mov byte [ebp - 0x19], al
xor cl, bh
mov al, byte [ebp - 0x62]
xor dl, bh
mov byte [ebp - 0x18], cl
xor ch, bh
mov cl, byte [ebp - 0x44]
xor bl, bh
mov bh, byte [ebp - 0x61]
xor al, cl
mov byte [ebp - 0x39], al
xor ah, cl
mov al, byte [ebp - 0x63]
mov dh, 0x15
xor al, cl
mov byte [ebp - 0x3c], ah
mov byte [ebp - 0x38], al
xor dh, cl
mov al, byte [ebp - 0x64]
xor bh, cl
xor al, cl
mov byte [ebp - 0x17], dl
push esi
mov byte [ebp - 0x37], al
lea eax, [ebp - 0x19]
push 1
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x16], bl
push eax
mov byte [ebp - 0x15], ch
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x3b], dh
mov byte [ebp - 0x3a], bh
mov byte [ebp - 0x36], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x4c]
test eax, eax
setne bl
xor eax, eax
mov dword [ebp - 0x43], eax
mov word [ebp - 0x3f], ax
mov byte [ebp - 0x3d], al
mov dword [ebp - 0x1f], eax
mov word [ebp - 0x1b], ax
cmp ecx, 0x10
jb 0x477676
inc ecx
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x60]
call fcn.004099a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret
Function at 0x4779f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee38b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00477b00
lea ecx, [ebp - 0x74]
call fcn.004784a0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.00477f00
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.004780e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004782b0
mov dword [ebp - 4], 3
lea esi, [ebp - 0x74]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
call fcn.00409690
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
push 0
cmovae eax, dword [ebp - 0x8c]
push eax
call edi
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x477ab7
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.004099a0
add esi, 0x18
lea eax, [ebp - 0x14]
cmp esi, eax
jne 0x477a61
push fcn.004095a0
push 4
push 0x18
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.004a0a92
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret
Function at 0x477d90
Capabilities:
Encode data using xor
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee450
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], 0x6012123c
mov dword [ebp - 0x50], 0x5a52535f
mov dword [ebp - 0x4c], 0x55125b55
mov word [ebp - 0x48], 0x5552
mov byte [ebp - 0x46], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.004784a0
mov byte [ebp - 4], 1
xor ecx, ecx
nop
mov dl, byte [ebp + ecx - 0x53]
xor dl, byte [ebp - 0x54]
mov byte [ebp + ecx - 0x45], dl
inc ecx
cmp ecx, 0xd
jb 0x477df0
lea ecx, [ebp - 0x45]
mov byte [ebp - 0x38], 0
push ecx
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00407900
mov eax, dword [ebp - 0x20]
add esp, 0xc
cmp eax, 0x10
jb 0x477e2b
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.004099a0
cmp dword [ebp - 0x58], 0x10
lea esi, [ebp - 0x6c]
mov bh, 0x23
mov dword [ebp - 0x1c], 0x7f777418
cmovae esi, dword [ebp - 0x6c]
mov al, 0x74
mov byte [ebp - 0x6d], bh
mov cl, 0x77
mov bh, 0x2d
mov dword [ebp - 0x30], 0x2425294a
mov byte [ebp - 0x6e], bh
mov ah, 0x25
mov bh, byte [ebp - 0x1c]
mov bl, 0x7f
xor al, bh
mov byte [ebp - 0x18], 0
xor cl, bh
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x6e]
xor bl, bh
mov bh, byte [ebp - 0x6d]
mov dl, 0x29
mov byte [ebp - 0x16], cl
mov ch, 0x24
mov cl, byte [ebp - 0x30]
mov dh, 0x2c
xor ah, cl
mov dword [ebp - 0x2c], 0x2d232c
xor al, cl
mov byte [ebp - 0x27], ah
push esi
mov byte [ebp - 0x23], al
xor dl, cl
push 4
lea eax, [ebp - 0x17]
mov byte [ebp - 0x15], bl
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 0x14], 0
xor ch, cl
mov byte [ebp - 0x28], dl
xor dh, cl
mov byte [ebp - 0x26], ch
xor bh, cl
mov byte [ebp - 0x25], dh
push eax
mov byte [ebp - 0x24], bh
mov byte [ebp - 0x22], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x2f], eax
mov word [ebp - 0x2b], ax
mov byte [ebp - 0x29], al
mov dword [ebp - 0x1b], eax
mov eax, dword [ebp - 0x58]
cmp eax, 0x10
jb 0x477edf
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.004099a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret
Function at 0x478f20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e37d8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x48]
push eax
call fcn.004c1f0c
xor eax, eax
mov dword [ebp - 0x2c], 7
lea edx, [esi + 0x20c]
mov dword [ebp - 0x30], 0
add esp, 4
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x478f7b
xor ecx, ecx
jmp 0x478f8f
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478f80
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00403e20
push 0x50addc
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00414c90
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, 8
jb 0x478fc8
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403f90
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004c74f3
add esp, 8
cmp eax, 0xffffffff
jne 0x478ff7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp - 0x44]
cmp dword [ebp - 0x14], 8
lea eax, [esi + 0x414]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
push str._s_s.__I64d.dmp
lea eax, [esi + 4]
push 0x104
push eax
call fcn.00479420
mov eax, dword [ebp - 0x14]
add esp, 0x1c
cmp eax, 8
jb 0x47903b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403f90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret

Function at 0x479060
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push edi
mov edi, dword [ebp + 0x10]
push eax
push str.SeDebugPrivilege
push 0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4790de
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x10
push eax
push edi
push 0x10
lea eax, [ebp - 0x18]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4790de
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
je 0x4790de
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a0535
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004a0535
mov esp, ebp
pop ebp
ret 0xc