joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001c80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ec71
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1002abc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x1002f0bc]
mov edx, dword [eax + edx*4]
mov eax, dword [0x1002addc]
cmp eax, dword [edx + 4]
jg 0x10001ce9
mov eax, dword [0x1002add8]
mov eax, dword [eax + esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001d9f0
mov esp, ebp
pop ebp
ret
push 0x1002addc
call fcn.1001d98c
add esp, 4
cmp dword [0x1002addc], 0xffffffff
jne 0x10001cc7
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x54695f6d
mov dword [ebp - 0x18], 0x4e6d6165
mov word [ebp - 0x14], 0x6d75
mov byte [ebp - 0x12], 0
mov eax, 0x10025290
lea ecx, [ebp - 0x2c]
sub eax, 0x30274ad5
push eax
call fcn.10001340
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
push ecx
push eax
mov ecx, 0x1002ef38
call fcn.1001c560
push 0x1002addc
mov dword [0x1002add8], eax
call fcn.1001d93b
add esp, 4
jmp 0x10001cc7
Function at 0x10008450
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov edx, 0x72
xor eax, eax
mov cl, byte [eax + edi - 0x2c0196d0]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1000847e
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xc
jl 0x10008461
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x1000b600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1002abc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1002f0bc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1002c100]
cmp eax, dword [ecx + 4]
jg 0x1000b648
push dword [ebp + 8]
call dword [0x1002c0fc]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.1001d9f0
mov esp, ebp
pop ebp
ret 4
push 0x1002c100
call fcn.1001d98c
add esp, 4
cmp dword [0x1002c100], 0xffffffff
jne 0x1000b62c
mov eax, str.__3408
mov dword [ebp - 0x10], 0x646e6152
sub eax, 0x1f6cc5b
mov dword [ebp - 0xc], 0x65536d6f
push eax
lea ecx, [ebp - 0x18]
mov word [ebp - 8], 0x6465
mov byte [ebp - 6], 0
call fcn.1000a950
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1002c100
mov dword [0x1002c0fc], eax
call fcn.1001d93b
add esp, 4
jmp 0x1000b62c
Function at 0x1000d880
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x1000dab9
push 0
push 0
push dword [ebp + 8]
push 0x1000d090
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp + 8]
mov ecx, 0x1002c120
call fcn.1000cea0
mov dword [0x1002c120], 0x3f800000
mov eax, 1
mov dword [0x1002c124], 0x3f800000
mov dword [0x1002c1ac], 0x3f800000
mov dword [0x1002c138], 0x3f800000
mov dword [0x1002c13c], 0x3f800000
mov dword [0x1002c134], 0x3f800000
mov dword [0x1002c180], 0x41300000
mov dword [0x1002c178], 0x40800000
mov dword [0x1002c17c], 0x40e00000
mov dword [0x1002c2ec], 0x41f80000
mov dword [0x1002c170], 0x3f800000
mov dword [0x1002c160], 0
mov dword [0x1002c190], 0
mov dword [0x1002c168], 0x3f800000
mov dword [0x1002c1b0], 0x3f800000
mov dword [0x1002c188], 0x41400000
mov dword [0x1002c130], 0x3f800000
mov dword [0x1002c12c], 0x3f800000
mov dword [0x1002c200], 0x3f800000
mov dword [0x1002c1f4], 0x437f0000
mov dword [0x1002c1f8], 0x3f800000
mov dword [0x1002c1f0], 0x3f800000
mov dword [0x1002c144], 0x3f800000
mov dword [0x1002c1d8], 0x3f800000
mov dword [0x1002c150], 0x43b40000
mov dword [0x1002c2a4], 0x437f0000
mov dword [0x1002c1b8], 0x3f800000
mov dword [0x1002c1d0], 0
mov dword [0x1002c1bc], 0x3f800000
mov dword [0x1002c1c0], 0x428a0000
mov dword [0x1002c2e8], 0x3f800000
mov dword [0x1002c210], 0x437f0000
mov dword [0x1002c230], 0x437f0000
mov dword [0x1002c204], 0x437f0000
mov dword [0x1002c208], 0x437f0000
mov dword [0x1002c220], 0x437f0000
mov dword [0x1002c274], 0x437f0000
mov dword [0x1002c278], 0x437f0000
mov dword [0x1002c298], 0x437f0000
mov dword [0x1002c264], 0x437f0000
mov dword [0x1002c28c], 0x437f0000
mov dword [0x1002c290], 0x437f0000
mov dword [0x1002c2a0], 0x437f0000
mov dword [0x1002c270], 0x437f0000
mov dword [0x1002c280], 0x437f0000
mov dword [0x1002c240], 0x437f0000
mov dword [0x1002c260], 0x437f0000
mov dword [0x1002c234], 0x437f0000
mov dword [0x1002c238], 0x437f0000
mov dword [0x1002c250], 0x437f0000
mov dword [0x1002c15c], 0
pop ebp
ret 0xc
cmp eax, 6
jne 0x1000daca
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1000daca
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0xc
Function at 0x1000e160
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1002abc0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x44]
mov ecx, 0x20
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], ecx
mov eax, 0x3f
shr ecx, 3
add esp, 0xc
and ecx, 0x3f
mov dword [ebp - 0x5c], 0x67452301
add edx, ecx
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
sub eax, ecx
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x48], 0
mov byte [edx], 0x80
inc edx
cmp eax, 8
jae 0x1000e1f4
push eax
push 0
push edx
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.1000dae0
push 0x38
lea eax, [ebp - 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x20
jmp 0x1000e203
add eax, 0xfffffff8
push eax
push 0
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.1000dae0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 0x56]
xor ecx, ebp
call fcn.1001d9f0
mov esp, ebp
pop ebp
ret
Function at 0x1001d200
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020701
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1002abc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x1002d618]
mov edi, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x1001d32c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1002f0bc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1002adcc]
cmp eax, dword [ecx + 4]
jg 0x1001d381
mov eax, dword [0x1002adc8]
cmp dword [eax + esi], 1
jl 0x1001d33d
mov ecx, esi
call fcn.10001c80
mov ecx, dword [0x1002d60c]
mov esi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
call edx
mov ecx, dword [0x1002d618]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov ecx, eax
call fcn.10001c80
movss xmm0, dword [0x1002c1b0]
mov ecx, eax
ucomiss xmm0, dword [0x10025384]
lahf
test ah, 0x44
jnp 0x1001d2c4
cmp esi, ecx
je 0x1001d366
cmp esi, 3
jne 0x1001d2f8
movd xmm0, dword [ebp + 0x18]
cvtdq2ps xmm0, xmm0
push edi
sub esp, 0xc
movss dword [esp + 8], xmm0
movd xmm0, dword [ebp + 0x14]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
jmp 0x1001d35e
cmp esi, 2
jne 0x1001d32c
movd xmm0, dword [ebp + 0x24]
cvtdq2ps xmm0, xmm0
push edi
sub esp, 0xc
movss dword [esp + 8], xmm0
movd xmm0, dword [ebp + 0x20]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
jmp 0x1001d35e
mov ecx, dword [0x1002d644]
push 0
push 0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1001d366
cmp byte [ebp + 0x28], 0
jne 0x1001d366
push edi
sub esp, 0xc
mov dword [esp + 8], 0x437f0000
mov dword [esp + 4], 0x437f0000
mov dword [esp], 0x437f0000
call fcn.1001cb70
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001d9f0
mov esp, ebp
pop ebp
ret
push 0x1002adcc
call fcn.1001d98c
add esp, 4
cmp dword [0x1002adcc], 0xffffffff
jne 0x1001d26b
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x48695f6d
mov dword [ebp - 0x18], 0x746c6165
mov word [ebp - 0x14], 0x68
mov eax, 0x10025290
lea ecx, [ebp - 0x2c]
sub eax, 0x30274ad5
push eax
call fcn.10001340
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
push ecx
push eax
mov ecx, 0x1002ef38
call fcn.1001c560
xorps xmm0, xmm0
mov dword [0x1002adc8], eax
push 0x1002adcc
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
call fcn.1001d93b
add esp, 4
jmp 0x1001d26b
Function at 0x1001d420
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002074d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1002abc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1002f098], 0
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
jne 0x1001d53e
push 0
push 0
mov dword [ebp - 0x1c], 0x78787878
mov dword [ebp - 0x18], 0x78787878
mov word [ebp - 0x14], 0x7878
mov byte [ebp - 0x12], 0
sub esp, 0x18
mov dword [ebp - 4], 0
mov edx, esp
mov dword [ebp - 0x3c], esp
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d4b7
sub ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
push ecx
push eax
mov ecx, edx
call fcn.100011f0
push 0x10026744
mov dword [ebp - 0x28], 0x65696c63
mov dword [ebp - 0x24], 0x642e746e
mov word [ebp - 0x20], 0x6c6c
mov byte [ebp - 0x1e], 0
sub esp, 0x18
mov byte [ebp - 4], 2
mov edx, esp
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d510
sub ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push ecx
push eax
mov ecx, edx
call fcn.100011f0
mov byte [ebp - 4], 3
call fcn.1001d5c0
add esp, 0x3c
mov dword [0x1002f098], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1002f0bc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1002f0a0]
cmp eax, dword [ecx + 4]
jg 0x1001d587
push dword [ebp - 0x30]
mov ecx, esi
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push edi
call dword [0x1002f09c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001d9f0
mov esp, ebp
pop ebp
ret
push 0x1002f0a0
call fcn.1001d98c
add esp, 4
cmp dword [0x1002f0a0], 0xffffffff
jne 0x1001d55a
mov eax, dword [0x1002f098]
push 0x1002f0a0
mov dword [0x1002f09c], eax
call fcn.1001d93b
add esp, 4
jmp 0x1001d55a
Function at 0x1001d700
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx]
mov edi, dword [ebp + 0x10]
cmp edi, 7
ja case.default.0x1001d716
jmp dword [edi*4 + 0x1001d8ac]
mov ecx, esi
and ecx, 3
sub edi, ecx
sub ecx, 1
je 0x1001d759
sub ecx, 1
je 0x1001d746
sub ecx, 1
jne 0x1001d76c
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
mov edx, edi
sar edx, 3
test edx, edx
je 0x1001d7ee
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x10026888]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
sub edx, 1
jne 0x1001d775
and edi, 7
jmp 0x1001d711
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
pop edi
pop esi
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
mov dword [ebx], eax
pop ebx
pop ebp
ret
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
pop ebp
ret
Function at 0x1001d82f
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx]
mov edi, dword [ebp + 0x10]
cmp edi, 7
ja case.default.0x1001d716
jmp dword [edi*4 + 0x1001d8ac]
mov ecx, esi
and ecx, 3
sub edi, ecx
sub ecx, 1
je 0x1001d759
sub ecx, 1
je 0x1001d746
sub ecx, 1
jne 0x1001d76c
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
mov edx, edi
sar edx, 3
test edx, edx
je 0x1001d7ee
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x10026888]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
sub edx, 1
jne 0x1001d775
and edi, 7
jmp 0x1001d711
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
pop edi
pop esi
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10026888]
mov dword [ebx], eax
pop ebx
pop ebp
ret
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10026888]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
pop ebp
ret
Function at 0x402701
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
push esi
push edi
xor edi, edi
xor esi, esi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, 0x9f60fc3
jg 0x402727
inc esi
cmp esi, 0x1e70dee2
jl 0x40270d
cmp dword [0x44e69c], 0x400
jne 0x40274f
push edi
call fcn.004028a1
push edi
push edi
call fcn.00402d03
push edi
call fcn.00402b62
push edi
call fcn.00402de1
add esp, 0x14
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x58bba6
jg 0x40276e
inc esi
cmp esi, 0xe147
jl 0x402751
mov eax, dword [0x44665c]
mov dword [0x44e69c], eax
call fcn.0040247d
mov esi, 0x3078f
cmp dword [0x44e69c], 0x51f
jne 0x40279a
push edi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec esi
jne 0x402782
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x405954
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c5b0]
jne 0x40595e
repz ret
jmp fcn.00407275
Function at 0x4064c4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40c5b0]
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.0040525f
and dword [ebp - 0x14], 0
cmp dword [0x448294], 0
mov dword [ebp - 0x18], eax
jne 0x406577
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40661f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40661f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x448294], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x448298], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44829c], eax
call edi
push eax
call esi
mov dword [0x4482a4], eax
test eax, eax
je 0x406577
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4482a0], eax
mov eax, dword [0x4482a0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4065d0
cmp dword [0x4482a4], ecx
je 0x4065d0
push eax
call esi
push dword [0x4482a4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4065d0
test ebx, ebx
je 0x4065d0
call edi
test eax, eax
je 0x4065c7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4065c7
test byte [ebp - 8], 1
jne 0x4065d0
or dword [ebp + 0x10], 0x200000
jmp 0x406603
mov eax, dword [0x448298]
cmp eax, dword [ebp - 0x18]
je 0x406603
push eax
call esi
test eax, eax
je 0x406603
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406603
mov eax, dword [0x44829c]
cmp eax, dword [ebp - 0x18]
je 0x406603
push eax
call esi
test eax, eax
je 0x406603
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x448294]
call esi
test eax, eax
je 0x40661f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406621
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405954
leave
ret
Function at 0x4080a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x4101f0]
cmp ax, 0xcb
je 0x4081ac
cmp ax, 0xcc
je 0x4081ac
lea esi, [esi]
mov edx, dword [0x414600]
test edx, edx
je 0x4080d5
mov eax, dword [0x4144b0]
call edx
mov ebx, eax
jmp 0x4080da
mov ebx, 0x4144b4
cmp word [0x4144a0], 0
jle 0x408100
mov eax, 0x414480
call fcn.00408310
mov eax, ebx
call fcn.00407c60
mov eax, ebx
call fcn.00407cd0
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x408122
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x40811d
mov edx, edi
mov eax, ebx
call fcn.004070d0
jmp 0x408120
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x408108
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x4144a0], 0
jle 0x4081ac
mov edx, 0x4143c0
mov eax, ebx
call fcn.00407210
mov edi, eax
test edi, edi
je 0x40817c
mov eax, dword [0x414454]
mov dword [edi + 0xc], eax
cmp dword [0x414454], 0
je 0x408170
mov eax, dword [0x414454]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x414454], eax
nop
sub word [0x4144a0], 1
cmp word [0x4144a0], 0
sete bl
mov eax, 0x414480
call fcn.00408320
test bl, bl
je 0x4081ac
mov eax, 0x414480
call fcn.00408300
lea esi, [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x409c20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x414270], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.00409e00
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x414270]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.00403020
call sub.kernel32.dll_GetCommandLineA
mov dword [0x410260], eax
mov ebx, eax
jmp 0x409dc3
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x409ca8
cmp byte [ebx], 0
je 0x409dcc
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x409d23
mov al, byte [ebx]
cmp al, 1
jb 0x409d18
sub al, 0x20
jbe 0x409ce8
sub al, 2
je 0x409cfc
jmp 0x409d18
mov al, byte [ebp - 0x114]
test al, al
je 0x409d28
add dword [ebp - 0x110], 1
jmp 0x409d20
cmp byte [ebx + 1], 0x22
je 0x409d13
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x409d20
add ebx, 1
jmp 0x409d20
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x409cd8
test dword [ebp - 0x10c], 0xffffffff
je 0x409dbc
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.00409e00
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x414270]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x409db3
mov al, byte [ebx]
cmp al, 1
jb 0x409da8
sub al, 0x20
jbe 0x409d78
sub al, 2
je 0x409d8c
jmp 0x409da8
mov al, byte [ebp - 0x114]
test al, al
je 0x409db8
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x409db0
cmp byte [ebx + 1], 0x22
je 0x409da3
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x409db0
add ebx, 1
jmp 0x409db0
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x409d68
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x409cab
mov ebx, dword [ebp - 0x10c]
mov dword [0x414260], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x414270
call fcn.00407ee0
mov eax, dword [0x414270]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b3f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
cmp dword [0x4109d0], 0
jne 0x40b46c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov edx, dword [0x4109c0]
mov dword [eax], edx
mov byte [eax + 4], 0x59
mov byte [eax + 5], 0xe9
lea ecx, [eax + 5]
mov edx, 0x40b2e0
sub edx, ecx
sub edx, 5
mov dword [eax + 6], edx
lea edx, [eax + 0xa]
lea esi, [esi]
mov byte [edx], 0xe8
lea ecx, [eax + 4]
sub ecx, edx
sub ecx, 5
mov dword [edx + 1], ecx
mov ecx, dword [0x4109d0]
mov dword [edx + 5], ecx
mov dword [0x4109d0], edx
add edx, 9
mov ecx, edx
sub ecx, eax
cmp ecx, 0x1000
jl 0x40b438
mov dword [0x4109c0], eax
lea esi, [esi]
mov eax, dword [0x4109d0]
mov edx, dword [eax + 5]
mov dword [0x4109d0], edx
mov dword [eax + 5], ebx
pop ebx
mov esp, ebp
pop ebp
ret