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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406980
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0043d1c0
test ebx, ebx
jne 0x44248f
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00442378
mov ebx, eax
test ebx, ebx
je 0x44257a
cmp esi, ebx
je 0x4424b8
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x4424cd
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x442505
add eax, 0xffffff5f
sub eax, 2
jb 0x44251d
dec eax
sub eax, 2
jb 0x442531
dec eax
sub eax, 2
jb 0x442527
jmp 0x44253b
add eax, 0xfffffdff
sub eax, 2
jb 0x44251d
dec eax
sub eax, 2
jb 0x442531
dec eax
sub eax, 2
jb 0x442527
jmp 0x44253b
mov byte [esp + 0x120], 0
jmp 0x442543
mov byte [esp + 0x120], 2
jmp 0x442543
mov byte [esp + 0x120], 1
jmp 0x442543
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0044fd18
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0043e948
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x44257c
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x4431e8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x240], 0
je 0x443204
cmp dword [esi + 4], 0
je 0x443231
test byte [ebx + 0x55], 1
jne 0x443223
mov eax, ebx
call fcn.004415d0
test eax, eax
jne 0x443223
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x443341
mov edx, esi
mov eax, ebx
call fcn.00442bf0
jmp 0x443341
push 0
call sub.user32.dll_GetDC
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.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44333a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00445240
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043e948
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004431e8
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.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00445240
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443341
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a3c8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4ffedc]
cmp byte [eax + 0xc], 0
je 0x44a535
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a52e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x50354c], 0
jne 0x44a41c
push 0x44a53c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44a544
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50354c], eax
cmp dword [0x47062c], 0
jne 0x44a517
push 0x44a554
call sub.kernel32.dll_LoadLibraryA
mov dword [0x47062c], eax
cmp dword [0x47062c], 0
je 0x44a517
push 0x44a560
mov eax, dword [0x47062c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x503550], eax
push 0x44a570
mov eax, dword [0x47062c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x503554], eax
push 0x44a584
mov eax, dword [0x47062c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x503558], eax
push 0x44a59c
mov eax, dword [0x47062c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50355c], eax
push 0x44a5b4
mov eax, dword [0x47062c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x503560], eax
push 0x44a5c8
mov eax, dword [0x47062c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x503564], eax
push 0x44a5e0
mov eax, dword [0x47062c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x503568], eax
push 0x44a5f8
mov eax, dword [0x47062c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50356c], eax
push 0x44a614
mov eax, dword [0x47062c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x503570], eax
push 0x44a620
mov eax, dword [0x47062c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x503574], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a535
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44fc80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44fcd4]
test si, 4
je 0x44fc95
or bl, 1
test si, 8
je 0x44fc9f
or bl, 4
test si, 1
je 0x44fca9
or bl, 8
test si, 2
je 0x44fcb3
or bl, 0x10
test si, 0x10
je 0x44fcbd
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44fccc
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44fcd8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44fd14]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44fcf2
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44fd01
or bl, 4
test esi, 0x20000000
je 0x44fd0c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4573c8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4573da
add esp, 0xfffffff0
call fcn.00403d1c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421880
mov eax, dword [0x4ffb54]
mov dword [eax + 4], ebx
mov dword [eax], 0x45776c
mov eax, dword [0x4ffb60]
mov dword [eax + 4], ebx
mov dword [eax], 0x457778
mov eax, ebx
call fcn.00457784
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4165c4]
call fcn.004039a0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4165c4]
call fcn.004039a0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4165c4]
call fcn.004039a0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4165c4]
call fcn.004039a0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4165c4]
call fcn.004039a0
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45321c
push eax
push 0
push 0
mov eax, dword [0x4ffccc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4255d0]
call fcn.00426af0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4255d0]
call fcn.00426af0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4255d0]
call fcn.00426af0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00457bb4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457a84
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457a84
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457a84
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457517
call fcn.00403d74
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x457868
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457a13
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4579f4
mov dl, 1
mov eax, dword [0x416c30]
call fcn.004039a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404824
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4579e3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044a724
test al, al
je 0x4579d6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x457a24
lea eax, [ebp - 0x254]
call fcn.004096e8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4579d6
xor eax, eax
push ebp
push 0x4579cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x457a5c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4579b8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a94
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4579b8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4579d6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4578d9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041b408
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457a1a
lea eax, [ebp - 0x260]
call fcn.00404824
ret

Function at 0x45838c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x503584]
cmp byte [eax + 0xad], 0
jne 0x4583fd
cmp dword [0x50359c], 0
jne 0x4583be
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x458348
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x50359c], eax
cmp dword [0x503598], 0
jne 0x4583d9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x503598], eax
cmp dword [0x5035a0], 0
jne 0x4583fd
push esp
push 0
push 0
push 0x4582ec
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x5035a0], eax
pop edx
ret
Function at 0x4585d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4585e7
add esp, 0xfffffff0
call fcn.00403d1c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421880
mov eax, dword [0x4ffcb0]
cmp word [eax + 2], 0
jne 0x45860f
mov eax, dword [0x4ffcb0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a080
mov eax, dword [0x4ffd70]
cmp word [eax + 2], 0
jne 0x458629
mov eax, dword [0x4ffd70]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a28c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4165c4]
call fcn.004039a0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4165c4]
call fcn.004039a0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4165c4]
call fcn.004039a0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x425dac]
call fcn.0042bd04
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4587e0
mov eax, dword [0x4ffbc0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042c0d8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45a94c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ffbc0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ce30
test eax, eax
je 0x458730
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040908c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ce64
test eax, eax
je 0x458744
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404a94
mov byte [ebx + 0xd4], 0
push ebx
push 0x459be0
call fcn.004229fc
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4ffab4]
cmp byte [eax], 0
jne 0x458795
mov eax, ebx
call fcn.00458924
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045ab28
mov eax, ebx
call fcn.0045b688
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4587d5
call fcn.00403d74
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458ba4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x503584]
cmp dword [eax + 0x30], 0
je 0x458c4e
cmp dword [ebx + 0x94], 0
jne 0x458c48
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458b34
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458c48
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x458c0e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458c48
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418e60
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458c1d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459968
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45999d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404914
jmp 0x4599aa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404878
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45ad0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45ad7a
mov eax, esi
call fcn.0044559c
test al, al
je 0x45ad7a
mov eax, dword [ebx + 0x84]
call fcn.00445240
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45ad7a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45ad6e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445240
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043d5b0
jmp 0x45ad7a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045ab48
pop esi
pop ebx
ret
Function at 0x41f034
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
pushal
mov dword [ebp - 4], 0
call fcn.0041f047

Function at 0x41f0ae
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
pushal
mov dword [ebp - 4], 0
call fcn.0041f0c1
Function at 0x409ea0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x42b520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x18]
push 0x45f398
xor ebx, ebx
push eax
xor esi, esi
mov dword [ebp - 4], ebx
call fcn.0040a340
add esp, 8
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], ebx
je 0x409fa6
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea ebx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0040a080
mov ebx, dword [ebp - 0x24]
test eax, eax
jne 0x409f99
test ebx, ebx
je 0x409fa4
mov edx, dword [section..ajgioq]
mov eax, dword [edx + 0xc]
mov ecx, section..ajgioq
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.__s_
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00406e00
mov edi, dword [ebp - 0x14]
mov eax, edi
add esp, 8
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409f50
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [ebp + 8]
push edx
push edi
push 2
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb esi, esi
lea eax, [edi - 0x10]
inc esi
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409f99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x409fa4
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409fec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40fe20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423098
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x42b520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
push 0x42c668
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0040a340
add esp, 8
lea ecx, [ebp - 0x18]
push 0x42c6dc
push ecx
mov byte [ebp - 4], 1
call fcn.0040a340
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [section..ajgioq]
mov eax, dword [edx + 0xc]
mov ecx, section..ajgioq
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push 0x6a
mov byte [ebp - 4], 3
call fcn.00406ea0
add esp, 4
cmp eax, ebx
je 0x40feb1
push eax
lea eax, [ebx + 0x6a]
lea edi, [ebp - 0x14]
call fcn.004069e0
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], ebx
je 0x40ff3d
mov edx, dword [ebp - 0x18]
cmp dword [edx - 0xc], ebx
je 0x40ff3d
cmp dword [esi - 0xc], ebx
je 0x40ff3d
xor eax, eax
mov dword [ebp - 0x14], eax
nop
cmp eax, 2
jge 0x40ff3d
xor ecx, ecx
cmp eax, ebx
setne cl
push 2
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
add ecx, 0x80000001
mov dword [ebp - 0x20], ebx
call fcn.0040fda0
test eax, eax
jne 0x40ff21
mov edi, dword [ebp - 0x18]
cmp esi, ebx
je 0x40ff21
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push ebx
push edi
mov edi, dword [ebp - 0x28]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x40ff24
mov edi, dword [ebp - 0x28]
cmp edi, ebx
je 0x40ff32
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], ebx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
jmp 0x40fed0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ff5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ff80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ffa2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call 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
Function at 0x1d00c769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1d010190
cmp edx, dword [eax]
je 0x1d00c78b
add eax, 8
inc ecx
cmp eax, 0x1d010220
jl 0x1d00c77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1d010190]
jne 0x1d00c8b9
mov eax, dword [0x1d010bb0]
cmp eax, 1
je 0x1d00c893
test eax, eax
jne 0x1d00c7bc
cmp dword [0x1d0100e4], 1
je 0x1d00c893
cmp edx, 0xfc
je 0x1d00c8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1d00c7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1d00d670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1d00d490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1d00c836
lea eax, [ebp - 0x1a4]
push eax
call fcn.1d00d490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1d00f45c
push edi
call fcn.1d00df00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1d00d670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1d00d680
lea eax, [ebp - 0xa0]
push 0x1d00f43c
push eax
call fcn.1d00d680
push dword [esi + 0x1d010194]
lea eax, [ebp - 0xa0]
push eax
call fcn.1d00d680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1d00de75
add esp, 0x2c
pop edi
jmp 0x1d00c8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x1d010194]
push 0
push eax
push dword [esi]
call fcn.1d00d490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x88e3691
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x6151e
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219