joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403090
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov eax, dword [0x4170b4]
push ebx
push ebp
push esi
push edi
push eax
call fcn.0040723b
mov ecx, dword [0x4170b0]
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call fcn.0040723b
mov ecx, eax
mov eax, dword [0x4170b8]
add esp, 8
xor ebp, ebp
xor ebx, ebx
test eax, eax
jbe 0x4030f4
mov eax, ecx
sub eax, edi
mov dword [esp + 0x10], eax
jmp 0x4030d4
mov eax, dword [esp + 0x10]
lea esi, [ebx + edi]
mov byte [eax + esi], bl
mov eax, ebx
cdq
idiv dword [esp + 0x28]
mov eax, dword [esp + 0x24]
inc ebx
mov dl, byte [edx + eax]
mov byte [esi], dl
mov eax, dword [0x4170b8]
cmp ebx, eax
jb 0x4030d0
mov eax, dword [0x4170bc]
xor esi, esi
test eax, eax
jbe 0x403141
mov eax, dword [esp + 0x14]
mov edi, ecx
sub eax, ecx
mov dword [esp + 0x28], eax
jmp 0x403111
mov eax, dword [esp + 0x28]
mov bl, byte [edi]
xor edx, edx
mov dl, byte [eax + edi]
mov eax, ebx
and eax, 0xff
add ebp, edx
add eax, ebp
xor edx, edx
div dword [0x4170c0]
inc esi
inc edi
mov ebp, edx
mov al, byte [ecx + ebp]
mov byte [ecx + ebp], bl
mov byte [edi - 1], al
mov eax, dword [0x4170bc]
cmp esi, eax
jb 0x40310d
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
jle 0x4031b6
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
sub ebp, ebx
mov dword [esp + 0x28], eax
lea eax, [esi + 1]
xor edx, edx
div dword [0x4170c4]
xor eax, eax
mov esi, edx
xor edx, edx
mov al, byte [esi + ecx]
add eax, edi
div dword [0x4170c8]
mov edi, edx
mov dl, byte [esi + ecx]
mov al, byte [edi + ecx]
mov byte [edi + ecx], dl
mov byte [esp + 0x24], al
mov byte [esi + ecx], al
mov edx, dword [esp + 0x24]
xor eax, eax
mov al, byte [edi + ecx]
and edx, 0xff
add eax, edx
xor edx, edx
div dword [0x4170cc]
mov al, byte [edx + ecx]
mov dl, byte [ebx + ebp]
xor al, dl
mov byte [ebx], al
mov eax, dword [esp + 0x28]
inc ebx
dec eax
mov dword [esp + 0x28], eax
jne 0x403159
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x403320
Capabilities:
Terminate process

Disassembly:
sub esp, 0x5c
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.004032d0
test eax, eax
jne 0x403349
push 0xfff43714
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 0x1cf24
mov dword [0x4170b0], eax
mov dword [0x4170b4], eax
mov dword [0x4170b8], eax
mov dword [0x4170bc], eax
mov dword [0x4170c0], eax
mov dword [0x4170c4], eax
mov dword [0x4170c8], eax
mov dword [0x4170cc], eax
push ebx
push esi
push edi
mov ecx, 0x15
mov esi, str.JeSPcCsCqEip_RduQx9yYZwy7r3cT3YUZjxa71aS6YkxeD8M_VtbyH4ONwQ5vjFXc2pb1k_WLmpi
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
call fcn.00403260
test eax, eax
je 0x40349e
lea eax, [esp + 0xc]
push eax
push 0x2096
call fcn.004031c0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40349e
mov ecx, dword [0x4170a8]
mov edx, dword [str.pbFyo2muz3BgFJp4KclnGhflDBszeRMVyEEEdM7QfPvLROLp05oLqSCvT]
push ecx
push edx
call fcn.00402e60
mov ecx, dword [str.pbFyo2muz3BgFJp4KclnGhflDBszeRMVyEEEdM7QfPvLROLp05oLqSCvT]
mov esi, eax
mov eax, dword [0x4170a8]
add esi, 0x1d195544
push eax
push ecx
call fcn.00402e60
mov edx, dword [0x4170a8]
mov edi, eax
mov eax, dword [str.pbFyo2muz3BgFJp4KclnGhflDBszeRMVyEEEdM7QfPvLROLp05oLqSCvT]
push edx
push eax
add edi, 0x1d197504
call fcn.00402e60
add esp, 0x18
add eax, 0x1d196504
or eax, edi
lea ecx, [esp + 0xc]
push esi
push eax
push ecx
lea edx, [esp + 0x1c]
push 0
push edx
push 0xffffffffffffffff
call dword [0x418ecc]
test eax, eax
jl 0x403437
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push 0x54
push ecx
push edx
push ebx
call fcn.00403090
add esp, 0x14
call dword [esp + 0x10]
mov esi, dword [esp + 0x74]
push esi
call fcn.00414250
push str.reglagesepare
push esi
call fcn.004072d0
add esp, 0xc
neg eax
sbb eax, eax
neg eax
mov dword [0x419124], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0xb4aeb5
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [0x4190f8], eax
push 0x6e
mov eax, dword [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [0x419110]
push 0
push 0x401480
push 0
push 0x65
push ecx
mov dword [0x418f54], eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x5c
ret 0x10
Function at 0x40c9fd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x418030
cmp edx, dword [eax]
je 0x40ca1f
add eax, 8
inc ecx
cmp eax, 0x4180c0
jl 0x40ca10
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x418030]
jne 0x40cb4d
mov eax, dword [0x41964c]
cmp eax, 1
je 0x40cb27
test eax, eax
jne 0x40ca50
cmp dword [0x4176f4], 1
je 0x40cb27
cmp edx, 0xfc
je 0x40cb4d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40ca87
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040daa0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004083e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40caca
lea eax, [ebp - 0x1a4]
push eax
call fcn.004083e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x415784
push edi
call fcn.0040e830
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040daa0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040dab0
lea eax, [ebp - 0xa0]
push 0x415764
push eax
call fcn.0040dab0
push dword [esi + 0x418034]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040dab0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00410321
add esp, 0x2c
pop edi
jmp 0x40cb4d
lea eax, [ebp + 8]
lea esi, [esi + 0x418034]
push 0
push eax
push dword [esi]
call fcn.004083e0
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 0x100011b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp method.CDialog.virtual_312
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x1000ad3b
cmp dword [edi + 0x54], 0
jne 0x1000ad3b
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.1001b132
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1000ace2
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x10001220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10047532
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x1005b8f0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0
call fcn.10009775
add esp, 4
push str.Local_AppWizard_Generated_Applications
mov ecx, esi
call fcn.10008991
push 4
mov ecx, esi
call fcn.1000634c
push 0x6c
call fcn.100060aa
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x38], 0
je 0x1000129c
push 0x1004fc94
push 0x1004fe7c
push 0x1004fba0
push 0x83
mov ecx, eax
call fcn.10007a33
jmp 0x1000129e
xor eax, eax
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0xffffffff
call fcn.10008537
lea ecx, [esp + 0xc]
call fcn.100070bd
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x3c], 1
call fcn.100063d2
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.100083b9
test eax, eax
jne 0x100012ff
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.100070fc
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
mov ecx, dword [esi + 0x20]
push 5
call fcn.10010baf
mov esi, dword [esi + 0x20]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.100070fc
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x1000942d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x10009473
call fcn.1001b132
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10009473
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x100094b6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x1000949f
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x1000949f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x100094b3
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1000ecda
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x1000ed13
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1000ec9d
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10008583
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x10010971
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x100109b4
call fcn.1001b132
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x100109b4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x100109cf
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.10010528
test ebx, ebx
mov esi, eax
je 0x100109cd
test edi, edi
je 0x100109cd
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x100110c9
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x100457b6
call fcn.10032c9a
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x100110ee
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1001113a
call fcn.10012698
push eax
lea ecx, [ebp - 0x10]
call fcn.10001a20
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10008ebe
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10001580
mov eax, esi
call fcn.10032d72
ret 8

Function at 0x10019307
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.1001b132
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x10019332
xor eax, eax
jmp 0x100193d6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x1001932b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1001932b
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100060aa
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x10019387
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x10019376
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.10018136
push edi
mov ebx, eax
call fcn.100060d5
test ebx, ebx
pop ecx
je 0x100193c9
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.100187f0
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.100188a2
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4
Function at 0x100318e6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1005b8f0]
jne 0x100318f0
repz ret
jmp fcn.100365ea

Function at 0x1003f25a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1003784f
xor ebx, ebx
cmp dword [0x1005f688], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1003f32f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1003f29a
xor eax, eax
jmp 0x1003f3f3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1004dfb0
push edi
call esi
cmp eax, ebx
je 0x1003f293
push eax
call fcn.100377ec
mov dword [esp], 0x1004dfa0
push edi
mov dword [0x1005f688], eax
call esi
push eax
call fcn.100377ec
mov dword [esp], 0x1004df8c
push edi
mov dword [0x1005f68c], eax
call esi
push eax
call fcn.100377ec
mov dword [0x1005f690], eax
lea eax, [ebp - 8]
push eax
call fcn.10032e4d
test eax, eax
pop ecx
pop ecx
je 0x1003f2fd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100374f3
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1003f32f
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.100377ec
cmp eax, ebx
pop ecx
mov dword [0x1005f698], eax
je 0x1003f32f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100377ec
pop ecx
mov dword [0x1005f694], eax
mov eax, dword [0x1005f694]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1003f3a8
cmp dword [0x1005f698], esi
je 0x1003f3a8
push eax
call fcn.10037858
pop ecx
call eax
cmp eax, ebx
je 0x1003f375
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x1005f698]
call fcn.10037858
pop ecx
call eax
test eax, eax
je 0x1003f375
test byte [ebp - 0x18], 1
jne 0x1003f3a8
lea eax, [ebp - 0xc]
push eax
call fcn.10032e84
test eax, eax
pop ecx
je 0x1003f390
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100374f3
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1003f39f
or dword [ebp + 0x10], 0x200000
jmp 0x1003f3d9
or dword [ebp + 0x10], 0x40000
jmp 0x1003f3d9
mov eax, dword [0x1005f68c]
cmp eax, esi
je 0x1003f3d9
push eax
call fcn.10037858
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1003f3d9
mov eax, dword [0x1005f690]
cmp eax, esi
je 0x1003f3d9
push dword [ebp - 4]
push eax
call fcn.10037858
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x1005f688]
call fcn.10037858
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40132e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], 0xf6d
cmp dword [ebp - 0x18], 0x22bc
jle 0x40138a
jae 0x401358
xchg esp, eax
add ebp, esi
insd dword es:[edi], dx
imul ebx, dword [ebp - 0x39], 0xef02944e
movsb byte es:[edi], byte [esi]
jnp 0x4013c3
inc byte [edx + ebx*2 + 0x6d]
insd dword es:[edi], dx
and dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x1f
jmp 0x40139e
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x4014ff
mov dword [ebp - 0x1c], 0x106
cmp dword [ebp - 0x1c], 0x1652
jle 0x401489
lcall 0x6c5f, 0x56b468b7
test dword [esi + ebx*4 + 0x64a75f98], 0x5f417c16
push 0x41
pop ecx
inc ebx
fsub dword [edi - 0x14cece87]
in eax, 0xbd
lahf
clc
shr byte [edx], 1
dec edi
xor al, 0x53
invalid
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
shl eax, cl
and eax, dword [ebp + 8]
je 0x40149c
mov byte [ebp - 1], 1
jmp 0x4014a0
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 3], al
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
shl eax, cl
and eax, dword [ebp + 0xc]
je 0x4014b9
mov byte [ebp - 2], 1
jmp 0x4014bd
mov byte [ebp - 2], 0
mov al, byte [ebp - 2]
mov byte [ebp - 4], al
movzx eax, byte [ebp - 3]
movzx ecx, byte [ebp - 4]
and eax, ecx
je 0x4014d5
and dword [ebp - 0x14], 0
jmp 0x4014e2
movzx eax, byte [ebp - 3]
movzx ecx, byte [ebp - 4]
or eax, ecx
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 0x14]
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x10]
shl eax, 1
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 5]
or eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
jmp 0x401397
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x41d038
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41d080
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
push 0x5728
push 0
push 1
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
push eax
push 0x47bd
push dword [ebp - 0x10]
call fcn.0041db3e
add esp, 0x1c
jmp 0x41d1c1
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x41d191
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x41d153
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x41d140
and dword [ebp - 4], 0
jmp 0x41d0e9
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x103c
jge 0x41d13e
push 0x70f4
push 1
push 0
lea eax, [ebp - 4]
push eax
push 0x578d
push 0x4996
push 0x7c82
push 0x73bc
push 1
push 0x6083
push 1
push 1
push 0x5610
push 0x1806
push 0x5153
push 1
push 0x11fe
call fcn.00429d80
add esp, 0x44
jmp 0x41d0e2
jmp 0x41d151
push 0xb7d
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
jmp 0x41d18f
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
push 1
push 0x4470
push 0x1409
push dword [ebp - 0x34]
push 0
push 0x7855
push 0x3990
push 1
push 0x4f3c
push 0x5581
push 0x5ff4
push 1
call fcn.004163c6
add esp, 0x30
jmp 0x41d1c1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
push 0x38fb
push dword [ebp - 0x3c]
push 0
push 1
push 0x1c73
push 0x6029
push 0x6e9f
push 1
push 0x5f56
call fcn.00407d40
add esp, 0x24
mov esp, ebp
pop ebp
ret
Function at 0x4330a5
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x4330d0
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 8], eax
push 0x1d7c
push 0
push dword [ebp - 8]
call fcn.00436f9a
add esp, 0xc
jmp 0x43320d
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x4331bd
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x4331ac
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x43316a
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], 9
jne 0x4331aa
push dword [ebp - 0x3c]
push 1
push 0x318c
push 1
push 0xa1d
push 1
push 0x2de8
push 0x3ad5
push 1
push 0x5970
push dword [ebp - 0x40]
push 0x6b87
push 0
call fcn.004420a7
add esp, 0x34
jmp 0x43315f
jmp 0x4331bb
push 0x22c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x43320d
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x4331e3
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
jmp 0x43320d
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
movzx eax, word [eax]
and eax, 0xfff
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x434f4c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 8]
test eax, eax
je 0x434fe9
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x434fcf
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x434fc5
mov dword [ebp - 0x20], 0x7862fd41
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x434fa8
push 0x1de5
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x434fc3
push 0
push 0x1ac2
push 0
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
jmp 0x434fcd
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x434fe7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0
push 0x2212
push dword [ebp - 0x18]
call fcn.00436d15
add esp, 0xc
jmp 0x434ffb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
push 1
push dword [ebp - 0x1c]
call fcn.0043452c
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x435fa5
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x43605d
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x43600d
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x435ff3
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x43600b
mov byte [ebp - 1], 0
lea eax, [ebp - 1]
push eax
push 1
push 1
push 1
push 0
call fcn.00434cac
add esp, 0x14
jmp 0x43605b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 1
mov eax, dword [ebp - 0x1c]
push dword [eax]
push 0x117a
push 0x5047
push 0xba2
push 0xfbc
push 1
push 1
push 1
push 0x6ffc
push 0x2600
push dword [ebp - 0x20]
push 0x6d97
push 0x6b88
push 0
call fcn.00435888
add esp, 0x3c
jmp 0x43606b
push 0x38c5
push 0
call fcn.0042e1e4
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret