joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b01b0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004a8cd1
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x48b543
xor al, al
jmp 0x48b66f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x48b565
xor al, al
jmp 0x48b66f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x48b578
xor al, al
jmp 0x48b66f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x48b58c
xor al, al
jmp 0x48b66f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.0049d0cb
test eax, eax
jne 0x48b5c0
xor al, al
jmp 0x48b66f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x4ddb94
mov dword [esp + 0x20], ebp
call fcn.004a8cd1
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004a5c26
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004a5c7d
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x48b654
mov ax, word [ebx]
test ax, ax
je 0x48b646
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.0048b690
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x48b62a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004a5c7d
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x48bbd0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.004a72d6
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x48bc16
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.0048d768
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x4f91dc
push ecx
call fcn.0048f1ed
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x4a11e9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a1221
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049f261
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049f239
jmp 0x4a122d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a29e5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a2a27
call fcn.004a8cd1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a2a27
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a2a1e
xor eax, eax
jmp 0x4a2a2f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a2a35
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a9201
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 0x4a922f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a924d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a9167
jmp 0x4a924d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a924d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a9167
test edi, edi
mov eax, edi
jne 0x4a9237
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x489d00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x53000]
push edi
jmp 0x489d1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x489d21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x489d10
mov eax, 1
add ebx, ebx
jne 0x489d33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x489d44
jne 0x489d63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x489d63
dec eax
add ebx, ebx
jne 0x489d50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x489d28
add ebx, ebx
jne 0x489d5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x489db5
xor ecx, ecx
sub eax, 3
jb 0x489d7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x489dea
sar eax, 1
mov ebp, eax
jmp 0x489d86
add ebx, ebx
jne 0x489d86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x489d54
inc ecx
add ebx, ebx
jne 0x489d94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x489d54
add ebx, ebx
jne 0x489da1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x489d96
jne 0x489db2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x489d96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x489dd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x489dc6
jmp 0x489d16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x489dd4
add edi, ecx
jmp 0x489d16
pop esi
mov edi, esi
mov ecx, 0x3132
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x489df2
cmp byte [edi], 0x19
jne 0x489df2
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 al, bl
loop 0x489df7
lea edi, [esi + 0x86000]
mov eax, dword [edi]
or eax, eax
je 0x489e6f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8c154]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8c26c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x489e24
mov ecx, edi
jns 0x489e53
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8c270]
or eax, eax
je 0x489e69
mov dword [ebx], eax
add ebx, 4
jmp 0x489e41
call dword [esi + 0x8c280]
mov ebp, dword [esi + 0x8c274]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x489ea3
sub esp, 0xffffff80
jmp 0x453cde

Function at 0x710c6f
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x7109ec
add edx, edx
or edx, edx
add edx, edx
call fcn.00710ca4
add edx, 0xcec618eb
add edx, 0x28f6a971
xor dword [esi], ecx
dec eax
inc esi
and edx, edx
cmp esi, ebx
jne fcn.00710c6f
add edx, eax
ret
Function at 0x402090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4020a9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4020e4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4020e0
lea ebx, [ebx]
cmp esi, eax
jae 0x4020e4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4020d0
cmp esi, eax
jb 0x4020ea
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402d20
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x18
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402d30
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402d46
push ebp
sub eax, edx
mov ebp, eax
lea eax, [esp + 0x10]
push eax
push 0
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x402e98
mov edx, dword [esp + 0x10]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
push str..UCIP
push edx
call ebx
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x402db3
mov eax, dword [esp + 0x10]
push 0xd
push str.YingUnInstall
push 1
push 0
push 0
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
push str.YingUnInstall
push eax
call ebx
test eax, eax
jne 0x402e8e
mov ecx, dword [esp + 0x10]
push 0xe
push str.Uninstall_File
push 1
push eax
push eax
push ecx
call esi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push str.DefaultIcon
push eax
call ebx
test eax, eax
jne 0x402e0b
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
push ebp
push ecx
push 1
push eax
push eax
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push str.Shell
push edx
call ebx
test eax, eax
jne 0x402e87
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push str.Open
push ecx
call ebx
test eax, eax
jne 0x402e80
mov edx, dword [esp + 0x18]
push eax
push 0x468780
push 1
push eax
push eax
push edx
call esi
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push str.Command
push ecx
call ebx
test eax, eax
jne 0x402e79
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push edx
push eax
push 2
push 0
push 0
push ecx
call esi
mov edx, dword [esp + 0x20]
push edx
call edi
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [esp + 0x1c]
push eax
call edi
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x18
ret
Function at 0x402ea0
Capabilities:
Check os version

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x402f4a
push 0x94
mov edi, 1
call fcn.00446d30
mov esi, eax
add esp, 4
test esi, esi
je 0x402fbf
push 0x94
push 0
push esi
call fcn.00446e00
add esp, 0xc
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x402f07
push esi
mov edi, 5
call fcn.00446c53
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 5
jne 0x402fb6
cmp dword [esi + 8], 0
jne 0x402f29
push esi
mov edi, 6
call fcn.00446c53
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 5
jne 0x402fb6
cmp dword [esi + 8], edi
jne 0x402fb6
push esi
mov edi, 7
call fcn.00446c53
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp al, 4
jae 0x402f53
pop edi
xor eax, eax
pop esi
ret
push 0x94
mov edi, 2
call fcn.00446d30
mov esi, eax
add esp, 4
test esi, esi
je 0x402fbf
push 0x94
push 0
push esi
call fcn.00446e00
add esp, 0xc
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x402fb6
cmp dword [esi + 8], 0xa
jne 0x402fa9
push esi
mov edi, 3
call fcn.00446c53
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 4
jne 0x402fb6
cmp dword [esi + 8], 0x5a
jne 0x402fb6
mov edi, eax
push esi
call fcn.00446c53
add esp, 4
mov eax, edi
pop edi
pop esi
ret

Function at 0x402fd0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
push esi
push edi
lea eax, [esp + 0x28]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp byte [esp + 0x28], 0
mov edi, dword [ebp + 0x10]
mov dword [edi], 0
lea esi, [esp + 0x28]
je 0x403099
mov ebx, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x40301f
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x403075
movsx ecx, byte [esi]
push ecx
call fcn.00446c2c
add esp, 4
cmp eax, 0x41
je 0x403075
movsx edx, byte [esi]
push edx
call fcn.00446c2c
mov ecx, dword [edi]
mov edx, dword [ebp + 8]
add esp, 4
mov byte [edx + ecx], al
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
shrd ecx, edx, 0x14
shr edx, 0x14
mov dword [ebx + eax*8], ecx
mov dword [ebx + eax*8 + 4], edx
add dword [edi], 1
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403080
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x403007
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x460888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
lea ecx, [esp + 8]
call fcn.0042bc7f
push 0
push 0
push 0
push str.DISPLAY
mov dword [esp + 0x30], 0
call dword [sym.imp.GDI32.dll_CreateICA]
push eax
lea ecx, [esp + 0xc]
call fcn.0042c17f
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push eax
call edi
mov ecx, dword [esp + 0x10]
push 0x5a
push ecx
mov esi, eax
call edi
cmp esi, 0x60
mov edi, eax
jne 0x403a1f
cmp edi, esi
jne 0x403a4c
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.0042c1e3
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
cmp esi, 0x78
jne 0x403a4c
cmp edi, esi
jne 0x403a4c
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.0042c1e3
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.0042c1e3
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x403a70
Capabilities:
Create process on windows
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4608a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
push esi
sub esp, 0xc
lea eax, [esp + 0x278]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
mov dword [esp + 0x274], 0
call fcn.00421d90
lea ecx, [esp + 0x24]
push ecx
call fcn.004035b0
mov eax, dword [eax + 4]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x18]
call fcn.00421ba0
mov edx, dword [esp + 0x270]
push edx
lea eax, [esp + 0x6c]
push 0x1f4
push eax
call fcn.00446a3e
push 0x44
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.00446e00
mov dx, word [esp + 0x290]
add esp, 0x18
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0x20
push 1
push 0
mov word [esp + 0x70], dx
push 0
lea edx, [esp + 0x88]
push edx
push 0
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x78], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x403b80
push eax
push str.Error
push str.Create_process_failed
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x26c]
mov dword [esp + 0x264], 0xffffffff
call fcn.00421ba0
mov eax, 0xbeb95
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop esi
add esp, 0x264
ret
mov eax, dword [esp + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 8]
lea ecx, [esp + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, dword [esp + 4]
lea ecx, [esp + 0x26c]
mov dword [esp + 0x264], 0xffffffff
call fcn.00421ba0
mov ecx, dword [esp + 0x25c]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x264
ret
Function at 0x403bd0
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4608c8
push eax
mov dword fs:[0], esp
sub esp, 0x708
push ebx
mov eax, dword [esp + 0x720]
push eax
lea ecx, [esp + 0x51c]
push 0x1f4
push ecx
call fcn.00446a3e
lea edx, [esp + 0x524]
push edx
lea eax, [esp + 0x334]
push 0x1f4
push eax
call fcn.00446a3e
lea eax, [esp + 0x33c]
add esp, 0x18
lea edx, [eax + 1]
xor ebx, ebx
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x403c30
sub eax, edx
cmp eax, 4
jge 0x403c6d
lea ecx, [esp + 0x71c]
mov dword [esp + 0x714], 0xffffffff
call fcn.00421ba0
pop ebx
mov ecx, dword [esp + 0x708]
mov dword fs:[0], ecx
add esp, 0x714
ret
mov cx, word [esp + 0x324]
mov dl, byte [esp + 0x326]
push ebp
push esi
push 0x468780
lea eax, [esp + 0x10]
push 0x12c
push eax
mov word [esp + 0x144], cx
mov byte [esp + 0x146], dl
mov byte [esp + 0x147], bl
xor esi, esi
call fcn.00446a3e
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
cmp byte [esp + 0x32f], bl
je 0x403d24
push edi
lea edi, [esp + 0x333]
mov al, byte [edi]
cmp al, 0x5c
jne 0x403d15
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x140]
push 0x1f4
push edx
mov byte [esp + esi + 0x1c], bl
call fcn.00446aa3
add esp, 0xc
push ebx
lea eax, [esp + 0x140]
push eax
call ebp
push 0x468a68
lea ecx, [esp + 0x140]
push 0x1f4
push ecx
call fcn.00446aa3
add esp, 0xc
xor esi, esi
mov byte [esp + 0x10], bl
jmp 0x403d1c
mov byte [esp + esi + 0x10], al
add esi, 1
add edi, 1
cmp byte [edi], bl
jne 0x403cc4
pop edi
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x13c]
push 0x1f4
push eax
mov byte [esp + esi + 0x18], bl
call fcn.00446aa3
add esp, 0xc
push ebx
lea ecx, [esp + 0x13c]
push ecx
call ebp
lea ecx, [esp + 0x724]
mov dword [esp + 0x71c], 0xffffffff
call fcn.00421ba0
mov ecx, dword [esp + 0x714]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x714
ret
Function at 0x403db0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4608e8
push eax
mov dword fs:[0], esp
sub esp, 0x904
mov eax, dword [esp + 0x918]
push eax
lea ecx, [esp + 0x714]
push 0x1f4
push ecx
call fcn.00446a3e
push 0x468cb4
lea edx, [esp + 0x720]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.00447589
add esp, 0x18
test eax, eax
jne 0x403faf
mov ecx, dword [esp]
push ecx
lea edx, [esp + 0xc]
push 0x1e0
push edx
call fcn.0044733e
mov eax, dword [esp + 0xc]
push eax
call fcn.0044730f
add esp, 0x10
test eax, eax
jne 0x403fa3
push ebx
push ebp
push esi
lea esi, [esp + 0x14]
sub esi, 2
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0x10]
push edi
xor ebx, ebx
jmp 0x403e54
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x18]
lea edx, [eax + 1]
jmp 0x403e60
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x403e60
sub eax, edx
mov byte [esi + eax], bl
mov edi, 0x468780
lea esi, [esp + 0x18]
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x403f76
cmp byte [esp + 0x18], 0x5b
jne 0x403ea1
lea eax, [esp + 0x18]
push eax
call fcn.00403300
add esp, 4
mov ebp, eax
jmp 0x403f76
cmp byte [esp + 0x19], 0x22
mov esi, 1
je 0x403eba
lea ecx, [ecx]
add esi, 1
cmp byte [esp + esi + 0x18], 0x22
jne 0x403eb0
lea ecx, [esi - 1]
push ecx
lea edx, [esp + 0x1d]
push edx
lea eax, [esp + 0x408]
push eax
call fcn.00446e80
lea eax, [esp + 0x24]
add esp, 0xc
mov byte [esp + esi + 0x3ff], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x403ee1
sub eax, edx
sub eax, esi
sub eax, 4
push eax
lea ecx, [esp + esi + 0x1f]
push ecx
lea edx, [esp + 0x214]
push edx
call fcn.00446e80
lea eax, [esp + 0x24]
add esp, 0xc
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x403f10
sub eax, ecx
sub eax, esi
mov byte [esp + eax + 0x208], bl
lea eax, [esp + 0x20c]
push eax
push 0x468cb0
lea ecx, [esp + 0x5fc]
push 0x12c
push ecx
call fcn.004472d4
lea eax, [esp + 0x21c]
add esp, 0x10
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x403f50
sub eax, ecx
push eax
lea edx, [esp + 0x5f8]
push edx
push 1
push ebx
lea eax, [esp + 0x410]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push 0x1e0
push edx
call fcn.0044733e
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044730f
add esp, 0x10
test eax, eax
je 0x403e50
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp]
push ecx
call fcn.00447258
add esp, 4
lea ecx, [esp + 0x914]
mov dword [esp + 0x90c], 0xffffffff
call fcn.00421ba0
mov ecx, dword [esp + 0x904]
mov dword fs:[0], ecx
add esp, 0x910
ret
Function at 0x404af0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x460aa1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov dword [esp + 4], 0
sub esp, 0xc
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x3c], 1
call fcn.00421d90
lea ecx, [esp + 0x18]
push ecx
call fcn.004036a0
add esp, 0x10
push 0x4924e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.00422220
sub esp, 0xc
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00421d90
lea eax, [esp + 0x24]
push eax
call fcn.00403760
add esp, 0x10
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call fcn.00422220
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call fcn.00421ba0
sub esp, 0xc
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00421d90
mov esi, dword [esp + 0x40]
push esi
call fcn.00404300
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 1
call fcn.00421ba0
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0
call fcn.00421ba0
mov ecx, dword [esp + 0x24]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret