joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001d3b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0aa5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100dc280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 0xf
jbe 0x1001d3e7
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1001d405
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1001d3f3
push esi
push edx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.1001f6b0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1001d436
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x71c71c7
je 0x1001d58f
lea eax, [ebx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x1c], 0
call fcn.1008d9d0
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.1001ca40
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
vmovss xmm1, dword [ebx]
vxorps xmm0, xmm0, xmm0
inc eax
vcvtsi2sd xmm0, xmm0, eax
shr eax, 0x1f
vaddsd xmm0, xmm0, qword [eax*8 + 0x100d6130]
mov eax, dword [ebx + 0x1c]
vcvtsd2ss xmm2, xmm0, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2sd xmm0, xmm0, dword [ebx + 0x1c]
shr eax, 0x1f
vaddsd xmm0, xmm0, qword [eax*8 + 0x100d6130]
vcvtsd2ss xmm0, xmm0, xmm0
vdivss xmm0, xmm2, xmm0
vcomiss xmm0, xmm1
jbe 0x1001d531
vdivss xmm0, xmm2, xmm1
vmovss dword [ebp + 0xc], xmm0
fld dword [ebp + 0xc]
fstp qword [ebp - 0x18]
vxorpd xmm0, xmm0, xmm0
vroundsd xmm0, xmm0, qword [ebp - 0x18], 2
vmovsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp dword [ebp + 0xc]
vmovss xmm0, dword [ebp + 0xc]
call fcn.1008e4f0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1001d515
cmp eax, 0x200
jae 0x1001d513
shl eax, 3
cmp eax, ecx
jae 0x1001d515
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1001e2f0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1001f6b0
mov edx, dword [eax]
jmp 0x1001d534
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1001d55c
mov dword [ecx + eax*8], edi
jmp 0x1001d56e
cmp esi, edx
jne 0x1001d565
mov dword [ecx + eax*8], edi
jmp 0x1001d572
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1001d572
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1008f990
int3
Function at 0x10026250
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1058
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x100dc280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
vmovss xmm0, dword [0x100d5f94]
vmovss dword [esi + 0x10], xmm0
vmovss dword [esi + 0x14], xmm0
vmovss dword [esi + 0x18], xmm0
vxorps xmm0, xmm0, xmm0
vmovss dword [esi + 0x1c], xmm0
mov dword [esi], 0x100b3558
mov dword [ebp - 4], 0
mov byte [esi + 0x30], 1
mov dword [esi + 0x2c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x3c], 0
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x24], 0
cmp ecx, eax
jne 0x100263aa
lea edi, [ecx + ecx]
test ecx, ecx
jne 0x1002632d
mov edi, 1
mov dword [ebp - 0x14], edi
cmp eax, edi
jge 0x100263aa
test edi, edi
je 0x1002634a
mov eax, edi
shl eax, 5
push 0x10
push eax
call fcn.10072230
add esp, 8
jmp 0x1002634c
xor eax, eax
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x18], eax
test ecx, ecx
jle 0x10026381
xor edi, edi
mov edx, eax
nop word [eax + eax]
test edx, edx
je 0x10026370
mov eax, dword [esi + 0x2c]
vmovdqu ymm0, ymmword [eax + edi]
vmovdqu ymmword [edx], ymm0
add edi, 0x20
add edx, 0x20
sub ecx, 1
jne 0x10026360
mov ecx, dword [esi + 0x24]
mov edi, dword [ebp - 0x14]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1002639d
cmp byte [esi + 0x30], 0
je 0x1002639a
push eax
vzeroupper
call fcn.10072240
add esp, 4
mov ecx, dword [esi + 0x24]
mov eax, dword [ebp - 0x18]
mov byte [esi + 0x30], 1
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], edi
shl ecx, 5
add ecx, dword [esi + 0x2c]
je 0x100263bb
vmovdqu ymm0, ymmword [ebp - 0x40]
vmovdqu ymmword [ecx], ymm0
inc dword [esi + 0x24]
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
shl ecx, 5
mov dword [ecx + eax - 8], 2
mov eax, esi
vzeroupper
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
Function at 0x1003ba90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 8
push esi
mov esi, eax
shl esi, 4
add esi, dword [ecx + 0x94]
cmp eax, dword [ebp + 0x18]
jge 0x1003bb50
push ebx
push edi
mov eax, dword [esi + 0xc]
mov edi, dword [ebp + 0xc]
shr eax, 0x1f
xor al, 1
mov dx, word [esi + 4]
mov dword [ebp - 4], eax
movzx eax, word [edi + 2]
cmp word [esi + 8], ax
movzx eax, word [edi + 4]
sbb ecx, ecx
mov bx, word [esi + 6]
inc ecx
cmp word [esi + 0xa], ax
sbb eax, eax
xor edi, edi
inc eax
and ecx, eax
mov eax, dword [ebp + 0x10]
cmp word [eax + 4], dx
movzx eax, word [eax + 2]
cmovae edi, ecx
cmp ax, word [esi + 2]
sbb eax, eax
xor ecx, ecx
inc eax
and edi, eax
mov eax, dword [ebp + 0xc]
cmp word [eax], bx
mov eax, dword [ebp + 0x10]
cmovbe ecx, edi
movzx eax, word [eax]
cmp ax, word [esi]
sbb eax, eax
inc eax
and ecx, eax
neg ecx
and ecx, 0x80000000
cmp byte [ebp - 4], 0
je 0x1003bb57
test ecx, ecx
je 0x1003bb3b
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov ebx, dword [ebp + 8]
and eax, 0x7ffffff
sar ecx, 0x1b
push eax
push ecx
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov eax, dword [ebp + 0x14]
add esi, 0x10
inc eax
mov dword [ebp + 0x14], eax
cmp eax, dword [ebp + 0x18]
jl 0x1003bab0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x14
test ecx, ecx
jne 0x1003bb3b
mov ecx, dword [esi + 0xc]
neg ecx
mov eax, ecx
shl eax, 4
add esi, eax
mov eax, dword [ebp + 0x14]
add eax, ecx
jmp 0x1003bb42
Function at 0x100475f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1004760b
cmp byte [esi + 0x14], 0
je 0x1004760b
push eax
call fcn.10072240
add esp, 4
lea edi, [esi + 0xc]
mov byte [esi + 0x14], 1
mov dword [esi + 0x10], 0
lea ebx, [esi + 0x28]
mov dword [esi + 8], 0
mov dword [edi], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10047641
cmp byte [ebx], 0
je 0x10047641
push eax
call fcn.10072240
add esp, 4
lea edi, [esi + 0xc]
mov byte [ebx], 1
lea eax, [esi + 0x3c]
mov dword [esi + 0x24], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x10047679
cmp byte [eax], 0
je 0x10047674
push ecx
call fcn.10072240
add esp, 4
lea eax, [esi + 0x3c]
lea ebx, [esi + 0xc]
jmp 0x1004767b
mov ebx, edi
mov byte [eax], 1
mov dword [esi + 0x38], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
cmp dword [edi], 2
jge 0x100476f5
push 0x10
push 0x18
call fcn.10072230
mov edx, dword [esi + 8]
add esp, 8
mov edi, eax
test edx, edx
jle 0x100476d2
xor ecx, ecx
nop
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0xc]
vmovq xmm0, qword [eax + ecx - 0xc]
vmovq qword [ecx + edi - 0xc], xmm0
mov eax, dword [eax + ecx - 4]
mov dword [ecx + edi - 4], eax
sub edx, 1
jne 0x100476b0
lea ebx, [esi + 0xc]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100476e8
cmp byte [esi + 0x14], 0
je 0x100476e8
push eax
call fcn.10072240
add esp, 4
mov byte [esi + 0x14], 1
mov dword [esi + 0x10], edi
mov dword [ebx], 2
pop edi
mov ecx, esi
pop esi
pop ebx
jmp fcn.10047190

Function at 0x10098e01
Capabilities:
Parse pe header

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

Function at 0x1009c177
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100d03f0
push 0x100d03e8
push str.FlsAlloc
push 0x1f
call fcn.1009c093
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1009c1ab
push dword [ebp + 8]
mov ecx, esi
call dword [0x100b3138]
call esi
jmp 0x1009c1b1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1009c1f5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100d0400
push 0x100d03f8
push str.FlsGetValue
push 0x21
call fcn.1009c093
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1009c22c
push dword [ebp + 8]
mov ecx, esi
call dword [0x100b3138]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1009c234
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100d0408
push 0x100d0400
push str.FlsSetValue
push 0x22
call fcn.1009c093
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1009c26e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100b3138]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1009e1de
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 0x1009e27b
push ebx
push esi
call fcn.1009e1a7
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.1009e13b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1009e228
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1009e27a
push edi
push eax
call fcn.1009aa21
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1009e248
call fcn.1009a9e7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1009e279
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1009e13b
add esp, 0x20
test eax, eax
jne 0x1009e267
push edi
call fcn.1009a9e7
jmp 0x1009e26f
push ebx
call fcn.1009a9e7
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 0x100af230
Capabilities:
Parse pe header

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

Function at 0x419a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.IaDsgWGk
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x419a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419a38
mov eax, 1
add ebx, ebx
jne 0x419a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419a50
jne 0x419a6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a50
xor ecx, ecx
sub eax, 3
jb 0x419a80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419af2
mov ebp, eax
add ebx, ebx
jne 0x419a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419abc
inc ecx
add ebx, ebx
jne 0x419aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419a9d
jne 0x419ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419adc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419acd
jmp 0x419a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419adc
add edi, ecx
jmp 0x419a3e
pop esi
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419b44
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x199f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19a74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419af9
mov ecx, edi
jns 0x419b28
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19a7c]
or eax, eax
je 0x419b3e
mov dword [ebx], eax
add ebx, 4
jmp 0x419b16
call dword [esi + 0x19a78]
mov ebp, dword [esi + 0x19a80]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419b78
sub esp, 0xffffff80
jmp section.VHqxTUpa
Function at 0x401780
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x170
mov eax, dword [ebp + 8]
mov ecx, 0xb430
lea edx, [esp + 0xdc]
mov word [esp + 0x16a], 0x192d
mov dword [esp + 0x164], 0x6e6f
mov byte [esp + 0x163], 0x15
mov word [esp + 0xd6], 0x2a2c
mov byte [esp + 0x47], 0x54
mov dword [esp + 0xd0], eax
sub ecx, dword [esp + 0x164]
mov dword [esp + 0xd8], ecx
mov eax, dword [esp + 0xd8]
mov ecx, dword [sym.imp.USER32.dll_GetShellWindow]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
call ecx
mov ecx, dword [esp + 0x164]
add ecx, 0xffffc631
mov edx, dword [esp + 0x34]
cmp ecx, edx
mov dword [esp + 0x30], eax
ja 0x401964
jmp 0x401854
lea eax, [0x401690]
mov dword [esp + 0x40], eax
jmp 0x401848
mov dword [esp + 0x40], 0
jmp 0x401848
movss xmm0, dword [0x40408c]
addss xmm0, dword [esp + 0x15c]
movss dword [esp + 0x15c], xmm0
jmp 0x4019d7
mov eax, dword [esp + 0x40]
lea esp, [ebp - 4]
pop esi
pop ebp
ret 4
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x164]
xor eax, 0x6eef
xor ecx, 0x6e08
mov edx, esp
mov dword [edx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 4], eax
mov esi, dword [esp + 0x30]
mov dword [edx], esi
mov edx, dword [sym.imp.USER32.dll_GetClassNameA]
mov dword [esp + 0x2c], ecx
call edx
sub esp, 0xc
movsx ecx, byte [esp + 0xdf]
mov byte [esp + 0x169], 0x3a
mov edx, dword [esp + 0x2c]
cmp ecx, edx
mov dword [esp + 0x28], eax
jne 0x401942
jmp 0x401964
lea eax, [fcn.004035f0]
mov dword [esp + 0x40], eax
jmp 0x401848
lea eax, [0x401420]
mov dword [esp + 0x40], eax
jmp 0x401848
mov dword [esp + 0x40], 0
jmp 0x401848
mov ax, word [esp + 0x16a]
xor ax, 0x669a
cmp word [esp + 0xd6], ax
jbe 0x4018ce
jmp 0x401921
lea eax, str.current__2.4f
lea ecx, [esp + 0x48]
movsd xmm0, qword [esp + 0xc8]
mov dword [esp], ecx
mov dword [esp + 4], eax
movsd qword [esp + 8], xmm0
call sub.msvcrt.dll_sprintf
mov dword [esp + 0x24], eax
jmp 0x401829
mov al, 0x56
cvtss2sd xmm0, dword [esp + 0x15c]
mov cl, byte [esp + 0x47]
movsd qword [esp + 0xc8], xmm0
cmp al, cl
jne 0x4018f3
jmp 0x401813
mov al, byte [esp + 0x163]
xor al, 0xc7
mov cl, byte [esp + 0x163]
add cl, 0x9b
mov byte [esp + 0x3f], cl
cmp al, byte [esp + 0x3f]
jb 0x4018f3
jmp 0x4018db
mov eax, dword [sym.imp.KERNEL32.DLL_GetConsoleWindow]
call eax
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
sub esp, 8
xorps xmm0, xmm0
movss dword [esp + 0x15c], xmm0
mov dword [esp + 0x20], eax
jmp 0x4019d7
mov eax, dword [esp + 0xd0]
mov ecx, eax
sub ecx, 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
je 0x4018bf
jmp 0x4019ae
mov eax, dword [esp + 0x1c]
sub eax, 1
mov dword [esp + 0x14], eax
je 0x4018b3
jmp 0x4019c1
mov eax, dword [esp + 0x1c]
sub eax, 0xd
mov dword [esp + 0x10], eax
je 0x401813
jmp 0x40181f
movss xmm0, dword [0x404088]
ucomiss xmm0, dword [esp + 0x15c]
jae 0x401921
jmp 0x401992
Function at 0x402ec0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0x3a47
mov edx, dword [esp + 0xb4]
mov dword [esp + 0xb4], 0xffffc2f3
mov word [esp + 0xa2], 0x3895
mov dword [esp + 0x9c], 0x4917
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0xbc]
movzx ebx, word [esp + 0xa2]
mov dword [esp + 0x30], esi
mov si, bx
xor ebx, 0x2ef
mov word [esp + 0x56], bx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0x1e22
mov dword [esp + 0x64], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x2c], edi
mov word [esp + 0x2a], si
mov dword [esp + 0x24], edx
jmp loc.0049bea4
Function at 0x401d10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401d68
cmp byte [esi + ebx - 1], 0xa
je 0x401d3c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x404170], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x401db0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push eax
mov eax, 0x1010
call fcn.00401048
sub esp, eax
lea esi, [ebp - 0x1008]
mov eax, dword [esp + eax]
mov dword [esp], 0
mov ebx, eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], 0x800
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
sub esp, 0x10
test eax, eax
jne 0x401e06
test byte [0x404020], 2
jne 0x401e1a
mov eax, esi
call sym._output
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.LoadString_failed__error__ld_n
mov dword [esp + 8], str.fatal_string
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x404020
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x401e06
Function at 0x401e50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x1020
call fcn.00401048
sub esp, eax
mov esi, edx
lea edi, [ebp - 0x100c]
mov eax, dword [esp + eax]
mov dword [esp], 0
mov ebx, eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], 0x800
mov dword [esp + 8], edi
mov dword [esp + 4], 0x67
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
sub esp, 0x10
test eax, eax
jne 0x401eb1
test byte [0x404020], 2
jne 0x401f6f
mov eax, edi
call sym._output
mov eax, 0x405046
call sym._output
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1014], esi
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x1010]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0x3100
call dword [sym.imp.kernel32.dll_FormatMessageW]
sub esp, 0x1c
test eax, eax
jne 0x401f48
test byte [0x404020], 2
jne 0x401f22
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov dword [esp + 0xc], str.FormatMessage_failed_n
mov dword [esp + 8], str.fatal_error
mov dword [esp + 4], 0x404020
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x401f15
mov eax, dword [ebp - 0x1010]
call sym._output
mov eax, dword [ebp - 0x1010]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
push eax
mov eax, 0x405062
call sym._output
jmp 0x401f15
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.LoadString_failed__error__ld_n
mov dword [esp + 8], str.fatal_string_error
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x404020
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x401eb1
Function at 0x402150
Capabilities:
Write file on windows

Disassembly:
cmp word [eax], 0
je 0x402299
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x34
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x402168
mov ebx, eax
sub ebx, esi
sar ebx, 1
cmp esi, eax
je 0x4021b4
mov dword [esp], 0xfffffff5
mov edi, dword [sym.imp.kernel32.dll_GetStdHandle]
call edi
lea edx, [ebp - 0x10]
sub esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteConsoleW]
sub esp, 0x14
test eax, eax
je 0x4021bc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [sym.imp.kernel32.dll_GetOEMCP]
mov dword [ebp - 0x20], ecx
call ecx
mov dword [esp + 0x1c], 0
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [ebp - 0x1c], eax
call eax
sub esp, 0x20
mov dword [ebp - 0x14], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4021b4
mov ecx, dword [ebp - 0x20]
call ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov ebx, dword [ebp - 0x1c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
lea ebx, [ebp - 0x10]
sub esp, 0x20
mov dword [esp], 0xfffffff5
call edi
mov edi, dword [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp + 0x10], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x4021b4
ret
Function at 0x403cf0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop