joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x457f4b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46f1b0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, 0x14
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x471864
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x20], str.color_btnface
mov dword [esp + 0x28], str.color_btnhighlight
mov dword [esp + 0x30], str.color_btnhilight
mov dword [esp + 0x34], 0x10
mov dword [esp + 0x38], str.color_btnshadow
mov dword [esp + 0x3c], 0x12
mov dword [esp + 0x40], str.color_btntext
mov dword [esp + 0x44], 9
mov dword [esp + 0x48], str.color_captiontext
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x60], esi
lea ebp, [esp + 0x1c]
cmp eax, str.color_btnface
je 0x40e585
mov esi, str.color_btnface
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [0x471864]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x471864
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
push edx
mov eax, ebx
shr eax, 8
movzx ecx, al
push ecx
movzx edx, bl
push edx
push esi
push str._r_n__s_02x_02x_02x
lea edi, [esp + 0x2c]
mov byte [esp + 0x74], 1
call fcn.004056f0
mov esi, dword [esp + 0x2c]
mov eax, dword [esi - 0xc]
add esp, 0x14
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00402a40
lea eax, [esi - 0x10]
mov byte [esp + 0x60], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e577
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 0xc]
add ebp, 8
test esi, esi
jne 0x40e4f4
mov eax, dword [0x4729fc]
cmp eax, esi
jne 0x40e5bc
push 0x9c
call fcn.00440328
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x60], 2
cmp eax, esi
je 0x40e5b0
push eax
call fcn.0042868c
jmp 0x40e5b2
xor eax, eax
mov byte [esp + 0x60], 0
mov dword [0x4729fc], eax
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.00428f33
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e5ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410090
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xfc]
xor esi, esi
cmp edi, esi
jne 0x4101b0
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00429d2d
mov ecx, dword [eax]
mov eax, dword [esp + 0x20]
add esp, 4
cmp dword [ecx - 0xc], esi
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4100e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x410188
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x20], esi
call fcn.00429d2d
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
call fcn.004337f5
add esp, 8
test al, al
je 0x41010f
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41012f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
cmp esi, ebx
je 0x410181
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x20], ebx
call fcn.00429d2d
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
call fcn.004337f5
add esp, 8
test al, al
je 0x41015c
mov bl, byte [esp + 0x1c]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41017c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 0x10
je 0x410188
mov eax, 1
jmp 0x41018a
xor eax, eax
push ebp
push 0x410270
mov byte [ebp + 0x1ad], al
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp + 0xfc], 0
pop ebx
pop edi
pop esi
setne al
pop ebp
add esp, 8
ret 4
mov edx, dword [ebp + 0x104]
lea ecx, [ebp + 0x104]
cmp dword [edx - 0xc], esi
jne 0x4101cc
pop edi
pop esi
mov al, 1
pop ebp
add esp, 8
ret 4
call fcn.004101e0
pop edi
pop esi
pop ebp
add esp, 8
ret 4
Function at 0x412670
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4572d1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x46f1b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp + 8]
push 0x45e58a
call fcn.00402830
push 7
mov eax, 1
push 0xdf6
push 0x45f614
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
call fcn.00433314
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402830
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00434b63
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412710
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 8]
cmp dword [ecx - 0xc], edi
je 0x41281c
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], edi
je 0x41281c
push eax
lea ecx, [ebp - 0x18]
call fcn.00402830
mov byte [ebp - 4], 5
mov eax, dword [esi + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402830
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x20]
mov bl, 6
push eax
mov byte [ebp - 4], bl
call fcn.00415c80
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
push 0x45f61c
push ecx
call fcn.0043ec1d
add esp, 8
cmp eax, edi
je 0x41277d
sub eax, dword [ebp - 0x14]
js 0x41277d
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.00402d80
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], edi
je 0x4127b4
mov ecx, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push ecx
call edi
lea esi, [ebp - 0x18]
call fcn.00415d50
mov eax, dword [ebp - 0x14]
call fcn.0040bb30
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.00402920
mov eax, dword [esi]
push eax
call edi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4127d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4127f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41281c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41283f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
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 0x4151d0
Capabilities:
Check for time delay via gettickcount
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x456376
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x46f1b0]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46f1b0]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
xor ebx, ebx
push 0x3e8
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x41523e
xor eax, eax
jmp 0x4153c3
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
mov ecx, 0x471864
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x15c], ebx
call fcn.00402b00
mov ebp, 0x128
push ebp
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.00442500
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
push esi
mov dword [esp + 0x2c], ebp
call sub.KERNEL32.DLL_Process32First
cmp eax, ebx
je 0x415327
lea edx, [esp + 0x24]
push edx
push esi
mov dword [esp + 0x2c], ebp
call sub.KERNEL32.DLL_Process32Next
test eax, eax
je 0x415327
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x2c], eax
je 0x41528f
lea ecx, [esp + 0x48]
push 0x5c
push ecx
call fcn.00440aca
add esp, 8
test eax, eax
jne 0x4152c9
lea eax, [esp + 0x48]
jmp 0x4152ca
inc eax
push eax
lea ecx, [esp + 0x20]
call fcn.00402830
mov byte [esp + 0x15c], 1
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi]
push 1
push edx
call fcn.00433993
mov bl, al
mov byte [esp + 0x164], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415317
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41528f
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x14], 0
je 0x415394
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call edi
mov ebp, dword [esp + 0x164]
mov ebx, eax
imul ebp, ebp, 0x3e8
call edi
sub eax, ebx
cmp eax, ebp
jae 0x415394
push 0
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov edx, dword [esp + 0x14]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test esi, esi
je 0x415394
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x7d0
call dword [sym.imp.KERNEL32.DLL_Sleep]
call edi
sub eax, ebx
cmp eax, ebp
jb 0x415354
mov dword [esp + 0x15c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4153bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.0043eaba
add esp, 0x14c
ret
Function at 0x41b830
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x34]
push ebx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi], 0x45ffc8
cmp eax, ebx
je 0x41b858
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov eax, dword [esi + 0x34]
push eax
call edi
mov dword [esi + 0x38], ebx
mov eax, dword [esi + 0x68]
cmp eax, ebx
je 0x41b865
push eax
call edi
mov dword [esi + 0x68], ebx
mov eax, dword [esi + 0x6c]
cmp eax, ebx
je 0x41b872
push eax
call edi
mov dword [esi + 0x6c], ebx
mov eax, dword [esi + 0xa4]
cmp eax, ebx
je 0x41b885
push eax
call edi
mov dword [esi + 0xa4], ebx
lea ecx, [esi + 0x70]
push ecx
call fcn.0041f840
mov eax, dword [esi + 0x60]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop edi
pop ebx
test ecx, ecx
jg 0x41b8af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x44]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b8ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x40]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b8ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x3c]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b90c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 4]
call fcn.00424079
mov dword [esi], vtable.HTMLWindowObserver.0
ret
Function at 0x41c890
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, eax
lea ebp, [esi + 0x60]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0xc], ebx
call fcn.00402b00
cmp dword [esi + 0x34], ebx
je 0x41c8f9
push 0x10
push 0x1ee1
push 0x45fdc0
call fcn.00433314
add esp, 0xc
cmp eax, ebx
jne 0x41c8d5
xor ecx, ecx
push ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.00402b60
jmp 0x41c97a
mov ecx, eax
lea esi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x41c8e0
sub ecx, esi
push ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.00402b60
jmp 0x41c97a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0xa0], ecx
mov ecx, dword [esi + 0x3c]
push eax
push ecx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x30], 1
call fcn.0043eeb7
mov ecx, dword [esi + 0x48]
test eax, eax
setne dl
mov byte [esp + 0x24], dl
mov eax, dword [esp + 0x24]
push eax
push ecx
call fcn.0042b9d6
add esp, 0x10
lea edx, [esi + 0x38]
push edx
push ebx
push esi
push 0x41d190
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ebx, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0xa4]
push 0xffffffffffffffff
push eax
call ebx
mov ecx, dword [esi + 0xa0]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [esi + 0x68]
push 0xffffffffffffffff
push edx
call ebx
mov eax, dword [ebp]
sub eax, 0x10
push eax
call fcn.00403010
add esp, 4
pop esi
add eax, 0x10
pop ebp
mov dword [edi], eax
mov eax, edi
pop ebx
pop ecx
ret 0xc
Function at 0x42ee42
Capabilities:
Create thread
Resume thread

Disassembly:
push 8
mov eax, 0x459c4d
call fcn.00444333
push 0xac
call fcn.00440328
pop ecx
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
test eax, eax
je 0x42ee74
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.0043a684
mov esi, eax
jmp 0x42ee76
xor esi, esi
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push 0x42f12c
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edi, eax
test edi, edi
jne 0x42eeaa
test esi, esi
je 0x42eea6
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
xor al, al
jmp 0x42eed0
mov esi, 0x4723c8
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push dword [ebp - 0x10]
call fcn.00430176
push esi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push edi
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov al, 1
call fcn.004443d2
ret
Function at 0x430685
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x4306a7
call fcn.0041b520
jmp 0x4306a9
xor eax, eax
ret 8

Function at 0x4306db
Capabilities:
Hash data via wincrypt

Disassembly:
push 0
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4306f8
call fcn.0041b520
jmp 0x4306fa
xor eax, eax
ret 8

Function at 0x430755
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push dword [esp + 4]
mov eax, dword [eax]
push 0
push dword [0x473004]
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x43077a
call fcn.0041b520
jmp 0x43077c
xor eax, eax
ret 4

Function at 0x431952
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov esi, eax
xor edi, edi
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push 0x431b68
push edi
push edi
mov byte [ebp - 1], 0
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x4319af
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2b
push 0x2e8f
push 0x461c38
call fcn.00433314
add esp, 0xc
push eax
add esi, 0xa8
push esi
call fcn.0043387d
add esp, 0xc
jmp 0x431a95
mov edi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push ebx
push dword [esi + 0xc]
push eax
call edi
mov ebx, 0x102
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x431a38
cmp dword [esi + 0x28], 0
jbe 0x4319da
push 0xffffffffffffffff
push dword [ebp - 0xc]
call edi
mov dword [ebp - 8], eax
jmp 0x431a22
push 3
pop eax
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
push 0x7d0
push dword [ebp - 0xc]
call edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
push 0x26
push 0x3119
push 0x461c64
call fcn.00433314
push eax
lea eax, [esi + 0xa8]
push eax
call fcn.0043387d
add esp, 0x14
cmp dword [ebp - 8], ebx
jne 0x431a38
push dword [esi + 0xc]
push 0x26
push 0x2ed9
push 0x461c8c
jmp 0x431a73
cmp dword [ebp - 8], 0xffffffff
jne 0x431a53
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2a
push 0x30ad
push 0x461cb4
jmp 0x431a73
cmp dword [ebp - 8], 0
jne 0x431a64
mov al, byte [esi + 0xd4]
mov byte [ebp - 1], al
jmp 0x431a8b
push dword [ebp - 8]
push 0x2c
push 0x3605
push 0x461ce0
call fcn.00433314
add esp, 0xc
push eax
add esi, 0xa8
push esi
call fcn.0043387d
add esp, 0xc
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebx
mov al, byte [ebp - 1]
pop edi
pop esi
leave
ret
Function at 0x432631
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x456dfa
call fcn.00444333
mov esi, ecx
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x10]
mov byte [eax], bl
call fcn.00402810
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
call fcn.00432345
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x432778
push dword [ebp + 0xc]
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
call fcn.004322ea
pop ecx
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push ebx
push dword [eax]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, edi
call fcn.004028e0
cmp dword [ebp - 0x18], ebx
je 0x432778
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [esi]
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
call edi
cmp dword [ebp - 0x1c], 4
jne 0x432713
cmp dword [ebp - 0x14], 4
jne 0x43276f
cmp dword [ebp + 0x10], ebx
jne 0x43276f
mov esi, dword [esi]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
call edi
test eax, eax
je 0x4326fa
push dword [ebp + 0x14]
lea ecx, [ebp - 0x10]
call fcn.00402d80
jmp 0x43276f
push dword [ebp - 0x20]
lea edi, [ebp - 0x10]
push 0x45ee8c
call fcn.004056f0
mov eax, dword [ebp + 0x18]
pop ecx
mov byte [eax], 1
jmp 0x43276e
cmp dword [ebp - 0x1c], 1
jne 0x43276f
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x432730
lea ecx, [ebp - 0x10]
call fcn.00402b00
jmp 0x43276f
inc eax
push eax
call fcn.00440ae1
mov esi, dword [esi]
pop ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
push ebx
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
call edi
test eax, eax
jne 0x432766
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov byte [eax + ecx], bl
push eax
lea ecx, [ebp - 0x10]
call fcn.00402920
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
push dword [ebp - 0x20]
call fcn.0043f4d3
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00402810
lea ecx, [ebp - 0x10]
call fcn.004028e0
mov eax, dword [ebp + 8]
call fcn.004443d2
ret
Function at 0x432795
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
call fcn.00432345
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x432822
push dword [ebp + 8]
lea edi, [ebp - 8]
mov dword [ebp - 4], ebx
call fcn.004322ea
pop ecx
lea ecx, [ebp - 4]
push ecx
push 0x20019
push ebx
push dword [eax]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, edi
call fcn.004028e0
cmp dword [ebp - 4], ebx
je 0x432822
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [edi]
mov dword [ebp - 8], ebx
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], 4
jne 0x432819
cmp dword [ebp - 8], 4
jne 0x432819
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push dword [edi]
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432c66
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
call fcn.00432345
mov esi, eax
cmp esi, ebx
je 0x432cda
push edi
push dword [ebp + 8]
lea edi, [ebp - 8]
mov dword [ebp - 4], ebx
call fcn.004322ea
pop ecx
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push dword [eax]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, edi
call fcn.004028e0
pop edi
cmp dword [ebp - 4], ebx
je 0x432cda
push dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x14]
mov eax, dword [eax]
push dword [ebp + 0x10]
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
sete bl
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x43467a
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x94
lea ebp, [esp - 4]
mov eax, dword [0x46f1b0]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 8
mov eax, 0x455a46
call fcn.00444333
xor edi, edi
mov dword [ebp - 4], edi
push 0x45e58a
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edi
call fcn.00402830
push 0x94
lea eax, [ebp]
push edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x14], 1
call fcn.00442500
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [ebp + 0x10], 2
jne 0x434731
mov eax, dword [ebp + 4]
cmp eax, 3
jb 0x43475e
cmp eax, 4
jbe 0x43472a
cmp eax, 5
je 0x434704
cmp eax, 6
jne 0x43475e
push str.vista
jmp 0x434756
cmp dword [ebp + 8], edi
jne 0x434710
push str.win2k
jmp 0x434756
cmp dword [ebp + 8], 1
jne 0x43471d
push str.winxp
jmp 0x434756
cmp dword [ebp + 8], 2
jb 0x43475e
push str.win2k3
jmp 0x434756
push str.winnt
jmp 0x434756
cmp dword [ebp + 0x10], 1
jne 0x43475e
cmp dword [ebp + 8], 0x5a
jb 0x434744
push str.winme
jmp 0x434756
cmp dword [ebp + 8], 0xa
jb 0x434751
push str.win98
jmp 0x434756
push str.win95
mov ecx, dword [ebp - 0x10]
call fcn.00402920
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0043eaba
add ebp, 0x98
leave
ret