joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1017b9b8
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 0x1017ba55
push ebx
push esi
call fcn.1017b981
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.1017a25f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1017ba02
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1017ba54
push edi
push eax
call fcn.1017406d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1017ba22
call fcn.10173dd9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1017ba53
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1017a25f
add esp, 0x20
test eax, eax
jne 0x1017ba41
push edi
call fcn.10173dd9
jmp 0x1017ba49
push ebx
call fcn.10173dd9
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 0x1017ba58
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1017ba69
pop esi
ret
push ebx
push edi
push esi
call fcn.1017b981
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1017406d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1017ba91
push ebx
push esi
push edi
call fcn.1015bcc0
add esp, 0xc
push 0
call fcn.10173dd9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1017be61
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1017baa6

Function at 0x1017ea5b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10172429
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1017eaca
cmp esi, dword [ebp - 4]
je 0x1017eac5
cmp dword [ebp + 0xc], 0
je 0x1017eac5
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1017eaa2
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1017e5ad
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1017eacc
xor eax, eax
inc eax
jmp 0x1017eacc
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1017eb31
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101e8e80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10172429
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10172429
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1017eba8
cmp word [ecx], dx
je 0x1017eba8
mov eax, dword [0x101c4d54]
push edi
dec eax
push eax
push 0x101c4c40
call fcn.1017ead0
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1017ec1b
cmp word [eax], dx
je 0x1017ec1b
mov eax, dword [edi]
test eax, eax
je 0x1017ebcc
cmp word [eax], dx
je 0x1017ebcc
lea eax, [ebp - 0x10]
push eax
call fcn.1017e4b3
jmp 0x1017ebd5
lea eax, [ebp - 0x10]
push eax
call fcn.1017e54e
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1017ec45
mov eax, dword [0x101c4c3c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x101c4930
call fcn.1017ead0
add esp, 0xc
test al, al
je 0x1017ec45
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1017ec10
cmp word [eax], di
je 0x1017ec10
lea eax, [ebp - 0x10]
push eax
call fcn.1017e4b3
pop ecx
jmp 0x1017ec47
lea eax, [ebp - 0x10]
push eax
call fcn.1017e54e
jmp 0x1017ec0d
mov eax, dword [edi]
test eax, eax
je 0x1017ec32
cmp word [eax], dx
je 0x1017ec32
lea eax, [ebp - 0x10]
push eax
call fcn.1017e468
pop ecx
jmp 0x1017ec45
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1017ed10
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1017e955
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1017ed10
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1017ed10
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1017ed10
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1017ec9d
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10177590
test ebx, ebx
je 0x1017ed0b
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10177590
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1017ed10
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1017ed10
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1016af3f
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1017ed12
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10158b77
leave
ret
Function at 0x10182f77
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10182ef3
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x101830e6
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x101830e6
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1018309b
jg 0x10182fd3
test eax, eax
je 0x10183091
push 1
push 0x1000
call fcn.10173ecf
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10182ff6
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10183088
push 0x8000
push ebx
call fcn.10182e24
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1018301f
jg 0x1018301a
cmp ecx, 0x1000
jb 0x1018301f
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.101760d9
add esp, 0x10
cmp eax, 0xffffffff
je 0x10183064
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1018301a
jl 0x1018304b
test ecx, ecx
jne 0x1018300c
push dword [ebp - 0xc]
push ebx
call fcn.10182e24
push esi
call fcn.10173dd9
add esp, 0xc
xor ebx, ebx
jmp 0x101830f4
cmp byte [edi + 0x24], 0
je 0x1018307b
cmp dword [edi + 0x20], 5
jne 0x1018307b
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10183086
mov ebx, dword [edi + 0x18]
jmp 0x10183088
xor ebx, ebx
push esi
call fcn.10173dd9
pop ecx
jmp 0x101830f4
test ecx, ecx
jg 0x1018305d
jl 0x1018309b
test eax, eax
jae 0x1018305d
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1017653b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x101830bb
cmp byte [edi + 0x1c], 0
je 0x1018305d
jmp 0x101830ec
push ebx
call fcn.1016f663
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1018305d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101830f4
cmp byte [edi + 0x1c], 0
je 0x101830f1
mov ebx, dword [edi + 0x18]
jmp 0x101830f4
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1017653b
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10183b30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10183b5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10183b5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x7048f241
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x70c8a018]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x70c8a018]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x7048f292
jmp 0x7048f2c3
jmp 0x7048f2f4
jmp 0x7048f325
jmp 0x7048f356
jmp 0x7048f387
jmp 0x7048f3b8
jmp 0x7048f3e9
jmp 0x7048f41a
jmp 0x7048f44b
jmp 0x7048f47c
jmp 0x7048f4ad
jmp 0x7048f4de
jmp 0x7048f50f
jmp 0x7048f540
jmp 0x7048f571
jmp 0x7048f5a2
mov dword [ebp - 0x14], 0
jmp 0x7048f5da
jmp 0x7048f60b
jmp 0x7048f63c
jmp 0x7048f66d
jmp 0x7048f69e
jmp 0x7048f6cf
jmp 0x7048f700
jmp 0x7048f731
jmp 0x7048f762
jmp 0x7048f793
jmp 0x7048f7c4
jmp 0x7048f7f5
jmp 0x7048f826
jmp 0x7048f857
jmp 0x7048f888
jmp 0x7048f8b9
jmp 0x7048f8ea
mov dword [ebp - 0x18], 0
jmp 0x7048f922
jmp 0x7048f953
jmp 0x7048f984
jmp 0x7048f9b5
jmp 0x7048f9e6
jmp 0x7048fa17
jmp 0x7048fa48
jmp 0x7048fa79
jmp 0x7048faaa
jmp 0x7048fadb
jmp 0x7048fb0c
jmp 0x7048fb3d
jmp 0x7048fb6e
jmp 0x7048fb9f
jmp 0x7048fbd0
jmp 0x7048fc01
jmp 0x7048fc32
mov dword [ebp - 0x10], 0
jmp 0x7048fc6a
jmp 0x7048fc9b
jmp 0x7048fccc
jmp 0x7048fcfd
jmp 0x7048fd2e
jmp 0x7048fd5f
jmp 0x7048fd90
jmp 0x7048fdc1
jmp 0x7048fdf2
jmp 0x7048fe23
jmp 0x7048fe54
jmp 0x7048fe85
jmp 0x7048feb6
jmp 0x7048fee7
jmp 0x7048ff18
jmp 0x7048ff49
jmp 0x7048ff7a
mov dword [ebp - 0x10], 0
jmp 0x70491013
jmp 0x7048ffb7
jmp 0x7048ffe8
jmp 0x70490019
jmp 0x7049004a
jmp 0x7049007b
jmp 0x704900ac
jmp 0x704900dd
jmp 0x7049010e
jmp 0x7049013f
jmp 0x70490170
jmp 0x704901a1
jmp 0x704901d2
jmp 0x70490203
jmp 0x70490234
jmp 0x70490265
jmp 0x70490296
jmp 0x704902c7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x70c8a014]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x70490309
jmp 0x7049033a
jmp 0x7049036b
jmp 0x7049039c
jmp 0x704903cd
jmp 0x704903fe
jmp 0x7049042f
jmp 0x70490460
jmp 0x70490491
jmp 0x704904c2
jmp 0x704904f3
jmp 0x70490524
jmp 0x70490555
jmp 0x70490586
jmp 0x704905b7
jmp 0x704905e8
jmp 0x70490619
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [0x70c8a01c]
add eax, edx
mov dword [ebp - 0x18], eax
jmp 0x7049065b
jmp 0x7049068c
jmp 0x704906bd
jmp 0x704906ee
jmp 0x7049071f
jmp 0x70490750
jmp 0x70490781
jmp 0x704907b2
jmp 0x704907e3
jmp 0x70490814
jmp 0x70490845
jmp 0x70490876
jmp 0x704908a7
jmp 0x704908d8
jmp 0x70490909
jmp 0x7049093a
jmp 0x7049096b
mov eax, dword [0x70c8a008]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [esp], edx
call eax
jmp 0x704909ba
jmp 0x704909eb
jmp 0x70490a1c
jmp 0x70490a4d
jmp 0x70490a7e
jmp 0x70490aaf
jmp 0x70490ae0
jmp fcn.70490b11
mov eax, dword [0x70c8a018]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x7048ff86
nop
leave
ret
Function at 0x40788b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00406579
and dword [ebp - 0x14], 0
cmp dword [0x43a498], 0
mov dword [ebp - 0x18], eax
jne 0x40793e
push 0x401e7c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4079e6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401e70
push ebx
call edi
test eax, eax
je 0x4079e6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x401e60
push ebx
mov dword [0x43a498], eax
call edi
push eax
call esi
push 0x401e4c
push ebx
mov dword [0x43a49c], eax
call edi
push eax
call esi
push 0x401e30
push ebx
mov dword [0x43a4a0], eax
call edi
push eax
call esi
mov dword [0x43a4a8], eax
test eax, eax
je 0x40793e
push 0x401e18
push ebx
call edi
push eax
call esi
mov dword [0x43a4a4], eax
mov eax, dword [0x43a4a4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407997
cmp dword [0x43a4a8], ecx
je 0x407997
push eax
call esi
push dword [0x43a4a8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407997
test ebx, ebx
je 0x407997
call edi
test eax, eax
je 0x40798e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40798e
test byte [ebp - 8], 1
jne 0x407997
or dword [ebp + 0x10], 0x200000
jmp 0x4079ca
mov eax, dword [0x43a49c]
cmp eax, dword [ebp - 0x18]
je 0x4079ca
push eax
call esi
test eax, eax
je 0x4079ca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4079ca
mov eax, dword [0x43a4a0]
cmp eax, dword [ebp - 0x18]
je 0x4079ca
push eax
call esi
test eax, eax
je 0x4079ca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43a498]
call esi
test eax, eax
je 0x4079e6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4079e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407c05
leave
ret

Function at 0x407c05
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417400]
jne 0x407c0f
repz ret
jmp fcn.0040bc4c
Function at 0x414a00
Capabilities:
Access the windows event log
Connect pipe
Delete directory
Delete file
Get common file path
Get uefi variable
Read pipe
Write pipe

Disassembly:
mov eax, 0x1004
call fcn.0040eef0
cmp dword [0x2b6401c], 0x37
jne 0x414acc
push 0x4035a8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
push 0
lea eax, [esp + 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0
lea ecx, [esp + 4]
push ecx
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x40356c
push 0x403594
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0x403628
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
lea eax, [esp + 0x408]
push eax
push 0x403644
push 0x403670
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDevicePowerState]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push 0
lea ecx, [esp + 0xc08]
push ecx
push 0x4036bc
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov edx, dword [0x2b64430]
mov ecx, dword [0x2b63b00]
mov al, byte [edx + esi + 0x38d6]
mov byte [ecx + esi], al
add esp, 0x1004
ret
Function at 0x415150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x2b6401c]
sub esp, 0x884
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetDateFormatW]
mov ebp, 0x2443831
cmp eax, 0x47
jne 0x4151d6
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x403978
mov dword [esp + 0x6c], 0
call esi
xor eax, eax
push eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov word [esp + 0x62], ax
lea eax, [esp + 0x94]
push eax
push 0x4039b8
xor edx, edx
lea ecx, [esp + 0x5c]
push ecx
push edx
push edx
mov word [esp + 0x68], dx
call edi
dec ebp
mov eax, dword [0x439b60]
mov dword [0x2b6401c], eax
jne 0x415175
mov dword [esp + 0x20], 0x764d11c7
mov dword [esp + 0x4c], 0x26b44f20
mov dword [esp + 0x24], 0x1f33c7de
mov dword [esp + 0x10], 0x2e56cff9
mov dword [esp + 0x28], 0x6cde8df8
mov dword [esp + 0x14], 0x796abd53
mov dword [esp + 0x34], 0x3ce56ad4
mov dword [esp + 0x1c], 0x581868fc
mov dword [esp + 0x18], 0xc596c70
mov dword [esp + 0x3c], 0x6d5e9115
mov dword [esp + 0x30], 0x22f372d9
mov dword [esp + 0x40], 0x2ad541d0
mov dword [esp + 0x38], 0x7a5f7c43
mov dword [esp + 0x2c], 0x28d520e
mov dword [esp + 0x48], 0x73f3bc07
mov dword [esp + 0x44], 0x51f578e1
add dword [esp + 0x4c], 0x73e38130
mov eax, 0x3a9c3a87
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], 0x6b053f58
add dword [esp + 0x20], 0x2818faf9
add dword [esp + 0x4c], 0x3ab2fc3
sub dword [esp + 0x20], 0x30ad2d47
sub dword [esp + 0x20], 0x4442fc9b
sub dword [esp + 0x28], 0x2285667
add dword [esp + 0x4c], 0x262c99c6
sub dword [esp + 0x14], 0x4dc74448
mov eax, 0x53cf4e1b
mul dword [esp + 0x24]
mov eax, dword [esp + 0x24]
add dword [esp + 0x24], 0x1b067f32
mov eax, 0x67698c83
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x28], 0x7674af1e
mov eax, 0x173863dd
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, 0x3d786fdd
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov eax, 0x38471b91
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, 0x45f07edf
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x18], 0x6fea1ecd
sub dword [esp + 0x34], 0x32f1f16e
add dword [esp + 0x34], 0x6e380599
sub dword [esp + 0x18], 0x3ca08c1e
add dword [esp + 0x30], 0x154e8e1
add dword [esp + 0x14], 0x53bb032d
sub dword [esp + 0x14], 0x11166d6c
sub dword [esp + 0x18], 0x2a6a1594
add dword [esp + 0x14], 0x4fb1fe05
mov eax, 0x4b3ce8e6
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
add dword [esp + 0x3c], 0x1bc84bb6
sub dword [esp + 0x30], 0x687c0c2b
add dword [esp + 0x48], 0x36e578c2
sub dword [esp + 0x10], 0x7b5e58ec
mov eax, 0x38d0a1fb
mul dword [esp + 0x48]
mov eax, dword [esp + 0x48]
sub dword [esp + 0x40], 0x15793cf4
mov edx, dword [0x439b54]
mov dword [0x2b64430], edx
call fcn.00414d60
pop edi
xor eax, eax
pop esi
pop ebp
mov esp, ebp
pop ebp
ret 0x10
Function at 0x407feb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417400]
jne 0x407ff5
repz ret
jmp fcn.0040dc77

Function at 0x40adfc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00406409
and dword [ebp - 0x14], 0
cmp dword [0x448ff4], 0
mov dword [ebp - 0x18], eax
jne 0x40aeaf
push 0x402228
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40af57
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40221c
push ebx
call edi
test eax, eax
je 0x40af57
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40220c
push ebx
mov dword [0x448ff4], eax
call edi
push eax
call esi
push 0x4021f8
push ebx
mov dword [0x448ff8], eax
call edi
push eax
call esi
push 0x4021dc
push ebx
mov dword [0x448ffc], eax
call edi
push eax
call esi
mov dword [0x449004], eax
test eax, eax
je 0x40aeaf
push 0x4021c4
push ebx
call edi
push eax
call esi
mov dword [0x449000], eax
mov eax, dword [0x449000]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40af08
cmp dword [0x449004], ecx
je 0x40af08
push eax
call esi
push dword [0x449004]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40af08
test ebx, ebx
je 0x40af08
call edi
test eax, eax
je 0x40aeff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40aeff
test byte [ebp - 8], 1
jne 0x40af08
or dword [ebp + 0x10], 0x200000
jmp 0x40af3b
mov eax, dword [0x448ff8]
cmp eax, dword [ebp - 0x18]
je 0x40af3b
push eax
call esi
test eax, eax
je 0x40af3b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40af3b
mov eax, dword [0x448ffc]
cmp eax, dword [ebp - 0x18]
je 0x40af3b
push eax
call esi
test eax, eax
je 0x40af3b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x448ff4]
call esi
test eax, eax
je 0x40af57
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40af59
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407feb
leave
ret
Function at 0x414780
Capabilities:
Connect pipe
Delete directory
Delete file
Get common file path
Manipulate console buffer
Read pipe
Write pipe

Disassembly:
mov eax, 0x1414
call fcn.0040eb50
cmp dword [0x7f8ad4], 0x37
jne 0x414844
push 0x403430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
push 0
lea eax, [esp + 0xc18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0
lea ecx, [esp + 8]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x818]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x403440
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTapePosition]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push 0
lea edx, [esp + 0x418]
push edx
push 0x403454
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov eax, dword [0x7f8ee8]
mov edx, dword [0x7f85b8]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1414
ret