joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437404
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x437420
cmp dword [esi + 4], 0
je 0x43744d
test byte [ebx + 0x55], 1
jne 0x43743f
mov eax, ebx
call fcn.00435fa4
test eax, eax
jne 0x43743f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43755d
mov edx, esi
mov eax, ebx
call fcn.00436f28
jmp 0x43755d
push 0
call fcn.004063e8
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.user32.dll_ClientToScreen
mov dword [ebp - 8], eax
push edi
push 0
call fcn.00406630
push 0
call sub.user32.dll_CloseClipboard
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetKeyNameTextA
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x437556
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00439274
push eax
call fcn.00406270
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00433c40
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00437404
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.user32.dll_BeginPaint
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00439274
push eax
call fcn.00406370
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43755d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_DestroyCursor
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyMenu
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d114
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffff0
mov ebx, eax
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x43d1f7
mov eax, dword [esi + 0x14]
cmp byte [eax + 0x10], 1
jne 0x43d172
mov edx, 2
mov eax, esi
call fcn.0043b148
mov dword [esp], eax
mov eax, dword [ebx + 0xc]
sar eax, 1
jns 0x43d148
adc eax, 0
mov edx, dword [ebx + 0x54]
sub edx, eax
mov dword [esp + 4], edx
mov edx, 2
mov eax, dword [ebx + 0x60]
call fcn.0043b1b4
add eax, dword [esp]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
add eax, dword [ebx + 0xc]
mov dword [esp + 0xc], eax
jmp 0x43d1b3
mov eax, dword [ebx + 0xc]
sar eax, 1
jns 0x43d17c
adc eax, 0
mov edx, dword [ebx + 0x50]
sub edx, eax
mov dword [esp], edx
mov edx, 1
mov eax, esi
call fcn.0043b148
mov dword [esp + 4], eax
mov eax, dword [esp]
add eax, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov edx, 1
mov eax, dword [ebx + 0x60]
call fcn.0043b1b4
add eax, dword [esp + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x10]
call fcn.0041ce80
push eax
mov eax, dword [ebx + 0x58]
push eax
call sub.user32.dll_GetKeyNameTextA
mov esi, eax
push 0x5a0049
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
sub ecx, edx
push ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
sub ecx, eax
push ecx
push edx
push eax
mov eax, dword [ebx + 0x58]
push eax
call sub.user32.dll_GetCursorPos
push esi
mov eax, dword [ebx + 0x58]
push eax
call sub.user32.dll_GetKeyNameTextA
add esp, 0x10
pop esi
pop ebx
ret
Function at 0x43dfe8
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43e160
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
call sub.user32.dll_IsDialogMessageA
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x43e174
call fcn.004089fc
mov edx, dword [ebp - 4]
mov eax, 0x456b4c
call fcn.00403ea0
mov eax, dword [0x456b4c]
call fcn.0040430c
push eax
call sub.user32.dll_OpenClipboard
mov word [0x456b48], ax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x456664]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
call sub.user32.dll_IsIconic
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x43e188
call fcn.004089fc
mov edx, dword [ebp - 0x10]
mov eax, 0x456b50
call fcn.00403ea0
mov eax, dword [0x456b50]
call fcn.0040430c
push eax
call sub.user32.dll_OpenClipboard
mov word [0x456b4a], ax
mov eax, dword [0x456b50]
call fcn.0040430c
push eax
call fcn.00406620
mov dword [0x456b54], eax
mov dl, 1
mov eax, dword [0x411640]
call fcn.00413b58
mov dword [0x456b8c], eax
call fcn.0043dbec
mov dl, 1
mov eax, dword [0x42f824]
call fcn.0043da14
mov dword [0x456b3c], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x448e54]
call fcn.0044faa4
mov edx, dword [0x455194]
mov dword [edx], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x448f2c]
call fcn.00450b88
mov edx, dword [0x455058]
mov dword [edx], eax
mov eax, dword [0x455058]
mov eax, dword [eax]
mov dl, 1
call fcn.00452800
mov ecx, 0x42fb98
mov edx, 0x42fba8
mov eax, dword [0x42d790]
call fcn.0041330c
push 0x43e19c
call sub.user32.dll_LoadCursorA
mov ebx, eax
test ebx, ebx
je 0x43e142
push 0x43e1a4
push ebx
call sub.user32.dll_LoadIconA
mov dword [0x454a5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e167
lea eax, [ebp - 0x10]
call fcn.00403e4c
lea eax, [ebp - 4]
call fcn.00403e4c
ret

Function at 0x45388c
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004042fc
mov eax, dword [ebp - 8]
call fcn.004042fc
xor eax, eax
push ebp
push 0x45391a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4538f3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040430c
push eax
mov eax, dword [ebp - 4]
call fcn.0040430c
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4538ff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453921
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403e70
ret
Function at 0x45392c
Capabilities:
Log keystrokes

Disassembly:
push ebx
add esp, 0xffffff80
mov ebx, eax
push 0x80
lea eax, [esp + 4]
push eax
call sub.user32.dll_MapVirtualKeyA
cmp eax, 0x80
jg 0x45394c
test eax, eax
jne 0x453955
mov eax, ebx
call fcn.00403e4c
jmp 0x45395e
mov edx, ebx
mov eax, esp
call fcn.0040850c
add esp, 0x80
pop ebx
ret
Function at 0x4053d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405436
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404074
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d80
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405420
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40543d
lea eax, [ebp - 0x10]
call fcn.00403e10
ret
Function at 0x40aa38
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
xor edx, edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404290
xor eax, eax
push ebp
push 0x40ab77
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402d60
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], 5
mov eax, dword [0x410540]
mov eax, dword [eax]
call fcn.004042a0
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
lea edx, [ebp - 8]
mov eax, dword [0x4105c0]
call fcn.0040efdc
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
push dword [ebp - 8]
push 0x40ab90
push dword [ebp - 4]
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00404160
mov eax, dword [ebp - 0x7c]
call fcn.004042a0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x40ab12
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004042a0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x40ab54
jmp 0x40ab3f
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x78]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x40ab3f
lea eax, [ebp - 0x78]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x78]
push eax
call sub.user32.dll_DispatchMessageA
push 0xc8
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x40ab18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ab7e
lea eax, [ebp - 0x7c]
call fcn.00403e10
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403e34
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00409c90
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00409c90
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00409c90
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00409c90
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00409c90
mov dword [0x41203c], eax
call fcn.00409c90
test eax, eax
jge 0x402550
push 8
call fcn.00409c90
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00409c90
pop ecx
push 1
call fcn.00409c90
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00409c90
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00409c90
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00409c90
jmp 0x402495

Function at 0x409c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x409c9f
pop dword [ebp - 0x28]
mov eax, 0xcec833e
sub eax, 0xcabe69f
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x3a192
push 0
mov eax, 0xefeef3d8
add eax, 0x1051ed00
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x3023292
sub ecx, 0x301e6f9
mov edx, eax
mov ebx, 0x1fed82e2
sub ebx, 0x1fac471e
add ebx, dword [ebp - 0x28]
mov esi, 0xb204fa18
add esi, 0x13bcbb87
xor dword [ebp - 0x1c], 0xbf5e43b
mov edi, dword [ebx]
xor dword [ebp - 0x20], 0x72d56952
sub edi, esi
mov dword [edx], edi
mov dword [ebp - 0x14], 0x9b3f8b4a
add edx, 0x594adb9e
add edx, 0xa6b52466
add ebx, 0xa62a934a
add ebx, 0x59d56cba
loop 0x409cfe
add eax, 0x12137
xor ebx, ebx
add ebx, eax
add eax, 0xcd902969
add eax, 0x326fd69c
mov ecx, 0xdfb64f0f
add ecx, 0x2089b0f1
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x40644e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x40645d
pop dword [ebp - 0x1c]
mov eax, 0x6b20f8b6
add eax, 0x951f6ba7
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x42f7e7c0
add dword [ebp - 0x2c], 0xb5a5d8b
mov dword [ebp - 0x28], 0xa9775641
add dword [ebp - 0x28], 0x88bbf604
mov dword [ebp - 0x24], 0x897e8db
sub dword [ebp - 0x24], 0xbc4ba4ad
mov dword [ebp - 0x20], 0x75943080
add dword [ebp - 0x20], 0x8a6bcf80
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x5948fefe
sub dword [ebp - 0x2c], 0xe4d695a8
mov dword [ebp - 0x28], 0x7386a649
sub dword [ebp - 0x28], 0x321a44d4
mov dword [ebp - 0x24], 0x483edf85
sub dword [ebp - 0x24], 0xe4cf7319
mov dword [ebp - 0x20], 0x849dfb2f
add dword [ebp - 0x20], 0x7b6204d1
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a08f
push 0
call eax
mov ecx, 0x1cce450a
sub ecx, 0x1ccdf11c
xor edx, edx
add edx, eax
mov ebx, 0x5b69b174
add ebx, 0xa4dbe08c
add ebx, dword [ebp - 0x1c]
mov esi, 0xaa3f2233
sub dword [ebp - 0x10], 0x5f8b120
mov edi, dword [ebx]
sub dword [ebp - 4], 0x55a65ba
sub edi, esi
xor dword [ebp - 8], eax
mov dword [edx], edi
sub dword [ebp - 8], 0x37f77225
add edx, 0xa1c73f8e
sub edx, 0xa1c73f8a
add ebx, 0x2b5eb03d
sub ebx, 0x2b5eb039
loop 0x406571
add eax, 0x753a9997
sub eax, 0x7539570c
xor ebx, ebx
add ebx, eax
add eax, 0x8f89be7c
add eax, 0x70764189
mov ecx, 0x5f298d6a
add ecx, 0xa1167296
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x4068f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc
Function at 0x404440
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x42b004]
xor eax, ebp
mov dword [ebp - 4], eax
push edx
push str.Error_Code:__i
lea eax, [ebp - 0x2c]
push 0x14
push eax
call fcn.00401020
add esp, 0x10
lea eax, [ebp - 0x2c]
push 0
push eax
push str.Error_Creating_Dialog.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x407400
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbdc
mov eax, dword [0x42b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x430a00]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x407679
push esi
mov esi, dword [edi + 0xc]
cmp esi, 0xffffffff
je 0x407678
push 0x20a
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.0040da60
add esp, 0xc
mov dword [ebp - 0xb8c], esi
lea eax, [ebp - 0xb90]
mov dword [ebp - 0xbc8], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xb90], 2
push eax
push 0
push 0x104b
push dword [edi]
mov dword [ebp - 0xb88], 0
mov dword [ebp - 0xbcc], 2
mov dword [ebp - 0xbc4], 3
call esi
lea eax, [ebp - 0xbcc]
push eax
push 0
push 0x104b
push dword [edi]
call esi
lea eax, [ebp - 0x310]
mov dword [ebp - 0xb44], 7
mov dword [ebp - 0xb38], eax
lea eax, [ebp - 0xb4c]
push eax
push dword [edi + 0xc]
mov dword [ebp - 0xb34], 0x104
push 0x1073
push dword [edi]
call esi
mov eax, dword [ebp - 0xb74]
cmp eax, dword [0x4309e4]
jne 0x407663
mov eax, dword [ebp - 0xbb0]
cmp eax, dword [0x430a54]
jne 0x407663
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407655
push 0x800
lea eax, [ebp - 0xb10]
push 0
push eax
call fcn.0040da60
movups xmm0, xmmword [str.C:WindowsEPSDataAppPrint.exe]
mov ax, word [0x427e60]
push 0xbe
movups xmmword [ebp - 0x104], xmm0
mov word [ebp - 0xc4], ax
lea eax, [ebp - 0xc2]
movups xmm0, xmmword [0x427e30]
push 0
push eax
movups xmmword [ebp - 0xf4], xmm0
movups xmm0, xmmword [0x427e40]
movups xmmword [ebp - 0xe4], xmm0
movups xmm0, xmmword [0x427e50]
movups xmmword [ebp - 0xd4], xmm0
call fcn.0040da60
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x104]
push eax
push str.__s____s___print_dialog__exit_when_done
lea eax, [ebp - 0xb10]
push 0x400
push eax
call fcn.00401020
add esp, 0x2c
mov dword [ebp - 0xb54], 0x44
lea eax, [ebp - 0xbdc]
xorps xmm0, xmm0
movlpd qword [ebp - 0xb50], xmm0
movlpd qword [ebp - 0xb48], xmm0
push eax
lea eax, [ebp - 0xb54]
movlpd qword [ebp - 0xb40], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xb10]
movlpd qword [ebp - 0xb38], xmm0
push eax
lea eax, [ebp - 0x104]
movlpd qword [ebp - 0xb30], xmm0
push eax
movlpd qword [ebp - 0xb28], xmm0
movlpd qword [ebp - 0xb20], xmm0
movlpd qword [ebp - 0xb18], xmm0
movups xmmword [ebp - 0xbdc], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x407678
push dword [ebp - 0xbdc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xbd8]
call esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c080
mov esp, ebp
pop ebp
ret 4
push 0x10
push str.Error
push 0x42da30
jmp 0x40766f
push 0x40
push str.Error
push 0x42db30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0040c080
mov esp, ebp
pop ebp
ret 4
Function at 0x407fe0
Capabilities:
Read file via mapping

Disassembly:
cmp dword [0x430ac4], 0
jne 0x408063
push esi
push str.GlobalEPSDLP_74827543285
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
test esi, esi
je 0x408062
push 0x10000
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x430ac4], eax
test eax, eax
jne 0x408023
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
push 0x430aa8
mov dword [0x430ac0], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x430ac4]
push 0x3018
add eax, 0x4000
push eax
push 0x430ac8
call fcn.0040eed0
add esp, 0xc
push 0x430aa8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [0x430a9d], 1
pop esi
ret
Function at 0x408f90
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x42b004]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0xe0], eax
mov edi, ecx
movlpd qword [ebp - 0xdc], xmm0
xor edx, edx
mov dword [ebp - 0xd4], 0xf3bcc908
mov dword [ebp - 0x94], edx
mov dword [ebp - 0xd0], 0x6a09e667
mov dword [ebp - 0xcc], 0x84caa73b
mov dword [ebp - 0xc8], 0xbb67ae85
mov dword [ebp - 0xc4], 0xfe94f82b
mov dword [ebp - 0xc0], 0x3c6ef372
mov dword [ebp - 0xbc], 0x5f1d36f1
mov dword [ebp - 0xb8], 0xa54ff53a
mov dword [ebp - 0xb4], 0xade682d1
mov dword [ebp - 0xb0], 0x510e527f
mov dword [ebp - 0xac], 0x2b3e6c1f
mov dword [ebp - 0xa8], 0x9b05688c
mov dword [ebp - 0xa4], 0xfb41bd6b
mov dword [ebp - 0xa0], 0x1f83d9ab
mov dword [ebp - 0x9c], 0x137e2179
mov dword [ebp - 0x98], 0x5be0cd19
test edi, edi
jne 0x40907e
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040c080
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x409146
test edx, edx
jne 0x4090c5
cmp ebx, 0x80
jb 0x4090c5
mov edx, edi
lea ecx, [ebp - 0xdc]
call fcn.004080d0
test eax, eax
jne 0x409153
add dword [ebp - 0xdc], 0x400
mov edx, dword [ebp - 0x94]
adc dword [ebp - 0xd8], eax
sub edi, 0xffffff80
add ebx, 0xffffff80
jmp 0x409138
mov eax, 0x80
mov esi, ebx
sub eax, edx
cmp ebx, eax
cmovae esi, eax
xor eax, eax
test esi, esi
je 0x4090f7
nop dword [eax]
mov cl, byte [eax + edi]
add edx, eax
inc eax
mov byte [ebp + edx - 0x90], cl
mov edx, dword [ebp - 0x94]
cmp eax, esi
jb 0x4090e0
add edx, esi
add edi, esi
sub ebx, esi
mov dword [ebp - 0x94], edx
cmp edx, 0x80
jne 0x409138
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0xdc]
call fcn.004080d0
test eax, eax
jne 0x409153
add dword [ebp - 0xdc], 0x400
adc dword [ebp - 0xd8], eax
xor edx, edx
mov dword [ebp - 0x94], edx
test ebx, ebx
jne 0x409086
mov eax, dword [ebp - 0xe0]
mov edx, eax
lea ecx, [ebp - 0xdc]
call fcn.00408cd0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c080
mov esp, ebp
pop ebp
ret
Function at 0x40a8f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4350
call fcn.00421750
mov eax, dword [0x42b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x80]
push edi
push 0x7c
push 0
push eax
mov edi, ecx
mov dword [ebp - 0x84], 0x2d
call fcn.0040da60
add esp, 0xc
call fcn.00404390
mov bl, byte [ebp + 0x10]
test eax, eax
jne 0x40a93e
cmp bl, 1
je 0x40ab49
push 0x208
lea eax, [ebp - 0x30c]
push 0
push eax
call fcn.0040da60
add esp, 0xc
call fcn.00404390
test eax, eax
je 0x40a962
cmp bl, 1
je 0x40a980
call fcn.00404390
test eax, eax
je 0x40a977
test bl, bl
jne 0x40a977
push esi
push str.C:WindowsSysWow64_s
jmp 0x40a986
call fcn.00404390
test eax, eax
jne 0x40a99a
push esi
push str.C:WindowsSystem32_s
lea eax, [ebp - 0x30c]
push 0x104
push eax
call fcn.00401020
add esp, 0x10
push 0x4000
lea eax, [ebp - 0x430c]
push 0
push eax
call fcn.0040da60
add esp, 0xc
lea eax, [ebp - 0x430c]
push eax
push 0x4000
push 0
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40aa25
lea eax, [ebp - 0x4310]
push eax
lea eax, [ebp - 0x4314]
push eax
push 0x428d4c
lea eax, [ebp - 0x430c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40aa42
mov ecx, dword [ebp - 0x4314]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x428d50
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.00401020
add esp, 0x1c
jmp 0x40aa42
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:__i
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.00401020
add esp, 0x10
mov ecx, str._s__x64_
test bl, bl
push esi
mov eax, str._s__x86_
cmovne eax, ecx
push eax
lea eax, [ebp - 0x104]
push 0x40
push eax
call fcn.00401020
mov eax, dword [ebp + 8]
add esp, 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x434c], eax
lea eax, [ebp - 0x104]
movlpd qword [ebp - 0x4344], xmm0
movlpd qword [ebp - 0x4334], xmm0
push 0x3f0
push dword [edi + 4]
movlpd qword [ebp - 0x432c], xmm0
movlpd qword [ebp - 0x4324], xmm0
movlpd qword [ebp - 0x431c], xmm0
mov dword [ebp - 0x4350], 1
mov dword [ebp - 0x4338], 0x104
mov dword [ebp - 0x4348], 0
mov dword [ebp - 0x433c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
lea eax, [ebp - 0x4350]
push eax
push 0
push 0x104d
push edi
call esi
lea eax, [ebp - 0x84]
mov dword [ebp - 0x4350], 1
mov dword [ebp - 0x433c], eax
lea eax, [ebp - 0x4350]
push eax
push 0
push 0x104c
push edi
mov dword [ebp - 0x4348], 1
call esi
lea eax, [ebp - 0x4350]
mov dword [ebp - 0x4350], 1
push eax
push 0
push 0x104c
push edi
mov dword [ebp - 0x4348], 2
mov dword [ebp - 0x433c], 0x427d28
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c080
mov esp, ebp
pop ebp
ret 0xc