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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x4556b8
mov eax, esi
call fcn.0043d3f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4556b8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4556b8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4557f7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4556f8
cmp eax, 0x108
ja 0x4556f8
mov eax, esi
call fcn.0043d3f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4557ee
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4557f7
jmp 0x4557ee
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4557d7
cmp eax, 0x20a
ja 0x4557d7
test byte [esi + 0x50], 0x80
jne 0x45572a
sub eax, 0x203
je 0x455727
sub eax, 3
je 0x455727
sub eax, 3
jne 0x45572a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x45573e
dec eax
je 0x455753
dec eax
je 0x455770
dec eax
je 0x455753
jmp 0x455777
mov ecx, ebx
mov eax, dword [0x49a0fc]
mov eax, dword [eax]
mov edx, esi
call fcn.00446a18
jmp 0x4557ee
cmp byte [esi + 0x5d], 1
jne 0x455769
mov eax, esi
mov si, 0xffed
call fcn.0040361c
jmp 0x4557f7
or word [esi + 0x54], 1
jmp 0x4557ee
and word [esi + 0x54], 0xfffe
jmp 0x4557ee
mov eax, dword [0x49bb7c]
cmp byte [eax + 0x20], 0
je 0x4557ee
mov eax, dword [0x49bb7c]
cmp dword [eax + 0x1c], 0
je 0x4557ee
mov eax, dword [ebx]
mov edx, dword [0x49bb7c]
cmp eax, dword [edx + 0x1c]
jne 0x4557ee
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0043d334
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0040361c
jmp 0x4557f7
cmp eax, 0xb00b
jne 0x4557ee
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00453f90
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458db8
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 + 0x1f8], 0
je 0x458dd4
cmp dword [esi + 4], 0
je 0x458e01
test byte [ebx + 0x55], 1
jne 0x458df3
mov eax, ebx
call fcn.00457958
test eax, eax
jne 0x458df3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x458f11
mov edx, esi
mov eax, ebx
call fcn.004588dc
jmp 0x458f11
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 0x458f0a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045ac60
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.004555a0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00458db8
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.0045ac60
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458f11
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 0x45f544
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x49a294]
cmp byte [eax + 0xc], 0
je 0x45f6b1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45f6aa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49bbd0], 0
jne 0x45f598
push 0x45f6b8
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x45f6c0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bbd0], eax
cmp dword [0x484f70], 0
jne 0x45f693
push 0x45f6d0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x484f70], eax
cmp dword [0x484f70], 0
je 0x45f693
push 0x45f6dc
mov eax, dword [0x484f70]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bbd4], eax
push 0x45f6ec
mov eax, dword [0x484f70]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bbd8], eax
push 0x45f700
mov eax, dword [0x484f70]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bbdc], eax
push 0x45f718
mov eax, dword [0x484f70]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bbe0], eax
push 0x45f730
mov eax, dword [0x484f70]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bbe4], eax
push 0x45f744
mov eax, dword [0x484f70]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bbe8], eax
push 0x45f75c
mov eax, dword [0x484f70]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bbec], eax
push 0x45f774
mov eax, dword [0x484f70]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bbf0], eax
push 0x45f790
mov eax, dword [0x484f70]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bbf4], eax
push 0x45f79c
mov eax, dword [0x484f70]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bbf8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f6b1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x461a4c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor ebx, ebx
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x461a60
mov ebx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x461a6f
or ebx, 2
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x461a7e
or ebx, 4
mov eax, ebx
pop ebx
ret

Function at 0x469eb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047ac
xor eax, eax
push ebp
push 0x469eff
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004047bc
push eax
push 0x469f0c
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469f06
lea eax, [ebp - 4]
call fcn.004042fc
ret
Function at 0x46f1b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46f1de
mov eax, ebx
call fcn.0046fc64
cmp dword [ebx + 0x40], 0
je 0x46f1d7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46f24f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46f241
cmp dword [ebx + 8], 0
je 0x46f200
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46f212
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46f241
cmp dword [ebx + 8], 0
je 0x46f1f3
cmp eax, 3
je 0x46f225
dec eax
jne 0x46f1f3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46f1f3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46f1f3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46f26d
cmp dword [ebx + 0x14], 0xcc
je 0x46f26d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046f278
pop ebx
ret

Function at 0x4800c0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x480158
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor esi, esi
mov byte [ebp - 9], 0
inc ebx
lea eax, [ebp - 0x28]
push eax
push edi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x480112
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 4]
jne 0x480109
mov byte [ebp - 9], 1
jmp 0x480142
push 0x64
call sub.kernel32.dll_Sleep_1
jmp 0x48011b
call sub.kernel32.dll_GetLastError
mov esi, eax
jmp 0x480120
cmp ebx, 0x1e
jl 0x4800ec
test esi, esi
jbe 0x48012c
push esi
call sub.kernel32.dll_SetLastError
jmp 0x480142
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.0047ff0c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.00404350
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48015f
lea eax, [ebp - 0x2c]
call fcn.004042fc
ret
Function at 0x48016c
Capabilities:
Create service
Delete service
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x48035f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.004042fc
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 5], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4801c8
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
mov eax, 0x480378
call fcn.0047fe64
jmp 0x480349
xor eax, eax
push ebp
push 0x480342
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x48021b
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push 1
push 3
push 1
push 0xf01ff
push ebx
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x48023b
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
mov eax, 0x480398
call fcn.0047fe64
call fcn.00403d5c
jmp 0x480349
xor eax, eax
push ebp
push 0x4802f9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x480273
cmp dword [ebp - 0x30], 4
jne 0x480273
mov byte [ebp - 5], 1
call fcn.00403d5c
call fcn.00403d5c
jmp 0x480349
lea eax, [ebp - 4]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
jne 0x4802b9
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
mov eax, 0x4803c0
call fcn.0047fe64
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_DeleteService
call fcn.00403d5c
call fcn.00403d5c
jmp 0x480349
lea ecx, [ebp - 0x14]
mov edx, 4
mov eax, dword [ebp - 0x10]
call fcn.004800c0
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
jne 0x4802e2
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
mov eax, 0x4803e0
call fcn.0047fe64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480300
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480366
lea eax, [ebp - 0x14]
call fcn.004042fc
ret
Function at 0x48130c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x481315
mov eax, dword [ebp - 4]
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10014], edx
mov ebx, eax
lea esi, [ebp - 0x1c]
xor eax, eax
push ebp
push 0x481408
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004816fc
test al, al
je 0x4813ef
call sub.kernel32.dll_GetTickCount
mov edi, eax
lea eax, [ebp - 0x1000f]
xor ecx, ecx
mov edx, 0xfff3
call fcn.00402e34
mov eax, esi
xor ecx, ecx
mov edx, 0x1c
call fcn.00402e34
mov dword [esi], 2
xor eax, eax
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0xfff3
lea eax, [ebp - 0x1000f]
mov dword [esi + 0x10], eax
mov edx, esi
mov eax, ebx
call fcn.00480ed4
test al, al
je 0x4813be
mov eax, dword [esi + 0x14]
test eax, eax
jle 0x4813ef
lea edx, [ebp - 0x1000f]
mov ecx, eax
mov eax, ebx
call fcn.0048117c
jmp 0x4813dd
call fcn.00480bf4
mov edx, eax
lea eax, [ebp - 0x10014]
call fcn.004044f4
mov eax, dword [ebp - 0x10014]
call fcn.00469f14
jmp 0x4813ef
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, 0x1f4
jbe 0x481359
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48140f
lea eax, [ebp - 0x10014]
call fcn.004042fc
ret
Function at 0x4426a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x483390]
jne 0x4426aa
repz ret
jmp fcn.0044a25d

Function at 0x458356
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0044aab8
and dword [ebp - 4], 0
cmp dword [0x48707c], 0
mov ebx, eax
jne 0x458407
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4584b8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4727b8
push edi
call esi
test eax, eax
je 0x4584b8
push eax
call fcn.0044aa46
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x48707c], eax
call esi
push eax
call fcn.0044aa46
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x487080], eax
call esi
push eax
call fcn.0044aa46
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x487084], eax
call esi
push eax
call fcn.0044aa46
pop ecx
mov dword [0x48708c], eax
test eax, eax
je 0x458407
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044aa46
pop ecx
mov dword [0x487088], eax
mov eax, dword [0x487088]
cmp eax, ebx
je 0x45845f
cmp dword [0x48708c], ebx
je 0x45845f
push eax
call fcn.0044aac1
push dword [0x48708c]
mov esi, eax
call fcn.0044aac1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45845f
test edi, edi
je 0x45845f
call esi
test eax, eax
je 0x458456
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x458456
test byte [ebp - 0xc], 1
jne 0x45845f
or dword [ebp + 0x10], 0x200000
jmp 0x458498
mov eax, dword [0x487080]
cmp eax, ebx
je 0x458498
push eax
call fcn.0044aac1
pop ecx
test eax, eax
je 0x458498
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x458498
mov eax, dword [0x487084]
cmp eax, ebx
je 0x458498
push eax
call fcn.0044aac1
pop ecx
test eax, eax
je 0x458498
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48707c]
call fcn.0044aac1
pop ecx
test eax, eax
je 0x4584b8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4584ba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
lea esp, [esp + 0x44]
je 0x1005efa5
lea esi, [ebp + 0xcf19478]
xor dh, 0x15
mov esi, dword [eax + 0x3c]
adc dl, al
btc edx, 0x1c
bsf dx, sp
bt bp, 6
add esi, eax
cmp ax, bx
bt edi, 0x1e
clc
mov edx, dword [esi + 0x78]
push 0x1008c6c4
clc
pushal
test edx, edx
pushal
mov word [esp + 8], si
lea esp, [esp + 0x44]
je 0x1005efa5
or cl, ch
shl ecx, cl
bsr cx, bx
add edx, eax
add ecx, 0x51834d56
pushfd
test cx, di
pushfd
mov ecx, dword [esi + 0x7c]
bt di, 3
add ecx, edx
push edi
cmp ch, ch
push 0xa14b4e6c
mov dword [ebp - 0x10], ecx
clc
sar cl, 3
stc
pushfd
mov ecx, dword [ebp + 0xc]
pushfd
cmc
cmp ecx, 0xffff
mov byte [esp + 4], al
push 0x9ef33127
jmp 0x100766a4
call fcn.1004622e
Function at 0x432f10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
jg 0x432f6a
xor dword [eax + 0x6174f60c], 0x24
lea eax, [esi + 3]
shr eax, 2
mov ebx, 0xd5000001
cmovne ebx, eax
lea edi, [ebx*4 + 0xa800]
push edi
push 8
push 1
call fcn.004133d0
add esp, 0xc
lds ecx, gs:[ecx + 0x87d2918]
mov dword [ebp + 4], eax
push edi
push eax
call 0xff57efd0
add esp, 8
test esi, esi
daa
test byte [ecx - 0x77000000], dl
or byte [ecx], dh
test byte [ebx + 0x5f6a01f8], 0x8b
inc esp
and al, 0x24
mov ecx, eax
and ecx, 0xfffffffe
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x20]
rol dword [ebx + 0x4c89fee1], 0x24
add al, 0x8b
dec byte [ecx - 0x74fbdbb4]
dec esp
and al, 0x20
lea edi, [eax + ecx]
cmp eax, 0xc3c9ffc7
xor esi, esi
or eax, 0xb60f242c
sbb cl, byte [ecx + 0x10c97165]
shl ebp, cl
mov ecx, dword [edi + 0x24]
mov eax, dword [eax + 0x68]
mov dword [esp + 8], eax
movzx ebx, byte [edx]
mov dword [ebp + 0x71], esp
leave
adc bl, dl
in eax, 0x8b
dec edi
and al, 0x8b
inc eax
push 0x8244489
mov eax, esi
xor dword [ebx + 0xb5c8bfc], 7
or dword [ebx + eax], ebp
mov ebp, dword [esp]
movzx ecx, byte [ebx + 0x8c980ff]
shl ebx, cl
mov ecx, dword [ebp + 4]
jnp 0x432f67
mov word [ebx - 0x3d7cfd3a], es
push ecx
add edi, 0xfffffffe
aam 0x74
and al, 4
jne 0x432f80
mov ecx, dword [ecx + ebp*8 + 0x24]
inc ebp
mov bl, 1
je 0x433012
mov eax, esi
not eax
add eax, ecx
pop ecx
in eax, dx
and al, 0x12
sete byte [ecx + eax]
lea ecx, [esi*8 + 0xd7]
shl eax, cl
mov ecx, dword [ebp + 4]
and esi, 0xfffffffc
or dword [ecx + esi], eax
mov eax, ebp
fcmovnb st(0), st(4)
or al, 0x5e
pop edi
pop ebx
pop ebp
ret
out 0, eax
add byte [eax], al
push str._home_simon_mem_.build_workdirs_bob_jmc5owxa_putty_crypto_mpint.c
popal
into
frstor dword [bp - 0x18]
pop ds
xchg ebp, eax
xor byte [eax], al
add esp, 0xc
mov ebp, dword [edx + ecx + 0x24]
imul eax, ebp, 0x1400e176
mov ecx, 0x22b63c41
mul ecx
mov edi, edx
shr edi, 8
lea esp, [edi + 0x4bd]
add byte [ebx + 0x6a5301c7], al
or byte [edx + 1], ch
call fcn.004133d0
or ecx, 0xc
out dx, al
inc ecx
mov dword [eax], edi
add eax, 8
stc
inc esi
add al, 0x53
push eax
and byte [edx - 0x41], ch
push dword [ebx + eax*4 + 0x7b]
or byte [ebp - 0x487b74de], al
mov byte [0x76c7d700], al
and al, 0
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
ficom dword [eax - 0x2d7a4a75]
je 0x4330f0
mov eax, dword [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov ecx, edx
and al, 0xee
mov esi, 0xc1b5690c
ror ch, 1
iretd
mov ecx, dword [esp]
cmpsd dword [esi], dword es:[edi]
rol dword [ecx], 0x89
mov cs, word [ecx + 0x4c3b240c]
and al, 0x24
je 0x433174
mov ecx, esi
ret
mov al, 0x33
dec ebx
add al, ch
xchg ebx, eax
add al, 0
int1
les ecx, [ecx + ebp*8]
or al, 0xff
pop esp
dec dword [ecx + 0xcc483fc]
mov esp, edi
add esp, 0xc
xchg esp, eax
pop edi
sbb dword [ebp - 0x3d], 0x5355cccc
push edi
pop ds
push eax
mov edx, dword [edx + ecx*2 + 0x18]
mov eax, dword [edx]
dec ebp
pop esp
and al, 0xd0
sal byte [ebx + ebp*2 - 0x75], 0x4c
and al, 0x24
mov edi, dword [esi + 0x20]
mov ebx, eax
add al, 0x31
in eax, dx
xor ebx, ebx
jmp 0x433163
Function at 0x481062
Capabilities:
Set thread local storage value

Disassembly:
mov ebp, esp
push esi
push 0x4aa810
push 0xca4a1b08
push 0x3484d0
push 0x20
call 0xdf48a574
mov ebp, dword [ecx]
sub ecx, 0x10
test esi, esi
je 0x481096
push dword [ebp - 0x16]
mov ecx, esi
mov edi, 0x58200015
add bh, bh
xchg esi, eax
pop esi
pop ebp
ret 4
les ebx, [ebp + 0x4d]
and eax, 0x4bd86b
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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
nop
mov ecx, 0x1ef15844
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x3be810de
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219