joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ba30
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
xor cl, cl
cmp dword [esp + 0x28], 0
je 0x41bb20
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x28]
cmp dword [esi + 4], 0
mov dword [esp + 4], eax
mov dword [esp + 0x2c], 0
je 0x41bb4a
push ebp
mov ebp, dword [sym.imp.USER32.dll_PeekMessageW]
push edi
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
add esi, 0xc
cmp dword [esi], 0
je 0x41bb0a
push 0x4ff
push 0x64
push 0
push esi
push 1
call edi
test eax, eax
je 0x41bb15
cmp eax, 0xffffffff
je 0x41bb0a
xor eax, eax
push 1
push eax
push eax
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0
call ebp
test eax, eax
je 0x41bae4
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [esp + 0x14], 0x12
jne 0x41bae4
mov dword [esp + 0x34], 1
jmp 0x41baeb
cmp dword [esp + 0x34], 0
je 0x41bafc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0xc]
cmp eax, 0x2710
ja 0x41bb0a
mov edx, dword [esp + 0x30]
cmp dword [edx + 4], 0
jne 0x41ba72
pop edi
pop ebp
xor al, al
pop esi
add esp, 0x20
ret 8
pop edi
pop ebp
mov al, 1
pop esi
add esp, 0x20
ret 8
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41bb42
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete al
add esp, 0x20
ret 8
mov al, cl
add esp, 0x20
ret 8
xor al, al
pop esi
add esp, 0x20
ret 8
Function at 0x41cc80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a67c3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
xor esi, esi
mov eax, 7
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], esi
mov word [edi + 4], si
mov dword [esp + 0x14], esi
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], esi
mov word [edi + 0x20], si
mov byte [esp + 0x14], 1
push 4
mov dword [edi + 0x5c], esi
call fcn.00488fcb
add esp, 4
cmp eax, esi
je 0x41ccdf
mov dword [eax], esi
jmp 0x41cce1
xor eax, eax
push 0xc
mov dword [edi + 0x60], eax
call fcn.00488fcb
add esp, 4
cmp eax, esi
je 0x41ccfc
mov dword [eax + 8], esi
mov dword [eax + 4], esi
mov dword [eax], esi
jmp 0x41ccfe
xor eax, eax
xor edx, edx
mov dword [edi + 0x64], eax
mov dword [edi + 0x58], esi
call fcn.004618b0
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x41de60
Capabilities:
Encode data using xor
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push edi
push 0x4b6e68
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov edi, eax
push edi
push 0x4b6eb0
push 0x4b6f0c
call fcn.00474370
push eax
call fcn.004743e0
xor eax, eax
add esp, 0x10
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esi + 0x528], edi
mov word [esp + 0x14], 0
mov dword [esp + 0x10], 0xf
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea edx, [esp + 0xc]
push edx
push 0x4b6eb0
push 0x4b6f3c
call fcn.00474370
push eax
call fcn.004743e0
mov edx, dword [esp + 0x18]
add edx, edx
add esp, 0x10
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
jle 0x41df30
movsx edi, byte [esp + ecx + 0xc]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [esi + edi*4 + 0x534]
add ecx, 1
cmp ecx, edx
jl 0x41df10
not eax
push eax
push 0x4b6eb0
push str.6efZm
mov dword [esi + 0x52c], eax
call fcn.00474370
push eax
call fcn.004743e0
mov ecx, dword [esp + 0x3c]
add esp, 0x10
pop edi
pop ebx
xor ecx, esp
call fcn.00488fa3
mov esp, ebp
pop ebp
ret
Function at 0x41eae0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a59e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x2c], ebx
mov eax, dword [0x4da734]
mov edx, dword [eax + 0xc]
mov ecx, 0x4da734
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x2c], 1
mov eax, dword [0x4dbc88]
cmp dword [eax - 0xc], ebx
jne 0x41eb4f
push 0x4b7178
lea ebx, [ebp + 0x20]
lea eax, [esp + 0x18]
call fcn.0040cfc0
xor ebx, ebx
jmp 0x41eb61
push eax
push 0x4b71bc
lea edi, [esp + 0x1c]
call fcn.0040e820
add esp, 8
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push 0x2001f
push ebx
push ecx
push 0x80000002
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41ebc3
mov edi, dword [esp + 0x18]
lea edx, [esp + 0x18]
push edx
add esi, 0x4ac
push esi
lea eax, [esp + 0x28]
push eax
push ebx
push 0x4b71ec
mov ebp, edi
push edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x41ebbf
cmp dword [esp + 0x20], 4
je 0x41ebcd
mov dword [esi], ebx
jmp 0x41ebde
add esi, 0x4ac
mov dword [esi], ebx
jmp 0x41ebde
cmp edi, ebx
je 0x41ebde
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov ecx, dword [esi]
push ecx
push 0x4b7204
call fcn.00474370
push eax
call fcn.004743e0
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ec18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebp, ebx
je 0x41ec23
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x41eed0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [esp + 0x194]
neg eax
sbb eax, eax
xor ecx, esp
add eax, 1
call fcn.00488fa3
mov esp, ebp
pop ebp
ret
Function at 0x41fa80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a5996
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
xor edi, edi
push 0x206
lea eax, [esp + 0x3a]
push edi
push eax
mov esi, ecx
mov word [esp + 0x40], di
call int.0048bd10
mov edx, dword [0x4da734]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x4da734
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x34]
push ecx
push edi
mov dword [esp + 0x258], edi
mov eax, dword [esi + 0x440]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [esp + 0x34]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41fb15
sub eax, edx
sar eax, 1
lea edx, [esp + 0x34]
mov ebx, eax
push edx
lea eax, [esp + 0x18]
call fcn.0040cfc0
mov eax, dword [esi + 0x3f4]
mov edi, dword [esp + 0x14]
push 0x6e
push eax
mov ecx, 0x4b7460
mov edx, edi
call fcn.00465010
add esp, 8
test eax, eax
jne 0x41fb8d
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41fb8d
lea eax, [edi - 0x10]
mov dword [esp + 0x250], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fb86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41fc54
add esi, 0x498
lea ebx, [esp + 0x14]
call fcn.00439db0
xor ebx, ebx
mov eax, edi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41fbb4
sub eax, edx
sar eax, 1
push eax
push edi
lea esi, [esp + 0x20]
call fcn.0043d0d0
mov byte [esp + 0x250], 1
call fcn.0047ae96
mov edx, esi
mov ecx, eax
call fcn.0047a947
mov byte [esp + 0x250], bl
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x41fc01
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00487c06
add esp, 4
push esi
push 0x4b7468
push 0x4b74b4
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00474370
push eax
call fcn.004743e0
lea eax, [edi - 0x10]
add esp, 0x10
mov dword [esp + 0x250], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fc52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00488fa3
mov esp, ebp
pop ebp
ret
Function at 0x429180
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push 0x3c
lea eax, [esp + 8]
push 0
push eax
call int.0048bd10
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 8]
and eax, 0xfff00000
cmp dword [esp + 0xc], 0
ja 0x4291cb
jb 0x4291c5
cmp eax, 0x80000000
jae 0x4291cb
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x429c10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4a7d20
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
lea eax, [esp + 0x30]
xor esi, esi
push eax
mov dword [esp + 0x1c], esi
call fcn.0040b6b0
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
cmp eax, esi
jbe 0x429ce8
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x4b72a4
call fcn.0040b6b0
mov edi, eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.00438fb0
push eax
mov eax, edi
call fcn.004392a0
mov bl, al
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429cae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429cd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x429ce8
push 1
push 0x4b72a4
lea ecx, [esp + 0x38]
push ecx
call fcn.0043fad0
cmp esi, dword [esp + 0x34]
jae 0x429d61
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [ebp + esi*4]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004390e0
mov ecx, dword [esp + 0x1c]
add esp, 8
push ecx
call edi
cmp eax, 0xffffffff
mov eax, dword [esp + 0x14]
je 0x429d41
add eax, 0xfffffff0
add esi, 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429d39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, dword [esp + 0x34]
jb 0x429cf4
jmp 0x429d5d
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429d5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, dword [esp + 0x34]
jne 0x429d6b
mov dword [esp + 0x18], 1
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429d93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x42a7b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
mov edi, eax
lea eax, [esp + 0xc]
add esi, 0x428
push eax
mov ecx, esi
mov ebx, 1
mov dword [esp + 0x10], edi
call fcn.0043a300
add eax, 0x48
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42a851
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
call fcn.0043a300
lea edx, [esp + 0x10]
mov edi, eax
push edx
mov ecx, esi
add edi, 0x74
call fcn.0043a300
mov ecx, dword [edi]
add eax, 0x50
test ecx, ecx
jne 0x42a81e
push 0x80004005
call fcn.00401050
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42a846
test dx, dx
je 0x42a842
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a846
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a820
xor eax, eax
jmp 0x42a84b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42a851
xor ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 8
ret
Function at 0x42ab80
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4abddb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x1c], edi
push 0x206
lea eax, [esp + 0x32]
push ebp
mov dword [esp + 0x248], ebp
push eax
mov word [esp + 0x38], bp
call int.0048bd10
add esp, 0xc
xor ecx, ecx
mov dword [esi + 0xec], ecx
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push ebp
push 0x4b9484
mov eax, 0x427c90
push 0x80000002
mov dword [esp + 0x34], 0x4b944c
mov dword [esp + 0x38], 0x4b946c
mov dword [esi + 0x24], 0x67
mov dword [esi + 0x28], 0xcb
mov dword [esi + 0x2c], 0x12f
mov dword [esi + 0x34], 0x193
mov dword [esi + 0x3c], 0x161
mov dword [esi + 0x30], 0x25b
mov dword [esi + 0x38], 0x1f7
mov dword [esi + 0x40], 0x387
mov dword [esi + 0xe8], eax
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x42ad79
mov ebx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
push 0x4b7334
push ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], 0x208
call edi
cmp eax, ebp
jne 0x42ad68
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x42acab
cmp eax, 2
jne 0x42ad68
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x42acc9
test al, 1
jne 0x42ad68
shr eax, 1
cmp word [esp + eax*2 + 0x2a], bp
je 0x42acce
jmp 0x42ad68
mov word [esp + 0x2c], bp
push 2
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x34]
call fcn.00429c10
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x42ad68
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebp
push 0x4b943c
push ebx
mov dword [esp + 0x28], 0x208
call edi
cmp eax, ebp
jne 0x42ad68
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x42ad1c
cmp eax, 2
jne 0x42ad68
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x42ad33
test al, 1
jne 0x42ad68
shr eax, 1
cmp word [esp + eax*2 + 0x2a], bp
je 0x42ad38
jmp 0x42ad68
mov word [esp + 0x2c], bp
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42ad40
sub eax, edx
sar eax, 1
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esi + 0x6c]
call fcn.0040cfc0
mov ebx, dword [esp + 0x18]
mov dword [esi], 1
cmp ebx, ebp
je 0x42ad73
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
jmp 0x42ad7b
mov eax, edi
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00488fa3
add esp, 0x234
ret
Function at 0x432e30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a57d6
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov eax, dword [esp + 0x244]
xor esi, esi
mov dword [esp + 0x20], eax
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x23c], ebx
mov edx, dword [0x4da734]
mov eax, dword [edx + 0xc]
mov ecx, 0x4da734
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x23c], 1
mov eax, dword [0x4dbc88]
cmp dword [eax - 0xc], ebx
jne 0x432ec5
push 0x4b72a8
lea ebx, [ebp + 0x27]
lea eax, [esp + 0x1c]
call fcn.0040cfc0
xor ebx, ebx
jmp 0x432ed7
push eax
push 0x4b72f8
lea edi, [esp + 0x20]
call fcn.0040e820
add esp, 8
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push ebx
push edx
push 0x80000002
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x432f9d
mov esi, dword [esp + 0x14]
push 0x206
lea eax, [esp + 0x2e]
push ebx
push eax
mov dword [esp + 0x28], esi
mov word [esp + 0x34], bx
call int.0048bd10
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2c]
push eax
push ebx
push 0x4b7334
push esi
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x432f9d
mov eax, dword [esp + 0x24]
cmp eax, 1
je 0x432f54
cmp eax, 2
jne 0x432f9d
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x432f6b
test al, 1
jne 0x432f9d
shr eax, 1
cmp word [esp + eax*2 + 0x26], bx
je 0x432f70
jmp 0x432f9d
mov word [esp + 0x28], bx
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x432f77
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x28]
mov ebx, eax
mov eax, dword [esp + 0x20]
push ecx
call fcn.0040cfc0
mov ebp, 1
xor ebx, ebx
mov byte [esp + 0x23c], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432fc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x432fcf
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
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.00488fa3
add esp, 0x22c
ret 4
Function at 0x433000
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a57d6
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov eax, dword [esp + 0x244]
xor esi, esi
mov dword [esp + 0x20], eax
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x23c], ebx
mov edx, dword [0x4da734]
mov eax, dword [edx + 0xc]
mov ecx, 0x4da734
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x23c], 1
mov eax, dword [0x4dbc88]
cmp dword [eax - 0xc], ebx
jne 0x433095
push 0x4b7178
lea ebx, [ebp + 0x20]
lea eax, [esp + 0x1c]
call fcn.0040cfc0
xor ebx, ebx
jmp 0x4330a7
push eax
push 0x4b71bc
lea edi, [esp + 0x20]
call fcn.0040e820
add esp, 8
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push ebx
push edx
push 0x80000002
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x43316d
mov esi, dword [esp + 0x14]
push 0x206
lea eax, [esp + 0x2e]
push ebx
push eax
mov dword [esp + 0x28], esi
mov word [esp + 0x34], bx
call int.0048bd10
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2c]
push eax
push ebx
push 0x4b7334
push esi
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x43316d
mov eax, dword [esp + 0x24]
cmp eax, 1
je 0x433124
cmp eax, 2
jne 0x43316d
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43313b
test al, 1
jne 0x43316d
shr eax, 1
cmp word [esp + eax*2 + 0x26], bx
je 0x433140
jmp 0x43316d
mov word [esp + 0x28], bx
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x433147
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x28]
mov ebx, eax
mov eax, dword [esp + 0x20]
push ecx
call fcn.0040cfc0
mov ebp, 1
xor ebx, ebx
mov byte [esp + 0x23c], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x433194
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x43319f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
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.00488fa3
add esp, 0x22c
ret 4
Function at 0x433610
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa0db
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x4d62b0]
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 esi, [edi + 0x428]
lea ebx, [ebp - 0x298]
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x298], 4
call fcn.0043a400
mov ebx, dword [ebp - 0x2a4]
test ebx, ebx
mov eax, dword [esi + 4]
mov dword [ebp - 0x298], eax
je 0x433682
cmp ebx, esi
je 0x433687
call fcn.00489916
mov esi, dword [ebp - 0x2a0]
cmp esi, dword [ebp - 0x298]
je 0x433826
test ebx, ebx
jne 0x4336a2
call fcn.00489916
cmp esi, dword [ebx + 4]
jne 0x4336ac
call fcn.00489916
mov ecx, dword [esi + 0xac]
cmp dword [ecx - 0xc], 0
je 0x433826
cmp esi, dword [ebx + 4]
jne 0x4336c6
call fcn.00489916
mov eax, dword [esi + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
test eax, eax
je 0x433713
cmp dword [edi + 0x4c8], 0
mov ebx, 1
je 0x4336eb
mov ebx, 3
jmp 0x433709
mov edx, dword [esi + 0xac]
mov esi, dword [esi + 0x60]
push 0
mov ecx, esi
call fcn.00465160
add esp, 4
test eax, eax
je 0x433713
mov ebx, 2
mov dword [ebp - 0x294], 1
lea edx, [ebp - 0x290]
push edx
call fcn.0041c220
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x4ac]
mov ecx, dword [0x4dbc14]
mov edx, dword [edi + 0x4b0]
mov dword [ebp - 0x1e4], eax
mov eax, dword [edi + 0x4b4]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x150], ecx
mov ecx, dword [0x4dbc18]
mov dword [ebp - 0x14c], edx
mov edx, dword [edi + 0x4bc]
lea eax, [edi + 0x4dc]
push eax
mov dword [ebp - 0x290], 0x64
mov dword [ebp - 0x288], 0x15
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x130], eax
call dword [section..data]
mov edi, dword [edi + 0x490]
test edi, edi
mov dword [ebp - 0x298], eax
jne 0x4337b5
xor eax, eax
jmp 0x4337e5
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x4337ca
xor eax, eax
jmp 0x4337e5
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00491f30
mov edx, dword [ebp - 0x298]
mov esi, esp
mov ecx, ebx
mov eax, edi
call fcn.004103c0
mov ecx, eax
lea esi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4337f0
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x1dc]
call fcn.0040d220
lea ecx, [ebp - 0x290]
push ecx
call fcn.0047ae96
mov edi, eax
call fcn.00441680
lea esi, [ebp - 0x290]
call fcn.0041d890
mov eax, dword [ebp - 0x294]
lea esp, [ebp - 0x2b8]
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.00488fa3
mov esp, ebp
pop ebp
ret