joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420040
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49b88c
cmp dword [edi], 0
jne 0x4200bc
push pe_nt_image_headers32
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_CreateThread
mov esi, eax
mov eax, dword [0x49b888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x498404
mov ecx, 2
call fcn.00402938
mov edx, 0x420018
lea eax, [esi + 5]
call fcn.00420038
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420038
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x420091
mov dword [0x49b888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x421660
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x421666
ret

Function at 0x443b04
Capabilities:
Accept command line arguments
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x49aa80]
cmp byte [eax + 0xc], 0
je 0x443c71
push 0x8000
call sub.KERNEL32.DLL_TlsGetValue
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443c6a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49bb6c], 0
jne 0x443b58
push 0x443c78
call fcn.00406ac8
mov ebx, eax
push 0x443c80
push ebx
call fcn.00406ad0
mov dword [0x49bb6c], eax
cmp dword [0x498b98], 0
jne 0x443c53
push 0x443c90
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x498b98], eax
cmp dword [0x498b98], 0
je 0x443c53
push 0x443c9c
mov eax, dword [0x498b98]
push eax
call fcn.00406ad0
mov dword [0x49bb70], eax
push 0x443cac
mov eax, dword [0x498b98]
push eax
call fcn.00406ad0
mov dword [0x49bb74], eax
push 0x443cc0
mov eax, dword [0x498b98]
push eax
call fcn.00406ad0
mov dword [0x49bb78], eax
push 0x443cd8
mov eax, dword [0x498b98]
push eax
call fcn.00406ad0
mov dword [0x49bb7c], eax
push 0x443cf0
mov eax, dword [0x498b98]
push eax
call fcn.00406ad0
mov dword [0x49bb80], eax
push 0x443d04
mov eax, dword [0x498b98]
push eax
call fcn.00406ad0
mov dword [0x49bb84], eax
push 0x443d1c
mov eax, dword [0x498b98]
push eax
call fcn.00406ad0
mov dword [0x49bb88], eax
push 0x443d34
mov eax, dword [0x498b98]
push eax
call fcn.00406ad0
mov dword [0x49bb8c], eax
push 0x443d50
mov eax, dword [0x498b98]
push eax
call fcn.00406ad0
mov dword [0x49bb90], eax
push 0x443d5c
mov eax, dword [0x498b98]
push eax
call fcn.00406ad0
mov dword [0x49bb94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443c71
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_TlsGetValue
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x45b6ac
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45b779
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x498dcc], 0
jne 0x45b75c
push 0x45b78c
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x498dcc], eax
cmp dword [0x498dcc], 0
jne 0x45b734
call fcn.00406aa8
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
mov eax, dword [0x49a510]
call fcn.00406508
mov eax, dword [ebp - 8]
push eax
mov eax, 0x45b7a0
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x10]
xor ecx, ecx
pop eax
call fcn.00409b2c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x45a6d8]
call fcn.0045a750
call fcn.00403fb0
push 0x45b7ac
mov eax, dword [0x498dcc]
push eax
call fcn.00406ad0
mov dword [0x49bda8], eax
mov eax, dword [ebp + 0xc]
push eax
mov ax, word [ebp + 8]
push eax
call dword [0x49bda8]
mov ebx, eax
jmp 0x45b75e
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b780
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040461c
ret
Function at 0x4783a8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4783d6
mov eax, ebx
call fcn.00478e5c
cmp dword [ebx + 0x40], 0
je 0x4783cf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x478447
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x478439
cmp dword [ebx + 8], 0
je 0x4783f8
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 0x47840a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x478439
cmp dword [ebx + 8], 0
je 0x4783eb
cmp eax, 3
je 0x47841d
dec eax
jne 0x4783eb
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 0x4783eb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4783eb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x478465
cmp dword [ebx + 0x14], 0xcc
je 0x478465
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.00478470
pop ebx
ret
Function at 0x489d8c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x489d94
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x489f86
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x489f9c
mov eax, esi
call fcn.00461ec4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040464c
lea ecx, [ebp - 0x10]
mov edx, 0x489fb0
mov eax, esi
call fcn.00461ec4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.0040464c
lea ecx, [ebp - 0x14]
mov edx, 0x489fc8
mov eax, esi
call fcn.00461ec4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.0040464c
lea ecx, [ebp - 0x18]
mov edx, 0x489fe4
mov eax, esi
call fcn.00461ec4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.0040464c
lea ecx, [ebp - 0x1c]
mov edx, 0x48a000
mov eax, esi
call fcn.00461ec4
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.0040464c
lea ecx, [ebp - 0x24]
mov edx, 0x48a018
mov eax, esi
call fcn.00461ec4
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040887c
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408ee8
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x48a030
mov eax, esi
call fcn.00461ec4
mov eax, dword [ebp - 0x28]
call fcn.0045ee5c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x48a040
mov eax, esi
call fcn.00461ec4
mov eax, dword [ebp - 0x2c]
call fcn.0045ee5c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x48a058
mov eax, esi
call fcn.00461ec4
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408ee8
inc eax
je 0x489f29
lea ecx, [ebp - 0x34]
mov edx, 0x48a058
mov eax, esi
call fcn.00461ec4
mov eax, dword [ebp - 0x34]
call fcn.00408eac
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a3fc
fstp qword [ebp - 0x3c]
wait
call fcn.0040a7c0
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x489f44
lea ecx, [ebp - 0x40]
mov edx, 0x48a058
mov eax, esi
call fcn.00461ec4
mov eax, dword [ebp - 0x40]
call fcn.0045ee5c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x48a068
mov eax, esi
call fcn.00461ec4
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.0040464c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489f8d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0040461c
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.0040461c
ret
Function at 0x490ca8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x490d02
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00490c98
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0045d910
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0045d510
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490d09
lea eax, [ebp - 4]
call fcn.004045f8
ret

Function at 0x494380
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], edx
mov edi, eax
xor eax, eax
push ebp
push 0x49451e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004045f8
push 0x49452c
call sub.KERNEL32.DLL_GetCommandLineA
mov ebx, eax
test ebx, ebx
je 0x494503
mov eax, dword [0x49aa70]
cmp dword [eax], 2
je 0x4943e1
push 0x494538
push ebx
call fcn.00406ad0
mov esi, eax
jmp 0x4943ee
push 0x494544
push ebx
call fcn.00406ad0
mov esi, eax
test esi, esi
je 0x4944fd
lea eax, [ebp - 0x10]
push eax
call esi
test eax, eax
jne 0x4944fd
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x4944fd
mov al, byte [ebp - 6]
cmp al, byte [ebp - 0x16]
jne 0x4944fd
mov al, byte [ebp - 5]
cmp al, byte [ebp - 0x15]
jne 0x4944fd
mov al, byte [ebp - 4]
cmp al, byte [ebp - 0x14]
jne 0x4944fd
mov al, byte [ebp - 3]
cmp al, byte [ebp - 0x13]
jne 0x4944fd
mov al, byte [ebp - 2]
cmp al, byte [ebp - 0x12]
jne 0x4944fd
mov al, byte [ebp - 1]
cmp al, byte [ebp - 0x11]
jne 0x4944fd
lea ecx, [ebp - 0x24]
xor eax, eax
mov al, byte [ebp - 6]
mov edx, 2
call fcn.00408e84
push dword [ebp - 0x24]
push 0x494564
lea ecx, [ebp - 0x28]
xor eax, eax
mov al, byte [ebp - 5]
mov edx, 2
call fcn.00408e84
push dword [ebp - 0x28]
push 0x494564
lea ecx, [ebp - 0x2c]
xor eax, eax
mov al, byte [ebp - 4]
mov edx, 2
call fcn.00408e84
push dword [ebp - 0x2c]
push 0x494564
lea ecx, [ebp - 0x30]
xor eax, eax
mov al, byte [ebp - 3]
mov edx, 2
call fcn.00408e84
push dword [ebp - 0x30]
push 0x494564
lea ecx, [ebp - 0x34]
xor eax, eax
mov al, byte [ebp - 2]
mov edx, 2
call fcn.00408e84
push dword [ebp - 0x34]
push 0x494564
lea ecx, [ebp - 0x38]
xor eax, eax
mov al, byte [ebp - 1]
mov edx, 2
call fcn.00408e84
push dword [ebp - 0x38]
mov eax, edi
mov edx, 0xb
call fcn.00404978
push ebx
call fcn.00406a30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494525
lea eax, [ebp - 0x38]
mov edx, 6
call fcn.0040461c
ret

Function at 0x4957dc
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
mov dword [esp], 7
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
test eax, eax
je 0x4957f8
mov al, 1
pop edx
ret
xor eax, eax
pop edx
ret
Function at 0x49609c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe48
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x496192
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
push 2
call sub.wsock32.dll_WSAStartup
lea eax, [ebp - 8]
mov edx, 0xff
call fcn.00404c44
push 0xff
mov eax, dword [ebp - 8]
call fcn.00404ab8
push eax
call sub.wsock32.dll_gethostname
mov eax, dword [ebp - 8]
call fcn.00404ab8
call fcn.00409450
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404c44
mov eax, dword [ebp - 8]
call fcn.00404ab8
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 0x1b4], 0
xor eax, eax
mov al, byte [esi + 1]
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 0x1ac], 0
xor eax, eax
mov al, byte [esi + 2]
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 0x1a4], 0
xor eax, eax
mov al, byte [esi + 3]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 0x19c], 0
lea edx, [ebp - 0x1b8]
mov ecx, 3
mov eax, 0x4961a8
call fcn.00409b2c
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496199
lea eax, [ebp - 8]
call fcn.004045f8
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40288e
pop dword [ebp - 0x40]
mov eax, 0x56f3441b
add eax, 0xa94ce473
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x4ea92c2
sub dword [ebp - 0x50], 0xb6984d77
mov dword [ebp - 0x4c], 0x7a0b2c3
add dword [ebp - 0x4c], 0x2a929982
mov dword [ebp - 0x48], 0x3823578d
add dword [ebp - 0x48], 0x1428eca1
mov dword [ebp - 0x44], 0xb06bc7c7
sub dword [ebp - 0x44], 0xb06bc7c7
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x869dda5f
sub dword [ebp - 0x50], 0x122b7109
mov dword [ebp - 0x4c], 0xbf5d6d1e
sub dword [ebp - 0x4c], 0x7df10ba9
mov dword [ebp - 0x48], 0x14869915
sub dword [ebp - 0x48], 0xb1172ca9
mov dword [ebp - 0x44], 0x8506b557
add dword [ebp - 0x44], 0x7af94aa9
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x1ea18048
sub eax, 0x1e610fa0
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3504a
push 0
call eax
mov ecx, 0x41b0
xor edi, edi
add edi, eax
mov edx, 0x410000
add edx, dword [ebp - 0x40]
mov esi, 0x628c7db3
sub esi, 0x82efcbee
add dword [ebp - 0x1c], ecx
mov ebx, dword [edx]
xor dword [ebp - 0xc], edx
sub ebx, esi
sub dword [ebp - 0x14], 0xb40bcafa
mov dword [edi], ebx
sub dword [ebp - 0x34], eax
add edi, 4
add edx, 0xab496b85
add edx, 0x54b6947f
loop 0x4029a1
add eax, 0xf993
mov ebx, eax
add eax, 0x9ec3801
add eax, 0xf613c804
mov ecx, 0x7009d129
sub ecx, 0x6fc9d129
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x1d2d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01d2d1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1d2d07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d2d06a
add dl, dl
jne 0x1d2d089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d2d0dc
xor eax, eax
add dl, dl
jne 0x1d2d096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d2d17d
add dl, dl
jne 0x1d2d0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d2d0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d2d0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d2d0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1d2d0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1d2d075
mov eax, 1
add dl, dl
jne 0x1d2d0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d2d0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d2d0e1
sub eax, ebx
mov ebx, 1
jne 0x1d2d128
mov ecx, 1
add dl, dl
jne 0x1d2d10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1d2d119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d2d105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d2d075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1d2d13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1d2d14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d2d136
cmp eax, 0x7d00
jae 0x1d2d16d
cmp eax, 0x500
jb 0x1d2d168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d2d075
cmp eax, 0x7f
ja 0x1d2d170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d2d075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1d2d19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1d2d075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40596d
pop dword [ebp - 0x3c]
mov eax, 0x2bfdcfba
sub eax, 0x2bbd764d
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xf146bf81
sub dword [ebp - 0x4c], 0xa2f47a36
mov dword [ebp - 0x48], 0x952d0873
add dword [ebp - 0x48], 0x9d0643d2
mov dword [ebp - 0x44], 0x626dbd06
add dword [ebp - 0x44], 0xe9de8728
mov dword [ebp - 0x40], 0x7181b151
add dword [ebp - 0x40], 0x8e7e4eaf
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x360bb5d1
sub eax, 0x35cb4571
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xc405d496
add dword [ebp - 0x4c], 0xb06c94c0
mov dword [ebp - 0x48], 0x689c6909
add dword [ebp - 0x48], 0xd8cff86c
mov dword [ebp - 0x44], 0xb6edb121
add dword [ebp - 0x44], 0xac81bb4b
mov dword [ebp - 0x40], 0xe87a7dda
sub dword [ebp - 0x40], 0xe87a7dda
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x350bf
push 0
call eax
mov ecx, 0x66f8c7f8
add ecx, 0x9907795a
mov esi, eax
mov edx, 0x410000
add edx, dword [ebp - 0x3c]
mov ebx, 0xf7c50396
mov edi, dword [edx]
mov dword [ebp - 0x10], 0x6e89dcc5
add edi, ebx
xor dword [ebp - 0x2c], 0x9a87f79a
mov dword [esi], edi
sub dword [ebp - 0x10], 0x72c57236
add esi, 0x5a68c350
add esi, 0xa5973cb4
add edx, 4
loop 0x405a7e
add eax, 0x23547de0
add eax, 0xdcac7a3b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x991af091
sub ecx, 0x98daf091
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x4071bb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x4071ca
pop dword [ebp - 0x28]
mov eax, 0x32ab2670
sub eax, 0x326ab4a6
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x1403662c
add dword [ebp - 0x38], 0x3a4edf1f
mov dword [ebp - 0x34], 0xb3be3bf9
add dword [ebp - 0x34], 0x7e75104c
mov dword [ebp - 0x30], 0xe98dc382
sub dword [ebp - 0x30], 0x9d417f54
mov dword [ebp - 0x2c], 0xa2bb9f93
add dword [ebp - 0x2c], 0x5d44606d
lea eax, [ebp - 0x38]
push eax
mov eax, 0xc9c994b
add eax, 0xf3a59729
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x21c6f5e3
add dword [ebp - 0x38], 0x52ab7373
mov dword [ebp - 0x34], 0xdfdab9e3
add dword [ebp - 0x34], 0x6191a792
mov dword [ebp - 0x30], 0xe69c6e99
add dword [ebp - 0x30], 0x7cd2fdd3
mov dword [ebp - 0x2c], 0x161b90d1
sub dword [ebp - 0x2c], 0x161b90d1
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xfefe18db
sub eax, 0xfebbe7b7
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3f4f0
push 0
call eax
mov ecx, 0xcedc47ef
add ecx, 0x312405ef
mov edi, eax
mov ebx, 0x26be46d5
sub ebx, 0x267b02d5
add ebx, dword [ebp - 0x28]
mov edx, 0x7d248310
add edx, 0xeea68ebf
sub dword [ebp - 0x18], edx
mov esi, dword [ebx]
xor dword [ebp - 0x1c], ebx
sub esi, edx
add dword [ebp - 4], edi
mov dword [edi], esi
add dword [ebp - 4], 0xd783c830
add edi, 0x95476225
sub edi, 0x95476221
add ebx, 4
loop 0x4072ec
add eax, 0x12a4b
mov ebx, eax
add eax, 0xd672e0cc
add eax, 0x298d1f39
mov ecx, 0x6415537d
add ecx, 0x9c2aac83
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x4010b0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404909
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x409040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 8
push eax
mov dword [ebp - 0x14], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call dword [sym.imp.mfc140u.dll_CWinApp::InitInstance]
push 0
call dword [sym.imp.mfc140u.dll_AfxEnableControlContainer]
push 0xc
call dword [sym.imp.mfc140u.dll_operator]
add esp, 8
mov dword [ebp - 0x17c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40113d
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
call dword [sym.imp.mfc140u.dll_CShellManager::CShellManager]
mov esi, eax
jmp 0x40113f
xor esi, esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_CMFCVisualManagerWindows::GetRuntimeClass]
push eax
call dword [sym.imp.mfc140u.dll_CMFCVisualManager::SetDefaultManager]
push 0x4055dc
mov ecx, edi
call dword [sym.imp.mfc140u.dll_CWinApp::SetRegistryKey]
push 0x160
lea eax, [ebp - 0x178]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x178]
push 0
push 0x66
call dword [sym.imp.mfc140u.dll_CDialogEx::CDialogEx]
mov dword [ebp - 4], 1
mov dword [ebp - 0x178], 0x405fd4
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], vtable.CBrush.0
lea ecx, [ebp - 0x9c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_CWnd::CWnd]
mov dword [ebp - 0x98], 0x405e5c
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_AfxGetModuleState]
push 0x80
push 0xe
push 0x80
call dword [sym.imp.mfc140u.dll_AfxFindResourceHandle]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x178]
mov dword [ebp - 4], 5
mov ecx, eax
mov dword [edi + 0x20], eax
call dword [sym.imp.mfc140u.dll_CDialog::DoModal]
test esi, esi
je 0x40121f
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc140u.dll_CStatic::CStatic]
lea ecx, [ebp - 0x9c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa4], vtable.CBrush.0
call fcn.00401450
lea ecx, [ebp - 0xb8]
call dword [sym.imp.mfc140u.dll_CDialogImpl::CDialogImpl]
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], vtable.CBrush.0
call fcn.00401450
lea ecx, [ebp - 0x178]
call dword [sym.imp.mfc140u.dll_CDialog::CDialog]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403c20
mov esp, ebp
pop ebp
ret
Function at 0x40424e
Capabilities:
Parse pe header

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