joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d089
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4504c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20
pop ecx
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov ebx, dword [ebp + 0xc]
lea edi, [ebp - 0x88]
xor edx, edx
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsw word es:[edi], word [esi]
mov esi, dword [ebp + 8]
movzx eax, byte [ecx + esi]
inc ecx
mov dword [ebp - 0x8c], eax
cmp ecx, 8
jae 0x40d0d2
movzx edi, byte [ecx + esi]
inc ecx
jmp 0x40d0d4
xor edi, edi
cmp ecx, 8
jae 0x40d0ec
movzx eax, byte [ecx + esi]
inc ecx
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x8c]
jmp 0x40d0f3
and dword [ebp - 0x90], 0
shr eax, 2
mov ax, word [ebp + eax*2 - 0x88]
mov word [ebx + edx*2], ax
mov eax, dword [ebp - 0x8c]
and eax, 3
shl eax, 4
mov dword [ebp - 0x8c], eax
mov eax, edi
shr eax, 4
and edi, 0xf
or dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
shl edi, 2
mov ax, word [ebp + eax*2 - 0x88]
mov word [ebx + edx*2 + 2], ax
mov eax, dword [ebp - 0x90]
shr eax, 6
or edi, eax
mov ax, word [ebp + edi*2 - 0x88]
mov word [ebx + edx*2 + 4], ax
mov eax, dword [ebp - 0x90]
and eax, 0x3f
mov ax, word [ebp + eax*2 - 0x88]
mov word [ebx + edx*2 + 6], ax
add edx, 4
cmp ecx, 8
jb 0x40d0bb
mov ecx, dword [ebp - 4]
push 0x3d
pop eax
mov word [ebx + edx*2 - 2], ax
xor ecx, ebp
xor eax, eax
pop edi
mov word [ebx + edx*2], ax
mov al, 1
pop esi
pop ebx
call fcn.0041eeb4
leave
ret

Function at 0x40f4f8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push eax
push eax
push eax
push 0x40f5c0
push eax
push eax
mov dword [0x450004], ebx
mov dword [0x45000c], edi
mov dword [0x450008], esi
mov dword [0x45001c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp + 0x14]
push edi
push esi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x419445
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x43a8bd
call fcn.0041ef67
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [esi + 0x1c]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 8]
test ebx, ebx
jle 0x41954f
cmp ebx, dword [esi + 0xc]
jge 0x41954f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x41949c
cmp ebx, dword [edi + 8]
jl 0x41953d
cmp dword [ebp + 0xc], 0
je 0x41953d
xor ebx, ebx
jmp 0x4194d6
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call fcn.004190d2
mov edi, eax
test edi, edi
je 0x4194b6
mov dword [edi], vtable.CThreadData.0
jmp 0x4194b8
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x14]
push edi
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.004193d8
mov ecx, dword [esi + 0x14]
mov dword [eax], ecx
mov dword [esi + 0x14], edi
mov esi, dword [ebp - 0x14]
cmp dword [edi + 0xc], ebx
jne 0x4194f1
push 4
push dword [esi + 0xc]
call fcn.00410183
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x419509
push 2
push 4
push dword [esi + 0xc]
call fcn.00410183
pop ecx
pop ecx
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x419576
mov ecx, dword [edi + 8]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push ebx
push eax
call fcn.00420450
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [edi + 8], eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x41954f
cmp ebx, dword [edi + 8]
jge 0x41954f
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0041eec5
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0040fc5e
int3
Function at 0x40c150
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 8]
test eax, eax
je 0x40c254
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x40c1f5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x40c1dc
mov byte [ebp - 1], 0
lea eax, [ebp - 1]
push eax
push 1
push 0x101e
push 0x7a6e
push 0x3b1d
push 1
push 0x27eb
push 0x695e
push 1
push 0x2072
call fcn.0040af6f
add esp, 0x28
jmp 0x40c1f3
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x40c252
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x40c22b
push 0
push 0x1ce
push 0
push 0
push 0x1227
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x40c252
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 8], eax
jmp 0x40c268
push 0x169
push 0
push 0x1d8f
call fcn.004088d6
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x411d6e
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x411efc
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x411e83
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x411e39
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x411e1a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x411e37
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x3c]
call fcn.00434a1c
mov dword [eax], 7
jmp 0x411e0f
jmp 0x411e81
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x411e67
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x411e81
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.00434a1c
or dword [eax], 0xffffffff
jmp 0x411e5c
jmp 0x411efa
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x411ee9
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x411ecd
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 1
jge 0x411ee7
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x74]
call fcn.00434a1c
and dword [eax], 0
jmp 0x411ec2
jmp 0x411efa
push 0x1dff
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
jmp 0x411f04
push 0
call fcn.00421827
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x413e1f
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x413eca
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x413e76
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x18]
push 0x719
call fcn.00413f0f
add esp, 0x10
jmp 0x413ec8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x413ec2
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x413ec0
push 0x3820
push 1
push 1
push 0x4d58
push 0x57e4
push 0x45e3
push 1
push 0x26a7
push 0x4d78
push 1
call fcn.0040d782
add esp, 0x28
jmp 0x413ec8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x413f0b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
push 0x57e0
push 0x704e
push dword [ebp - 0x24]
push 0
push 1
push 0x7a95
push dword [ebp - 0x28]
push 0x634b
push 0x4d4c
push 0x32cf
push 0x2650
call fcn.004329a5
add esp, 0x2c
mov esp, ebp
pop ebp
ret
Function at 0x419992
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
movzx eax, byte [ebp + 0x38]
test eax, eax
je 0x419aa4
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x3c]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x419a70
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x419a4b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x419a2c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x419a49
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.00434a1c
mov dword [eax], 0x962e
jmp 0x419a21
jmp 0x419a6e
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x419a6e
push 0x149a
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x419aa2
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
push 0x1314
push 1
push 0x74c7
push 0x49e1
push dword [ebp - 0x48]
push 0x2180
push dword [ebp - 0x4c]
push 1
call fcn.00411703
add esp, 0x20
jmp 0x419aed
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push 1
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
call fcn.004107fe
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x41c820
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 0x3c]
test eax, eax
je 0x41c890
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 1
push dword [ebp - 0x20]
push 0x7d1d
call fcn.0041d503
add esp, 0x2c
jmp 0x41c934
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x41c909
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x41c8e5
push 0
push 0x21ec
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x41c907
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x41c934
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
push 0x788e
push 1
push 1
push 0x2f13
push dword [ebp - 0x54]
push 0x1ecf
push 0x70e0
push 0
call fcn.0040ab90
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x41d701
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x41d846
lea eax, [ebp + 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x41d795
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x41d783
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x41d781
push 0x218a
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41d790
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
jmp 0x41d844
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x41d7ca
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x41d844
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x41d844
push 0x5e53
push 0x6bd4
push 1
push 0x5908
push 0x5bb5
push 0x13c5
push 0x4003
push 0x7100
push 0x627b
push 0
push 0x48f5
push 0x4faa
push 0
push 1
push 0x64c6
push 0x1852
push 0x7563
push 1
push 1
push 0x1bdb
push 0x32c3
push 0x1720
call fcn.0041f07a
add esp, 0x58
jmp 0x41d8a0
lea eax, [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x41d87c
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
push 1
push 0x73e5
push dword [ebp - 0x50]
call fcn.004138f5
add esp, 0xc
jmp 0x41d8a0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
push 0x4b71
push 0
push 0x359c
push 1
push 0x4f40
call fcn.00410ad0
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x41fa6e
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x41fad3
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x41faac
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push 1
call fcn.0041fafb
pop ecx
pop ecx
jmp 0x41fad1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x41fac4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x41fad1
push 0x2410
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
jmp 0x41faf7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
push 0xa04
push 1
push 0x1faa
push 1
push dword [ebp - 0x18]
push 0x2d8d
call fcn.0041d53c
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x42ef0c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x42ef88
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x42ef40
push 1
call fcn.0042f08d
pop ecx
jmp 0x42ef83
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x30fd
push 0x5d9a
push 0x4e11
push dword [ebp - 0x1c]
push 0x4c88
push 1
push 0x2ce4
push 1
push 0x554f
push 0x20f
push dword [ebp - 0x20]
push 0
call fcn.0041ddc4
add esp, 0x30
jmp 0x42f089
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x42f075
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x42efc4
push 0x20a
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x42f073
mov dword [ebp - 8], 0xdb3ae355
mov dword [ebp - 4], 0xeb905d09
mov dword [ebp - 8], 0
jmp 0x42efe2
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffee
je 0x42f073
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0xc]
push eax
push 0
call fcn.0042eabe
pop ecx
pop ecx
cmp dword [ebp - 0xc], 0
je 0x42f03e
cmp dword [ebp - 4], 0
je 0x42f00e
jmp 0x42f073
push 1
push 0x3787
push 0x3f52
push 0x34c1
push 0x5d47
push 0x7833
push 1
push 0x28fe
push 0
push 0
call fcn.0042b117
add esp, 0x28
jmp 0x42f06e
mov dword [ebp - 4], 0
jmp 0x42f04e
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xe
je 0x42f06e
push 0
push 1
push 1
push 0x5eef
push 0xf7c
call fcn.00412924
add esp, 0x14
jmp 0x42f047
jmp 0x42efdb
jmp 0x42f089
push 0x4d47
push 0
push 0x65a4
call fcn.00429113
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x43203c
Capabilities:
Get file attributes
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x43208f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
push 1
push 0x22f4
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
push eax
push 0x613d
push 0x20e
push 0x75a7
push 0xe2c
push 0x344d
push 0x14ff
push dword [ebp - 0xc]
call fcn.0043210a
add esp, 0x28
jmp 0x432106
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x4320b5
push 0
call fcn.004218a5
pop ecx
jmp 0x432106
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x4320e1
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4320df
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x432106
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x432106
push 0
push 0x21ec
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esp, ebp
pop ebp
ret