joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003a2cd
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4044
call fcn.100588e0
mov eax, dword [0x1011ca44]
xor eax, esp
mov dword [esp + 0x4040], eax
push ebx
push ebp
push esi
push edi
mov esi, 0x1000
lea eax, [esp + 0x50]
push esi
xor edi, edi
push edi
push eax
call fcn.1005c640
push edi
xor ebx, ebx
lea eax, [esp + 0x60]
inc ebx
mov ebp, 0x800
push ebx
push ebp
push eax
call fcn.100281de
add esp, 0x1c
test eax, eax
je 0x1003a47e
lea eax, [esp + 0x50]
push eax
push str.11.281.2
call fcn.10071c23
pop ecx
pop ecx
test eax, eax
jg 0x1003a47e
push esi
lea eax, [esp + 0x3054]
push edi
push eax
call fcn.1005c640
push edi
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x3064]
push ebp
push eax
call fcn.1002840a
add esp, 0x1c
test eax, eax
je 0x1003a47e
push esi
lea eax, [esp + 0x1054]
push edi
push eax
call fcn.1005c640
lea eax, [esp + 0x305c]
push eax
lea eax, [esp + 0x1060]
push ebp
push eax
call fcn.10071c23
push str._bin_ssvagent.exe
lea eax, [esp + 0x106c]
push ebp
push eax
call fcn.10071c23
push 0x3c
pop esi
push esi
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.1005c640
push 0x1000
lea eax, [esp + 0x2084]
mov dword [esp + 0x48], esi
push edi
push eax
call fcn.1005c640
push str._high__jpisetup__register
lea eax, [esp + 0x2090]
push ebp
push eax
call fcn.10071c23
add esp, 0x48
call fcn.10034516
test eax, eax
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x1050]
mov dword [esp + 0x18], 0x40
mov edx, str.open
mov dword [esp + 0x24], eax
mov ecx, str.runas
lea eax, [esp + 0x50]
cmove ecx, edx
push eax
mov dword [esp + 0x24], ecx
call fcn.100346f7
test eax, eax
mov edx, str.__old
mov ecx, str.__new
lea eax, [esp + 0x2054]
cmove ecx, edx
push ecx
push ebp
push eax
call fcn.10071c23
add esp, 0x10
lea eax, [esp + 0x2050]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1003a47a
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x4c], edi
je 0x1003a47a
push 0xffffffffffffffff
push dword [esp + 0x50]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x50]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
push dword [esp + 0x4c]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
jmp 0x1003a480
mov eax, ebx
mov ecx, dword [esp + 0x4050]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100587af
add esp, 0x4044
ret
Function at 0x1003a81d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf90]
mov eax, 0x1010
call fcn.100588e0
mov eax, dword [0x1011ca44]
xor eax, ebp
mov dword [ebp + 0xf8c], eax
push esi
mov esi, dword [ebp + 0xf98]
lea eax, [ebp - 0x78]
push edi
push eax
push 1
push 0
push str.SoftwareJavaSoftJava_Web_Start_
mov dword [ebp - 0x80], esi
mov edi, 0x1000
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003a8c8
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.CurrentVersion
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003a8bf
cmp dword [ebp - 0x80], 1
jne 0x1003a8bf
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x7c]
mov ecx, 0x7ff
shr eax, 1
cmp eax, 0x800
cmovb ecx, eax
add ecx, ecx
cmp ecx, edi
jae 0x1003a8ed
xor eax, eax
mov word [ebp + ecx - 0x74], ax
lea eax, [ebp - 0x74]
push eax
jmp 0x1003a8cd
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100fca04
mov ecx, esi
call fcn.10001727
mov ecx, dword [ebp + 0xf8c]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.100587af
add ebp, 0xf90
leave
ret
call fcn.10071c23
int3
Function at 0x1003a910
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push 0x10
mov eax, 0x100bc224
call fcn.100587f7
xor esi, esi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
and dword [ebp - 4], esi
lea ecx, [ebp - 0x14]
call fcn.10001727
mov edi, dword [ebp - 0x14]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
test edi, edi
je 0x1003a945
xor eax, eax
cmp dword [edi], eax
sete al
jmp 0x1003a947
mov eax, ebx
test al, al
je 0x1003a952
push 0x100fc3b9
jmp 0x1003a970
test edi, edi
je 0x1003a95a
mov eax, dword [edi]
jmp 0x1003a95c
xor eax, eax
push eax
call fcn.1003ad1c
pop ecx
test eax, eax
jne 0x1003a9ab
lea ecx, [ebp - 0x14]
call fcn.1001d871
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x1003aa17
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000d9ae
push eax
lea ecx, [ebp - 0x10]
call fcn.10001795
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003a9bb
call fcn.10001b26
jmp 0x1003a9bb
cmp eax, ebx
jne 0x1003aa17
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001795
lea ecx, [ebp - 0x10]
call fcn.1001d871
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
push 2
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyaddr]
mov esi, eax
test esi, esi
je 0x1003aa14
mov ecx, dword [esi]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a9e6
sub ecx, edx
push ecx
push dword [esi]
call fcn.10071c23
pop ecx
pop ecx
push dword [esi]
lea ecx, [ebp - 0x18]
call fcn.1000d9ae
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003aa0f
call fcn.10001b26
mov esi, dword [ebp - 0x10]
jmp 0x1003aa19
mov esi, dword [ebp - 0x10]
xor bl, bl
test edi, edi
je 0x1003aa24
mov ecx, edi
call fcn.10001b26
test esi, esi
je 0x1003aa2f
mov ecx, esi
call fcn.10001b26
mov al, bl
call fcn.100587c0
ret
Function at 0x1003aab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.100588e0
push 0xffffffffffffffff
push 0x100bc262
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1011ca44]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x100c]
mov dword [ebp - 0x18], edi
xor ebx, ebx
lea eax, [ebp]
push 0x1000
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.1005c640
mov eax, dword [ebp + 0x1010]
add esp, 0xc
test eax, eax
je 0x1003ab1b
mov esi, dword [eax]
jmp 0x1003ab1d
mov esi, ebx
movzx ecx, word [esi]
mov eax, ebx
mov edx, ebx
test cx, cx
je 0x1003ac42
cmp cx, 0x2e
jne 0x1003ab39
inc eax
cmp eax, 1
jg 0x1003ab4c
inc edx
movzx ecx, word [esi + edx*2]
test cx, cx
jne 0x1003ab2d
cmp eax, 1
jle 0x1003ac42
push 0x100fca6c
push esi
call fcn.10071c23
pop ecx
pop ecx
test eax, eax
js 0x1003ac42
push esi
call fcn.10039f71
pop ecx
test al, al
je 0x1003ac42
push 0x100fca88
lea ecx, [ebp - 0x14]
call fcn.10001727
push 0x100fca84
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000d9ae
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.1000187c
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1003abae
call fcn.10001b26
push esi
lea ecx, [ebp - 0x10]
call fcn.10001727
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x14]
call fcn.1000187c
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1003abd7
call fcn.10001b26
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1003abe2
mov eax, dword [esi]
jmp 0x1003abe4
mov eax, ebx
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003ac2a
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x1000
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x100fcae0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1003ac2a
xor eax, eax
mov word [ebp], ax
lea eax, [ebp]
mov ecx, edi
push eax
call fcn.10001727
test esi, esi
je 0x1003ac62
mov ecx, esi
call fcn.10001b26
jmp 0x1003ac62
push str.1.3.1
push esi
call fcn.10071c23
push esi
call fcn.10039f71
add esp, 0xc
mov ecx, edi
push 0x100fc3be
call fcn.1000d9ae
mov ecx, dword [ebp + 0x1010]
test ecx, ecx
je 0x1003ac71
call fcn.10001b26
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.100587af
add ebp, 0x1004
leave
ret
Function at 0x1007051c
Capabilities:
Authenticate hmac

Disassembly:
movzx edx, word [ecx + 0x32]
mov eax, edx
push esi
cmp edx, 0x46
jne 0x10070543
mov eax, dword [ecx]
and eax, 8
or eax, 0
jne 0x10070690
mov dword [ecx + 0x1c], 7
pop esi
jmp fcn.10071c23
cmp edx, 0x4e
jne 0x1007056f
mov eax, dword [ecx]
push 8
pop edx
and eax, edx
or eax, 0
jne 0x10070690
mov dword [ecx + 0x1c], edx
call fcn.1006751d
mov dword [eax], 0x16
call fcn.100673f6
xor al, al
pop esi
ret
cmp dword [ecx + 0x2c], 0
jne 0x1007055b
push 0x6a
pop esi
cmp ax, si
ja 0x10070646
je 0x1007063d
cmp eax, 0x49
je 0x100705d7
cmp eax, 0x4c
je 0x100705cb
cmp eax, 0x54
je 0x100705bf
push 0x68
pop edx
cmp ax, dx
jne 0x10070690
mov eax, dword [ecx + 0x10]
cmp word [eax], dx
jne 0x100705b8
add eax, 2
mov dword [ecx + 0x10], eax
xor eax, eax
inc eax
jmp 0x1007068d
push 2
jmp 0x1007068c
mov dword [ecx + 0x2c], 0xd
jmp 0x10070690
mov dword [ecx + 0x2c], 8
jmp 0x10070690
mov edx, dword [ecx + 0x10]
movzx eax, word [edx]
cmp eax, 0x33
jne 0x100705fb
cmp word [edx + 2], 0x32
jne 0x100705fb
lea eax, [edx + 4]
mov dword [ecx + 0x2c], 0xa
mov dword [ecx + 0x10], eax
jmp 0x10070690
cmp eax, 0x36
jne 0x10070616
cmp word [edx + 2], 0x34
jne 0x10070616
lea eax, [edx + 4]
mov dword [ecx + 0x2c], 0xb
mov dword [ecx + 0x10], eax
jmp 0x10070690
cmp eax, 0x64
je 0x10070634
cmp eax, 0x69
je 0x10070634
cmp eax, 0x6f
je 0x10070634
cmp eax, 0x75
je 0x10070634
cmp eax, 0x78
je 0x10070634
cmp eax, 0x58
jne 0x10070690
mov dword [ecx + 0x2c], 9
jmp 0x10070690
mov dword [ecx + 0x2c], 5
jmp 0x10070690
push 0x6c
pop esi
cmp ax, si
je 0x10070678
cmp eax, 0x74
je 0x1007066f
cmp eax, 0x77
je 0x10070666
cmp edx, 0x7a
jne 0x10070690
mov dword [ecx + 0x2c], 6
jmp 0x10070690
mov dword [ecx + 0x2c], 0xc
jmp 0x10070690
mov dword [ecx + 0x2c], 7
jmp 0x10070690
mov eax, dword [ecx + 0x10]
cmp word [eax], si
jne 0x1007068a
add eax, 2
mov dword [ecx + 0x10], eax
push 4
jmp 0x1007068c
push 3
pop eax
mov dword [ecx + 0x2c], eax
mov al, 1
pop esi
ret

Function at 0x10071c23
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10071c32
pop dword [ebp - 0x4c]
mov eax, 0x10071c32
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x60737
push 0
mov eax, 0x8c126925
sub eax, 0x7c06674d
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x43632278
sub ecx, 0x4362d974
mov esi, eax
mov edi, 0x1016a800
add edi, dword [ebp - 0x4c]
mov edx, 0x7837837b
sub edx, 0x8360ac86
xor dword [ebp - 4], esi
mov ebx, dword [edi]
sub ebx, edx
sub dword [ebp - 0x2c], 0x5a654918
mov dword [esi], ebx
xor dword [ebp - 0x30], 0x721c89a8
add esi, 0x10c2cdd7
add esi, 0xef3d322d
add edi, 4
loop 0x10071c86
add eax, 0x17e59dc5
sub eax, 0x17e486e2
mov ebx, eax
add eax, 0xc2da26ad
add eax, 0x3d25d958
mov ecx, 0xdf08b00a
add ecx, 0x30f74ff6
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x100259e1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x100259f0
pop dword [ebp - 0x34]
mov eax, 0x1eb8652
sub eax, 0xf1e92c62
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x51b354d8
add dword [ebp - 0x44], 0xfc9ef073
mov dword [ebp - 0x40], 0xc03c391d
sub dword [ebp - 0x40], 0x8e08ecd8
mov dword [ebp - 0x3c], 0x9dd475c1
add dword [ebp - 0x3c], 0xae77ce6d
mov dword [ebp - 0x38], 0x458a76f8
sub dword [ebp - 0x38], 0x458a76f8
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x993be466
sub dword [ebp - 0x44], 0x24c97b10
mov dword [ebp - 0x40], 0x286726db
add dword [ebp - 0x40], 0x19053a9a
mov dword [ebp - 0x3c], 0x8f7af4ce
add dword [ebp - 0x3c], 0xd3f4779e
mov dword [ebp - 0x38], 0x264631cf
add dword [ebp - 0x38], 0xd9b9ce31
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3feb9
push 0
call eax
mov ecx, 0x1b1b1469
add ecx, 0xe4e546ca
mov esi, eax
mov edi, 0x8585cb46
sub edi, 0x757d4746
add edi, dword [ebp - 0x34]
mov ebx, 0x79e60efd
sub ebx, 0xcea233af
xor dword [ebp - 0x18], ebx
mov edx, dword [edi]
sub dword [ebp - 0x24], eax
add edx, ebx
sub dword [ebp - 0x24], edi
mov dword [esi], edx
add esi, 4
add edi, 0xa3d6f814
sub edi, 0xa3d6f810
loop 0x10025b08
add eax, 0xc487862e
sub eax, 0xc486268f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x441c9a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00441838

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402530
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push str.Close
push edi
call fcn.004145de
add esp, 8
test eax, eax
jne 0x40256c
push eax
push eax
push 0x10
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_PostMessageA]
cmp byte [esi + 0x44], 0
je 0x4025c9
pop edi
mov dword [esi + 0x4c], 0
pop esi
pop ebp
ret 4
push str.Continue
push edi
call fcn.004145de
add esp, 8
test eax, eax
jne 0x40259e
push eax
push eax
push 0x10
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_PostMessageA]
cmp byte [esi + 0x44], 0
je 0x4025c9
pop edi
mov dword [esi + 0x4c], 1
pop esi
pop ebp
ret 4
push str.OpenNetworkConnections
push edi
call fcn.004145de
add esp, 8
test eax, eax
jne 0x4025c9
push 1
push eax
push str.NCPA.cpl
push str.control.exe
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebp
ret 4

Function at 0x402670
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x42e054]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [0x430598]
push ebx
push esi
push edi
mov edi, edx
test eax, eax
je 0x4026a0
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_BringWindowToTop]
jmp 0x402739
push 0x50
call fcn.0040e670
mov esi, eax
add esp, 4
mov ecx, esi
mov dword [esp + 0x10], esi
call fcn.00402d70
mov dword [esi], vtable.CIcsWin.0
mov dword [esi + 0xc], vtable.CIcsWin.1.0
mov dword [esi + 0x48], 0
mov byte [esi + 0x44], 0
mov dword [esi + 0x4c], 0
mov eax, dword [esi + 0x48]
mov dword [0x430598], esi
cmp eax, edi
je 0x4026ed
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi + 0x48], edi
push dword [esp + 0x10]
movaps xmm0, xmmword [0x429ab0]
lea eax, [esi + 0x2c]
push eax
push 0x42e980
movups xmmword [esp + 0x20], xmm0
call fcn.004031b0
add esp, 8
movzx eax, ax
push eax
push 0
push 0
push 0x6480080
push str.IcsWin
lea eax, [esp + 0x2c]
push eax
push ecx
lea ecx, [esi + 0xc]
call fcn.004034b0
push 5
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x24]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040e432
mov esp, ebp
pop ebp
ret
Function at 0x402b90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420d26
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x42e054]
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 edi, ecx
lea ebx, [edi + 0x34]
push ebx
push 0x427e90
push 3
push 0
push 0x422454
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x28
call fcn.0040e670
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi], vtable.ATL::CComObject_class_CSite_.0
mov dword [esi + 4], vtable.ATL::CComObject_class_CSite_.2.0
mov dword [esi + 8], vtable.ATL::CComObject_class_CSite_.7.0
mov dword [esi + 0xc], vtable.ATL::CComObject_class_CSite_.6.0
mov dword [esi + 0x10], vtable.ATL::CComObject_class_CSite_.3.0
mov dword [esi + 0x14], vtable.ATL::CComObject_class_CSite_.1.0
mov dword [esi + 0x18], vtable.ATL::CComObject_class_CSite_.4.0
mov dword [esi + 0x1c], vtable.ATL::CComObject_class_CSite_.5.0
mov ecx, dword [0x43063c]
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x40], esi
mov dword [esi + 0x24], edi
mov eax, dword [ebx]
push dword [edi + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ecx, dword [ebx]
lea ebx, [edi + 0x30]
mov esi, dword [ebx]
cmp esi, ecx
je 0x402c7e
test ecx, ecx
je 0x402c6e
mov eax, dword [ecx]
push ebx
push 0x428000
push ecx
call dword [eax]
test eax, eax
jns 0x402c74
mov dword [ebx], 0
test esi, esi
je 0x402c7e
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [edi + 0x34]
lea ebx, [edi + 0x38]
mov esi, dword [ebx]
cmp esi, ecx
je 0x402cad
test ecx, ecx
je 0x402c9d
mov eax, dword [ecx]
push ebx
push 0x4280e4
push ecx
call dword [eax]
test eax, eax
jns 0x402ca3
mov dword [ebx], 0
test esi, esi
je 0x402cad
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 0x38
call fcn.0040e670
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.0040d190
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x3c], eax
cmp dword [eax + 0x28], 0xfefefefe
lea ecx, [eax + 0x28]
je 0x402ce8
push 0x80004005
call fcn.004012b0
push ecx
push ecx
mov ecx, dword [edi + 0x30]
mov edx, eax
call fcn.004016b0
mov eax, dword [edi + 0x30]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf8]
mov eax, dword [edi + 0x30]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x100]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x34]
lea edx, [ebp - 0x20]
push edx
push dword [edi + 0x10]
mov ecx, dword [eax]
push 0
push dword [edi + 0x40]
push 0
push 0xfffffffffffffffb
push eax
call dword [ecx + 0x2c]
mov eax, 1
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.0040e432
mov esp, ebp
pop ebp
ret
Function at 0x403dd0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x42e054]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00403d20
mov esi, eax
test esi, esi
jne 0x403ec7
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x403e99
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00403dd0
mov esi, eax
test esi, esi
jne 0x403ec7
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x403e60
mov eax, dword [esp + 0xc]
test eax, eax
je 0x403eb0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.00403b70
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x403ed6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x12c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0040e432
mov esp, ebp
pop ebp
ret 4
Function at 0x406970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push esi
push edi
push eax
push 0x20019
xor esi, esi
mov edi, edx
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4069d3
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 4
push eax
push esi
push str.CurrentMajorVersionNumber
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
test eax, eax
mov ecx, 1
cmove esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4069e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x42e054]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x430648]
test eax, eax
jne 0x406bb2
push 0x94
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00410f30
add esp, 0xc
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x406a4a
mov dword [0x430648], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x88]
sub eax, 1
je 0x406b4d
sub eax, 1
jne 0x406a30
mov eax, dword [ebp - 0x94]
cmp eax, 4
jbe 0x406a30
cmp eax, 5
jne 0x406a94
cmp dword [ebp - 0x90], 0
jne 0x406a30
mov dword [0x430648], 4
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x406a30
mov eax, dword [ebp - 0x90]
test eax, eax
jne 0x406ac0
mov dword [0x430648], 6
mov eax, 6
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x406ae2
mov dword [0x430648], 7
mov eax, 7
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x406a30
sub esp, 8
mov dword [ebp - 0x9c], 8
lea edx, [ebp - 0x9c]
call fcn.00406970
add esp, 8
test eax, eax
je 0x406b30
cmp dword [ebp - 0x9c], 0xa
jb 0x406b30
mov dword [0x430648], 9
mov eax, 9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret
mov dword [0x430648], 8
mov eax, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x94]
cmp eax, 4
ja 0x406ba3
jne 0x406b86
mov eax, dword [ebp - 0x90]
cmp eax, 0x5a
jae 0x406ba3
test eax, eax
je 0x406b86
mov dword [0x430648], 2
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret
mov dword [0x430648], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret
mov dword [0x430648], 3
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret