joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402840
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x402878
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x40286e
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x40287a
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x402860
xor eax, eax
pop ebx
pop esi
ret
Function at 0x418f10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420de0], ecx
add edx, 1
cmp edx, 0x100
jb 0x418f12
cmp edx, 0x800
jae 0x418ffb
mov edi, edi
mov eax, dword [edx*4 + 0x4209e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420de0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x420ddc], eax
jb 0x418fd0
mov dword [0x420dbc], 0x4196b0
call fcn.00419140
test eax, eax
jne 0x419018
mov dword [0x420dbc], 0x4195d0
ret

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40100e
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc2c
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
push esi
xor esi, esi
cmp dword [0x443d4c], 0xee
push edi
mov dword [ebp - 0xc], eax
jne 0x40103e
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPages]
mov eax, dword [0x4411e0]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4411e4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 0x9e3779b9
call fcn.00401007
mov eax, dword [0x4411e8]
add dword [ebp - 4], 0xe0
mov dword [ebp - 0x20], eax
mov eax, dword [0x4411ec]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov edx, dword [0x443d4c]
mov edi, ebx
shl edi, 4
cmp edx, 0x4c3
jne 0x4010b7
push esi
push str.tefuhilucasapuwesahim
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
mov edx, dword [0x443d4c]
add edi, dword [ebp - 0x20]
cmp edx, 0xfa9
jne 0x4010cc
mov dword [0x443d48], 0xedeb2e40
cmp edx, 0x3eb
jne 0x4010da
mov dword [0x44282c], esi
mov eax, dword [ebp - 4]
add eax, ebx
push eax
mov eax, edi
mov dword [0x443d44], 0x9150ce2e
call fcn.00401000
mov ecx, dword [ebp - 8]
mov edi, eax
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x24]
xor edi, eax
cmp edx, 0x18f
jne 0x401157
lea eax, [ebp - 0x28]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push esi
push esi
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
lea eax, [ebp - 0xc2c]
push eax
push str.xoxifecifovanicibidomipo
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
push esi
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [0x443d4c]
sub dword [ebp - 0xc], edi
cmp edx, 0xc
jne 0x401166
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
and eax, 0x5dc052bb
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, ecx
push eax
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x14]
mov dword [0x442828], esi
call fcn.00401000
shr ecx, 5
add ecx, dword [ebp - 0x1c]
xor eax, ecx
sub ebx, eax
mov eax, dword [ebp - 0x18]
sub dword [ebp - 4], eax
dec dword [ebp - 0x10]
jne 0x40107e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [eax], ebx
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x4011b2
Capabilities:
Clear file content
Get uefi variable

Disassembly:
mov eax, dword [0x443d4c]
mov ecx, dword [0x44383c]
sub esp, 0x400
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x401219
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x443d4c], 0xae9
jne 0x40120b
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
lea eax, [esp + 0x10]
push eax
push str.lukewipebaxiki
push str.himotetihawexiburexewduron
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
push edi
call fcn.0040100e
add edi, 8
dec ebx
jne 0x4011d3
pop edi
pop ebx
pop esi
add esp, 0x400
ret
Function at 0x401767
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x1000
push dword [0x443d4c]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x44383c], eax
ret
Function at 0x40214d
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x44145c]
mov dword [0x443d4c], eax
cmp eax, 0xc
jne 0x4021ca
push esi
push edi
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push esi
push esi
push esi
push esi
call edi
push esi
push esi
push esi
push esi
call edi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
call dword [sym.imp.ole32.dll_CoRevokeMallocSpy]
push esi
call dword [sym.imp.KERNEL32.dll_SetSystemTime]
push esi
call fcn.004027d6
push esi
call fcn.00402465
push esi
call fcn.004021f4
push esi
push esi
push esi
call fcn.004026ed
push esi
call fcn.00402272
push esi
push esi
call fcn.004022b0
add esp, 0x24
push esi
call fcn.00402acd
pop edi
pop esi
mov eax, 0xb2d3b
add dword [0x443d4c], eax
call fcn.00401782
xor eax, eax
ret 0x10

Function at 0x405b4a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4405a8]
jne 0x405b54
repz ret
jmp fcn.00408f1f
Function at 0x407a96
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4405a8]
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.00403eef
and dword [ebp - 0x14], 0
cmp dword [0x44205c], 0
mov dword [ebp - 0x18], eax
jne 0x407b49
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407bf1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407bf1
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44205c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x442060], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x442064], eax
call edi
push eax
call esi
mov dword [0x44206c], eax
test eax, eax
je 0x407b49
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x442068], eax
mov eax, dword [0x442068]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407ba2
cmp dword [0x44206c], ecx
je 0x407ba2
push eax
call esi
push dword [0x44206c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407ba2
test ebx, ebx
je 0x407ba2
call edi
test eax, eax
je 0x407b99
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407b99
test byte [ebp - 8], 1
jne 0x407ba2
or dword [ebp + 0x10], 0x200000
jmp 0x407bd5
mov eax, dword [0x442060]
cmp eax, dword [ebp - 0x18]
je 0x407bd5
push eax
call esi
test eax, eax
je 0x407bd5
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407bd5
mov eax, dword [0x442064]
cmp eax, dword [ebp - 0x18]
je 0x407bd5
push eax
call esi
test eax, eax
je 0x407bd5
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44205c]
call esi
test eax, eax
je 0x407bf1
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407bf3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405b4a
leave
ret
Function at 0x352c70
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x3a3a30], 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
je 0x352ca3
cmp dword [0x3a3a2c], 0
jne 0x352d80
xor ebx, ebx
mov edi, dword fs:[ebx + 0x30]
mov edi, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edi, eax
add edi, dword [eax + 0x3c]
mov edx, dword [edi + 0x78]
add edx, eax
mov edi, dword [edx + 0x20]
add edi, eax
push ebp
mov ebp, ebx
mov esi, dword [edi + ebp*4]
add esi, eax
inc ebp
push ebx
push ecx
mov ecx, 0x64616f4e
sub ecx, 2
dec ecx
mov ebx, ecx
pop ecx
add ebx, 1
cmp dword [esi], ebx
pop ebx
jne 0x352cc8
push ebx
pushal
or ch, ch
sbb ax, 0x2a
popal
mov ebx, 0x41797262
sub ebx, 2
add ebx, 1
cmp dword [esi + 8], ebx
pop ebx
jne 0x352cc8
mov edi, dword [edx + 0x24]
add edi, eax
mov bp, word [edi + ebp*2]
mov edi, dword [edx + 0x1c]
add edi, eax
sub ebp, 1
mov edi, dword [edi + ebp*4]
add edi, eax
pop ebp
mov dword [0x3a3a30], edi
xor ebx, ebx
mov edi, dword fs:[ebx + 0x30]
mov edi, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edi, eax
add edi, dword [eax + 0x3c]
mov edx, dword [edi + 0x78]
add edx, eax
mov edi, dword [edx + 0x20]
add edi, eax
push ebp
mov ebp, ebx
mov esi, dword [edi + ebp*4]
add esi, eax
inc ebp
push eax
mov eax, 0x50746546
add eax, 1
cmp dword [esi], eax
pop eax
jne 0x352d40
push ebx
mov ebx, 0x73736571
add ebx, 1
cmp dword [esi + 0xa], ebx
pop ebx
jne 0x352d40
mov edi, dword [edx + 0x24]
add edi, eax
mov bp, word [edi + ebp*2]
mov edi, dword [edx + 0x1c]
add edi, eax
sub ebp, 1
mov edi, dword [edi + ebp*4]
add edi, eax
pop ebp
mov dword [0x3a3a2c], edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x3a3a30]
call eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x3a3a2c]
call eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x352e90
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3709c5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x37f01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x37ca34
call fcn.00351ce0
add esp, 4
push 0x3b9aca00
call fcn.0035bb5d
add esp, 4
test eax, eax
je 0x35301f
push 0x3b9aca00
push 0xd5
push eax
call fcn.00357440
add esp, 0xc
mov edx, 0x37ca14
mov ecx, 0x37ca3c
call fcn.00352c70
push 0x37ca50
mov edi, eax
call fcn.00351ce0
add esp, 4
mov edx, 0x37ca58
mov ecx, 0x37ca64
call fcn.00352c70
push 0
mov esi, eax
call edi
push eax
call esi
xor edx, edx
nop word [eax + eax]
mov eax, edx
and eax, 3
mov al, byte [eax + 0x37ca88]
xor byte [edx + 0x37fa80], al
inc edx
cmp edx, 0x22400
jb 0x352f30
push 4
call fcn.00355a5c
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], 0x3521b0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x352a80
push 0
push 0
call fcn.0035a451
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x35303d
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0
je 0x35304b
call fcn.003552d9
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
je 0x353052
push 0
push ecx
push dword [ebp - 0x1c]
call fcn.003552df
add esp, 0xc
test eax, eax
jne 0x353059
xorps xmm0, xmm0
xor edx, edx
movlpd qword [ebp - 0x1c], xmm0
nop dword [eax + eax]
mov eax, edx
and eax, 3
mov al, byte [eax + 0x37ca88]
xor byte [edx + 0x3a1e80], al
inc edx
cmp edx, 0x77e
jb 0x352fd0
mov dword [ebp - 4], 0xffffffff
call fcn.00352dd0
mov dword [ebp - 0x14], 0x3a2002
mov edx, 0x37fa80
push edx
xor edx, edx
mov edi, edx
push 0
lea esi, [0x37fa70]
push esi
mov edx, dword [esp]
mov edx, dword [edx]
pop esi
push edx
pop esi
push esi
mov eax, dword [ebp - 0x14]
dec eax
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00355a49
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.003537f9
push 1
call fcn.003537f9
push 5
call fcn.003537f9
push 2
call fcn.003537f9
int3

Function at 0x3564d9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x37103c]
test eax, eax
je 0x356518
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x356518
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x356518
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x356518
cmp dword [ecx + 0x74], 0xe
jbe 0x356518
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x364ad0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00364946
Function at 0x433680
Capabilities:
Copy file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x930
cmp dword [0x4d6784], 0x516
jne 0x4336a5
push 0
lea eax, [ebp - 0x930]
push eax
push 0
call sub.KERNEL32.dll_VerLanguageNameW
mov eax, dword [ebp + 0xc]
shr eax, 3
test eax, eax
je 0x43373f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov dword [ebp + 0xc], eax
jmp 0x4336d0
cmp dword [0x4d6784], 0x29
jne 0x4336f1
push 0
push 0
push 0
push 0
push 0x401360
push 0x401378
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
cmp dword [0x4d6784], 0x1c
jne 0x43372a
call edi
push 0
push 0
push 0
lea ecx, [ebp - 0x9c]
push ecx
call ebx
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
call dword [sym.imp.KERNEL32.dll_FatalExit]
mov eax, dword [ebp + 0x10]
push eax
push esi
call fcn.00433540
add esi, 8
dec dword [ebp + 0xc]
jne 0x4336d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433750
Capabilities:
Copy file
Get disk information
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
cmp dword [0x4d6784], 0x37
jne 0x433874
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 0x40139c
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x14]
mov word [ebp - 0x24], dx
push ecx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
mov word [ebp - 0x14], ax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
push edx
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
push 0
push 0
push 0
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea edx, [ebp - 0x61c]
push edx
push 0x4013ac
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0x4013d0
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
push 0x4013e0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 4], 0
mov eax, dword [0x4d6788]
add dword [ebp - 4], eax
mov eax, 0x12336
add dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dl, byte [ecx + eax]
mov ecx, dword [0x4d2d84]
mov byte [ecx + eax], dl
mov esp, ebp
pop ebp
ret 4
Function at 0x4339b0
Capabilities:
Create pipe
Get common file path
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22dc
call fcn.00434330
mov dword [ebp - 4], 0
jmp 0x4339cf
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x332beaf6
jge 0x433a82
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x4d6784], 0x16
jne 0x433a10
lea ecx, [ebp - 0x58]
push ecx
push 0
lea edx, [ebp - 0x858]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4d6784], 0x9e
jne 0x433a72
push 0
lea eax, [ebp - 0xe78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
push 0
lea ecx, [ebp - 0x1278]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea edx, [ebp - 0x12c0]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0x401460
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
cmp dword [ebp - 4], 0x3775ee
jle 0x433a7d
jmp 0x433a82
jmp 0x4339c6
push section..data
mov eax, dword [0x4d6784]
push eax
mov ecx, dword [0x4d2d84]
push ecx
call fcn.00433680
mov dword [ebp - 0x12c4], 0
jmp 0x433ab4
mov edx, dword [ebp - 0x12c4]
add edx, 1
mov dword [ebp - 0x12c4], edx
cmp dword [ebp - 0x12c4], 0x3e79e
jge 0x433af2
cmp dword [0x4d6784], 0x10
jne 0x433adf
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp dword [ebp - 0x12c4], 0x1e673
jne 0x433af0
call fcn.004338c0
jmp 0x433aa5
mov dword [ebp - 0x12c8], 0
jmp 0x433b0d
mov eax, dword [ebp - 0x12c8]
add eax, 1
mov dword [ebp - 0x12c8], eax
cmp dword [ebp - 0x12c8], 0xdd9a7
jge 0x433b59
cmp dword [0x4d6784], 0xc01
jne 0x433b57
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapSize]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x433afe
jmp dword [0x4d2d84]
Function at 0x43ae10
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4594d0]
jne 0x43ae1a
repz ret
jmp fcn.0043e720
Function at 0x44abe0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x44abff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x44ac06
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x44ac1d
mov ecx, dword [ebp - 4]
push ecx
call fcn.0043b120
add esp, 4
or eax, 0xffffffff
jmp 0x44ac1f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4012e7
sub esp, 0x64
xor ebx, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.004a6b40
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
add eax, 0x886e0900
adc edx, 0xfffffff1
mov esi, 0x3b9aca00
xor ebx, ebx
mov ebp, edx
or ebp, ebx
jne 0x4012d2
mul esi
mov esi, eax
mov ebp, edx
mov dword [esp + 0x48], edi
mov eax, edi
cdq
mov ebx, eax
mov ecx, edx
mov eax, esi
mov edx, ebp
add eax, ebx
adc edx, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0045e8b0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov byte [esp + 0x60], al
lea eax, [esp + 0x50]
xor ebp, ebp
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
xchg ebp, ebx
mov byte [eax + 0x10], bl
xchg ebp, ebx
mov dword [esp + 0x2c], edx
mov dword [eax], edx
mov dword [esp + 0x30], ecx
mov dword [eax + 4], ecx
mov dword [esp + 0x28], eax
xor edi, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov esi, edi
mov dword [esp + 0x3c], edi
xor eax, eax
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0x68]
cmp eax, ebp
jge 0x40125f
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0045edb0
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x70]
cmp ebx, ebp
jae 0x4012cb
mov ebp, dword [esp + 0x6c]
add ebp, ebx
movzx ebx, byte [ebp]
mov byte [esp + 0x23], bl
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ebx, eax
inc ebx
cmp ebx, esi
ja 0x40128f
mov edi, ebx
mov dword [esp + 0x38], ebx
mov ebx, ecx
add ebx, eax
movzx ebp, byte [esp + 0x23]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0x68]
cmp eax, ebp
jl 0x4011f6
mov dword [esp], 0
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
call fcn.0043f150
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x7c], ebx
add esp, 0x64
ret
mov dword [esp], 0x5bd1c0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0043b4b0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, eax
inc edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ecx
jmp 0x401241
call fcn.004278c0
ud2
imul edx, esi
mov ebp, eax
imul ebp, ebx
add ebp, edx
mov edx, esi
mul edx
add edx, ebp
jmp 0x40116e
call fcn.0044fe90
jmp fcn.00401110