joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415c10
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d603f
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x54d158]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x234], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x23c]
push eax
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.00418c80
lea ecx, [esp + 0x14]
mov ebp, eax
call fcn.00474bb0
mov ebx, 1
mov dword [esp + 0x234], ebx
mov ecx, dword [esi + 0x5c8]
mov edx, dword [esi + 0x5bc]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._s__s_
push eax
call fcn.00473270
add esp, 0x10
mov ecx, edi
call fcn.00474bb0
imul ebp, ebp, 0x2c
mov ecx, dword [ebp + esi + 0x68]
add ebp, esi
push 0x51d978
push ecx
mov dword [esp + 0x20], ebx
call fcn.00477600
add esp, 8
test eax, eax
je 0x415cdb
mov edx, dword [ebp + 0x68]
push 0x51de4c
push edx
call fcn.00477600
add esp, 8
test eax, eax
jne 0x415d31
cmp dword [ebp + 0x70], 0
jne 0x415d31
push 0
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00415b00
push str.Setup_
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x240], 2
call fcn.00474150
push eax
mov ecx, edi
mov byte [esp + 0x238], 3
call fcn.00474c20
lea ecx, [esp + 0x10]
mov byte [esp + 0x234], 2
call fcn.004732d0
lea ecx, [esp + 0xc]
jmp 0x415df4
mov ebp, dword [ebp + 0x70]
test ebp, ebp
je 0x415d77
lea edx, [esp + 0x10]
push edx
push esi
mov ecx, ebp
call fcn.00415790
push str.Setup_
push eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x240], 4
call fcn.00474150
push eax
mov ecx, edi
mov byte [esp + 0x238], 5
call fcn.00474c20
mov byte [esp + 0x234], 4
jmp 0x415de7
lea ecx, [esp + 0x20]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
mov word [esp + eax*2 + 0x20], 0
jbe 0x415da7
lea edx, [esp + 0x20]
push edx
push str._sSetup
push edi
call fcn.00473270
add esp, 0xc
jmp 0x415e00
lea eax, [esp + 0x10]
push eax
push esi
mov ecx, 0x63
call fcn.00415790
push str.Setup_
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x240], 6
call fcn.00474150
push eax
mov ecx, edi
mov byte [esp + 0x238], 7
call fcn.00474c20
mov byte [esp + 0x234], 6
lea ecx, [esp + 0xc]
call fcn.004732d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x234], bl
call fcn.004732d0
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00473f90
mov eax, dword [esp + 0x23c]
push eax
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edi
call fcn.004755e0
mov ecx, esi
call fcn.00417130
mov ecx, edi
call fcn.00413d60
lea ecx, [esp + 0x14]
mov byte [esp + 0x234], 0
call fcn.004732d0
mov eax, edi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.004ac89d
add esp, 0x22c
ret 4
Function at 0x4169b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d3ad1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov ecx, esi
mov dword [esp + 0xc], ebx
call fcn.00474bb0
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x28]
mov dword [esp + 0xc], 1
call fcn.00416990
push eax
mov ecx, esi
mov dword [esp + 0x1c], 1
call fcn.00474c20
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], bl
call fcn.004732d0
push 0xffffffffffffffff
push 0x51df30
lea ecx, [esp + 0x28]
call fcn.004748c0
push 0x51cb10
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x24], 2
call fcn.00474150
push eax
mov ecx, esi
mov byte [esp + 0x1c], 3
call fcn.00473f90
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 2
call fcn.004732d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], bl
call fcn.004732d0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0xc
Function at 0x41cd10
Capabilities:
Create thread

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x2b4], 0
push edi
lea edi, [esi + 0x2b4]
jne 0x41cd5b
cmp dword [esi + 0x2b8], 0
jne 0x41cd5b
push edi
push 0
push esi
push 0x41bb00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x2b8], eax
je 0x41cd56
cmp dword [edi], 0
je 0x41cd56
pop edi
mov eax, 1
pop esi
ret
call fcn.0041cd60
pop edi
xor eax, eax
pop esi
ret

Function at 0x41cd60
Capabilities:
Print debug messages

Disassembly:
push ecx
cmp dword [esi + 0x2b4], 0
je 0x41cd74
mov dword [esi + 0x2b4], 0
mov eax, dword [esi + 0x2b8]
test eax, eax
je 0x41cdd2
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x2b8]
lea eax, [esp]
push eax
push ecx
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp], 0x103
jne 0x41cdb7
push str.MiInstaller_:_error_while_closing_download_thread...._r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x2b8]
test eax, eax
je 0x41cdc8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x2b8], 0
pop ecx
ret
Function at 0x41e840
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4870
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x54d158]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
lea ecx, [ebp - 0x14]
call fcn.00474bb0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00474c20
mov ecx, dword [ebp + 0xc]
push ecx
lea esi, [ebp - 0x14]
call fcn.00410550
add esp, 4
mov dword [ebp + 8], ebx
push 0
push 0
push 0
mov ebx, 2
push 0
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
lea esi, [edi + 0x200]
mov dword [esi], eax
jne 0x41e8eb
push 0x51ed1c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004732d0
lea eax, [ebx - 1]
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
mov dword [edi + 0x20c], ebx
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
or ebx, 0xffffffff
lea ebx, [ebx]
push 0x4bf
push ebx
push 0
push esi
push 1
call edi
sub eax, 0
je 0x41e969
sub eax, 1
je 0x41e962
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.MsgWaitForMultipleObjects_error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x41e93e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.004732d0
mov eax, 1
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
call fcn.00426eb0
jmp 0x41e900
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x41e985
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], ebx
jmp 0x41e9b1
lea ecx, [ebp - 0x14]
call fcn.004732d0
xor eax, eax
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 0x41e9d0
Capabilities:
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x4d4838
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
call fcn.00474bb0
xor edi, edi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
call fcn.00474c20
push ebp
lea esi, [esp + 0x30]
call fcn.00410550
add esp, 4
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx]
push edi
push edi
push edx
push eax
push edi
call sub.urlmon.dll_URLDownloadToFileW
mov edi, eax
cmp edi, 0x80004004
mov eax, 1
mov dword [esp + 0x1c], eax
je 0x41ead1
test edi, edi
je 0x41eaa9
mov eax, edi
lea esi, [esp + 0x28]
call fcn.00425bd0
push 1
mov eax, esi
push eax
push 0x68
push ebp
push ebx
mov ecx, edi
mov byte [esp + 0x30], 4
call fcn.00427c80
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.004732d0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004732d0
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0xc
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004732d0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0xc
push eax
push 0x73
push ebp
push ebx
mov ecx, 0x80004004
mov dword [ebx + 0x218], eax
call fcn.004278e0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004732d0
mov eax, 0x80004004
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0xc
Function at 0x4221c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d78d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
call fcn.00474bb0
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x24]
call fcn.00428160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jge 0x42224c
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004732d0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x14
ret 0xc
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42231e
cmp dword [eax - 0xc], 0
jle 0x42231e
lea ecx, [esp + 0x2c]
call fcn.00496530
lea ecx, [esp + 0x24]
call fcn.00474bb0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 1
call fcn.004819f0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x10]
call fcn.00474c20
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push ebp
push edi
call fcn.00493b40
mov eax, dword [edi + 8]
test eax, eax
je 0x422310
mov edx, dword [eax - 0xc]
shr edx, 2
je 0x422310
push str.CONFIG
mov ecx, edi
call fcn.00492930
xor esi, esi
test eax, eax
je 0x422309
lea ecx, [esp + 0x28]
push ecx
lea ecx, [eax + 4]
call fcn.0047de50
mov byte [esp + 0x1c], 2
mov edx, dword [esp + 0x28]
push 0x51b920
push edx
call fcn.00477290
add esp, 8
test eax, eax
jne 0x4222f7
lea esi, [eax + 1]
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call fcn.004732d0
test esi, esi
jne 0x422310
mov ecx, ebp
call fcn.00476520
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0
call fcn.004732d0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004732d0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x14
ret 0xc
Function at 0x425560
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4718
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x54d158]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x10]
cmp dword [esi], 0
je 0x42559e
mov ecx, esi
call fcn.004732d0
mov dword [esi], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x4255ad
cmp word [eax], 0
jne 0x4255c6
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.00474bb0
push 0
push 0
push 0
mov ebx, 1
push 0
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, dword [ebp + 8]
push eax
lea ecx, [ebp + 0xc]
push str.CreateEvent_1_:__x_n
lea esi, [edi + 0x200]
push ecx
mov dword [esi], eax
call fcn.00473270
mov edx, dword [ebp + 0xc]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esi], 0
jne 0x42565e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esi]
push eax
lea ecx, [ebp + 0xc]
push str.CreateEvent_Error:__x__d
push ecx
call fcn.00473270
mov edx, dword [ebp + 0xc]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.004732d0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi + 0x20c], ebx
add edi, 0x208
cmp dword [edi], 0
je 0x42567c
mov ecx, edi
call fcn.004732d0
mov dword [edi], 0
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push 0x4bf
push 0xffffffffffffffff
push 0
push esi
push ebx
call edi
sub eax, 0
je 0x4256f1
sub eax, ebx
je 0x4256ce
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.MsgWaitForMultipleObjects_error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.004732d0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push ebx
lea ecx, [ebp + 0xc]
push str.MsgWaitForMultipleObjects_:__d_n
push ecx
call fcn.00473270
mov edx, dword [ebp + 0xc]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.00426eb0
jmp 0x425682
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
add eax, 0x208
push eax
call fcn.00474c20
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea edx, [ebp + 0xc]
push str.MsgWaitForMultipleObjects_:__d_n
push edx
call fcn.00473270
mov eax, dword [ebp + 0xc]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.004732d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x425750
Capabilities:
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x4d46f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
xor ebx, ebx
cmp dword [ebp], ebx
je 0x42578c
mov ecx, ebp
call fcn.004732d0
mov dword [ebp], ebx
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
cmp eax, ebx
je 0x42579b
cmp word [eax], bx
jne 0x4257a5
mov eax, 0x80004005
jmp 0x4258f7
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
mov dword [esp + 0x2c], ebx
call sub.urlmon.dll_URLOpenBlockingStreamW
mov edi, eax
cmp edi, 0x80004004
mov dword [esp + 0x28], 0xffffffff
je 0x4258df
cmp edi, ebx
je 0x42580f
lea esi, [esp + 0x1c]
call fcn.00425bd0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push ebx
mov edx, esi
push edx
push 0x7b
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x3c], 2
call fcn.00427c80
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call fcn.004732d0
mov eax, edi
jmp 0x4258f7
lea ecx, [esp + 0x38]
call fcn.00474bb0
push pe_nt_image_headers32
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 3
call fcn.00474c50
mov edi, eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov dword [esp + 0x14], ebx
jne 0x425840
xor ecx, ecx
jmp 0x425843
mov ecx, dword [eax - 0xc]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea esi, [esp + 0x14]
push esi
add ecx, 0xffffffff
push ecx
push edi
push eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x14]
mov byte [ecx + edi], bl
mov edx, dword [esp + 0x14]
push edx
push edi
mov ecx, ebp
mov esi, eax
call fcn.00474f20
cmp esi, ebx
jl 0x425878
cmp esi, 1
jne 0x425830
cmp dword [esp + 0x38], ebx
je 0x42588b
lea ecx, [esp + 0x38]
call fcn.004732d0
mov dword [esp + 0x38], ebx
cmp esi, ebx
jge 0x4258b4
cmp dword [ebp], ebx
je 0x42589e
mov ecx, ebp
call fcn.004732d0
mov dword [ebp], ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push ebx
push 0x7b
push eax
push ecx
mov ecx, esi
call fcn.004278e0
jmp 0x4258b6
xor esi, esi
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], 0xffffffff
call fcn.004732d0
cmp esi, ebx
jge 0x4258db
mov eax, esi
jmp 0x4258f7
xor eax, eax
jmp 0x4258f7
mov ecx, dword [esp + 0x30]
push ebx
push 0x7c
push esi
push ecx
mov ecx, 0x80004004
call fcn.004278e0
mov eax, 0x80004004
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x428390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d7f18
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, ecx
push ebp
lea ecx, [esp + 0x30]
call fcn.004755e0
lea eax, [edi + 0xc]
xor ebx, ebx
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], ebx
call fcn.00474c20
push 0x63
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [edi + 0x14]
call fcn.00415f80
push eax
lea esi, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.00410550
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.004732d0
mov eax, dword [ebp]
cmp eax, ebx
je 0x42841d
cmp word [eax], bx
je 0x42841d
push ebp
call fcn.00410550
add esp, 4
mov esi, edi
call fcn.00428160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x4c]
call eax
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, ebx
mov byte [esp + 0x24], 2
je 0x4284ff
mov eax, dword [edi + 8]
cmp eax, ebx
mov ebp, dword [esp + 0x2c]
lea esi, [edi + 8]
je 0x428471
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
cmp eax, ebx
sete dl
mov dword [esi], ebx
mov eax, edx
cmp eax, ebx
je 0x4284f1
lea eax, [esp + 0x14]
push eax
push esi
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push ebp
push SysStringLen
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x4284f1
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
cmp edx, ebx
jne 0x4284a2
xor eax, eax
jmp 0x4284a7
mov eax, dword [edx - 0xc]
shr eax, 1
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
push edx
push edi
call fcn.0042af60
mov ebp, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x4284ce
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [esi]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], ebx
mov byte [esp + 0x24], bl
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.004732d0
mov eax, ebp
jmp 0x428512
mov byte [esp + 0x24], bl
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.004732d0
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x428530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d7f18
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, ecx
push ebp
lea ecx, [esp + 0x30]
call fcn.004755e0
lea eax, [edi + 0xc]
xor ebx, ebx
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], ebx
call fcn.00474c20
push 0x63
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [edi + 0x14]
call fcn.00415f80
push eax
lea esi, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.00410550
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.004732d0
mov eax, dword [ebp]
cmp eax, ebx
je 0x4285bd
cmp word [eax], bx
je 0x4285bd
push ebp
call fcn.00410550
add esp, 4
mov esi, edi
call fcn.00428160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x4c]
call eax
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, ebx
mov byte [esp + 0x24], 2
je 0x42868b
mov eax, dword [edi + 8]
cmp eax, ebx
mov ebp, dword [esp + 0x2c]
lea esi, [edi + 8]
je 0x42860d
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
cmp eax, ebx
sete dl
mov dword [esi], ebx
mov eax, edx
cmp eax, ebx
je 0x42867d
lea eax, [esp + 0x14]
push eax
push esi
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push ebp
push SysStringLen
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x42867d
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [ecx]
push edx
call fcn.0042aff0
mov ebp, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x42865a
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], ebx
mov byte [esp + 0x24], bl
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.004732d0
mov eax, ebp
jmp 0x42869e
mov byte [esp + 0x24], bl
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.004732d0
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x4286c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d7ee0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov edi, ecx
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x38]
call fcn.004748c0
lea eax, [edi + 0xc]
xor ebx, ebx
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], ebx
call fcn.00474c20
push 0x63
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [edi + 0x14]
call fcn.00415f80
push eax
lea esi, [esp + 0x34]
mov byte [esp + 0x2c], 1
call fcn.00410550
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004732d0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x20]
call fcn.004748c0
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x2c], 2
call fcn.00410550
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004732d0
mov esi, edi
call fcn.00428160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x4c]
call eax
mov edi, eax
cmp edi, ebx
je 0x4287e3
mov eax, dword [edi + 8]
cmp eax, ebx
mov ecx, dword [esp + 0x30]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegFlushKey]
lea esi, [edi + 8]
mov dword [esp + 0x1c], ecx
je 0x4287ae
push eax
call ebp
mov edx, dword [esi]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [esi], ebx
mov eax, ecx
cmp eax, ebx
je 0x4287d5
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push esi
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push SysStringLen
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x4287f8
mov byte [esp + 0x28], bl
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.004732d0
xor eax, eax
jmp 0x428830
mov eax, dword [esi]
cmp eax, ebx
je 0x42880c
push eax
call ebp
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], ebx
mov byte [esp + 0x28], bl
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.004732d0
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4