joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001775
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call eax
mov eax, dword [ebp - 8]
clc
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10001797
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.100014a9
js 0x10001771
shld dword [ebp - 0x17af3fbb], ecx, cl
invalid

Function at 0x10001d74
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
jmp [eax]
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.100014b9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000146e
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
invalid
movsd dword es:[edi], dword [esi]
invalid
cld
Function at 0x401110
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
push 0xffffffffffffffff
push 0x47e5b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
push 0x50
xor edi, edi
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], edi
lea ebx, [esi + 4]
push 0x48b090
mov ecx, esi
mov byte [ebx], 0
call fcn.00401960
push 0x48
mov dword [esp + 0x24], edi
call fcn.0044204f
push 0x1000
mov dword [esi + 0x80], eax
call fcn.0044204f
add esp, 8
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x84], eax
jb 0x401187
mov ecx, dword [ebx]
jmp 0x401189
mov ecx, ebx
mov ebx, dword [esi + 0x14]
push ebx
lea eax, [esi + 0x1c]
push ecx
push eax
call fcn.004660b0
add esp, 0xc
mov byte [esi + 0x7f], 0
xor eax, eax
mov edx, dword [eax + 0x48a048]
mov ecx, dword [esi + 0x80]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x48
jl 0x4011a0
xor eax, eax
lea esp, [esp]
mov ecx, 0x100
jmp 0x4011d0
mov ebp, dword [eax + 0x48a090]
mov edx, dword [esi + 0x84]
mov dword [eax + edx], ebp
add eax, 4
sub ecx, 1
jne 0x4011d0
cmp eax, 0x1000
jl 0x4011c0
xor ebp, ebp
mov eax, dword [esi + 0x80]
lea ecx, [eax + ebp]
lea eax, [edi + 1]
cdq
idiv ebx
mov dword [esp + 0x28], ecx
lea eax, [edi + 2]
add ebp, 4
movzx ecx, byte [edx + esi + 0x1c]
cdq
idiv ebx
mov ch, byte [esi + edi + 0x1c]
lea eax, [edi + 3]
shl ecx, 8
movzx edx, byte [edx + esi + 0x1c]
or ecx, edx
cdq
idiv ebx
shl ecx, 8
movzx eax, byte [edx + esi + 0x1c]
or ecx, eax
mov eax, dword [esp + 0x28]
xor dword [eax], ecx
lea eax, [edi + 4]
cdq
idiv ebx
cmp ebp, 0x48
mov edi, edx
jb 0x4011f0
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
xor edi, edi
mov edi, edi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
mov eax, esi
call fcn.004013d0
mov eax, dword [esi + 0x80]
mov ecx, dword [esp + 0x28]
mov dword [edi + eax], ecx
mov edx, dword [esi + 0x80]
mov eax, dword [esp + 0x14]
mov dword [edi + edx + 4], eax
add edi, 8
cmp edi, 0x48
jb 0x401250
xor edi, edi
mov ebx, 0x80
jmp 0x401290
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
mov eax, esi
call fcn.004013d0
mov eax, dword [esi + 0x84]
mov ecx, dword [esp + 0x28]
mov dword [edi + eax], ecx
mov edx, dword [esi + 0x84]
mov eax, dword [esp + 0x14]
mov dword [edi + edx + 4], eax
add edi, 8
sub ebx, 1
jne 0x401290
cmp edi, 0x1000
jl 0x401286
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x402500
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x47e958
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebp, ebp
xor bl, bl
cmp dword [esi + 8], ebp
je 0x4025ee
cmp dword [esi + 0x40], ebp
jne 0x402575
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x40255f
push str.GetPage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
mov dword [esi + 0x40], eax
jne 0x402570
mov dword [esi], 0x7f
push str.EWSIntf::get_page:_Function_not_found_in_DLL:_GetPage_n
jmp 0x40256a
mov dword [esi], 6
push str.EWSIntf::get_page:_Attempting_to_lookup_GetPage_with_no_DLL_handle_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esi + 0x40], ebp
je 0x4025ee
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x800
lea eax, [esp + 0x18]
push eax
mov ecx, 0x10000
mov dword [esp + 0x38], ebp
call fcn.00401060
mov edi, dword [esp + 0x18]
mov bl, al
cmp bl, 1
jne 0x4025e1
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esi + 8]
push edi
push eax
mov eax, dword [esi + 0x40]
push ecx
push edx
mov dword [esp + 0x2c], ebp
call eax
test eax, eax
je 0x4025e1
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x44]
push edi
call fcn.004018e0
mov bl, 1
cmp edi, ebp
je 0x4025ee
push edi
call fcn.0044204a
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x28
ret 0xc

Function at 0x402870
Capabilities:
Print debug messages

Disassembly:
push ebx
xor bl, bl
cmp dword [esi + 8], 0
je 0x4028d9
cmp dword [esi + 0x50], 0
jne 0x4028b7
mov eax, dword [esi + 4]
test eax, eax
je 0x4028a6
push str.PutPage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 0x50], eax
jne 0x4028b7
mov dword [esi], 0x7f
push str.EWSIntf::put_page:_Function_not_found_in_DLL:_PutPage_n
jmp 0x4028b1
mov dword [esi], 6
push str.EWSIntf::put_page:_Attempting_to_lookup_PutPage_with_no_DLL_handle_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4028d9
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esi + 8]
push ecx
push edx
call eax
test eax, eax
mov al, 1
jne 0x4028db
mov al, bl
pop ebx
ret 0xc
Function at 0x4028e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47ffb8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ebx, [esp + 0xc]
call fcn.00403130
mov dword [esp + 0x30], 0
cmp dword [eax + 0x18], 0x10
jb 0x402920
mov eax, dword [eax + 4]
jmp 0x402923
add eax, 4
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
push eax
call fcn.00402870
cmp dword [esp + 0x24], 0x10
mov bl, al
jb 0x402949
mov eax, dword [esp + 0x10]
push eax
call fcn.0044204a
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x2c
ret 8

Function at 0x402c20
Capabilities:
Print debug messages

Disassembly:
push ecx
push ebx
xor ebx, ebx
mov byte [edi], bl
cmp dword [esi + 8], ebx
je 0x402c93
cmp dword [esi + 0x60], ebx
jne 0x402c68
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x402c57
push str.IsWifiScanning
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0x60], eax
jne 0x402c68
mov dword [esi], 0x7f
push str.EWSIntf::is_scanning:_Function_not_found_in_DLL:_IsWifiScanning_n
jmp 0x402c62
mov dword [esi], 6
push str.EWSIntf::is_scanning:_Attempting_to_lookup_IsWifiScanning_with_no_DLL_handle_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x60]
cmp eax, ebx
je 0x402c93
mov edx, dword [esi + 8]
lea ecx, [esp + 4]
push ecx
push edx
mov dword [esp + 0xc], ebx
call eax
test eax, eax
je 0x402c93
mov eax, 1
cmp dword [esp + 4], eax
pop ebx
sete cl
mov byte [edi], cl
pop ecx
ret
mov al, bl
pop ebx
pop ecx
ret

Function at 0x402ca0
Capabilities:
Print debug messages

Disassembly:
push ebx
push 0x1bde
push 0
push edi
xor bl, bl
call fcn.00461780
add esp, 0xc
cmp dword [esi + 8], 0
je 0x402d14
cmp dword [esi + 0x94], 0
jne 0x402cfd
mov eax, dword [esi + 4]
test eax, eax
je 0x402cec
push str.GetWifiScanResults
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 0x94], eax
jne 0x402cfd
mov dword [esi], 0x7f
push str.EWSIntf::get_wifi_scan_results:_Function_not_found_in_DLL:_GetWifiScanResults_n
jmp 0x402cf7
mov dword [esi], 6
push str.EWSIntf::get_wifi_scan_results:_Attempting_to_lookup_GetWifiScanResults_with_no_DLL_handle_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x94]
test eax, eax
je 0x402d14
mov ecx, dword [esi + 8]
push edi
push ecx
call eax
test eax, eax
mov al, 1
jne 0x402d16
mov al, bl
pop ebx
ret
Function at 0x402d20
Capabilities:
Print debug messages

Disassembly:
push ecx
push ebx
xor ebx, ebx
mov byte [edi], bl
cmp dword [esi + 8], ebx
je 0x402d93
cmp dword [esi + 0x64], ebx
jne 0x402d68
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x402d57
push str.IsWpsRunning
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0x64], eax
jne 0x402d68
mov dword [esi], 0x7f
push str.EWSIntf::is_wps_running:_Function_not_found_in_DLL:_IsWpsRunning_n
jmp 0x402d62
mov dword [esi], 6
push str.EWSIntf::is_wps_running:_Attempting_to_lookup_IsWpsRunning_with_no_DLL_handle_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x64]
cmp eax, ebx
je 0x402d93
mov edx, dword [esi + 8]
lea ecx, [esp + 4]
push ecx
push edx
mov dword [esp + 0xc], ebx
call eax
test eax, eax
je 0x402d93
mov eax, 1
cmp dword [esp + 4], eax
pop ebx
sete cl
mov byte [edi], cl
pop ecx
ret
mov al, bl
pop ebx
pop ecx
ret

Function at 0x402e10
Capabilities:
Print debug messages

Disassembly:
push ecx
push ebx
xor ebx, ebx
cmp dword [esi + 8], ebx
je 0x402e8d
cmp dword [esi + 0xd0], ebx
jne 0x402e5c
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x402e4b
push str.IsWirelessBoardEnabled
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0xd0], eax
jne 0x402e5c
mov dword [esi], 0x7f
push str.EWSIntf::is_wireless_enabled:_Function_not_found_in_DLL:_IsWirelessBoardEnabled_n
jmp 0x402e56
mov dword [esi], 6
push str.EWSIntf::is_wireless_enabled:_Attempting_to_lookup_IsWirelessBoardEnabled_with_no_DLL_handle_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xd0]
cmp eax, ebx
je 0x402e8d
mov edx, dword [esi + 8]
lea ecx, [esp + 4]
push ecx
push edx
mov dword [esp + 0xc], ebx
call eax
test eax, eax
je 0x402e8d
cmp dword [esp + 4], ebx
mov ecx, dword [esp + 0xc]
setne al
mov byte [ecx], al
mov al, 1
pop ebx
pop ecx
ret 4
mov al, bl
pop ebx
pop ecx
ret 4

Function at 0x402f90
Capabilities:
Print debug messages

Disassembly:
push esi
push 0xc18
call fcn.0044204f
mov esi, eax
add esp, 4
test esi, esi
je 0x402fc3
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push 0xc18
push esi
call fcn.0045e9eb
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.0044204a
add esp, 4
pop esi
ret
Function at 0x403130
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x47ff88
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor edi, edi
mov eax, edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x403180
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x18]
call fcn.00401b80
mov eax, esi
push eax
mov esi, ebx
mov dword [esp + 0x3c], edi
call fcn.004030b0
cmp dword [esp + 0x28], 8
jb 0x4031bc
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0044204a
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0045e88c
add esp, 0x30
ret

Function at 0x4031e0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push str.mvhlewsi.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 4], eax
je 0x40327c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenEWSPort_W
push eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
push str.OpenEWSPort_A
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
push str.OpenEWS_W
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
push str.OpenEWS_A
push eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
push str.CloseEWS
push eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
push str.EWSLastError
push eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
push str.WriteEWS
push eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
push str.ReadEWS
push eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
push str.WriteReadEWS
push eax
call edi
mov dword [esi + 0x2c], eax
pop edi
call fcn.00402270
pop esi
ret
Function at 0x412910
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push str.Mvnwiwzd32.dll
mov byte [esi], 0
mov byte [esi + 1], 0
mov dword [esi + 0x10ac], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x10ac], eax
je 0x412a37
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RunNtwkSetupDialogs
push eax
call edi
test eax, eax
mov dword [esi + 0x10b0], eax
je 0x412a36
mov eax, dword [esi + 0x10ac]
push str.RunNtwkSetupDialogs2
push eax
call edi
test eax, eax
mov dword [esi + 0x10b4], eax
je 0x412a36
mov ecx, dword [esi + 0x10ac]
push str.GetNtwkPrinterInfo
push ecx
call edi
test eax, eax
mov dword [esi + 0x10b8], eax
je 0x412a36
mov edx, dword [esi + 0x10ac]
push str.CreateNtwkPort
push edx
call edi
test eax, eax
mov dword [esi + 0x10bc], eax
je 0x412a36
mov eax, dword [esi + 0x10ac]
push str.IsFirewallEnabled
push eax
call edi
test eax, eax
mov dword [esi + 0x10c0], eax
jne 0x4129d2
push str.Failed_to_load_the_ISFIREWALLENABLED_FUNCTIONNAME
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
mov eax, esi
ret
mov ecx, dword [esi + 0x10ac]
push str.SetupFirewall
push ecx
call edi
test eax, eax
mov dword [esi + 0x10c4], eax
jne 0x4129f9
push str.Failed_to_load_the_SETUPFIREWALL_FUNCTIONNAME
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
mov eax, esi
ret
mov edx, dword [esi + 0x10ac]
push str.RemoveFirewall
push edx
call edi
test eax, eax
mov dword [esi + 0x10c8], eax
jne 0x412a20
push str.Failed_to_load_the_REMOVEFIREWALL_FUNCTIONNAME
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
mov eax, esi
ret
push 0x10a8
lea eax, [esi + 4]
push 0
push eax
call fcn.00461780
add esp, 0xc
mov byte [esi], 1
pop edi
mov eax, esi
ret
Function at 0x413820
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48068b
mov eax, dword fs:[0]
push eax
sub esp, 0xfe8
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0xfe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0xffc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x100c]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x54]
xor esi, esi
push eax
mov dword [esp + 0x3c], esi
call fcn.0043aaf0
xor eax, eax
mov dword [esp + 0x1004], esi
push str.____WelcomeStep___
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 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
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 4
push 0x7fe
lea ecx, [esp + 0x7fa]
push esi
push ecx
call fcn.00461780
add esp, 0xc
push 0x1fe
lea edx, [esp + 0x5fa]
push esi
push edx
mov word [esp + 0x600], si
call fcn.00461780
add esp, 0xc
push str._r_n_r_n
lea eax, [esp + 0x7f8]
push 0x400
push eax
mov word [esp + 0x800], si
call fcn.0045ea06
add esp, 0xc
call fcn.00424af0
push str.String_Not_Found
lea ecx, [esp + 0x5f8]
push 0x100
push ecx
mov edi, eax
mov word [esp + 0x600], si
call fcn.0045ea06
mov eax, dword [edi]
add esp, 0xc
cmp eax, esi
jne 0x41395b
mov ecx, edi
call fcn.00424b50
mov eax, dword [edi]
cmp eax, esi
je 0x413994
push 0x100
lea edx, [esp + 0x5f8]
push edx
push 0x144
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x413994
push str.LoadString_failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00421450
mov ecx, eax
call fcn.00421ae0
add esp, 4
lea eax, [esp + 0x5f4]
push eax
lea ecx, [esp + 0x7f8]
push 0x400
push ecx
call fcn.0045f406
mov eax, dword [esp + 0x30]
mov dword [esp + 0x594], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov ebx, 0x11e
mov dword [esp + 0x588], ebx
add esp, 0xc
mov ecx, 8
lea esi, [esp + 0x18]
lea edi, [esp + 0x330]
lea edx, [esp + 0x7f4]
mov dword [esp + 0x18], 0x143
mov dword [esp + 0x28], 0xd7
mov dword [esp + 0x2c], 0xd6
rep movsd dword es:[edi], dword [esi]
add ebp, 0x4ac
mov dword [esp + 0x40], edx
mov dword [esp + 0x2f0], eax
mov ecx, 7
lea esi, [esp + 0x38]
lea edi, [esp + 0x350]
rep movsd dword es:[edi], dword [esi]
push ebp
lea ecx, [esp + 0xf4]
push 0x100
push ecx
mov dword [esp + 0xd8], 1
call fcn.0045ea06
add esp, 0xc
lea ecx, [esp + 0x54]
mov dword [esp + 0x2f0], ebx
call fcn.004427ec
cmp eax, 0x64
je 0x413a77
cmp eax, 2
je 0x413a77
lea ecx, [esp + 0x54]
mov dword [esp + 0x1004], 0xffffffff
call fcn.0043acb0
xor eax, eax
jmp 0x413a90
lea ecx, [esp + 0x54]
mov dword [esp + 0x1004], 0xffffffff
call fcn.0043acb0
mov eax, 2
mov ecx, dword [esp + 0xffc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xfe0]
xor ecx, esp
call fcn.0045e88c
add esp, 0xff4
ret 4
Function at 0x414930
Capabilities:
Check for peb beingdebugged flag
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x480646
mov eax, dword fs:[0]
push eax
mov eax, 0x104c
call fcn.00463e50
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0x1048], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x1060]
mov dword fs:[0], eax
lea eax, [esp + 0x6ac]
push eax
mov esi, ecx
call fcn.0043aaf0
xor ebx, ebx
push str.____SuccessStep___
mov dword [esp + 0x106c], ebx
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 4
lea ecx, [esp + 0x3c]
push ecx
call fcn.0043bcc0
xor eax, eax
mov byte [esp + 0x1068], 1
lea ebp, [esi + 0x6ac]
push ebp
lea edx, [esp + 0xdc]
push 0x100
push edx
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
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.0045ea06
add esp, 0xc
push ebp
lea eax, [esp + 0x34c]
push 0x100
push eax
call fcn.0045ea06
mov eax, ebp
add esp, 0xc
mov dword [esp + 0x30], 0xda
mov dword [esp + 0x1c], 0x141
mov dword [esp + 0x18], 0x140
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x414a20
sub eax, edx
sar eax, 1
neg eax
sbb eax, eax
and eax, 0x106
mov dword [esp + 0x28], eax
mov ecx, 9
lea esi, [esp + 0x18]
lea edi, [esp + 0x318]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc4], 1
mov dword [esp + 0x548], ebx
call fcn.004427ec
cmp dword [esp + 0x54c], ebx
je 0x414b4d
push 0x206
lea ecx, [esp + 0xc52]
push ebx
push ecx
mov word [esp + 0xc58], bx
call fcn.00461780
add esp, 0xc
push 0x206
lea edx, [esp + 0xe5a]
push ebx
push edx
mov word [esp + 0xe60], bx
call fcn.00461780
add esp, 0xc
push 0x104
lea eax, [esp + 0xc50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.rundll32.exe
lea ecx, [esp + 0xc50]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebp
push str.printui.dll_PrintUIEntry__k__n___s_
lea edx, [esp + 0xe5c]
push 0x104
push edx
call fcn.0045eb08
add esp, 0x10
push str.Printing_test_page..
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 4
lea eax, [esp + 0xe54]
push eax
lea ecx, [esp + 0xc50]
push ecx
push str.__Command_Line:__s__s
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 0xc
push ebx
lea edx, [esp + 0xe58]
push edx
push str.rundll32.exe
lea eax, [esp + 0xc58]
push eax
push 1
call fcn.0045f3b7
add esp, 0x14
jmp 0x414b61
push str.User_chose_NOT_to_print_test_page.
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1068], bl
call fcn.0043be60
lea ecx, [esp + 0x6ac]
mov dword [esp + 0x1068], 0xffffffff
call fcn.0043acb0
xor eax, eax
mov ecx, dword [esp + 0x1060]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1048]
xor ecx, esp
call fcn.0045e88c
add esp, 0x1058
ret
Function at 0x416060
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x416079
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4160b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4160b0
lea ebx, [ebx]
cmp esi, eax
jae 0x4160b4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4160a0
cmp esi, eax
jb 0x4160ba
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x41f440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4804c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, 1
mov dword [esp + 0x24], ebx
mov edi, dword [esp + 0x34]
push 0
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push edi
call fcn.00412250
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x30], 2
mov esi, dword [esp + 0x3c]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebp, esp
push esi
call fcn.00412250
mov ecx, dword [esp + 0x3c]
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x30], bl
call fcn.0041f0d0
mov ebx, eax
mov byte [esp + 0x24], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f4d9
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [esp + 0x24], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f4fa
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, ebx
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