joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4390b0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x5274d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x418], 0
push 0x3ff
push 0
lea eax, [ebp - 0x417]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x820], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x81f]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x41c], 0x400
mov dword [ebp - 8], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x58]
push eax
push 0x515880
lea ecx, [ebp - 0x418]
push ecx
call sub.MSVCR120.dll_sprintf
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
push 0x20007
push 0
push 0x51588c
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4391c9
cmp dword [ebp + 8], 0
je 0x4391bb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x439184
xor ecx, ecx
je 0x439184
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x824], eax
jmp 0x43918e
mov dword [ebp - 0x824], 0xffffff86
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x824]
mov dword [ecx + 0x80], edx
push 0
push 0xff
push 0
push 0
push 0x267
push 0xffffffffffffff86
mov eax, dword [ebp + 8]
push eax
call fcn.0043c5d0
add esp, 0x1c
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x80]
jmp 0x4392fb
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x828], edx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x820]
push ecx
mov edx, dword [ebp - 0x828]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x4392ef
mov edx, dword [ebp - 0x41c]
mov byte [ebp + edx - 0x820], 0
lea eax, [ebp - 0x820]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x439233
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 0
je 0x439263
cmp dword [ebp - 4], 2
jge 0x439263
push 0
push 0x2d
mov edx, dword [ebp - 8]
push edx
call fcn.00401680
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x439261
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x43922a
cmp dword [ebp - 8], 0
je 0x4392e0
push 0
push 0
lea ecx, [ebp - 0x418]
push ecx
call fcn.00401610
add esp, 8
push eax
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x820]
push eax
call fcn.004014e0
add esp, 0x10
test eax, eax
jne 0x4392e0
push 0
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004013c0
add esp, 0xc
test eax, eax
jne 0x4392e0
lea eax, [ebp - 0x820]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x5158b4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00439310
add esp, 8
mov dword [ebp - 0x41c], 0x400
jmp 0x4391c9
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00431a84
mov esp, ebp
pop ebp
ret
Function at 0x441200
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x5274d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1dc], 0
mov byte [ebp - 0x1d8], 0
push 0x3b
push 0
lea eax, [ebp - 0x1d7]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x198]
push ecx
push 0x101
call fcn.00472a60
push 0
push 0x20
push 0
lea edx, [ebp - 0x1fc]
push edx
call fcn.00401ca0
add esp, 0x10
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x1f4], 1
push 0x3c
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1d8]
push ecx
call fcn.00459180
add esp, 0xc
lea edx, [ebp - 0x1dc]
push edx
lea eax, [ebp - 0x1fc]
push eax
push 0
lea ecx, [ebp - 0x1d8]
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
cmp dword [ebp - 0x1dc], 0
je 0x441303
mov edx, dword [ebp - 0x1dc]
cmp dword [edx + 4], 0x17
je 0x4412d0
mov eax, dword [ebp - 0x1dc]
cmp dword [eax + 4], 2
je 0x4412d0
mov ecx, dword [ebp - 0x1dc]
cmp dword [ecx + 4], 2
jne 0x441303
push 0x3c
lea edx, [ebp - 0x1d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
add ecx, 0x846
push ecx
call fcn.00459180
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd4]
mov byte [eax + 0x882], 0
jmp 0x441373
cmp dword [ebp + 8], 0
je 0x441364
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x44132a
xor edx, edx
je 0x44132a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x200], ecx
jmp 0x441334
mov dword [ebp - 0x200], 0xffffff37
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x200]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x522e
push 0xffffff37
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043c5d0
add esp, 0x1c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x1dc], 0
je 0x441393
mov ecx, dword [ebp - 0x1dc]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [ebp - 0x1dc], 0
call fcn.00472a80
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00431a84
mov esp, ebp
pop ebp
ret
Function at 0x450170
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x18]
push eax
call fcn.00451880
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004516e0
add esp, 8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x450270
push 0
call fcn.00450310
add esp, 4
push 1
call fcn.00450310
add esp, 4
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x450270
mov eax, dword [ebp - 0x10]
push eax
call fcn.0043c5b0
add esp, 4
cmp dword [ebp + 8], 0
je 0x450266
cmp dword [ebp + 8], 0
je 0x450266
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x450235
xor edx, edx
je 0x450235
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x14], ecx
jmp 0x45023c
mov dword [ebp - 0x14], 0xffffffc1
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x1de
push 0xffffffffffffffc1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043c5d0
add esp, 0x1c
mov eax, 1
jmp 0x4502fe
mov edx, dword [ebp - 0x10]
push edx
call fcn.0043c5b0
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x45029a
cmp dword [ebp + 0x14], 0
jne 0x4502aa
push 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.00401610
add esp, 8
test eax, eax
jne 0x4502aa
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4502f2
cmp dword [ebp + 0x14], 0
je 0x4502b8
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
jmp 0x4502cc
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00401610
add esp, 8
add eax, 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
xor ecx, ecx
cmp dword [ebp + 0x14], 0
setne cl
lea ecx, [ecx + ecx + 1]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004761e0
add esp, 0x14
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x451840
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0
call fcn.0044f870
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x451867
mov eax, dword [ebp - 4]
jmp 0x451873
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCR120.dll_getenv
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x451880
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x5274d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x4518a0
mov eax, connect
jmp 0x4518ee
push 0
push 0x94
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.00401ca0
add esp, 0x10
mov dword [ebp - 0xa0], 0x94
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4518e9
cmp dword [ebp + 8], 0
jne 0x4518e9
cmp dword [ebp - 0x9c], 6
jb 0x4518e9
mov eax, connect
jmp 0x4518ee
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00431a84
mov esp, ebp
pop ebp
ret

Function at 0x454650
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x45467e
cmp dword [ebp + 0x10], 0
jne 0x454680
jmp 0x4546d8
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004752a0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4546d8
cmp dword [ebp - 0xc], 0
je 0x4546d8
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.004752a0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4546d8
cmp dword [ebp - 0xc], 0
je 0x4546d8
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.MSVCR120.dll_rename
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], 0
je 0x4546f1
mov eax, dword [ebp - 8]
push eax
call fcn.0043c5b0
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x45470a
mov ecx, dword [ebp - 4]
push ecx
call fcn.0043c5b0
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x454720
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x45474e
cmp dword [ebp + 0x10], 0
jne 0x454750
jmp 0x4547a8
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004755a0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4547a8
cmp dword [ebp - 0xc], 0
je 0x4547a8
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.004755a0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4547a8
cmp dword [ebp - 0xc], 0
je 0x4547a8
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.MSVCR120.dll__wrename
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
je 0x4547c1
mov eax, dword [ebp - 4]
push eax
call fcn.0043c5b0
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 8], 0
je 0x4547da
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043c5b0
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x454990
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0xffffffff
cmp dword [ebp + 0xc], 0
jne 0x4549b3
jmp 0x4549e1
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004752a0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4549e1
cmp dword [ebp - 4], 0
je 0x4549e1
mov edx, dword [ebp - 8]
push edx
call sub.MSVCR120.dll_remove
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
je 0x4549fa
mov eax, dword [ebp - 8]
push eax
call fcn.0043c5b0
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x454a10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp + 0xc], 0
jne 0x454a33
jmp 0x454a61
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004755a0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x454a61
cmp dword [ebp - 4], 0
je 0x454a61
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCR120.dll__wremove
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
je 0x454a7a
mov eax, dword [ebp - 0xc]
push eax
call fcn.0043c5b0
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x468740
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x5274d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 0x68], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x10], 0xffffffff
mov byte [ebp - 0x60], 0
push 0x45
push 0
lea eax, [ebp - 0x5f]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0xc], 0
push 0
push 0x20
push 0
lea ecx, [ebp - 0x88]
push ecx
call fcn.00401ca0
add esp, 0x10
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x80], 1
cmp dword [ebp + 8], 0
je 0x4688d3
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00401610
add esp, 8
mov dword [ebp - 8], eax
push 0
push 0x40
mov eax, dword [ebp + 8]
push eax
call fcn.00401680
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x468801
lea ecx, [ebp - 0x60]
push ecx
push str.__69_0_9a_fA_F:_
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCR120.dll_sscanf
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call fcn.00468a00
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jle 0x4688d3
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x88]
push edx
push 0
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x68], 0
je 0x46889b
mov ecx, dword [ebp - 0x68]
cmp dword [ecx + 4], 0x17
jne 0x46889b
push 0
push 0x51c654
mov edx, dword [ebp + 8]
push edx
call fcn.004017d0
add esp, 0xc
mov esi, eax
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.00401610
add esp, 8
lea ecx, [esi + eax + 1]
cmp dword [ebp - 8], ecx
jne 0x46889b
push 0
lea edx, [ebp - 0x60]
push edx
call fcn.00401610
add esp, 8
mov esi, eax
push 0
push 0x51c658
mov eax, dword [ebp + 8]
push eax
call fcn.004017d0
add esp, 0xc
lea ecx, [esi + eax + 1]
mov dword [ebp - 0x64], ecx
jmp 0x4688c3
push 0
push 0x51c65c
mov edx, dword [ebp + 8]
push edx
call fcn.004017d0
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x60]
push eax
call fcn.004688f0
add esp, 4
lea ecx, [esi + eax + 1]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x68], 0
je 0x4688d3
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [ebp - 0x64]
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00431a84
mov esp, ebp
pop ebp
ret
Function at 0x46a450
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x5274d0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
mov edx, dword [ecx + 0x10e0]
and edx, 0x40
jne 0x46a485
xor eax, eax
jmp 0x46a66b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
and ecx, 0x80
jne 0x46a4f8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x13c]
or eax, 0x80
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x13c], eax
push str.BUG_B
push 0x45
push 0x44
push str.FLEXLM__c_c_sADDATE
lea edx, [ebp - 0x2d0]
push edx
call sub.MSVCR120.dll_sprintf
add esp, 0x14
lea eax, [ebp - 0x2d0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004509e0
add esp, 8
test eax, eax
je 0x46a4f8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x13c]
or eax, 0x100
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x13c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x13c]
and eax, 0x100
je 0x46a570
cmp dword [ebp + 8], 0
je 0x46a566
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x46a52f
xor edx, edx
je 0x46a52f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x2d4], ecx
jmp 0x46a539
mov dword [ebp - 0x2d4], 0xffffffa8
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2d4]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x138
push 0xffffffffffffffa8
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043c5d0
add esp, 0x1c
mov eax, 0xffffffa8
jmp 0x46a66b
mov byte [ebp - 0x208], 0x5c
mov byte [ebp - 0x207], 0
push 0
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0046a680
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46a5a4
mov eax, dword [ebp - 4]
jmp 0x46a66b
push 0x200
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0046a680
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46a5dc
mov eax, dword [ebp - 4]
jmp 0x46a66b
mov byte [ebp - 0x208], 0x2f
mov byte [ebp - 0x206], 0x61
mov byte [ebp - 0x205], 0x72
mov byte [ebp - 0x207], 0x76
mov byte [ebp - 0x204], 0
push 0
lea ecx, [ebp - 0x208]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046a680
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46a622
mov eax, dword [ebp - 4]
jmp 0x46a66b
mov byte [ebp - 0x208], 0x2f
mov byte [ebp - 0x204], 0
mov byte [ebp - 0x206], 0x6d
mov byte [ebp - 0x207], 0x74
mov byte [ebp - 0x205], 0x70
push 0
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046a680
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46a668
mov eax, dword [ebp - 4]
jmp 0x46a66b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00431a84
mov esp, ebp
pop ebp
ret
Function at 0x474750
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0xffffff9d
jne 0x4747a5
mov dword [0x51cd70], 0xffffffff
mov dword [ebp - 4], 0
jmp 0x474778
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jae 0x4747a0
mov ecx, dword [ebp - 4]
shl ecx, 4
mov dword [ecx + 0x51cd38], 0
mov edx, dword [ebp - 4]
shl edx, 4
mov dword [edx + 0x51cd3c], 0
jmp 0x47476f
jmp 0x474953
cmp dword [ebp + 0x10], 4
jb 0x4747c1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x474953
cmp dword [ebp + 0x10], 0
jl 0x4747cd
cmp dword [ebp + 0x10], 4
jb 0x4747d2
jmp 0x474953
cmp dword [0x51cd70], 0
jge 0x4747e4
cmp dword [0x51cd70], 4
jae 0x4747fb
push 0
mov eax, dword [0x51cd70]
shl eax, 4
mov ecx, dword [eax + 0x51cd38]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 0x10]
mov dword [0x51cd70], edx
mov eax, dword [0x51cd70]
shl eax, 4
cmp dword [eax + 0x51cd3c], 0
jne 0x474844
mov ecx, dword [0x51cd70]
shl ecx, 4
mov edx, dword [ecx + 0x51cd38]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00474960
add esp, 8
mov ecx, dword [0x51cd70]
shl ecx, 4
mov dword [ecx + 0x51cd3c], 1
push 0
push 0
push 0xaec
mov edx, dword [0x51cd70]
shl edx, 4
mov eax, dword [edx + 0x51cd38]
push eax
mov ecx, dword [0x51cd70]
shl ecx, 4
mov edx, dword [ecx + 0x51cd30]
call edx
push 5
mov eax, dword [0x51cd70]
shl eax, 4
mov ecx, dword [eax + 0x51cd38]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0
jmp 0x474897
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 3
jae 0x474953
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x51cd74]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x47494e
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x51cd78]
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + ecx + 0x138]
and eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 4]
mov eax, dword [edx*8 + 0x51cd78]
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax + 0x138]
and edx, 2
je 0x47494e
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x51cd78]
imul ecx, ecx, 0x32
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x13b]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [ebp - 4]
mov eax, dword [edx*8 + 0x51cd78]
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax + 0x138]
and edx, 0xfffffffd
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x51cd78]
mov eax, dword [ebp + 0xc]
mov byte [eax + ecx + 0x138], dl
jmp 0x47488e
mov esp, ebp
pop ebp
ret
Function at 0x474a60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xffff
movzx ecx, ax
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
and eax, 0xffff
movzx ecx, ax
shr ecx, 8
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 8], edx
cmp dword [ebp - 4], 0x80000000
jae 0x474ac3
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0xc], ecx
jmp 0x474ae9
cmp dword [ebp - 0x14], 4
jae 0x474ae2
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
and eax, 0xffff7fff
mov dword [ebp - 0xc], eax
jmp 0x474ae9
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x14], 6
jb 0x474af8
mov dword [ebp - 0x10], 7
jmp 0x474b44
cmp dword [ebp - 0x14], 5
jne 0x474b07
mov dword [ebp - 0x10], 6
jmp 0x474b44
cmp dword [ebp - 0x14], 4
jne 0x474b1c
cmp dword [ebp - 8], 0
jne 0x474b1c
mov dword [ebp - 0x10], 4
jmp 0x474b44
cmp dword [ebp - 0x14], 3
jne 0x474b31
cmp dword [ebp - 8], 0
jne 0x474b31
mov dword [ebp - 0x10], 5
jmp 0x474b44
cmp dword [ebp - 0x14], 4
jne 0x474b44
cmp dword [ebp - 8], 1
jne 0x474b44
mov dword [ebp - 0x10], 3
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret