joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4233c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
jne 0x4233c7
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x423487
push edi
mov edi, esi
shr edi, 3
nop dword [eax]
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d31f8]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d31f8]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d31f8]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d31f8]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d31f8]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d31f8]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d31f8]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d31f8]
sub edi, 1
jne 0x4233e0
pop edi
test esi, esi
je 0x4234aa
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d31f8]
sub esi, 1
jne 0x423490
not ecx
mov eax, ecx
pop esi
ret

Function at 0x4234b0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x4d31f8]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d31f8]
mov dword [edi + 8], ecx
pop edi
pop esi
ret

Function at 0x423500
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebx
mov ebx, ecx
movsx ecx, dl
push esi
push edi
mov edx, dword [ebx]
mov eax, edx
xor eax, ecx
mov esi, dword [ebx + 8]
movzx eax, al
mov edi, esi
shr edx, 8
and edi, 0xfffd
or edi, 2
mov eax, dword [eax*4 + 0x4d31f8]
xor eax, edx
mov dword [ebx], eax
movzx eax, al
add eax, dword [ebx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [ebx + 4], eax
shr eax, 0x18
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x4d31f8]
mov eax, edi
xor eax, 1
mov dword [ebx + 8], esi
imul eax, edi
pop edi
pop esi
pop ebx
shr eax, 8
xor al, cl
ret
Function at 0x423570
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push edi
mov edi, ecx
cmp dword [edi + 0x20], 0
jne 0x42362b
mov eax, dword [edi]
push ebx
mov ebx, edx
mov byte [esp + 8], dl
shr ebx, 8
mov byte [esp + 9], bl
test al, 0x10
je 0x4235b2
push esi
lea ecx, [edi + 0x38]
call fcn.00423500
mov dl, bl
mov byte [esp + 0xc], al
lea ecx, [edi + 0x38]
call fcn.00423500
mov byte [esp + 0xd], al
mov eax, dword [edi]
pop esi
pop ebx
test al, 1
je 0x4235f3
mov edx, dword [edi + 0x28]
mov ecx, edx
mov eax, dword [edi + 0x2c]
add ecx, 2
adc eax, 0
cmp eax, dword [edi + 0x34]
jb 0x4235dd
ja 0x4235d1
cmp ecx, dword [edi + 0x30]
jb 0x4235dd
mov dword [edi + 0x20], 0xb
pop edi
add esp, 8
ret
mov ecx, dword [edi + 4]
mov ax, word [esp + 4]
mov word [edx + ecx], ax
add dword [edi + 0x28], 2
adc dword [edi + 0x2c], 0
jmp 0x42361c
push 0
lea eax, [esp + 0xc]
push eax
push 2
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x423615
cmp dword [esp + 8], 2
je 0x42361c
mov dword [edi + 0x20], 3
test dword [edi], 0x40000000
je 0x42362b
mov dword [edi + 0x20], 0x14
pop edi
add esp, 8
ret

Function at 0x423630
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x42373f
cmp dword [esi + 0x20], 0
jne 0x42373f
test byte [esi], 0x10
je 0x4236cd
mov ecx, dword [esi + 0x44]
mov eax, ecx
test ecx, ecx
je 0x423670
cmp dword [esi + 0x48], ebx
jae 0x423670
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 0x44], 0
xor eax, eax
test eax, eax
jne 0x423696
lea eax, [ebx + ebx]
push eax
push 0
mov dword [esi + 0x48], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 0x44], eax
test eax, eax
jne 0x423696
mov dword [esi + 0x20], 2
jmp 0x423730
push ebx
push edi
push eax
call fcn.004b19e0
add esp, 0xc
xor edi, edi
test ebx, ebx
je 0x4236ca
push ebp
nop dword [eax + eax]
mov eax, dword [esi + 0x44]
lea ecx, [esi + 0x38]
mov dl, byte [eax + edi]
call fcn.00423500
mov ecx, dword [esi + 0x44]
mov byte [edi + ecx], al
inc edi
cmp edi, ebx
jb 0x4236b0
pop ebp
mov edi, dword [esi + 0x44]
test byte [esi], 1
je 0x42370d
mov edx, dword [esi + 0x28]
mov ecx, edx
mov eax, dword [esi + 0x2c]
add ecx, ebx
adc eax, 0
cmp eax, dword [esi + 0x34]
jb 0x4236f4
ja 0x4236eb
cmp ecx, dword [esi + 0x30]
jb 0x4236f4
mov dword [esi + 0x20], 0xb
jmp 0x423730
mov eax, dword [esi + 4]
push ebx
add eax, edx
push edi
push eax
call fcn.004b19e0
add esp, 0xc
add dword [esi + 0x28], ebx
adc dword [esi + 0x2c], 0
jmp 0x423730
push 0
lea eax, [esp + 0x14]
push eax
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x423729
cmp dword [esp + 0x10], ebx
je 0x423730
mov dword [esi + 0x20], 3
test dword [esi], 0x40000000
je 0x42373f
mov dword [esi + 0x20], 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x423880
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov eax, dword [esi]
test eax, 0x40000000
je 0x42389f
pop edi
mov dword [esi + 0x20], 0x14
xor eax, eax
pop esi
pop ebx
pop ecx
ret
test al, al
jns 0x4238ea
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
mov edi, dword [esi + 0x68]
cmp eax, dword [esi + 0x6c]
ja 0x42390a
jb 0x4238b7
cmp ecx, edi
jae 0x42390a
mov eax, dword [esp + 0x14]
sub edi, ecx
mov dword [esp + 0xc], edi
push ebp
mov ebp, edi
cmp edi, eax
jbe 0x4238d0
mov edi, eax
mov ebp, eax
mov dword [esp + 0x10], edi
mov eax, dword [esi + 0x64]
push edi
add eax, ecx
push eax
push ebx
call fcn.004b19e0
add esp, 0xc
add dword [esi + 0x70], ebp
adc dword [esi + 0x74], 0
pop ebp
jmp 0x423915
push 0
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x1c]
push ebx
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x423911
mov dword [esi + 0x20], 7
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov edi, dword [esp + 0xc]
add dword [esi + 0x58], edi
mov edx, ebx
mov ecx, dword [esi + 0x60]
adc dword [esi + 0x5c], 0
push edi
call fcn.004233c0
add esp, 4
mov dword [esi + 0x60], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x425c90
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, ecx
mov dword [ebp - 4], eax
push esi
mov esi, edx
push edi
test eax, eax
je 0x425de6
cmp dword [eax + 0x18], 0
jne 0x425de6
cmp dword [eax + 0x3c], 0
je 0x425de6
cmp dword [eax + 0x1c], 0
je 0x425de6
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425cd0
sub eax, edx
inc eax
lea ecx, [eax + 8]
cmp eax, ecx
sbb eax, eax
test ecx, eax
je 0x425d63
mov ecx, ebx
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425cf0
sub ecx, edx
lea eax, [ecx + 1]
lea ecx, [eax + 8]
cmp eax, ecx
sbb edx, edx
and edx, ecx
mov ecx, ebx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425d10
sub ecx, edi
lea eax, [ecx + 1]
lea ecx, [eax + 8]
cmp edx, 0x400
ja 0x425d43
cmp eax, ecx
sbb eax, eax
and eax, ecx
call fcn.004c78d0
mov edi, esp
test edi, edi
je 0x425d65
mov dword [edi], 0xcccc
add edi, 8
jmp 0x425d65
cmp eax, ecx
sbb eax, eax
and eax, ecx
push eax
call fcn.004b2c3e
mov edi, eax
add esp, 4
test edi, edi
je 0x425d65
mov dword [edi], 0xdddd
add edi, 8
jmp 0x425d65
xor edi, edi
mov edx, edi
mov ecx, ebx
sub edx, ebx
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x425d70
mov ecx, ebx
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x425d81
mov eax, dword [ebp - 4]
push 0
push 0
push 0
push dword [eax + 0x3c]
push 0
push 0
call fcn.004b8fe7
add esp, 0x18
mov esi, eax
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
sub ebx, edi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ebx + ecx - 1], al
test al, al
jne 0x425db5
test edi, edi
je 0x425dda
add edi, 0xfffffff8
cmp dword [edi], 0xdddd
jne 0x425dda
push edi
call fcn.004b2343
add esp, 4
mov eax, esi
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4269f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x4e8458]
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
test eax, eax
je 0x426a0c
cmp dword [eax + 4], 0
jne 0x426a63
mov eax, dword [eax]
test eax, eax
jne 0x426a00
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x426bcc
lea edx, [eax + 0x20]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, 0x20
nop
mov ecx, dword [eax + 4]
add esi, 0x20
mov dword [edx], ecx
mov dword [eax + 4], edx
add edx, 0x20
cmp esi, 0xfe0
jbe 0x426a40
mov ecx, dword [0x4e8458]
mov dword [eax], ecx
mov dword [0x4e8458], eax
test eax, eax
je 0x426bcc
mov ebx, dword [eax + 4]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ebx
mov ecx, dword [ebx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
call fcn.00426cb0
test eax, eax
je 0x426bc5
push 0x28
call fcn.004b2c3e
mov esi, eax
add esp, 4
test esi, esi
je 0x426bc5
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x18]
and edx, 0xf
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x24]
mov eax, ecx
and eax, 1
shl edx, 3
or edx, eax
mov dword [esi], ebp
mov eax, dword [esi + 0x14]
and eax, 0xffffff80
or edx, eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x14], edx
mov dword [esi + 0x24], eax
test ecx, ecx
je 0x426b19
mov eax, dword [edi - 5]
mov dword [esi + 0xc], eax
mov ax, word [edi - 1]
mov word [esi + 0x10], ax
mov al, byte [edi + 1]
mov byte [esi + 0x12], al
jmp 0x426b24
mov eax, dword [edi]
mov dword [esi + 0xc], eax
mov al, byte [edi + 4]
mov byte [esi + 0x10], al
shl edx, 0x1f
lea edi, [ebp - 5]
sar edx, 0x1f
lea ecx, [esp + 0x10]
test edx, edx
push ecx
cmove edi, ebp
xor eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
test edx, edx
push 0x40
setne al
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [esp + 0x24], eax
call ebp
test eax, eax
jne 0x426b73
mov ecx, ebx
call fcn.00426980
push esi
call fcn.004b2343
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x426b8e
mov eax, dword [esi]
mov word [eax], 0xf9eb
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push ebx
push edi
call ebp
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x426bbb
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov ecx, ebx
call fcn.00426980
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
Function at 0x426be0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
shl ecx, 0x1f
sar ecx, 0x1f
test ecx, ecx
lea edi, [eax - 5]
cmove edi, eax
xor ebx, ebx
test ecx, ecx
lea eax, [esp + 0x10]
push eax
setne bl
push 0x40
lea ebx, [ebx*2 + 5]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x426c2a
push esi
call fcn.004b2343
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x426c45
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x426c4b
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
call fcn.004b2343
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
ret
Function at 0x426fd0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x4ea340], ecx
mov eax, 1
nop dword [eax + eax]
mov ecx, dword [eax*4 + 0x4ea33c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
mov dword [eax*4 + 0x4ea340], ecx
inc eax
cmp eax, 0x270
jl 0x426fe0
mov dword [0x4e6384], 1
mov dword [0x4ea33c], 1
ret

Function at 0x427020
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4ea33c], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x4ea340
jne 0x42703f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.00426fd0
mov eax, dword [0x4ea340]
mov ebx, 0xe3
mov dword [0x4e6384], 0x270
mov dword [0x4ead00], 0x4ea340
nop dword [eax]
mov edi, dword [esi + 4]
mov ecx, edi
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edi
xor ecx, dword [esi + 0x634]
mov dword [esi], ecx
add esi, 4
sub ebx, 1
jne 0x427060
mov ebp, 0x18c
nop word [eax + eax]
mov ebx, dword [esi + 4]
lea esi, [esi + 4]
mov ecx, ebx
mov eax, ebx
xor ecx, edi
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, edi
mov edi, ebx
shr ecx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x390]
mov dword [esi - 4], ecx
sub ebp, 1
jne 0x4270a0
mov eax, dword [0x4ea340]
mov ecx, ebx
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, ebx
shr ecx, 1
neg eax
pop edi
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
pop ebp
pop ebx
ret

Function at 0x427110
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x4e6384], 1
jne 0x42711e
call fcn.00427020
mov eax, dword [0x4ead00]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4ead00], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x427160
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x4e6384], 1
jne 0x42716e
call fcn.00427020
mov eax, dword [0x4ead00]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4ead00], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4dd2c0]
mulsd xmm0, qword [0x4dd138]
ret

Function at 0x427880
Capabilities:
Write clipboard data

Disassembly:
cmp byte [ecx + 0x17], 0
jne 0x427889
mov ecx, dword [ecx + 0xc]
cmp byte [ecx + 0x17], 2
jne 0x4278aa
cmp dword [0x4e9a60], 0
je 0x4278aa
mov dword [esp + 4], 1
mov ecx, 0x4e9a54
jmp fcn.00405bc0
mov al, byte [ecx + 0x15]
and al, 0x86
cmp byte [esp + 4], 0
mov byte [ecx + 0x15], al
je 0x4278be
or al, 1
mov byte [ecx + 0x15], al
mov eax, 1
ret 4
Function at 0x42ba40
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4e4988]
push ebx
push ebp
add eax, 4
imul eax, eax, 0xe8
push esi
push edi
push eax
push dword [0x4e7834]
call fcn.004b2c49
add esp, 8
mov dword [0x4e7834], eax
test eax, eax
jne 0x42ba6f
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4e498c]
mov edi, eax
push 0x404330
push 0x4ef6d80
push 0xe
push dword [0x4e7950]
mov ecx, 0x3a
mov dword [0x4e498c], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
call edi
cmp dword [0x4e9dc0], 0
jne 0x42bab0
mov ebp, 1
jmp 0x42bb72
mov eax, dword [0x4e498c]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [eax + 0xcc], 0
call esi
cmp byte [0x4e782d], 0
mov ecx, dword [0x4e498c]
mov dword [ecx + 0xbc], eax
mov dword [ecx + 0xc0], 0x64
jne 0x42bafd
push 0x404200
push 0x64
push 0xb
push dword [0x4e7950]
call edi
test eax, eax
setne byte [0x4e782d]
mov byte [0x4ea0a1], 1
call esi
inc dword [0x4e7938]
push str.Auto_execute
mov dword [0x4ea0c4], eax
mov dword [0x4ea0c0], eax
call fcn.0040b9f0
mov ecx, dword [0x4e9dc0]
push 0
push 0
push 1
call fcn.0043dc90
sub dword [0x4e6314], 0xc
mov ebp, eax
dec dword [0x4e7938]
cmp byte [0x4e782d], 0
je 0x42bb6b
push 0xb
push dword [0x4e7950]
call dword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x4e782d]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [0x4e782d], cl
mov byte [0x4ea0a1], 0
mov ebx, dword [0x4e498c]
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x42bbc7
cmp dword [eax + 8], 6
jne 0x42bb96
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0xe4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x42bbac
push ecx
call fcn.004b2343
mov eax, dword [ebx + 0xe4]
add esp, 4
push 0x10
push eax
call fcn.004ae4c5
mov dword [ebx + 0xe4], 0
add esp, 8
mov ebx, dword [0x4e498c]
mov ecx, ebx
call fcn.004043f0
push 1
push 0
mov byte [ebx + 0xcc], 1
mov ecx, 0x3a
mov esi, ebx
mov edi, 0x4e7838
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4e7934]
push 0xffffffffffffffff
push 0x4d03bc
mov word [ebx + 0xcc], 0x101
mov dword [ebx + 0xc0], 0
mov byte [ebx + 0xce], 0
mov dword [ebx + 0x2c], connect
call fcn.0049e6b0
cmp word [0x4e843c], 0
mov esi, 1
jne 0x42bc64
cmp dword [0x4e8424], 0
jne 0x42bc64
cmp dword [0x4e7970], 0
jne 0x42bc64
cmp dword [0x4e796c], 0
jne 0x42bc64
cmp byte [0x4e7961], 0
jne 0x42bc64
test ebp, ebp
mov ecx, 6
push 0
cmove ecx, esi
push ecx
mov ecx, 0x4e9a70
call fcn.0042bef0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x42bdf0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x328
cmp dword [0x4e79bc], 0
push esi
push edi
mov esi, ecx
jne 0x42be86
push 0x104
lea eax, [esp + 0x12c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0xc], 1
mov edi, eax
jne 0x42bea0
mov edx, dword [edi]
lea ecx, [esp + 0x128]
nop word [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x42be76
test ax, ax
je 0x42be72
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x42be76
add ecx, 4
add edx, 4
test ax, ax
jne 0x42be50
xor eax, eax
jmp 0x42be7b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42bea0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push dword [0x4e7984]
push str._restart
jmp 0x42bed5
push dword [esi + 0x618]
lea eax, [esp + 0x14]
push str._restart___s_
push 0x114
push eax
call fcn.0049a540
add esp, 0x10
lea eax, [esp + 0x10]
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push dword [0x4e7984]
push eax
push dword [esi + 0x624]
mov ecx, 0x4e9a70
call fcn.00447f20
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42bef0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0xa4
cmp byte [0x50b509], 0
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0x5ec], eax
jne 0x42c0ab
cmp byte [ebx + 0x630], 0
je 0x42c0ab
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4e7934]
push 0
push 1
mov dword [0x50b6ac], eax
call fcn.00401680
push 0x7f
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004b9880
mov eax, dword [0x4e498c]
add esp, 0xc
inc dword [0x4e7938]
add eax, 0xe8
mov byte [esp + 0xaf], 0
mov edi, eax
mov ecx, 0x3a
mov dword [0x4e498c], eax
mov esi, 0x4e7838
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, 0x4e9a70
mov dword [eax + 0x2c], 0
call fcn.0042b940
cmp dword [0x4e794c], 0
xorps xmm0, xmm0
movlpd qword [0x4ea0b0], xmm0
je 0x42bfb9
mov eax, dword [0x4e6378]
mov ecx, 0x4d0335
test eax, eax
je 0x42bfb2
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, dword [0x4e4984]
push str.OnExit
mov dword [0x4e4984], 0
mov byte [0x50b509], 1
call fcn.0040b9f0
mov ecx, dword [ebx + 0x5e0]
mov eax, 1
mov dword [esp + 0xc], eax
mov byte [0x4e6732], 0
test ecx, ecx
je 0x42c013
call fcn.00401740
test eax, eax
mov eax, dword [esp + 0xc]
je 0x42c013
xor ecx, ecx
movzx eax, al
cmp byte [0x4e6732], cl
cmove eax, ecx
mov dword [esp + 0xc], eax
mov byte [0x4e6732], 1
test al, al
je 0x42c074
mov dword [esp + 0x18], 0
call fcn.0045b030
mov dword [esp + 0x10], eax
lea ecx, [ebx + 0x5ac]
mov eax, dword [0x50b6ac]
cdq
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [ebx + 0x5e0], eax
mov dword [esp + 0x28], 1
sete al
mov dword [esp + 0x24], edx
push eax
push 2
lea eax, [esp + 0x18]
push eax
call fcn.0048dad0
mov edx, dword [esp + 0xc]
movzx ecx, dl
xor edx, edx
cmp eax, 3
cmove ecx, edx
mov al, cl
sub dword [0x4e6314], 0xc
test al, al
mov eax, dword [ebp + 8]
mov byte [0x50b509], 0
jne 0x42c0f6
cmp eax, 0xffffffff
jle 0x42c0f6
lea ecx, [esp + 0x30]
call fcn.00404060
mov dword [0x4e4984], esi
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [0x4e6732], 0
jne 0x42c0e6
cmp eax, 6
jne 0x42c0e6
mov eax, dword [0x4e9148]
mov ecx, dword [0x50b6ac]
pop edi
pop esi
cmp byte [eax], 0
mov eax, 8
mov byte [0x4e6732], 1
cmovne ecx, dword [ebp + 0xc]
mov dword [0x50b6ac], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov byte [0x4e6732], 0
push eax
call fcn.0042c110
push dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.0042c110
int3
Function at 0x437b10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x108
lea eax, [esp]
push esi
push edi
push dword [esp + 0x11c]
push dword [esp + 0x11c]
push 0x4d8aec
push 0x105
push eax
call fcn.0049a540
add esp, 0x14
mov edi, eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, dword [esp + 0x114]
cmp eax, 0xffffffff
je 0x437b8e
test al, 0x10
je 0x437b8e
lea eax, [edi + 0x102]
push eax
call fcn.004b2c3e
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x437b8e
lea ecx, [edi + 1]
push ecx
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.004b19e0
add esp, 0xc
mov dword [esi + 4], edi
pop edi
pop esi
add esp, 0x108
ret 0xc
pop edi
mov dword [esi], 0x4d0335
pop esi
add esp, 0x108
ret 0xc