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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x466e08]
mov dword [ebp - 4], 0
test eax, eax
je 0x42bd06
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x42bcf0
xor al, al
mov esp, ebp
pop ebp
ret 0xc
push dword [0x466e08]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x466e08], 0
lea eax, [ebp - 4]
push eax
push 0x10000
push 0
push 0x42bd90
push 0x40000
push 0
call fcn.00432fef
add esp, 0x18
test eax, eax
mov dword [0x466e08], eax
setne al
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42c130
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x463858]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x466dc4]
push edi
push 1
xorps xmm0, xmm0
push 0
push 0
mov dword [ebp - 0x22c], esi
movq qword [ebp - 0x228], xmm0
movq qword [ebp - 0x220], xmm0
movq qword [ebp - 0x218], xmm0
mov dword [ebp - 0x210], 0
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x42c1d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x45b9f8
push str._s_failed_w_err_0x_08lx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0042c080
add esp, 0x14
lea eax, [ebp - 0x20c]
push 1
push eax
mov ecx, esi
call fcn.0042c360
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f36b
mov esp, ebp
pop ebp
ret
push 0xf01ff
push dword [esi + 4]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x42c223
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenService
push str._s_failed_w_err_0x_08lx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0042c080
mov ecx, dword [ebp - 0x22c]
add esp, 0x14
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.0042c360
jmp 0x42c24b
lea eax, [ebp - 0x228]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x42c24b
mov eax, dword [ebp - 0x224]
cmp eax, 1
je 0x42c249
cmp eax, 3
je 0x42c249
mov bl, 1
jmp 0x42c24b
xor bl, bl
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
test esi, esi
je 0x42c25b
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0042f36b
mov esp, ebp
pop ebp
ret
Function at 0x42c270
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x463858]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x466dc4]
push edi
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x42c2e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x45b9f8
push str._s_failed_w_err_0x_08lx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0042c080
add esp, 0x14
lea eax, [ebp - 0x20c]
push 1
push eax
mov ecx, ebx
call fcn.0042c360
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f36b
mov esp, ebp
pop ebp
ret
push esi
push 0xf01ff
push dword [ebx + 4]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x42c331
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenService
push str._s_failed_w_err_0x_08lx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0042c080
add esp, 0x14
lea eax, [ebp - 0x20c]
push 1
push eax
mov ecx, ebx
call fcn.0042c360
jmp 0x42c33c
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
test esi, esi
je 0x42c34c
push esi
call edi
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0042f36b
mov esp, ebp
pop ebp
ret

Function at 0x42c360
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f8
mov eax, dword [0x463858]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
mov dword [ebp - 0x3f0], ecx
call ebx
lea esi, [eax - 1]
mov eax, 0x3e7
cmp esi, eax
cmovg esi, eax
push esi
call fcn.0042e80d
add esp, 4
test esi, esi
jle 0x42c3c5
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call ebx
mov ebx, dword [ebp + 0xc]
movzx eax, bx
push eax
lea eax, [ebp - 0x3ec]
push eax
push str._s__i__n
call fcn.0043086f
mov eax, dword [ebp - 0x3f0]
add esp, 0xc
push dword [eax + 4]
mov dword [ebp - 0x3f8], 0
push 0
mov dword [ebp - 0x3f4], 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x42c442
mov eax, dword [ebp - 0x3f0]
push 0
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x3f8]
push eax
push 0
push 2
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 0x3f8], ecx
mov dword [ebp - 0x3f4], edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f36b
mov esp, ebp
pop ebp
ret 8
Function at 0x445a6e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x463858]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00436adf
mov dword [ebp - 0x14], eax
cmp dword [0x466d50], edi
jne 0x445b5f
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x445aec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x445c3f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x445c3f
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x445c3f
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x466d50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x466d54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x466d58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x466d60], eax
test eax, eax
je 0x445b5c
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x466d5c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x445b84
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x445b77
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x445b99
push 4
pop eax
jmp 0x445c41
cmp dword [ebp - 0x14], edi
je 0x445b99
push dword [0x466d50]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x445b7e
mov eax, dword [0x466d5c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x445bf7
cmp dword [0x466d60], esi
je 0x445bf7
push eax
call ebx
push dword [0x466d60]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x445bf7
test eax, eax
je 0x445bf7
call ecx
test eax, eax
je 0x445bec
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x445bec
test byte [ebp - 8], 1
jne 0x445bf7
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x445c27
mov eax, dword [0x466d54]
cmp eax, esi
je 0x445c24
push eax
call ebx
test eax, eax
je 0x445c24
call eax
mov edi, eax
test edi, edi
je 0x445c24
mov eax, dword [0x466d58]
cmp eax, esi
je 0x445c24
push eax
call ebx
test eax, eax
je 0x445c24
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x466d50]
call ebx
test eax, eax
je 0x445c3f
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x445c41
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f36b
leave
ret
Function at 0x448b51
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0043bbd5
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x448b89
xor eax, eax
jmp 0x448bb5
cmp esi, dword [ebp - 4]
je 0x448bb2
cmp dword [ebp + 0xc], 0
je 0x448bb2
push dword [edi + 0x9c]
call fcn.0044875f
push dword [edi + 0x9c]
mov esi, eax
call fcn.00436d95
pop ecx
pop ecx
cmp esi, eax
je 0x448b85
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x401123
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0040117e
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x401152
push 4
push dword [esp + 0x18]
call fcn.0040219e
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x401107
push ebp
push ebp
call fcn.00407377
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401174
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00401ecb
int3

Function at 0x40157f
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x40167a
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebx, 0xb83bf
mov ebp, str._d_The_remote_protocol_ID:
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0xdc
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0xc5
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x62
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0xe3
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0xa9
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x9b
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x71
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x59
add esp, 0x40
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0xcd
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x36
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x98
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x70
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x34
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0xf7
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0xf1
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x8a
add esp, 0x40
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0xce
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x98
add esp, 0x10
inc esi
cmp esi, dword [esp + 0x18]
jb 0x40159d
pop edi
pop ebp
pop ebx
pop esi
ret
Function at 0x401681
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x41d00c]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x4016f9
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.0040119d
test esi, esi
je 0x4016e6
cmp dword [esp + 0x38], 3
jbe 0x4016e6
lea eax, [esp + 0x14]
push 0x14d
push eax
call fcn.0040176e
pop ecx
pop ecx
test eax, eax
je 0x4016e6
cmp eax, dword [esp + 0x38]
je 0x401711
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00401535
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x4016b2
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004021ac
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00401535
jmp 0x4016fb

Function at 0x40176e
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
lea eax, [esi + 0x10]
mov edi, dword [eax]
mov ebp, edi
xor ebp, dword [esp + 0x24]
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0x18], eax
jb 0x401794
mov esi, dword [esi]
mov dword [esp + 0x20], esi
shr edi, 2
xor ebx, ebx
mov dword [esp + 0x14], edi
test edi, edi
je 0x4017f1
mov dword [esp + 0x24], esi
push ebx
call dword [sym.imp.ADVAPI32.dll_IsValidAcl]
push 4
lea eax, [esp + 0x28]
push esi
push eax
call fcn.00402e00
imul ecx, dword [esp + 0x30], 0x5bd1e991
add esp, 0xc
imul ebp, ebp, 0x5bd1e991
add esi, 4
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebp, eax
mov dword [esp + 0x24], eax
sub edi, 1
jne 0x4017a5
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
and eax, 3
sub eax, 1
je 0x401817
sub eax, 1
je 0x40180d
sub eax, 1
jne 0x401825
movsx ebx, byte [esi + edi*4 + 2]
shl ebx, 0x10
movsx eax, byte [esi + edi*4 + 1]
shl eax, 8
xor ebx, eax
movsx eax, byte [esi + edi*4]
xor eax, ebx
imul eax, eax, 0x5bd1e991
xor ebp, eax
mov eax, ebp
shr eax, 0xd
xor eax, ebp
imul ecx, eax, 0x5bd1e991
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add esp, 0xc
ret

Function at 0x402ac5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402b04
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402b04
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402b04
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402b04
cmp dword [ecx + 0x74], 0xe
jbe 0x402b04
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x409344
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41792c
push 0x417924
push str.FlsAlloc
push 0x1e
call fcn.004091c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409378
push dword [ebp + 8]
mov ecx, esi
call dword [0x415140]
call esi
jmp 0x40937e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4093c2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41793c
push 0x417934
push str.FlsGetValue
push 0x20
call fcn.004091c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4093f9
push dword [ebp + 8]
mov ecx, esi
call dword [0x415140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40c8e2
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40c97f
push ebx
push esi
call fcn.0040c8ab
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040c7f4
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40c92c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40c97e
push edi
push eax
call fcn.00409b60
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40c94c
call fcn.00409058
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40c97d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040c7f4
add esp, 0x20
test eax, eax
jne 0x40c96b
push edi
call fcn.00409058
jmp 0x40c973
push ebx
call fcn.00409058
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x414230
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41425d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41425d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x438c87
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
sub eax, edx
sub eax, 0xabb1cb06
add eax, 0x918ad94c
call fcn.00438cca
dec edx
xor dword [ebx], ecx
sub edx, eax
add ebx, 1
sub edx, 0xf7076200
sub edx, 1
cmp ebx, edi
jne fcn.00438c87
add eax, edx
add edx, eax
and eax, edx
ret
Function at 0x4030e0
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete dl
movzx edx, dl
inc edx
mov dword [esp], edx
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
Function at 0x44816d
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 0x44819b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4481b9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004480d7
jmp 0x4481b9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4481b9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004480d7
test edi, edi
mov eax, edi
jne 0x4481a3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x5727ec]
test ecx, ecx
je 0x44826c
jmp 0x44816c
ret 8

Function at 0x40ed5b
Capabilities:
Encode data using xor

Disassembly:
push 0x40eae0
pop edx
push 0xdb33816a
pop ecx
and eax, eax
call fcn.0040ed82
dec eax
xor dword [edi], edx
inc edi
or ecx, ecx
inc eax
cmp edi, esi
jne fcn.0040ed5b
add ecx, 0x7cf9c765
or ecx, ecx
ret
Function at 0x40b91a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
push ebx
mov edx, 0xa
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40b921
call fcn.004376a0
mov edx, dword [esp + 0x34]
lea ecx, [esp]
call fcn.00416060
mov edx, dword [esp + 0x38]
lea ecx, [esp + 4]
call fcn.00416060
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 8]
call fcn.00416060
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0xc]
call fcn.00416060
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x10]
call fcn.00416060
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x14]
call fcn.00416060
push 0
call sub.ole32.dll_CoInitialize
lea eax, [esp + 0x24]
push eax
mov ebp, 0x779993
push ebp
push 1
push 0
mov ebp, 0x779983
push ebp
call sub.ole32.dll_CoCreateInstance
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x18]
and ebx, ebx
jne 0x40ba7f
sub esp, 4
push dword [esp + 4]
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
push eax
pop eax
add esp, 4
sub esp, 4
push dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
push eax
pop eax
add esp, 4
sub esp, 4
push dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
push eax
pop eax
add esp, 4
sub esp, 4
push dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
push eax
pop eax
add esp, 4
sub esp, 4
push dword [esp + 0x50]
push dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
push eax
pop eax
add esp, 4
lea eax, [esp + 0x20]
push eax
mov ebp, 0x7799a3
push ebp
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax]
call dword [eax]
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x18]
and ebx, ebx
jne 0x40ba75
sub esp, 4
push 1
push dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
push eax
pop eax
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 8]
call sub.ole32.dll_CoUninitialize
mov eax, dword [esp + 0x18]
jmp 0x40ba8c
push dword [esp]
call fcn.00437700
push dword [esp + 4]
call fcn.00437700
push dword [esp + 0x14]
call fcn.00437700
push dword [esp + 0xc]
call fcn.00437700
push dword [esp + 0x1c]
call fcn.00437700
push dword [esp + 8]
call fcn.00437700
push dword [esp + 0x10]
call fcn.00437700
add esp, 0x28
pop ebx
pop ebp
ret 0x1c