joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4597a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e98c4
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x672014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 1
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
mov dword [ebp - 4], 0xffffffff
cmp ecx, eax
je 0x459812
mov dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
mov ecx, edi
call fcn.0045a170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 8
mov esi, dword [edi + 4]
sub esi, dword [edi]
sar esi, 3
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0xffffffff
cmp esi, 0x1fffffff
jne 0x459838
call fcn.004089d0
lea ebx, [esi + 1]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0x15
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
sar ecx, 3
mov dword [ebp - 4], 0xffffffff
mov edx, ecx
shr edx, 1
mov eax, 0x1fffffff
sub eax, edx
cmp ecx, eax
ja 0x45986e
lea ebx, [edx + ecx]
lea eax, [esi + 1]
cmp ebx, eax
cmovb ebx, eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
push ebx
call fcn.0045a080
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0x25
mov byte [ebp - 4], 0x27
mov byte [ebp - 4], 0x26
mov byte [ebp - 4], 0x24
lea eax, [ecx + esi*8]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], 0x29
mov byte [ebp - 4], 0x24
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x2a
test eax, eax
je 0x4598e8
mov byte [ebp - 4], 0x2b
mov byte [ebp - 4], 0x2a
mov esi, dword [ebp + 8]
push esi
mov ecx, eax
call fcn.00410c20
mov byte [ebp - 4], 0x2c
lea eax, [esi + 4]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.00410c20
mov byte [ebp - 4], 0x2d
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x24
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0x30
mov byte [ebp - 4], 0x2f
mov byte [ebp - 4], 0x2e
mov byte [ebp - 4], 0x33
mov byte [ebp - 4], 0x32
mov byte [ebp - 4], 0x31
mov byte [ebp - 4], 0x24
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov byte [ebp - 4], 0x35
mov byte [ebp - 4], 0x34
mov byte [ebp - 4], 0x24
mov byte [ebp + 8], 0
push ecx
mov dword [ebp - 0x2c], esp
push dword [ebp + 8]
push ecx
push ecx
mov ecx, eax
call fcn.0045a210
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00459db0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x459990
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e98e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x672014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 1
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0xffffffff
cmp ecx, eax
je 0x459a1d
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
push eax
call fcn.0045a4f0
mov dword [ebp - 4], 0x16
mov dword [ebp - 4], 0xffffffff
add dword [esi + 4], 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0x19
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0xffffffff
cmp ebx, 0xccccccc
jne 0x459a51
call fcn.004089d0
lea edi, [ebx + 1]
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0x26
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 4], 0xffffffff
mov edx, ecx
shr edx, 1
mov eax, 0xccccccc
sub eax, edx
cmp ecx, eax
ja 0x459a95
lea edi, [edx + ecx]
lea eax, [ebx + 1]
cmp edi, eax
cmovb edi, eax
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.0044ea30
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0x36
mov byte [ebp - 4], 0x38
mov byte [ebp - 4], 0x37
mov byte [ebp - 4], 0x39
mov byte [ebp - 4], 0x3a
mov byte [ebp - 4], 0x35
push dword [ebp + 8]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
push eax
call fcn.0045a4f0
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0x3d
mov byte [ebp - 4], 0x3c
mov byte [ebp - 4], 0x3b
mov byte [ebp - 4], 0x40
mov byte [ebp - 4], 0x3f
mov byte [ebp - 4], 0x3e
mov byte [ebp - 4], 0x35
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov byte [ebp - 4], 0x42
mov byte [ebp - 4], 0x41
mov byte [ebp - 4], 0x35
mov byte [ebp + 8], 0
push ecx
mov dword [ebp - 0x28], esp
push dword [ebp + 8]
push ecx
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.0045a2e0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
push edi
push dword [ebp - 0x20]
push ebx
mov ecx, esi
call fcn.00459e90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x459b80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e9922
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x672014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 1
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0xffffffff
cmp ecx, eax
je 0x459c21
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0x10
test ecx, ecx
je 0x459bfb
mov byte [ebp - 4], 0x10
push dword [ebp + 8]
call fcn.00436300
mov dword [ebp - 4], 0x18
mov dword [ebp - 4], 0xffffffff
add dword [esi + 4], 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0x1b
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0xffffffff
cmp ebx, 0x9249249
jne 0x459c57
call fcn.004089d0
lea edi, [ebx + 1]
mov dword [ebp - 4], 0x28
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 4], 0xffffffff
mov edx, ecx
shr edx, 1
mov eax, 0x9249249
sub eax, edx
cmp ecx, eax
ja 0x459c9a
lea edi, [edx + ecx]
lea eax, [ebx + 1]
cmp edi, eax
cmovb edi, eax
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.0045a0f0
mov edx, eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0x38
mov byte [ebp - 4], 0x3a
mov byte [ebp - 4], 0x39
mov byte [ebp - 4], 0x37
lea eax, [ebx*8]
sub eax, ebx
lea ecx, [edx + eax*4]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 0x3b
mov byte [ebp - 4], 0x3c
mov byte [ebp - 4], 0x37
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0x3d
test ecx, ecx
je 0x459cff
mov byte [ebp - 4], 0x3e
mov byte [ebp - 4], 0x3d
push dword [ebp + 8]
call fcn.00436300
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x37
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0x41
mov byte [ebp - 4], 0x40
mov byte [ebp - 4], 0x3f
mov byte [ebp - 4], 0x44
mov byte [ebp - 4], 0x43
mov byte [ebp - 4], 0x42
mov byte [ebp - 4], 0x37
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov byte [ebp - 4], 0x46
mov byte [ebp - 4], 0x45
mov byte [ebp - 4], 0x37
mov byte [ebp + 8], 0
push ecx
mov dword [ebp - 0x28], esp
push dword [ebp + 8]
push ecx
push edx
mov edx, eax
call fcn.0045a3d0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
push edi
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00459f80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45a590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x45a5af
cmp dword [edi], 2
jae 0x45a5af
pop edi
mov eax, 0x7a
pop esi
pop ebp
ret 0xc
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45a617
cmp dword [ebp + 0x10], 7
je 0x45a5e7
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
test esi, esi
je 0x45a611
test cl, 1
jne 0x45a5dc
mov eax, ecx
shr eax, 1
cmp eax, 1
jb 0x45a5dc
cmp word [esi + eax*2 - 2], 0
jne 0x45a5dc
cmp eax, 1
jbe 0x45a611
cmp word [esi + eax*2 - 4], 0
jne 0x45a5dc
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x469820
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x4698d3
test ebx, ebx
je 0x4698d3
push esi
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 4], eax
test eax, eax
je 0x4698c7
push eax
call fcn.0046f3d6
mov esi, eax
add esp, 4
test esi, esi
jne 0x46986a
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp - 4]
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4698be
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
push eax
push 0x638e20
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4698be
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4698be
mov eax, dword [ecx + 8]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 0xc]
push esi
mov dword [ebx], eax
call fcn.0046f3d1
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0046f3d1
add esp, 4
pop esi
pop edi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x469f90
Capabilities:
Check for time delay via queryperformancecounter
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eacd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x672014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], vtable.srl::Timer.0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp dword [esi + 0x14], 8
jb 0x469fda
mov esi, dword [esi]
push 0
push 0x84000100
push 0
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
test ebx, ebx
je 0x46a0b7
push 0x3e9
call fcn.0046f3d6
add esp, 4
mov dword [ebp - 0x18], eax
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
push 0
push 0
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
test eax, eax
je 0x46a093
mov ecx, 0x3e8
nop word [eax + eax]
mov eax, dword [ebp + 8]
cmp eax, 0x3e8
mov dword [ebp - 0x10], 0
cmova eax, ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp + 8], eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x46a093
mov eax, dword [ebp - 0x10]
add edi, eax
adc esi, 0
test eax, eax
je 0x46a093
push 0
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov ecx, 0x3e8
test eax, eax
jne 0x46a040
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov dword [eax + 4], esi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x18]
call fcn.0046f3d1
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.0046f000
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], vtable.srl::Timer.0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46bad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eaf30
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x672014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor bl, bl
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0x20019
mov dword [ebp - 4], 0
push dword [edx]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00435b20
mov ecx, dword [ebp - 0x24]
test eax, eax
jne 0x46bc20
xor esi, esi
mov dword [ebp - 0x10], esi
mov edi, 0x3e8
mov byte [ebp - 4], 1
mov eax, edi
mov edx, 2
mul edx
test edx, edx
ja 0x46bb64
jb 0x46bb53
cmp eax, 0xffffffff
ja 0x46bb64
push eax
call fcn.005c1d53
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp + 8]
lea eax, [edi + edi]
xor edi, edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebx]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x46bbae
cmp eax, 0xea
jne 0x46bbef
push 0x7d0
push esi
mov edi, 0x3e8
call fcn.005bf7e2
mov ecx, dword [ebp - 0x24]
add esp, 8
test eax, eax
je 0x46bb67
mov esi, eax
mov dword [ebp - 0x10], esi
jmp 0x46bb67
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x46bbc2
cmp eax, 2
je 0x46bbc2
mov eax, 0xd
jmp 0x46bbef
mov ecx, dword [ebp - 0x14]
test esi, esi
je 0x46bbe9
test ecx, ecx
je 0x46bbe4
test cl, 1
jne 0x46bbdd
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], di
je 0x46bbe9
mov eax, 0xd
jmp 0x46bbef
xor eax, eax
mov word [esi], ax
mov edi, ecx
shr edi, 1
xor eax, eax
test eax, eax
sete bl
test eax, eax
jne 0x46bc05
mov ecx, dword [ebp + 0xc]
push esi
mov word [esi + edi*2], ax
call fcn.0040d560
push esi
mov byte [ebp - 4], 2
call fcn.005bf75a
mov byte [ebp - 4], 0
add esp, 4
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x46bc39
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x24], 0
mov al, bl
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4723d8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x472422
call fcn.0048a504
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x47241f
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x472470
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x47244e
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call fcn.005b5a90
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x47244e
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x47246e
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call fcn.005b5a90
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47f442
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x5ebe05
call fcn.005b5b03
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [ecx], edi
cmp dword [eax + 0x58], edi
je 0x47f4ec
push dword [ebp + 8]
mov ecx, eax
call fcn.0047f77a
mov esi, eax
test esi, esi
je 0x47f57f
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
test eax, eax
jne 0x47f4d5
push edx
call fcn.0046f3d6
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47f4d5
xor edi, edi
inc edi
jmp 0x47f4df
push dword [ebx]
call fcn.0046f3d1
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.00435bd0
jmp 0x47f57d
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [esi + 0x84]
mov ecx, esi
push eax
call fcn.005b5a90
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x47f575
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 1
push eax
mov dword [ecx], eax
call fcn.0046f3d6
mov dword [ebx], eax
pop ecx
test esi, esi
jle 0x47f56f
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402b6a
push edi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.00402b6a
add al, bl
mov edx, edi
test edx, edx
jns 0x47f560
add edx, 1
sar edx, 1
mov ecx, dword [esi]
add edi, 2
mov byte [edx + ecx], al
cmp edi, dword [ebp - 0x18]
jl 0x47f537
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.00402205
mov eax, edi
call fcn.005b5acc
ret 0x10

Function at 0x47f587
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x47f5da
push esi
push dword [ebp + 8]
call fcn.0047f77a
mov edi, eax
test edi, edi
jne 0x47f5aa
mov eax, dword [ebp + 0x10]
jmp 0x47f5ec
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x47f5a5
mov eax, dword [ebp - 8]
jmp 0x47f5ec
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x483052
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x483097
call fcn.0048a504
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x483097
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4830b3
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0048ba6b
mov ebx, eax
test edi, edi
je 0x4830b1
test esi, esi
je 0x4830b1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x483a9c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x483b5a
cmp dword [esi + 0x20], 0
je 0x483b5a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x483b5a
cmp dword [ebp + 8], 0
je 0x483b5a
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0048a504
push 0x5fdaf8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x483b2b
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x483b5a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.005086de
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x483b4b
test edi, edi
je 0x483b4b
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x483b56
mov ecx, esi
call fcn.0048383f
mov eax, ebx
jmp 0x483b5c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4884cd
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5f4c91
call fcn.005b5b03
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x4884f3
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x488552
call fcn.0046f6c4
push eax
lea ecx, [ebp - 0x10]
call fcn.004021dc
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.005b5a90
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005c6e88
push eax
call fcn.00403159
add esp, 0x14
test esi, esi
je 0x488545
push esi
call fcn.005c6d11
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402205
mov eax, ebx
call fcn.005b5acc
ret 8