joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100320e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x40
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, esp
mov dword [ebp - 0x1c], eax
push eax
mov eax, esp
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov dword [eax], ecx
cmp dword [ebp - 0xc], 1
sete al
mov byte [ebp - 0x21], al
mov al, byte [ebp - 0x21]
test al, 1
jne 0x10032133
jmp 0x1003228b
mov ecx, dword [0x10060d30]
mov eax, dword [0x10060d2c]
mov edx, ecx
sub edx, 0xc6509221
sub edx, 1
add edx, 0xc6509221
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [ebp - 0x25], cl
cmp eax, 0xa
setl al
mov byte [ebp - 0x24], al
xor cl, 0xff
mov byte [ebp - 0x23], cl
xor al, 0xff
mov byte [ebp - 0x22], al
mov al, 1
xor al, 1
mov byte [ebp - 0x26], al
mov al, byte [ebp - 0x22]
mov dl, byte [ebp - 0x26]
mov cl, byte [ebp - 0x25]
mov ah, byte [ebp - 0x23]
and ah, 0xff
mov byte [ebp - 0x29], ah
and cl, dl
mov byte [ebp - 0x28], cl
and al, 0xff
mov byte [ebp - 0x27], al
mov al, byte [ebp - 0x26]
mov dl, byte [ebp - 0x22]
mov cl, byte [ebp - 0x23]
mov ch, byte [ebp - 0x27]
mov bl, byte [ebp - 0x28]
mov ah, byte [ebp - 0x29]
mov dh, byte [ebp - 0x24]
and dh, al
or ah, bl
or ch, dh
xor ah, ch
mov byte [ebp - 0x2c], ah
or cl, dl
xor cl, 0xff
mov byte [ebp - 0x2b], cl
or al, 1
mov byte [ebp - 0x2a], al
mov al, byte [ebp - 0x2c]
mov dl, byte [ebp - 0x2a]
mov cl, byte [ebp - 0x2b]
and cl, dl
or al, cl
mov byte [ebp - 0x2d], al
mov al, byte [ebp - 0x2d]
test al, 1
jne 0x100321e2
jmp 0x10032298
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
xor ecx, ecx
lea ecx, [sym.proxy.dll_DllEntry]
sub esp, 0x18
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x10060d30]
mov dword [ebp - 0x3c], eax
mov ecx, dword [0x10060d2c]
mov dword [ebp - 0x38], ecx
sub eax, 0xbc61e137
sub eax, 1
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
add eax, 0xbc61e137
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [ebp - 0x41], al
mov cl, byte [ebp - 0x41]
mov eax, dword [ebp - 0x38]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [ebp - 0x42], al
mov al, byte [ebp - 0x42]
test al, 1
jne 0x10032286
jmp 0x10032298
jmp 0x1003228b
mov eax, 1
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 0xc
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x20]
xor ecx, ecx
lea ecx, [sym.proxy.dll_DllEntry]
sub esp, 0x18
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x100321e2
Function at 0x100327f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [esp + 0x74]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x58], ecx
add eax, 0x1e
mov dword [esp + 0x5c], eax
mov eax, dword [str.88C_t]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
add eax, 0xcc89c5ac
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
cmp eax, 1
sete al
mov byte [esp + 0x47], al
mov cl, byte [esp + 0x47]
xor eax, eax
test cl, 1
mov dword [esp + 0x40], eax
jne 0x100329fc
jmp 0x10032853
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
mov dl, byte [edx + eax]
mov byte [esp + 0x3f], dl
mov edi, 0x1e
xor edx, edx
div edi
mov eax, dword [esp + 0x38]
mov edi, edx
mov dh, byte [esp + 0x3f]
mov bl, byte [esi + edi]
mov bh, dh
xor bh, 0xff
mov dl, bl
and dl, bh
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [ecx + eax], dl
add eax, 0x3f16ef25
add eax, 1
sub eax, 0x3f16ef25
cmp eax, 0xa
mov dword [esp + 0x40], eax
jne 0x10032853
mov eax, dword [0x10060d18]
mov dword [esp + 0x30], eax
mov eax, dword [0x10060d14]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
add eax, 0x97b22e50
sub eax, 1
sub eax, 0x97b22e50
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x28], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x29], al
xor cl, 0xff
mov byte [esp + 0x2a], cl
xor al, 0xff
mov byte [esp + 0x2b], al
mov cl, byte [esp + 0x2b]
mov al, byte [esp + 0x2a]
mov ch, byte [esp + 0x29]
mov dh, byte [esp + 0x28]
mov bl, 1
xor bl, 0
mov byte [esp + 0x25], bl
mov dl, al
and dl, 0
and dh, bl
mov ah, cl
and ah, 0
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x26], dl
or al, cl
mov byte [esp + 0x27], al
mov al, byte [esp + 0x25]
mov cl, byte [esp + 0x27]
xor cl, 0xff
mov byte [esp + 0x23], cl
or al, 0
mov byte [esp + 0x24], al
mov al, byte [esp + 0x26]
mov dl, byte [esp + 0x24]
mov cl, byte [esp + 0x23]
and cl, dl
or al, cl
test al, 1
jne 0x10032974
jmp 0x10032a03
mov eax, dword [str.88C_t]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [eax - 0x33763a54], 1
mov eax, dword [0x10060d18]
mov dword [esp + 0x10], eax
mov eax, dword [0x10060d14]
mov dword [esp + 0x14], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x14]
cmp eax, 0xa
setl al
mov byte [esp + 0xa], al
mov dl, byte [esp + 0xa]
mov cl, byte [esp + 0xb]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x100329f7
jmp 0x10032a03
jmp 0x100329fc
add esp, 0x60
pop esi
pop edi
pop ebx
ret
mov eax, dword [str.88C_t]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xcc89c5ac
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x10032974
Function at 0x1003ab70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
add eax, 0x12
mov dword [esp + 0x2c], eax
mov eax, dword [0x1005f33c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
add eax, 0x55770645
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp eax, 1
sete al
mov byte [esp + 0x17], al
mov cl, byte [esp + 0x17]
xor eax, eax
test cl, 1
mov dword [esp + 0x10], eax
jne 0x1003ac56
jmp 0x1003abd3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov dl, byte [edx + eax]
mov byte [esp + 0xf], dl
mov edi, 0x12
xor edx, edx
div edi
mov eax, dword [esp + 8]
mov edi, edx
mov dh, byte [esp + 0xf]
mov bl, byte [esi + edi]
mov bh, dh
xor bh, 0xff
mov dl, bl
and dl, bh
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [ecx + eax], dl
xor ecx, ecx
sub ecx, eax
xor eax, eax
sub eax, 1
add ecx, eax
xor eax, eax
sub eax, ecx
cmp eax, 8
mov dword [esp + 0x10], eax
jne 0x1003abd3
mov eax, dword [0x1005f33c]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x55770645
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1003ac56
add esp, 0x30
pop esi
pop edi
pop ebx
ret

Function at 0x1003ac60
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
add eax, 0x1c
mov dword [esp + 0x2c], eax
mov eax, dword [0x1005f340]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
add eax, 0x5d4fb990
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp eax, 1
sete al
mov byte [esp + 0x17], al
mov cl, byte [esp + 0x17]
xor eax, eax
test cl, 1
mov dword [esp + 0x10], eax
jne 0x1003ad44
jmp 0x1003acc3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov dl, byte [edx + eax]
mov byte [esp + 0xf], dl
mov edi, 0x1c
xor edx, edx
div edi
mov eax, dword [esp + 8]
mov edi, edx
mov dh, byte [esp + 0xf]
mov bl, byte [esi + edi]
mov bh, dh
xor bh, 0xff
mov dl, bl
and dl, bh
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [ecx + eax], dl
add eax, 0x32594151
add eax, 1
sub eax, 0x32594151
cmp eax, 7
mov dword [esp + 0x10], eax
jne 0x1003acc3
mov eax, dword [0x1005f340]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x5d4fb990
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1003ad44
add esp, 0x30
pop esi
pop edi
pop ebx
ret
Function at 0x100407f0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
sub esp, 0x5c
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x54], ecx
add eax, 0x17
mov dword [esp + 0x58], eax
mov eax, dword [0x1005f370]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
add eax, 0x278a167e
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
cmp eax, 1
sete al
mov byte [esp + 0x43], al
mov cl, byte [esp + 0x43]
xor eax, eax
test cl, 1
mov dword [esp + 0x3c], eax
jne 0x10040a01
jmp 0x10040852
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x38], eax
mov bh, byte [edx + eax]
mov esi, 0x17
xor edx, edx
div esi
mov eax, dword [esp + 0x38]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0x3c
mov cl, 0xff
xor cl, 0x3c
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0x3c
and bl, cl
mov ecx, dword [esp + 0x54]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
add eax, 0xc1ef08bc
add eax, 1
sub eax, 0xc1ef08bc
cmp eax, 4
mov dword [esp + 0x3c], eax
jne 0x10040852
mov eax, dword [0x10060c48]
mov dword [esp + 0x30], eax
mov eax, dword [0x10060c44]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
sub eax, 0xd40d4524
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
sub eax, 1
add eax, 0xd40d4524
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
imul eax, ecx
and eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x23], al
mov al, byte [esp + 0x23]
test al, 1
jne 0x10040927
jmp 0x10040a07
mov eax, dword [0x1005f370]
mov dword [eax + 0x278a167e], 1
mov eax, dword [0x10060c48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x10060c44]
mov dword [esp + 0x14], ecx
add eax, 0xa7f8e5a3
sub eax, 1
sub eax, 0xa7f8e5a3
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
imul eax, edx
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl al
mov ch, ah
xor ch, 0xff
mov byte [esp + 0xd], ch
mov dl, al
xor dl, 0xff
mov byte [esp + 0xe], dl
mov cl, 1
xor cl, 1
mov byte [esp + 0xf], cl
and ch, 0xff
mov byte [esp + 0x10], ch
and ah, cl
mov byte [esp + 0x11], ah
and dl, 0xff
mov byte [esp + 0x12], dl
and al, cl
mov byte [esp + 0x13], al
mov cl, byte [esp + 0xe]
mov al, byte [esp + 0xd]
mov ch, byte [esp + 0x13]
mov ah, byte [esp + 0x12]
mov dh, byte [esp + 0x11]
mov dl, byte [esp + 0x10]
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0xb], dl
or al, cl
mov byte [esp + 0xc], al
mov al, byte [esp + 0xb]
mov dl, byte [esp + 0xf]
mov cl, byte [esp + 0xc]
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x100409fc
jmp 0x10040a07
jmp 0x10040a01
add esp, 0x5c
pop esi
pop ebx
ret
mov eax, dword [0x1005f370]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x278a167e
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x10040927
Function at 0x10047550
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
sub esp, 0x2c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
add eax, 0x1d
mov dword [esp + 0x28], eax
mov eax, dword [0x1005f39c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add eax, 0x15e02858
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp eax, 1
sete al
mov byte [esp + 0x13], al
mov cl, byte [esp + 0x13]
xor eax, eax
test cl, 1
mov dword [esp + 0xc], eax
jne 0x10047638
jmp 0x100475b2
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esp + 8], eax
mov bh, byte [edx + eax]
mov esi, 0x1d
xor edx, edx
div esi
mov eax, dword [esp + 8]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0x7c
mov cl, 0xff
xor cl, 0x7c
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0x7c
and bl, cl
mov ecx, dword [esp + 0x24]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
add eax, 0x8c320ac0
add eax, 1
sub eax, 0x8c320ac0
cmp eax, 0x14
mov dword [esp + 0xc], eax
jne 0x100475b2
mov eax, dword [0x1005f39c]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x15e02858
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x10047638
add esp, 0x2c
pop esi
pop ebx
ret
Function at 0x1004f15d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1004f19c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1004f19c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1004f19c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1004f19c
cmp dword [ecx + 0x74], 0xe
jbe 0x1004f19c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10051e4d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10051eea
push ebx
push esi
call fcn.10051e16
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10051daa
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10051e97
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10051ee9
push edi
push eax
call fcn.1004fe27
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10051eb7
call fcn.1004fded
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10051ee8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10051daa
add esp, 0x20
test eax, eax
jne 0x10051ed6
push edi
call fcn.1004fded
jmp 0x10051ede
push ebx
call fcn.1004fded
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10052157
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1005a090
push 0x1005a088
push str.FlsAlloc
push 0x1f
call fcn.10052073
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005218b
push dword [ebp + 8]
mov ecx, esi
call dword [0x10058148]
call esi
jmp 0x10052191
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100521d5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1005a0a0
push 0x1005a098
push str.FlsGetValue
push 0x21
call fcn.10052073
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005220c
push dword [ebp + 8]
mov ecx, esi
call dword [0x10058148]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10052214
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1005a0a8
push 0x1005a0a0
push str.FlsSetValue
push 0x22
call fcn.10052073
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005224e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10058148]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10057890
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100578bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100578bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x406ea9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410d7c]
jne 0x406eb3
repz ret
jmp fcn.0040868f

Function at 0x40785d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x410d7c]
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.004045de
and dword [ebp - 0x14], 0
cmp dword [0x421dc0], 0
mov dword [ebp - 0x18], eax
jne 0x407910
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4079b8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4079b8
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x421dc0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x421dc4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x421dc8], eax
call edi
push eax
call esi
mov dword [0x421dd0], eax
test eax, eax
je 0x407910
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x421dcc], eax
mov eax, dword [0x421dcc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407969
cmp dword [0x421dd0], ecx
je 0x407969
push eax
call esi
push dword [0x421dd0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407969
test ebx, ebx
je 0x407969
call edi
test eax, eax
je 0x407960
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407960
test byte [ebp - 8], 1
jne 0x407969
or dword [ebp + 0x10], 0x200000
jmp 0x40799c
mov eax, dword [0x421dc4]
cmp eax, dword [ebp - 0x18]
je 0x40799c
push eax
call esi
test eax, eax
je 0x40799c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40799c
mov eax, dword [0x421dc8]
cmp eax, dword [ebp - 0x18]
je 0x40799c
push eax
call esi
test eax, eax
je 0x40799c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x421dc0]
call esi
test eax, eax
je 0x4079b8
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4079ba
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406ea9
leave
ret
Function at 0x408b39
Capabilities:
Delete file
Read .ini file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x990
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
push esi
xor esi, esi
cmp dword [0xb9c254], 0x114e
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0xc6ef3720
jne 0x408b70
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
cmp dword [0xb9c254], 0xb54
mov eax, dword [0x41d710]
mov dword [ebp - 0x28], eax
mov eax, dword [0x41d714]
mov dword [ebp - 0x20], eax
jne 0x408bab
lea eax, [ebp - 0x6c]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindActCtxSectionStringW]
push esi
push esi
push esi
lea eax, [ebp - 0x58c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFileEx]
mov eax, dword [0x41d718]
mov dword [ebp - 0x24], eax
mov eax, dword [0x41d71c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x20
jmp 0x408bc7
mov ebx, dword [ebp - 0x10]
mov eax, dword [0xb9c254]
mov edi, ebx
shl edi, 4
add edi, dword [ebp - 0x24]
cmp eax, 0xfa9
jne 0x408be5
mov dword [0xb9c250], 0xedeb2e40
mov ecx, dword [ebp - 0xc]
add ecx, ebx
shr ebx, 5
add ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
mov dword [0xb9c24c], 0x9150ce2e
cmp eax, 0x976
jne 0x408c21
push esi
push esi
lea eax, [ebp - 0x98c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [0xb9b394], esi
xor ebx, dword [ebp - 0x2c]
xor ebx, edi
sub dword [ebp - 8], ebx
cmp dword [0xb9c254], 0x5b6
jne 0x408c4a
push esi
lea eax, [ebp - 0x98c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VerLanguageNameW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], esi
and eax, 0x4dd0071b
sub dword [ebp - 0x14], 0x2273eb88
mov ebx, 0x3a7cd587
add dword [ebp - 0x14], 0x2273eb8c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov edx, eax
shl edx, cl
mov ecx, eax
shr ecx, 5
add ecx, dword [ebp - 0x20]
add edx, dword [ebp - 0x28]
mov dword [0x430bb0], esi
xor edx, ecx
mov ecx, dword [ebp - 0xc]
add ecx, eax
xor edx, ecx
sub dword [ebp - 0x10], edx
cmp dword [0xb9c254], 0x1d5
jne 0x408cc9
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push esi
push esi
push esi
lea eax, [ebp - 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteTapemark]
add dword [ebp - 0xc], 0x61c88647
dec dword [ebp - 0x18]
jne 0x408bc4
cmp dword [0xb9c254], 0xa6d
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
mov dword [edi], eax
jne 0x408d0b
push 0x30
lea eax, [ebp - 0x5c]
push esi
push eax
mov dword [ebp - 0x60], esi
call fcn.00406f60
add esp, 0xc
push esi
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
mov eax, dword [ebp - 8]
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
leave
ret 4