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

Disassembly:
sub esp, 0x3c
push edi
push 0x38
xor edi, edi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.004b1550
add esp, 0xc
mov dword [esp + 4], 0x3c
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp esi, edi
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
jne 0x4196a6
mov dword [esp + 0x3c], edi
mov dword [esp + 8], edi
jmp 0x4196b0
mov dword [esi], edi
mov dword [esp + 8], 0x40
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4196db
cmp esi, edi
je 0x4196c9
mov edx, dword [esp + 0x3c]
mov dword [esi], edx
mov eax, 0x20
cmp eax, dword [esp + 0x24]
pop edi
sbb eax, eax
neg eax
add esp, 0x3c
ret
xor al, al
pop edi
add esp, 0x3c
ret

Function at 0x4196f0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, 1
mov dword [esp + 4], eax
jne 0x41976e
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x41975f
mov dword [esp + 4], ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp eax, 1
sete dl
pop ebx
xor ecx, esp
mov al, dl
call fcn.004a85d7
add esp, 0x14
ret
Function at 0x4197f0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4cccd6
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x84c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x85c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea ecx, [esp + 0x44]
push ecx
push 0x3fe
mov dword [esp + 0x2c], eax
call ebp
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x4198bb
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ebx
cmp edi, 0x3fe
mov dword [esp + 0x854], ebx
jbe 0x4198c2
xor ecx, ecx
lea eax, [edi + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7b40
mov esi, eax
push ebx
mov dword [esp + 0x28], esi
call fcn.004a84ed
add esp, 8
push esi
push edi
call ebp
cmp eax, ebx
je 0x4198b2
cmp eax, edi
ja 0x4198b2
mov word [esi + eax*2], bx
mov word [esi + eax*2 + 2], bx
mov edi, eax
mov dword [esp + 0x18], esi
mov ecx, esi
jmp 0x4198cc
push esi
call fcn.004a84ed
add esp, 4
xor al, al
jmp 0x41997f
mov word [esp + edi*2 + 0x44], bx
mov word [esp + edi*2 + 0x46], bx
xor eax, eax
xor ebp, ebp
cmp edi, ebx
jbe 0x419970
mov dword [esp + 0x1c], 2
mov edx, dword [esp + 0x1c]
cmp word [ecx + edx - 2], bx
jne 0x419960
cmp eax, ebp
je 0x419960
lea ecx, [ecx + eax*2]
mov eax, ecx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea esi, [eax + 2]
jmp 0x419910
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x419910
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x30]
call fcn.00405810
mov eax, esi
mov esi, dword [esp + 0x24]
push eax
mov byte [esp + 0x858], 1
call fcn.00408080
mov byte [esp + 0x854], bl
cmp dword [esp + 0x40], 8
jb 0x419959
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004a85e6
add esp, 4
mov ecx, dword [esp + 0x18]
lea eax, [ebp + 1]
add dword [esp + 0x1c], 2
add ebp, 1
cmp ebp, edi
jb 0x4198e0
mov edx, dword [esp + 0x20]
push edx
call fcn.004a84ed
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x84c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.004a85d7
add esp, 0x844
ret
Function at 0x41b520
Capabilities:
Read data from internet
Receive data

Disassembly:
mov eax, dword [eax]
sub esp, 8
test eax, eax
push ebx
push edi
jne 0x41b536
or eax, 0xffffffff
pop edi
pop ebx
add esp, 8
ret 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ecx
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41b52b
mov edx, dword [esp + 0xc]
add dword [esi + 0xc], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
cmp edi, dword [esi + 4]
je 0x41b5ca
mov ecx, edi
sub ecx, dword [esi + 0x18]
cmp ecx, 0x3e8
jbe 0x41b59c
mov ebx, dword [esi + 0xc]
mov eax, ebx
sub eax, dword [esi + 0x1c]
xor edx, edx
div ecx
test eax, eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x41b593
fadd qword [0x4e4f70]
fstp qword [esi + 0x10]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 0xc]
fild dword [esi + 0xc]
test eax, eax
jge 0x41b5ac
fadd qword [0x4e4f70]
mov ecx, edi
sub ecx, dword [esi]
test ecx, ecx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
jge 0x41b5c2
fadd qword [0x4e4f70]
fdivp st(1)
mov dword [esi + 4], edi
fstp qword [esi + 0x20]
mov eax, dword [esp + 0xc]
pop edi
pop ebx
add esp, 8
ret 4
Function at 0x41d8e0
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x4ca1c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [esp + 0x18], esi
push 4
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x2c], 0
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 2
push esi
mov dword [esp + 0x24], 0x7d0
call edi
push 4
lea ecx, [esp + 0x18]
push ecx
push 3
push esi
mov dword [esp + 0x24], 3
call edi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.0041e2e0
add esp, 0xc
test esi, esi
mov bl, al
je 0x41d97a
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x41e250
Capabilities:
Create http request

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
jne 0x41e271
pop esi
xor al, al
pop ebx
ret
push edi
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
push 0x4fb834
push 2
push esi
call edi
push 4
push 0x4fb838
push 3
push esi
call edi
cmp dword [ebx + 0x18], 0x10
jb 0x41e29b
mov eax, dword [ebx + 4]
jmp 0x41e29e
lea eax, [ebx + 4]
push 0
push 0x84000000
push 0
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
test eax, eax
jne 0x41e2c2
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
xor al, al
pop ebx
ret
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call edi
push esi
call edi
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x41e6c0
Capabilities:
Get http content length
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ca15b
mov eax, dword fs:[0]
push eax
mov eax, 0x1020
call fcn.004bbcd0
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0x1018], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x1034]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1044]
xor ebp, ebp
cmp ebx, ebp
mov esi, ecx
je 0x41e7c3
mov eax, dword [ebx]
cmp eax, ebp
mov byte [esp + 0x1a], 0
mov dword [esp + 0x20], 4
mov dword [esp + 0x1c], ebp
je 0x41e749
push ebp
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
setne al
test al, al
jne 0x41e765
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x41e7c3
mov byte [esp + 0x1a], 1
mov dword [esp + 0x1c], 0x3200000
jmp 0x41e76b
cmp dword [esp + 0x1c], ebp
je 0x41e7c3
mov dword [esp + 0x24], vtable.GameMgr::GMFile.0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x103c], ebp
call dword [0x4d9278]
cmp dword [esi + 0x18], 8
jb 0x41e797
mov eax, dword [esi + 4]
jmp 0x41e79a
lea eax, [esi + 4]
push ebp
push 0x80
push 2
push ebp
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
jne 0x41e7ca
lea esi, [esp + 0x24]
call fcn.00418dc0
xor al, al
jmp 0x41e8a1
push 0x30
call fcn.004a84f2
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x41e7e7
mov eax, dword [esp + 0x1c]
call fcn.004014c0
mov esi, eax
jmp 0x41e7e9
xor esi, esi
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x1c]
cmp eax, edi
mov byte [esp + 0x1b], 1
jae 0x41e87a
lea ecx, [ecx]
cmp byte [esp + 0x1a], 0
mov edx, 0x1000
jne 0x41e816
mov ecx, edi
sub ecx, eax
cmp ecx, edx
jae 0x41e816
mov edx, ecx
lea eax, [esp + 0x2c]
push eax
mov eax, ebx
call fcn.0041b520
mov edi, eax
cmp edi, 0xffffffff
je 0x41e876
test edi, edi
jne 0x41e842
cmp byte [esp + 0x1a], al
jne 0x41e876
push 0xa
call sub.KERNEL32.dll_Sleep
add ebp, 1
cmp ebp, 3
ja 0x41e876
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
je 0x41e886
push 0
lea ecx, [esp + 0x24]
push ecx
push edi
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41e886
cmp edi, dword [esp + 0x20]
jne 0x41e886
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x1c]
cmp eax, edi
jb 0x41e800
jmp 0x41e87a
mov edi, dword [esp + 0x1c]
cmp dword [esi + 0xc], edi
je 0x41e88b
cmp byte [esp + 0x1a], 0
jne 0x41e88b
mov byte [esp + 0x1b], 0
push esi
call fcn.004a85e6
add esp, 4
lea esi, [esp + 0x24]
call fcn.00418dc0
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x1034]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1018]
xor ecx, esp
call fcn.004a85d7
add esp, 0x102c
ret
Function at 0x41fe30
Capabilities:
Delete file
Set file attributes

Disassembly:
sub esp, 0x1c
push ebp
mov ebp, dword [esp + 0x24]
cmp dword [ebp + 0x18], 8
push esi
push edi
lea edi, [ebp + 4]
jb 0x41fe47
mov edx, dword [edi]
jmp 0x41fe49
mov edx, edi
push ebx
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41fe62
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x18]
call fcn.00405810
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x41fe8f
lea eax, [esp + 0x14]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
sete bl
cmp dword [esp + 0x28], esi
jb 0x41feaf
mov eax, dword [esp + 0x14]
push eax
call fcn.004a85e6
add esp, 4
test bl, bl
pop ebx
je 0x41febd
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x1c
ret
cmp dword [ebp + 0x18], esi
jb 0x41fed7
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
test eax, eax
pop esi
setne al
pop ebp
add esp, 0x1c
ret
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
test eax, eax
pop esi
setne al
pop ebp
add esp, 0x1c
ret

Function at 0x41fef0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x624
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0x620], eax
push esi
push edi
xor edi, edi
cmp dword [0x4fb33c], edi
mov esi, ecx
je 0x41ff3a
push 0xffffffffffffffff
push edi
push 0x4fb328
mov eax, esi
call fcn.00405240
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.004a85d7
add esp, 0x624
ret
push 0x20a
lea eax, [esp + 0xe]
push edi
push eax
mov word [esp + 0x14], di
call fcn.004b1550
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x420023
push 0x410
lea edx, [esp + 0x21a]
push edi
push edx
mov word [esp + 0x21e], di
mov word [esp + 0x220], di
call fcn.004b1550
add esp, 0xc
push 0x208
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x41ffe7
cmp eax, edi
je 0x41ffe7
push esi
lea edx, [esp + 0x218]
mov word [esp + eax*2 + 0x218], di
call fcn.00405020
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.004a85d7
add esp, 0x624
ret
lea eax, [esp + 8]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41fff0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc]
push edx
call fcn.00405810
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.004a85d7
add esp, 0x624
ret
mov ecx, dword [esp + 0x628]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.004a85d7
add esp, 0x624
ret
Function at 0x420040
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
push esi
push edi
push 0x20a
lea eax, [esp + 0x12]
push 0
push eax
mov edi, ecx
mov esi, edx
mov word [esp + 0x18], 0
call fcn.004b1550
mov eax, 8
add esp, 0xc
cmp dword [edi + 0x18], eax
jb 0x42008c
mov edi, dword [edi + 4]
jmp 0x42008f
add edi, 4
cmp dword [ebx + 0x18], eax
jb 0x420099
mov ebx, dword [ebx + 4]
jmp 0x42009c
add ebx, 4
lea ecx, [esp + 0xc]
push ecx
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jbe 0x4200f4
lea eax, [esp + 0xc]
mov word [esp + 0x216], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4200c0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x10]
push edx
call fcn.00405810
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004a85d7
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.004a85d7
add esp, 0x210
ret

Function at 0x421940
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4cb932
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x244]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x20], esi
mov edi, edx
mov word [esi + 4], bx
push 0x208
lea eax, [esp + 0x2a]
mov dword [esp + 0x240], ebx
push ebx
push eax
mov dword [esp + 0x28], 1
mov word [esp + 0x30], bx
call fcn.004b1550
add esp, 0xc
cmp dword [edi + 0x18], 8
mov dword [esp + 0x14], 0x208
mov dword [esp + 0x18], 1
jb 0x4219e0
mov edi, dword [edi + 4]
jmp 0x4219e3
add edi, 4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421a3a
mov eax, dword [esp + 0x14]
cmp eax, 0x104
ja 0x421a11
mov word [esp + eax*2 + 0x24], bx
jmp 0x421a19
mov word [esp + 0x22c], bx
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421a20
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00405810
mov eax, esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.004a85d7
add esp, 0x22c
ret 4
Function at 0x423b30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4cc7f9
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov dword [esp + 0x58], edi
mov word [edi + 4], bx
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x80], 1
mov esi, 0x20019
call fcn.00419790
test al, al
je 0x423b9f
mov esi, 0x20119
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x423bb2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
push esi
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x423bd7
mov dword [esp + 0x10], ebx
jmp 0x423c0c
mov eax, 4
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
push ebx
push str.InstallDate
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x423c10
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x30], ebx
call fcn.004a9e37
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x50]
push edx
add eax, 1
push eax
add ecx, 0x76c
push ecx
push str._04d_02d_02d_02d_02d_02d
push edi
call fcn.0041a480
mov eax, dword [edi + 0x14]
add esp, 0x28
cmp eax, 0xe
jae 0x423ca4
mov edi, edi
push 1
push 0x4d4a6c
mov ecx, edi
call fcn.00406190
cmp dword [edi + 0x14], 0xe
jb 0x423c90
cmp dword [edi + 0x14], 0xe
jbe 0x423ce0
push 0xe
xor ecx, ecx
lea esi, [esp + 0x60]
mov edx, edi
call fcn.00405050
push 0xffffffffffffffff
push ebx
push eax
mov eax, edi
mov byte [esp + 0x8c], 2
call fcn.00405240
cmp dword [esp + 0x74], 8
jb 0x423ce0
mov edx, dword [esp + 0x60]
push edx
call fcn.004a85e6
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x423cef
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x78
ret
Function at 0x425cb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ca108
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
call fcn.00424680
mov dword [esp + 0x30], 0
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
mov edx, dword [edx + 0x40]
lea eax, [esp + 0xc]
push eax
call edx
test al, al
jne 0x425d54
mov eax, dword [esp + 0x20]
cmp eax, 0x4fe470
je 0x425d16
push eax
call fcn.004a84ed
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, 0x4fe470
je 0x425d2a
push eax
call fcn.004a84ed
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, 0x4fe470
je 0x425d3e
push eax
call fcn.004a84ed
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x18]
mov edi, dword [eax]
mov esi, dword [ebp + 8]
call fcn.004011a0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [esi + 8]
push ecx
add eax, 8
push eax
push edx
call fcn.004af6b0
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp eax, 0x4fe470
je 0x425d8d
push eax
call fcn.004a84ed
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, 0x4fe470
je 0x425da1
push eax
call fcn.004a84ed
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, 0x4fe470
je 0x425db5
push eax
call fcn.004a84ed
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x429270
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0x194], eax
cmp byte [0x4fe3e2], 0
mov dword [esi + 0x10], 0xffffffff
jne 0x4292c5
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
mov eax, esi
jne 0x4292c7
mov byte [0x4fe3e2], 1
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004a85d7
add esp, 0x19c
ret
mov eax, esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004a85d7
add esp, 0x19c
ret
Function at 0x431980
Capabilities:
Check os version

Disassembly:
sub esp, 0x124
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
push 0x114
lea eax, [esp + 0x18]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x1c], 0
call fcn.004b1550
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, esi
xor edi, edi
call fcn.00431ac0
test eax, eax
jbe 0x431a0b
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4319e9
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4319ee
call fcn.004a8d14
mov edx, dword [esi + 4]
mov eax, dword [edx + edi*4]
push eax
call fcn.004a85e6
add esp, 4
mov eax, esi
add edi, 1
call fcn.00431ac0
cmp edi, eax
jb 0x4319d6
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
jbe 0x431a18
call fcn.004a8d14
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x431a25
call fcn.004a8d14
cmp edi, ebx
je 0x431a4e
mov eax, dword [esi + 8]
sub eax, ebx
sar eax, 2
test eax, eax
lea ecx, [eax*4]
lea ebp, [ecx + edi]
jle 0x431a4b
push ecx
push ebx
push ecx
push edi
call fcn.004a8995
add esp, 0x10
mov dword [esi + 8], ebp
cmp dword [esp + 0x24], 2
jne 0x431a69
push esi
call fcn.004312f0
push esi
call fcn.00431720
push esi
call fcn.004311b0
jmp 0x431a84
xor edi, edi
cmp dword [esp + 0x10], 0
jne 0x431a84
push esi
call fcn.004314b0
add edi, 1
cmp edi, 0xa
mov dword [esp + 0x10], eax
jl 0x431a6b
mov eax, dword [esi + 4]
test eax, eax
jne 0x431a8f
xor esi, esi
jmp 0x431a97
mov esi, dword [esi + 8]
sub esi, eax
sar esi, 2
mov ecx, dword [esp + 0x130]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebp
setne al
pop ebx
xor ecx, esp
call fcn.004a85d7
add esp, 0x124
ret