joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455ca4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47eb4c]
cmp dword [eax + 0x30], 0
je 0x455d4e
cmp dword [ebx + 0x94], 0
jne 0x455d48
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455c34
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455d48
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 0x455d0e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455d48
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.00417548
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455d1d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4568ac
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4568e1
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.004043f0
jmp 0x4568ee
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404354
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x457a00
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x457a41
mov eax, esi
call fcn.0043df24
test al, al
je 0x457a41
mov eax, dword [ebx + 0x84]
call fcn.0043dc20
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x457a41
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043dc20
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45ee58
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45ee86
mov eax, ebx
call fcn.0045f90c
cmp dword [ebx + 0x40], 0
je 0x45ee7f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45eef7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45eee9
cmp dword [ebx + 8], 0
je 0x45eea8
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 0x45eeba
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45eee9
cmp dword [ebx + 8], 0
je 0x45ee9b
cmp eax, 3
je 0x45eecd
dec eax
jne 0x45ee9b
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 0x45ee9b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45ee9b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45ef15
cmp dword [ebx + 0x14], 0xcc
je 0x45ef15
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.0045ef20
pop ebx
ret
Function at 0x470474
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004702bc
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004047c0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4704d2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x47dae8]
mov dl, 1
mov eax, dword [0x470230]
call fcn.0040bd98
call fcn.00403c90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4704dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004047c0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x470534
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x47dcf8]
mov dl, 1
mov eax, dword [0x470230]
call fcn.0040bd98
call fcn.00403c90
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004702ec
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x474768
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
cmp dword [esi], 0
jne 0x47478f
push 0
push 0
mov dx, 4
mov eax, ebx
call fcn.00473dd0
cmp dword [ebx + 0x38], 0xffffffff
jne 0x4747a4
push 0xffffffffffffffff
push 0xffffffffffffffe8
mov dx, 0x18
mov eax, ebx
call fcn.00473dd0
mov eax, dword [esi]
push eax
mov edx, edi
mov ecx, dword [ebp - 4]
xor eax, eax
call fcn.00474724
mov eax, dword [esi]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebx + 0x38]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x4747dc
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e5
je 0x4747dc
xor eax, eax
jmp 0x4747de
mov al, 1
test al, al
jne 0x4747f6
call sub.kernel32.dll_GetLastError
xor edx, edx
push edx
push eax
mov dx, 2
mov eax, ebx
call fcn.00473dd0
mov cl, 1
mov dl, 6
mov eax, ebx
call fcn.004773d0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x474924
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
cmp dword [esi], 0
jne 0x47494b
push 0
push 0
mov dx, 4
mov eax, ebx
call fcn.00473dd0
mov eax, dword [esi]
mov byte [eax + 0x14], 1
cmp dword [ebx + 0x38], 0xffffffff
jne 0x474966
push 0xffffffffffffffff
push 0xffffffffffffffe8
mov dx, 0x18
mov eax, ebx
call fcn.00473dd0
mov eax, dword [esi]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebx + 0x38]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x47498f
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e5
je 0x47498f
xor eax, eax
jmp 0x474991
mov al, 1
test al, al
jne 0x4749a9
call sub.kernel32.dll_GetLastError
xor edx, edx
push edx
push eax
mov dx, 3
mov eax, ebx
call fcn.00473dd0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x47784c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov edi, eax
xor eax, eax
push ebp
push 0x477980
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x477990
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov ebx, eax
test ebx, ebx
jne 0x477965
mov dl, 1
mov eax, dword [0x41558c]
call fcn.004034c0
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x47795e
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
mov dword [ebp - 0x10], pe_nt_image_headers32
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.0040494c
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.0040494c
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004047c0
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.004047c0
push eax
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov ebx, eax
test ebx, ebx
jne 0x47791e
mov edx, dword [ebp - 0x14]
dec edx
lea eax, [ebp - 0xc]
call fcn.0040494c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
jmp 0x477926
cmp ebx, 0x103
jne 0x47792a
test ebx, ebx
je 0x4778b0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x90]
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477965
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 0x1c]
call fcn.004034f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477987
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404324
ret
Function at 0x402470
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
lea eax, [ebp - 0x124]
mov ecx, eax
lea eax, [ebp - 0x13c]
mov edx, eax
mov eax, 1
call fcn.00403d00
call fcn.00403e00
push eax
test eax, eax
jne 0x402655
mov eax, dword [ebp - 4]
test eax, eax
je 0x4024d4
jmp 0x4024fc
push 0x105
lea eax, [ebp - 0x118]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x118]
lea eax, [ebp - 8]
call fcn.004045c0
jmp 0x402655
call sub.kernel32.dll_GetCommandLineA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00402820
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
call fcn.00402880
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x402529
jmp 0x40252b
jmp 0x402542
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, 0
jl 0x402542
jmp 0x402538
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x402542
jmp 0x402504
lea edx, [ebp - 0x144]
mov eax, edx
call fcn.00403e30
mov dword [ebp - 0x144], 0
mov ebx, dword [ebp - 0xc]
sub ebx, dword [ebp - 0x10]
mov esi, 1
lea edx, [ebp - 0x148]
mov eax, edx
call fcn.00403e30
mov dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x10]
call fcn.00404600
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov ecx, ebx
mov edx, esi
call fcn.00404660
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
call fcn.00404720
lea edx, [ebp - 8]
mov eax, edx
call fcn.00403e30
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x4025cd
mov eax, dword [eax - 4]
cmp eax, 2
jge 0x4025d7
jmp 0x402655
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 0x22
je 0x4025e2
jmp 0x402655
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4025ef
mov eax, dword [eax - 4]
mov al, byte [edx + eax - 1]
cmp al, 0x22
je 0x4025f9
jmp 0x402655
lea edx, [ebp - 0x148]
mov eax, edx
call fcn.00403e30
mov dword [ebp - 0x148], 0
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x40261a
mov ecx, dword [ecx - 4]
sub ecx, 2
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00404660
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
call fcn.00404720
lea edx, [ebp - 8]
mov eax, edx
call fcn.00403e30
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 8], eax
call fcn.00403f00
lea edx, [ebp - 0x148]
mov eax, edx
call fcn.00403e30
mov dword [ebp - 0x148], 0
lea edx, [ebp - 0x144]
mov eax, edx
call fcn.00403e30
mov dword [ebp - 0x144], 0
pop eax
test eax, eax
je 0x40269f
mov edx, str._t_nAnsiString
lea eax, [ebp - 8]
call fcn.00404190
call fcn.00403f90
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x150]
mov esi, dword [ebp - 0x14c]
leave
ret
Function at 0x4144b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
push 0x10
call sub.user32.dll_GetKeyState
movsx eax, ax
cmp eax, 0
jl 0x4144ce
jmp 0x4144d7
mov eax, dword [ebp - 4]
or eax, 4
mov dword [ebp - 4], eax
push 0x11
call sub.user32.dll_GetKeyState
movsx eax, ax
cmp eax, 0
jl 0x4144e8
jmp 0x4144f1
mov eax, dword [ebp - 4]
or eax, 8
mov dword [ebp - 4], eax
push 0x12
call sub.user32.dll_GetKeyState
movsx eax, ax
cmp eax, 0
jl 0x414502
jmp 0x41450b
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret
Function at 0x423a81
Capabilities:
Encode data using xor

Disassembly:
sub esp, dword [eax + 0x25ef3e5d]
pop ds
push ds
push esp
mov dword ds:[0x13225502], eax
pop esi
add ch, byte [eax + edi + 0x57]
invalid
sub ah, byte [ebx]
push eax
sahf
push edx
invalid
insd dword es:[edi], dx
jo 0x423a13
mov edx, 0x4331ca19
test byte [ebx + 0x3e], 0x4c
lodsb al, byte [esi]
rcr ebp, cl
in al, 0x49
les ebx, [0x39830834]
mov bl, 6
xchg byte [edi], bl
push ecx
or bh, dl
das
xor ecx, dword [eax - 0x68adf1fe]
jg 0x423a70
add cl, ch
jno 0x423b28
das
out dx, al
nop
or byte [edi - 0x2ea6a4c0], 0x9a
and byte [esi], al
aam 0x9a
popfd
add al, 0x39
lahf
xor al, 0x89
stc
push 0x7fea4bd0
invalid
salc
mov al, 0xbb
lcall 0xb1ed, 0x5071d341
and byte [esp + edx*4 - 0x6e091f5d], ch
adc al, 0xbf
sbb eax, 0xbcefe3e4
xchg ecx, eax
mov ebp, 0x6a11696c
out dx, eax
test dword [ebx + 0x74], edx
xchg edi, eax
loopne 0x423ba9
or eax, 0x184d53b0
adc byte [eax - 0xbbf4254], 0x29
aaa
push eax
jbe 0x423baf
ret
invalid
push ebx
and eax, 0x67552454
push ss
push eax
jbe 0x423c11
jo 0x423c19
mov cl, 0xb0
mov cl, 0xc3
jno 0x423bf8
hlt
shl byte [esi + esi*8], 0x11
inc edi
pop ds
push esi
xor byte [0xed3700e3], al
mov ch, 0x57
and eax, 0x81fc3472
sal al, 0xd9
in eax, 0xc9
leave
mov al, 0xc1
fidiv dword [ecx + 0x190008b5]
invalid
sbb eax, esi
invalid

Function at 0x4286ac
Capabilities:
Encode data using xor

Disassembly:
mov byte [ecx - 0x521393c2], dh
cmp edi, esi
push ss
int3
xor byte [ebp - 0x7c82b46f], dh
dec ebx
jge 0x428632
aas
push cs
dec ecx
js 0x4286a9
mov byte [0x3371e144], al
stc
xchg edi, eax
push es
retf 0xbb25
Function at 0x445dbb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
add byte [ebx + 0x2c244cff], cl
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
lea ebx, [eax - 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call 0x558644
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x7c], edi
jg 0x445e3c
mov eax, dword [esi + 0x7c]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul qword [esi + 0x88]
call 0x558644
mov ecx, dword [esp + 0x3c]
pop edi
pop ebx
xor ecx, esp
call 0x55231f
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test edi, edi
js 0x445ee2
cmp edi, dword [esi + 0x7c]
jge 0x445ee2
mov edx, dword [esi + 0x78]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x10]
push 1
sub eax, edx
push eax
mov eax, dword [esp + 0x14]
sub ebx, eax
push ebx
push edx
mov dword [esp + 0x18], ecx
push eax
add ecx, 0x138
call fcn.0045a786
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0045a786
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x558644
mov ebx, dword [0x536728]
push eax
push 0
lea eax, [esp + 0x14]
push eax
call ebx
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x558644
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
call ebx
inc edi
cmp edi, dword [esi + 0x7c]
jl 0x445e34
jmp 0x445e04
call fcn.0045e9ad
int3
Function at 0x465b40
Capabilities:
Encode data using xor

Disassembly:
hlt
cmc
leave
jo 0x465b20
pop ebx
or dword [ebp - 0x553767f5], eax
stosb byte es:[edi], al
in eax, dx
in eax, dx
pop es
call 0x392b053a
in al, 0x38
cmp byte [ebp + 0x4c], dh
jne 0x465ba2
test eax, 0xc7aba5cf
xchg edx, eax
xchg ecx, eax
loop 0x465ba5
pop ebx
jb 0x465b69
invalid
daa
test byte [ebp + 0x4a], dh
mov esp, 0x90083c30
push cs
sbb al, 0x7b
or bh, byte [edi + ebp*2 + 0x34bff084]
dec ecx
xor al, byte [eax - 0x59077593]
sub byte [edx + 0x4e], bl
mov eax, ds
mov ch, 0x87
pushal
mov ebp, 0x5894876a
fild qword [ebx + 0x45fa026e]
jno 0x465b4a
dec eax
test al, 0xa8
push edx
loop 0x465b4f
adc dl, byte [eax + edi*4 - 0x5a]
xor eax, 0xa4bed209
mov eax, 0x93536a6
sar byte [esi + 0x7d04aa4], cl
xor eax, 0xa4bed209
dec edx
rol byte [edi], 1
sub al, 0x8f
mov bh, 0x5c
call 0x625b5c2a
jnp 0x465ba5
sbb dword [ecx - 0xd96f65a], ebp
ja 0x465b52
insb byte es:[edi], dx
pop esi
cmp eax, 0xf37b84d2
jp 0x465b53
daa
xor dword [ecx], eax
sbb byte [ecx], bh
mov ebx, 0x18381ed
imul edx, dword [edi + 0x5b], 0xc7df5488
add dword [ecx], 0x69
push edi
pop ebx
mov byte [edi + ebx*8 - 0x39], dl
sal dword [ebp - 0x65], 0x57
sub eax, 0x285db481
int 0x68
mov dl, 0xc9
mov dword [0x3e418765], eax
sub ch, cl
push 0x65a3c9b2
xchg dword [ecx + 0x3e], eax
insd dword es:[edi], dx
sti
stc
mov es, word [ebx]
shl byte [ebx - 0x590e836d], 1
pop edi
mov fs, word [edx - 0x2c]
jnp 0x465be2
in eax, 0xb6
jnp 0x465c1e
mov dh, 0x7b
push ds
push edi
sub al, 8
fldcw word [ebx - 0x26e52024]
jnp 0x465bfc
in eax, 0xd4
cmp eax, 0xbd65a6a
test al, 0xb1
xchg byte [edi - 0x15], ah
clc
xchg edi, eax
out dx, eax
pop eax
aaa
rcl byte [eax + 0x2a], cl
jmp dword [0x6e26704f]
sub bh, bh
and eax, 0x6e26704f
mov cl, 0xc2
scasd eax, dword es:[edi]
xchg edi, eax
or al, 0xbd
fcmovnbe st(0), st(2)
dec edi
push ebx
xchg esi, eax
mov dword [ebx], ebp
and edx, dword [eax + esi + 0x1703aad3]
jns 0x465bd1
iretd

Function at 0x496ee4
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x1bbd9a3c
invalid
or dword [ebx - 0x11], ebx
cmp edx, dword [esi]
jbe 0x496f63
in eax, dx
mov eax, dword [0x162a413c]
xchg edi, eax
xor dword [edi], 0x88ea97a1
cmp byte [esi + 0x30], dh
popal
cmp dword [esi + 0x427fdaa3], 0xd8f665b1
sti
movsd dword es:[edi], dword [esi]
cmpsd dword [esi], dword es:[edi]
push 0xffffffffffffffa3
inc esp
js 0x496ed3
out 0x54, eax
lodsb al, byte [esi]
invalid
and eax, 0xc4acc52c
int3
Function at 0x498d64
Capabilities:
Encode data using xor

Disassembly:
or dword [esi + 0x22e9fb48], edi
adc ah, ah
push ebp
invalid
and bl, dh
sbb al, 0x88
fst dword [edi]
push ss
loop 0x498d3f
movsb byte es:[edi], byte [esi]
jmp 0xb15e66a0
adc byte [ecx - 0x1e], cl
into
adc eax, ebx
test eax, 0x2438d899
test eax, 0x8cf15043
pop ebp
loop 0x498d29
inc ebp
push ecx
dec ecx
shr dword [ecx + 0x50939846], 0xc1
sub eax, 0xcfc79770
jb 0x498d0e
and al, byte [ecx - 0x57122416]
iretd
sub edx, 0xcfa8eddb
test al, 0xcf
scasd eax, dword es:[edi]
ja 0x498d2b
in eax, 0xa2
std
js 0x498ddd
jo 0x498d2f
test al, 0x3a
push esi
push ebp
mov eax, 0x77c67937
inc ebx
cmp bl, bl
xchg dh, dh
push ds
nop
mov edx, 0xe82f0dd
mov edi, 0x4503b1a0
stosb byte es:[edi], al
cld
or al, 0x45
or al, 0x45
outsd dx, dword [esi]
sub byte [esi - 0x13e838d9], ah
test dword [edi + edi*8 + 0x5f], edi
add dword [ebx - 0x575ca9dc], 4
outsd dx, dword [esi]
test eax, 0x1c9ebb6
sbb byte [edi + 0x4045003e], 0xf1
xchg edi, eax
je 0x498d68
mov cl, 0x5c
pop esp
push 0x18fa44ba
jae 0x498d92
xor al, 0x99
out dx, al
xchg ebp, eax
rcr dword [eax + esi*4 + 0x1a], 0xa8
inc edi
mul byte [edi - 0x768ae3a0]
xor dword [eax - 0x54da4fce], edi
daa
pop es
aas
mov ah, 0xe1
imul eax, ecx, 0x2a939572
fdiv qword [eax]
and ebx, dword fs:[edx + 0xb0d678e]
pop ds
xchg ebp, eax
xchg ebx, eax
sub bl, ah
xor byte [ebx - 0x66], ah
mov fs, word [edi + 0xd]
or ebx, dword [edi]
mov ah, 0xc6
test al, 0x80
outsb dx, byte [esi]
adc ebx, ecx
shl dword [edx + 0x72], 1
test eax, 0x94c5962
add bl, byte cs:[ecx + 0x57]
cmp dl, byte [eax + 0x59]
loopne 0x498dc9
mov esi, 0xe513fe38
mov dl, byte [eax + 0x59]
add esi, dword fs:[esi + 0x62]
arpl dx, dx
push es
out dx, al
xor dword [ecx + 0x44], edi
mov cl, 0x16
push 0x6e
sbb dword [esi], ebx
ja 0x498db6
pop edi
push ecx
xchg edx, eax
mov eax, dword [0x4460597e]
xor eax, 0x2a2d8e43
cmpsd dword [esi], dword es:[edi]
invalid
Function at 0x4ba545
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2378
cmp edx, dword [eax]
je 0x4ba567
add eax, 8
inc ecx
cmp eax, 0x4c2408
jl 0x4ba558
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2378]
jne 0x4ba695
mov eax, dword [0x4c6cfc]
cmp eax, 1
je 0x4ba66f
test eax, eax
jne 0x4ba598
cmp dword [0x4c22a0], 1
je 0x4ba66f
cmp edx, 0xfc
je 0x4ba695
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba5cf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004baf30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb3c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba612
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb3c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf9a4
push edi
call fcn.004bd290
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004baf30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004baf40
lea eax, [ebp - 0xa0]
push 0x4bf984
push eax
call fcn.004baf40
push dword [esi + 0x4c237c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004baf40
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bd204
add esp, 0x2c
pop edi
jmp 0x4ba695
lea eax, [ebp + 8]
lea esi, [esi + 0x4c237c]
push 0
push eax
push dword [esi]
call fcn.004bb3c0
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 0x401710
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
push 0x94a
call fcn.00401110
add esp, 8
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 8]
push ecx
push 0x7a9c
call fcn.00401110
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], 0
je 0x401847
cmp dword [ebp - 0xc], 0
je 0x401847
cmp dword [ebp - 0x1c], 0
je 0x401847
cmp dword [ebp - 8], 0
je 0x401847
mov eax, dword [ebp - 0xc]
xor edx, edx
mov ecx, 3
div ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.00406e38
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
jmp 0x4017ae
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0xc]
jae 0x4017ca
imul edx, dword [ebp - 0x10], 3
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dl, byte [ecx + edx]
mov byte [eax], dl
jmp 0x4017a5
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004016c0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00401300
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword fs:[0x30]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + edx + 0x28]
mov dword [ebp - 0x2c], ecx
call dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
push edx
call fcn.00406ab0
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00406ab0
add esp, 4
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406ab0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403c14
mov esp, ebp
pop ebp
ret

Function at 0x4044e5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404524
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404524
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404524
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404524
cmp dword [ecx + 0x74], 0xe
jbe 0x404524
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret