joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442de0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442e13
push esi
call fcn.00451180
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x442e0c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x442e99
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442e82
mov eax, dword [esi + 8]
test eax, eax
je 0x442e37
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x442e7e
cmp eax, 2
je 0x442e82
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x442e2a
cmp eax, 3
je 0x442e5d
cmp eax, 1
jne 0x442e2a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x442e2a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x442e2a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00442ec0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x442ea8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00442ec0
add esp, 4
pop esi
ret

Function at 0x443730
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x443751
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x443751
mov eax, dword [eax + 0x44]
test eax, eax
je 0x443751
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4711ed
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x471225
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046f2a4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046f27c
jmp 0x471231
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4728db
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47291d
call fcn.00478397
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47291d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x472914
xor eax, eax
jmp 0x472925
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047292b
pop edi
pop esi
pop ebx
ret 4
Function at 0x4788c7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4788f5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x478913
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047882d
jmp 0x478913
mov eax, dword [esi + 0x14]
test eax, eax
je 0x478913
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047882d
test edi, edi
mov eax, edi
jne 0x4788fd
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10013074
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10013083
pop dword [ebp - 0xc]
mov eax, 0x3630224a
add eax, 0xd9d10e39
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xc0b8b750
add dword [ebp - 0x1c], 0x8d998dfb
mov dword [ebp - 0x18], 0x66682d27
sub dword [ebp - 0x18], 0x3434e0e2
mov dword [ebp - 0x14], 0xac46a195
sub dword [ebp - 0x14], 0x5ffa5d67
mov dword [ebp - 0x10], 0x6e0f4d35
add dword [ebp - 0x10], 0x91f0b2cb
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x447d5df4
sub dword [ebp - 0x1c], 0xd00af49e
mov dword [ebp - 0x18], 0x6d6e9f39
sub dword [ebp - 0x18], 0x2c023dc4
mov dword [ebp - 0x14], 0xa5c24844
sub dword [ebp - 0x14], 0x4252dbd8
mov dword [ebp - 0x10], 0x87b0f28c
add dword [ebp - 0x10], 0x784f0d74
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xe9373f29
sub eax, 0xd935ee8d
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3bcb4
push 0
call eax
mov ecx, 0x54a1
mov esi, eax
mov edx, 0xd7d85814
add edx, 0x382bc3ec
add edx, dword [ebp - 0xc]
mov edi, 0xae4d0000
add edi, 0x1262631f
mov dword [ebp - 4], 0x8b38d3fa
mov ebx, dword [edx]
xor dword [ebp - 8], ebx
sub ebx, edi
sub dword [ebp - 4], 0xecd7863d
mov dword [esi], ebx
add esi, 0x3d56b3d4
add esi, 0xc2a94c30
add edx, 0x5741203c
sub edx, 0x57412038
loop 0x1001319a
add eax, 0x14557
mov ebx, eax
add eax, 0xeae42b2e
sub eax, 0xeae42b29
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x1001d9c9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x1001d9d8
pop dword [ebp - 0x18]
mov eax, 0xc9caf7c5
add eax, 0x4636e213
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x1521a744
sub dword [ebp - 0x28], 0xc6cf61f9
mov dword [ebp - 0x24], 0x1ef2cf95
sub dword [ebp - 0x24], 0xecbf8350
mov dword [ebp - 0x20], 0x24196823
sub dword [ebp - 0x20], 0xd7cd23f5
mov dword [ebp - 0x1c], 0xdf648bd5
add dword [ebp - 0x1c], 0x209b742b
lea eax, [ebp - 0x28]
push eax
mov eax, 0x2e6f25d6
sub eax, 0x1e6cd586
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xbd8e1957
sub dword [ebp - 0x28], 0x491bb001
mov dword [ebp - 0x24], 0xd11ab7af
sub dword [ebp - 0x24], 0x8fae563a
mov dword [ebp - 0x20], 0x3f2f547b
add dword [ebp - 0x20], 0x244017f1
mov dword [ebp - 0x1c], 0x40c1cf05
add dword [ebp - 0x1c], 0xbf3e30fb
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x26efcb78
add eax, 0xe91284dc
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3e82e
push 0
call eax
mov ecx, 0xd4cde0b0
sub ecx, 0xd4cd958a
mov edx, eax
mov edi, 0x663e2b12
add edi, 0xa9c52eee
add edi, dword [ebp - 0x18]
mov esi, 0x32f30770
sub esi, 0x195865ae
mov ebx, dword [edi]
sub dword [ebp - 0x14], edx
add ebx, esi
mov dword [ebp - 0x10], 0x6491dd09
mov dword [edx], ebx
xor dword [ebp - 0xc], 0xae3b2a9
add edx, 0x87bc2ff2
add edx, 0x7843d012
add edi, 4
loop 0x1001dafa
add eax, 0x88545c5f
add eax, 0x77acc30c
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x566bf7e2
add ecx, 0xb994081e
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x1000aeb0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x1000aeb9
ret
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push eax
call dword [sym.imp.kernel32.dll_CreateProcessA]
ret

Function at 0x10017de8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10017df7
pop dword [ebp - 0x14]
mov eax, 0x10017df7
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3bc1e
push 0
mov eax, 0xa240b0a5
add eax, 0x6dc130b7
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x5420fd91
add ecx, 0xabdf49a5
xor ebx, ebx
add ebx, eax
mov esi, 0x96ef8542
add esi, 0x79135cbe
add esi, dword [ebp - 0x14]
mov edi, 0x17bb65ed
add edi, 0x80cd38f6
mov dword [ebp - 8], 0xb2087d09
mov edx, dword [esi]
xor dword [ebp - 4], 0x93df4abc
add edx, edi
add dword [ebp - 4], eax
mov dword [ebx], edx
xor dword [ebp - 0x10], ecx
add ebx, 0x7670863e
add ebx, 0x898f79c6
add esi, 0xd590737b
add esi, 0x2a6f8c89
loop 0x10017e53
add eax, 0x78cc8879
add eax, 0x87348732
xor ebx, ebx
add ebx, eax
add eax, 0x325a821c
sub eax, 0x325a8217
mov ecx, 0x20dd1002
add ecx, 0xef22effe
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x5b0720
Capabilities:
Packed with generic packer
Resolve function by parsing pe exports

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe1000]
push edi
mov ebp, esp
lea ebx, [esp - 0x3e80]
xor eax, eax
push eax
cmp esp, ebx
jne 0x5b0738
inc esi
inc esi
push ebx
push 0x1ae5fe
push edi
add ebx, 4
push ebx
push 0xce712
push esi
add ebx, 4
push ebx
push eax
mov dword [ebx], 0x20003
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov edx, dword [esp + 0x90]
mov dword [esp + 0x74], 0
mov byte [esp + 0x73], 0
mov ebp, dword [esp + 0x9c]
lea eax, [edx + 4]
mov dword [esp + 0x78], eax
mov eax, 1
movzx ecx, byte [edx + 2]
mov ebx, eax
shl ebx, cl
mov ecx, ebx
dec ecx
mov dword [esp + 0x6c], ecx
movzx ecx, byte [edx + 1]
shl eax, cl
dec eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xa8]
movzx esi, byte [edx]
mov dword [ebp], 0
mov dword [esp + 0x60], 0
mov dword [eax], 0
mov eax, 0x300
mov dword [esp + 0x64], esi
mov dword [esp + 0x5c], 1
mov dword [esp + 0x58], 1
mov dword [esp + 0x54], 1
mov dword [esp + 0x50], 1
movzx ecx, byte [edx + 1]
add ecx, esi
shl eax, cl
lea ecx, [eax + 0x736]
cmp dword [esp + 0x74], ecx
jae 0x5b0812
mov eax, dword [esp + 0x78]
mov word [eax], 0x400
add eax, 2
loop 0x5b0808
mov ebx, dword [esp + 0x94]
xor edi, edi
mov dword [esp + 0x48], 0xffffffff
mov edx, ebx
add edx, dword [esp + 0x98]
mov dword [esp + 0x4c], edx
xor edx, edx
cmp ebx, dword [esp + 0x4c]
je 0x5b11b8
movzx eax, byte [ebx]
shl edi, 8
inc edx
inc ebx
or edi, eax
cmp edx, 4
jle 0x5b0832
mov ecx, dword [esp + 0xa4]
cmp dword [esp + 0x74], ecx
jae 0x5b11c0
Function at 0x103c713c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x103c71a8
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x103c71f1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.103ea530
add esp, 8
test eax, eax
jne 0x103c71ef
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x103c71f3
jmp 0x103c719f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x103d9ef3
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.103d3f67
add esp, 4
and eax, 0xff
test eax, eax
je 0x103d9f7c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.103e4cd0
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x103d9f7a
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x103d9f7a
jmp 0x103d9f7c
jmp 0x103d9efc
mov esp, ebp
pop ebp
ret

Function at 0x103da3dc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0x10406618]
test eax, eax
jne 0x103da3f0
call fcn.103da324
xor ecx, ecx
mov cl, byte [0x10406615]
test ecx, ecx
jne 0x103da477
xor edx, edx
mov dl, byte [0x10406614]
test edx, edx
jne 0x103da477
cmp dword [0x1040671c], 0
je 0x103da452
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x180
mov ecx, dword [0x1040671c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
push 0x186
mov eax, dword [0x1040671c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x1040671c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x103da477
push 0x10001
push 0x10406618
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x103da477
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x103dd45a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x103dd46a
xor eax, eax
jmp 0x103dd633
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x103dd5eb
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x10404bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x10404bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x10404bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x10404bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x10404bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x10404bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x10404bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x10404bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x103dd473
cmp dword [ebp + 0x10], 0
je 0x103dd62d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x10404bbc]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x103dd5f1
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x103e6de0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10402388
cmp edx, dword [eax]
je 0x103e6e02
add eax, 8
inc ecx
cmp eax, 0x10402418
jl 0x103e6df3
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10402388]
jne 0x103e6f30
mov eax, dword [0x10406798]
cmp eax, 1
je 0x103e6f0a
test eax, eax
jne 0x103e6e33
cmp dword [0x104020c4], 1
je 0x103e6f0a
cmp edx, 0xfc
je 0x103e6f30
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x103e6e6a
lea eax, [ebp - 0x1a4]
push 0x10405fd8
push eax
call fcn.103e5140
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.103e4ec0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x103e6ead
lea eax, [ebp - 0x1a4]
push eax
call fcn.103e4ec0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10405fd4
push edi
call fcn.103e52f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x10405fb8
push eax
call fcn.103e5140
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.103e5150
lea eax, [ebp - 0xa0]
push 0x10405fb4
push eax
call fcn.103e5150
push dword [esi + 0x1040238c]
lea eax, [ebp - 0xa0]
push eax
call fcn.103e5150
push 0x12010
lea eax, [ebp - 0xa0]
push 0x10405f8c
push eax
call fcn.103e93a8
add esp, 0x2c
pop edi
jmp 0x103e6f30
lea eax, [ebp + 8]
lea esi, [esi + 0x1040238c]
push 0
push eax
push dword [esi]
call fcn.103e4ec0
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 0x4453d2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x499c0c]
jne 0x446479
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x49c278], eax
mov dword [0x49c274], ecx
mov dword [0x49c270], edx
mov dword [0x49c26c], ebx
mov dword [0x49c268], esi
mov dword [0x49c264], edi
mov word [0x49c290], ss
mov word [0x49c284], cs
mov word [0x49c260], ds
mov word [0x49c25c], es
mov word [0x49c258], fs
mov word [0x49c254], gs
pushfd
pop dword [0x49c288]
mov eax, dword [ebp]
mov dword [0x49c27c], eax
mov eax, dword [ebp + 4]
mov dword [0x49c280], eax
lea eax, [ebp + 8]
mov dword [0x49c28c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x49c1c8], 0x10001
mov eax, dword [0x49c280]
mov dword [0x49c17c], eax
mov dword [0x49c170], 0xc0000409
mov dword [0x49c174], 1
mov eax, dword [0x499c0c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x499c10]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x49c1c0], eax
push 1
call fcn.0044d3e0
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x410f48
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x49c1c0], 0
jne 0x446565
push 1
call fcn.0044d3e0
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x453f7b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x453f8a
pop dword [ebp - 0x44]
mov eax, 0x2b57ae88
add eax, 0xd4ed9102
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xb7daac8a
sub dword [ebp - 0x54], 0x6988673f
mov dword [ebp - 0x50], 0xc68a08a3
add dword [ebp - 0x50], 0x6ba943a2
mov dword [ebp - 0x4c], 0x707ad639
sub dword [ebp - 0x4c], 0x242e920b
mov dword [ebp - 0x48], 0xfcc54188
sub dword [ebp - 0x48], 0xfcc54188
lea eax, [ebp - 0x54]
push eax
mov eax, 0x7290c30e
add eax, 0x8daf4f7a
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x76b52297
sub dword [ebp - 0x54], 0x242b941
mov dword [ebp - 0x50], 0x94a0cdae
sub dword [ebp - 0x50], 0x53346c39
mov dword [ebp - 0x4c], 0xb1173b6a
add dword [ebp - 0x4c], 0xb2583102
mov dword [ebp - 0x48], 0x2451b155
add dword [ebp - 0x48], 0xdbae4eab
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xc6e5ab79
add eax, 0x395a66d3
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x4a362
push 0
call eax
mov ecx, 0xe672b7a1
sub ecx, 0xe6726f98
xor esi, esi
add esi, eax
mov edx, 0xc033084b
add edx, 0x401a1bb5
add edx, dword [ebp - 0x44]
mov edi, 0x43cb7a22
sub edi, 0xde58b3bc
add dword [ebp - 0x20], edi
mov ebx, dword [edx]
add dword [ebp - 0x2c], esi
xor ebx, edi
sub dword [ebp - 0x18], 0x64fe6ba7
mov dword [esi], ebx
add dword [ebp - 0x14], esi
add esi, 0x195c52dc
sub esi, 0x195c52d8
add edx, 4
loop 0x4540ae
add eax, 0x5641ad0a
add eax, 0xa9bf65ed
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x401e20
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x411028]
xor eax, esp
mov dword [esp + 0x2b4], eax
push 0x2b4
lea eax, [esp + 4]
push 0
push eax
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x2c8]
add esp, 0xc
push 0x710
push 0x2b4
lea ecx, [esp + 8]
push ecx
push 0x80
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp]
test eax, eax
je 0x401e83
push 0
push eax
mov eax, dword [esi + 0x20]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x2bc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x2b4]
xor ecx, esp
call fcn.00409c7a
add esp, 0x2b8
ret
Function at 0x403c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40a888
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x411028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], vtable.CBitmap.0
lea eax, [esp + 0x10]
mov dword [esp + 0x38], 0
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.mfc90u.dll_CWnd::FromHandle
mov ecx, eax
call sub.mfc90u.dll_CWnd::ScreenToClient
cmp dword [esi + 0x74], 0
je 0x403ca6
lea ecx, [esi + 0x70]
call sub.mfc90u.dll_CDC::DeleteDC
test edi, edi
jne 0x403cae
xor eax, eax
jmp 0x403cb1
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x70]
call sub.mfc90u.dll_CDC::Attach
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
push eax
mov eax, dword [edi + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0xc]
call sub.mfc90u.dll_CGdiObject::Attach
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x74]
push ecx
push edx
call sub.mfc90u.dll_CDC::SelectGdiObject
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
push 0xcc0020
push edx
mov edx, dword [esp + 0x28]
push edx
push edi
push eax
mov eax, dword [esi + 0x74]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 8]
call sub.mfc90u.dll_CGdiObject::DeleteObject
mov ecx, dword [esi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 8]
mov dword [esp + 8], vtable.CBitmap.0
call fcn.00401be0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x34
ret