joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x508a4162
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x38431a7
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401307
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.0042ae62
test al, al
je 0x401328
cmp eax, 0xa9db0204
mov eax, dword [0xf40ffee2]
mov ecx, 0x41d71993
mov byte [0x983ee8f2], al
add al, byte [eax]
call fcn.0042ab6b
test al, al
je 0x401350
sub eax, 0xa18dbf71
wait
daa
daa
shr dword [ecx], 0xbe
jle 0x40137b
mov esi, dword [0x70c4ef32]
dec edx
int3
call fcn.0042a988
test al, al
je 0x40136f
sbb dword [edx + 0x27b762c3], esp
jno 0x4013a3
dec esp
outsb dx, byte [esi]
mov bl, 0x47
or bh, byte [ebp - 0x45d0a1cc]
in al, 0xcb
xor ecx, ecx
xor edx, edx
xor ebx, ebx
cmp dword [ebp + 0xc], ecx
jle 0x401472
add byte [eax], al
add byte [ebx + 0x48a0875], cl
xor edi, dword [edi - 0x7cbdf98b]
cli
add bh, byte [edi + 0x41]
mov esi, dword [ebp + 8]
mov al, byte [ebx + esi]
cmp al, 0x3d
jne 0x40138e
inc edx
cmp edx, 2
jg 0x4013cf
cmp al, 0x7f
ja 0x4013cf
movzx eax, al
mov al, byte [eax + 0x5a0580]
cmp al, 0x7f
je 0x4013cf
cmp al, 0x40
jae 0x4013a7
test edx, edx
jne 0x4013cf
inc ecx
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, dword [ebp + 0xc]
jl 0x401381
test ecx, ecx
je 0x401472
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x4013d7
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x4013d1
push 0xffffffffffffffee
pop eax
jmp 0x401474
call fcn.0042ae1d
test al, al
je 0x4013f8
invalid
and dword [ebp - 4], 0
xor eax, eax
mov edx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
push 3
pop esi
test ebx, ebx
jle 0x40146d
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
mov cl, byte [eax + 0x5a0580]
xor eax, eax
cmp cl, 0x40
sete al
sub esi, eax
movzx eax, cl
mov ecx, dword [ebp - 4]
and eax, 0x3f
shl ecx, 6
or ecx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], eax
cmp eax, 4
jne 0x401464
xor eax, eax
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x40144f
mov eax, ecx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp esi, 1
jle 0x40145c
mov eax, ecx
shr eax, 8
mov byte [edx], al
inc edx
cmp esi, 2
jle 0x401464
mov byte [edx], cl
inc edx
dec ebx
inc edi
test ebx, ebx
jg 0x40140e
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40147b
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x40148f
xor eax, eax
jmp 0x4015cd
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x4014b8
dec edx
sub edx, 1
jne 0x4014ba
add eax, 2
jmp 0x4014ba
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x4014cd
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x4015cc
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x401563
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x5a0540]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x5a0540]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x5a0540]
mov byte [edi + 2], al
mov al, byte [esi + 0x5a0540]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x4014f8
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x401566
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x4015bf
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x40157b
movzx ecx, byte [eax + 1]
jmp 0x40157d
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x5a0540]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x5a0540]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x4015b4
and ecx, 0xf
mov al, byte [ecx*4 + 0x5a0540]
mov byte [edi + 2], al
jmp 0x4015b8
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401682
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, ecx
mov byte [ebp - 1], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
lea ecx, [eax + 0x210]
mov dword [ebp - 8], eax
mov esi, dword [ecx]
push edi
mov dword [ebp - 0xc], ecx
cmp esi, dword [eax + 0x214]
je 0x401750
lea edi, [esi + 0x28]
mov dword [ebp + 8], edi
lea ecx, [ebx + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5a06c0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
sub edi, 0xffffff80
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5a06c0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5a06c0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5a06c0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0xa8]
push edi
push eax
call fcn.005747e0
mov edi, dword [ebp + 8]
pop ecx
pop ecx
test eax, eax
jne 0x401730
lea eax, [ebx + 0x28]
push edi
push eax
call fcn.005747e0
pop ecx
pop ecx
test eax, eax
je 0x40174c
mov eax, 0x1b0
add edi, eax
add esi, eax
mov eax, dword [ebp - 8]
mov dword [ebp + 8], edi
cmp esi, dword [eax + 0x214]
je 0x401750
jmp 0x4016b4
mov byte [ebp - 1], 1
call fcn.0042a8b9
test al, al
je 0x401769
jno 0x401770
mov ch, 0xbc
retf
cmp byte [ebp - 1], 0
jne 0x40178d
lea edx, [ebx + 0xa8]
xchg ebx, eax
test al, 0
add byte [eax], al
push edx
call fcn.00574870
pop ecx
test eax, eax
je 0x40178d
mov ecx, dword [ebp - 0xc]
push ebx
call fcn.0040256d
mov al, 1
jmp 0x40178f
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40243a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x62aa54]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x210]
push ebx
push esi
push edi
mov dword [ebp - 0x11c], ecx
mov dword [ecx + 0x214], eax
call fcn.0042ac3a
test al, al
je 0x40247f
pushfd
mov bh, 0xc6
dec ecx
mov ah, byte [eax]
outsb dx, byte [esi]
mov esi, 0x990c8010
invalid
call fcn.0042aa57
test al, al
je 0x4024a6
jnp 0x402501
ret 0x7f50
call fcn.0042ab26
test al, al
je 0x4024ce
mov edx, 0x995fe745
or edx, dword [eax - 0x6b]
xchg esi, eax
outsb dx, byte [esi]
pop ebx
sbb dword [ebp - 0x27c774a1], ebp
pop es
call 0xdecaa99d
movsd dword es:[edi], dword [esi]
in al, dx
clc
je 0x4024eb
fnsave dword [ebp + 0x114be]
add byte [ebp - 0x1177b], cl
call dword [esi + 0x33]
fist dword [ebx + 0x50]
mov esi, 0x114
lea eax, [ebp - 0x118]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.0056f390
add esp, 0xc
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
dec dword [ebp - 0x1177b]
call dword [eax - 1]
adc eax, sym.imp.KERNEL32.dll_GetVersionExW
cmp dword [ebp - 0x108], 2
mov esi, dword [ebp - 0x11c]
jne 0x402511
mov ch, 0xe4
invalid
mov ecx, esi
call fcn.00401c4d
jmp 0x402526
mov edi, ebx
test ebx, ebx
jne 0x402526
mov ecx, esi
call fcn.00401aa4
inc edi
mov ebx, eax
cmp edi, 0xa
jl 0x402513
mov eax, dword [esi + 0x214]
mov ecx, 0x1b0
sub eax, dword [esi + 0x210]
cdq
idiv ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056935c
mov esp, ebp
pop ebp
ret

Function at 0x403b8c
Capabilities:
Link many functions at runtime

Disassembly:
fstp xword [eax + ebp*4 + 0x64]
push 0xf073cbba
mov edx, 0x6f97e8d1
add al, byte [eax]
test al, al
je 0x403b66
outsd dx, dword [esi]
shl bh, cl
pushfd
retf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x403b81
push dword [ebp + 0xc]
push dword [ebp + 8]
or al, 0xff
jne 0x403b7e
call eax
test eax, eax
je 0x403b81
xor eax, eax
inc eax
jmp 0x403b83
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
call fcn.0042aa12
test al, al
je 0x403bc0
insd dword es:[edi], dx
in eax, dx
or byte [ecx], dl
jns 0x403b72
cmp esp, 0xfd497551
dec eax
jae 0x403b48
or ebp, edi
jb 0x403b3a
jo 0x403bf9
loopne 0x403c10
sahf
pop ebx
mov al, byte [0x6dc23263]
out 0x8d, eax
inc ebp
cld
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, esi
call fcn.00403be1
xor eax, eax
cmp dword [ebp - 4], 1
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403c02
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push str.kernel32.dll
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
call fcn.0042ae62
test al, al
je 0x403c35
lds esi, [eax + 0x45]
cmp dword [edx], esp
cmp byte [ebp - 0x43e6ca98], 0x74
sub bh, dh
xor eax, 0x31e8c0d4
outsd dx, dword [esi]
add al, byte [eax]
call fcn.0042ab6b
test al, al
je 0x403c5d
adc al, cl
inc eax
xchg ebx, eax
cmp byte [edx], dh
scasb al, byte es:[edi]
salc
xchg ecx, eax
lcall 0x14cd, 0x80802cf7
adc al, 0x46
sub dword [edx - 0x55], 0x12e76455
inc edx
popfd
mov al, 0xd7
lcall 0x8400, 0x26d26e8
sal byte [esi + edx - 0x16], 0xc5
pop edx
dec esi
cmp eax, 0xc22fe3c1
and dword [ebp + ebp - 0x7b], ecx
cld
add dword [edx - 2], edx
mov ah, 0xa3
pop edx
mov esi, 0xfc5d8bf3
call fcn.0042a988
test al, al
je 0x403c7c
ljmp 0xe3c1:0x3d4e5ac5
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x403c8b
xor eax, eax
jmp 0x403d55
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push dword [ebx]
call esi
push str.IsWow64Process
push dword [ebx]
mov dword [ebx + 8], eax
call esi
xor ecx, dword [ecx - 0x2900f7bd]
push str.Wow64DisableWow64FsRedirection
push dword [ebx]
mov dword [ebx + 0xc], eax
call esi
inc ebx
or al, 0xff
salc
push str.Wow64RevertWow64FsRedirection
push dword [ebx]
mov dword [ebx + 0x18], eax
call esi
push str.GetSystemWow64DirectoryW
push dword [ebx]
mov dword [ebx + 0x14], eax
call esi
push str.advapi32.dll
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 4], eax
call fcn.0042ab6b
test al, al
je 0x403cff
sbb eax, 0x160854eb
ja 0x403cae
mov ch, 0x36
ljmp 0xc4be
call fcn.0042aa12
test al, al
je 0x403d26
popal
jb 0x403ca0
mov eax, 0xcc7191a9
pushal
mov esp, 0x18d9286d
inc edx
ret
mov esi, dword [ebp - 4]
cmp dword [esi + 4], 0
je 0x403c84
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405280
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x89], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x405aec
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.0042ab6b
test al, al
je 0x405b1a
pop es
jae 0x405b2a
les eax, [ebx + 0x5ba91ecf]
popfd
fisubr word [ebx - 0x7c]
invalid
call fcn.0042aa12
test al, al
je 0x405b41
push edi
add eax, 0xce189147
rcr ebx, 1
and al, 0x66
mov al, byte [0xd6fab73b]
invalid
test byte [esp + ecx*8 - 0x47e3b93a], cl
cmpsb byte [esi], byte es:[edi]
jbe 0x405b32
mov edi, 0xd1a815b3
push dword [ebp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp - 4]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
pop edi
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405e14
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x62aa54]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.0056f390
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5a09b8
call fcn.00578706
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00578ed3
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.0056f390
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.0056f390
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.0056f390
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x405f12
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.00402755
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00403edb
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056935c
mov esp, ebp
pop ebp
ret 4
Function at 0x4068df
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x59b6e0
call fcn.00569393
xor esi, esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00403ac6
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.00403b8c
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x406918
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406988
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5a0a54
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x406955
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406988
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x38]
call fcn.00403ad9
call fcn.0056936d
ret 8
Function at 0x406e81
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x59b7a4
call fcn.00569393
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00403ac6
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.00403b8c
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x406ec1
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406f23
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5a0a54
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x406efe
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406f23
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00403ad9
call fcn.0056936d
ret 8

Function at 0x40708e
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x59b7ca
call fcn.005693c7
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x8c]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x4070b9
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, dword [ebp + 0x10]
jne 0x407197
xor esi, esi
mov dword [ebp - 0x814], 7
push esi
xor eax, eax
mov dword [ebp - 0x818], esi
push 0x5a06d8
lea ecx, [ebp - 0x828]
mov word [ebp - 0x828], ax
call fcn.00403772
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.0056f390
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x5a0bf8
push eax
call fcn.00408d5e
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 5], 0
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x40714c
call fcn.00406faa
jmp 0x407151
call fcn.00407064
push eax
lea ecx, [ebp - 0x828]
call fcn.00402b42
push esi
push 1
lea ecx, [ebp - 0x840]
call fcn.00403628
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.0057a21b
pop ecx
push 0
push 1
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.00403628
mov eax, esi
call fcn.00569382
ret 0xc
Function at 0x4071a1
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x59b814
call fcn.005693c7
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.0056f390
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4071fe
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00402ac4
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x407244
mov eax, dword [esi]
jmp 0x407246
mov eax, esi
push ebx
push eax
call fcn.00578f47
pop ecx
pop ecx
test eax, eax
jne 0x407292
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x407276
call fcn.00406faa
jmp 0x40727b
call fcn.00407064
push eax
mov ecx, esi
call fcn.00402b42
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00403628
mov eax, esi
call fcn.00569382
ret 0x10
Function at 0x407e44
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x62aa54]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, ecx
call fcn.0056f390
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x407e7d
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x5a0b04
push eax
call fcn.00408d5e
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407eb5
lea eax, [ebp - 0x20c]
push eax
call fcn.00413d60
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0056f390
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x5a0ac0
push eax
call fcn.00408d5e
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x407ef4
mov eax, esi
jmp 0x407f01
lea eax, [ebp - 0x414]
push eax
call fcn.00578706
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00403772
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0056f390
push str.Cache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x5a0ac0
push eax
call fcn.00408d5e
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x407f53
mov eax, esi
jmp 0x407f60
lea eax, [ebp - 0x61c]
push eax
call fcn.00578706
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00403772
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.0056f390
lea eax, [ebp - 0xa44]
push str.ShxlPath
push eax
call fcn.00415167
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x407fa1
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x5a0b58
push eax
call fcn.00408d5e
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.00403628
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407fe2
lea eax, [ebp - 0x824]
push eax
call fcn.00413d60
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.0056f390
push str.Cache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x5a0ac0
push eax
call fcn.00408d5e
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x40802c
lea eax, [ebp - 0xa2c]
push eax
call fcn.00578706
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00403772
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0056935c
mov esp, ebp
pop ebp
ret