joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412ba0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412dae
sub esp, 0x18
mov eax, dword [0x544830]
test eax, eax
jne 0x412d97
nop
nop
lea eax, [0x544820]
mov dword [esp], eax
call fcn.00409450
mov eax, dword [0x544824]
test eax, eax
je 0x412be8
cmp dword [eax + 8], 0xcc
jne 0x412c5e
mov edx, dword [0x544828]
test edx, edx
jne 0x412c40
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x548fb0]
mov dword [esp + 8], eax
call fcn.0040b950
mov eax, dword [esp + 0xc]
mov dword [0x544828], eax
mov ecx, dword [0x54482c]
mov dword [eax], ecx
mov eax, dword [0x544828]
mov dword [0x54482c], eax
movzx eax, byte [0x544c80]
test al, al
jne 0x412c40
xor eax, eax
jmp 0x412d68
mov edx, dword [0x544828]
mov ebx, dword [edx + 4]
mov dword [0x544828], ebx
mov ebx, dword [0x544824]
mov dword [edx + 4], ebx
mov dword [0x544824], edx
mov edx, dword [0x544824]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x412d47
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402a10
mov eax, dword [0x5449d0]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x412ca8
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
jmp 0x412cbe
call fcn.0045de80
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov eax, dword [0x5449d0]
test eax, eax
jne 0x412ce2
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
jmp 0x412d10
call fcn.0045dec0
mov eax, dword [esp + 0x28]
mov dword [edi], eax
mov ebx, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x1c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x14], esi
mov dword [edx + ecx*4 + 0x1c], eax
mov dword [edx + ecx*4 + 0x20], ebx
mov dword [edx + ecx*4 + 0x14], ebp
nop
nop
lea eax, [0x544820]
mov dword [esp], eax
call fcn.00409650
nop
lea eax, [0x54481c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402b90
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0045dee0
lea edx, [0x517310]
movzx ebx, byte [edx + eax]
lea ebp, [0x544c80]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x412c40
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x412d51
mov ecx, 5
call fcn.0045ded0
lea eax, [0x49ce64]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00434300
nop
call fcn.0045ca70
jmp fcn.00412ba0
Function at 0x4208a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x420988
sub esp, 0x1c
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x420982
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.00420ce0
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x10], ax
mov word [esp + 0x12], cx
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], bl
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00420dc0
movzx eax, byte [esp + 0x18]
test al, 2
je 0x420936
cmp word [esp + 0x10], 0x1f0
jbe 0x420936
and eax, 0xfffffffd
nop
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x42097d
mov ecx, dword [edx]
lea eax, [ecx + eax*8]
movzx ecx, word [esp + 0x10]
movzx edx, word [esp + 0x12]
mov ebx, dword [esp + 0x14]
movzx ebp, byte [esp + 0x18]
mov dword [esp], eax
mov word [esp + 4], cx
mov word [esp + 6], dx
mov dword [esp + 8], ebx
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
call fcn.00420d50
add esp, 0x1c
ret
call fcn.0045dee0
call fcn.0045dee0
nop
call fcn.0045ca70
jmp fcn.004208a0
Function at 0x4209a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x420ad4
sub esp, 0x20
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x420ace
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.00420ce0
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x14], ax
mov word [esp + 0x16], cx
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00420eb0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x28]
cmp edx, ecx
jae 0x420ac7
mov ecx, dword [eax]
lea ecx, [ecx + edx*8]
movzx ebx, word [esp + 0x14]
movzx ebp, word [esp + 0x16]
mov esi, dword [esp + 0x18]
movzx edi, byte [esp + 0x1c]
mov dword [esp], ecx
mov word [esp + 4], bx
mov word [esp + 6], bp
mov dword [esp + 8], esi
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
call fcn.00420d50
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax - 1]
shl eax, 0xd
mov ecx, dword [esp + 0x28]
shl ecx, 0x16
add eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x28], eax
jae 0x420a8a
mov dword [ecx + 0x28], eax
lea eax, [ecx + 0x20]
mov dword [esp], eax
call fcn.0042d060
mov eax, dword [esp + 0x10]
cmp dword [esp + 4], eax
jae 0x420ac3
mov ecx, dword [esp + 0x24]
add ecx, 0x20
nop
mov dword [esp], ecx
xor ecx, ecx
sub ecx, eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.00402950
add esp, 0x20
ret
mov eax, edx
call fcn.0045dee0
call fcn.0045dee0
nop
call fcn.0045ca70
jmp fcn.004209a0
Function at 0x426510
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x426654
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00424390
mov eax, dword [esp + 4]
test eax, eax
je 0x42663d
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x544900]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov ebx, dword [edx + 0x18]
nop
inc dword [ebx + 0x7c]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp], eax
call fcn.00421fc0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xa], bl
nop
mov ebp, dword [esp + 0x18]
mov dword [esp], ebp
call fcn.00409450
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x4265a7
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x4265d2
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x4265bc
cmp byte [ebp + 6], bl
je 0x4265c7
cmp esi, edx
ja 0x4265ce
jne 0x4265a5
cmp byte [ebp + 6], bl
jbe 0x4265a5
jmp 0x4265ce
mov ebx, 1
jmp 0x4265d4
xor ebx, ebx
jmp 0x4265d4
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x4265f2
mov ebx, dword [esp + 0x24]
mov word [ebx + 4], dx
mov edx, dword [ecx]
mov dword [ebx], edx
mov dword [ecx], ebx
mov dword [esp], eax
call fcn.00426410
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409650
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x544900]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42662d
movzx eax, byte [ebx + 0x65]
test al, al
je 0x42662d
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x49df25]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00434300
nop
call fcn.0045ca70
jmp fcn.00426510
Function at 0x426ae0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x426c50
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x426be0
cmp cl, 1
je 0x426b72
cmp cl, 2
jne 0x426c39
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042c070
nop
nop
lea eax, [0x528e20]
mov dword [esp], eax
call fcn.00409450
mov eax, dword [0x528dc4]
sub eax, dword [0x528da8]
nop
mov dword [0x528dc4], eax
mov eax, dword [0x528db4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x528db4], ecx
nop
lea eax, [0x528e20]
mov dword [esp], eax
call fcn.00409650
jmp 0x426c35
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00412ba0
nop
nop
lea eax, [0x528e20]
mov dword [esp], eax
call fcn.00409450
mov eax, dword [0x528d9c]
sub eax, dword [0x528d80]
nop
mov dword [0x528d9c], eax
mov eax, dword [0x528d8c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x528d8c], ecx
nop
lea eax, [0x528e20]
mov dword [esp], eax
call fcn.00409650
jmp 0x426c35
cmp cl, 3
jne 0x426beb
mov byte [eax + 8], 1
jmp 0x426c35
cmp cl, 4
jne 0x426c39
nop
nop
lea eax, [0x528e20]
mov dword [esp], eax
call fcn.00409450
mov eax, dword [0x528e14]
sub eax, dword [0x528df8]
nop
mov dword [0x528e14], eax
mov eax, dword [0x528e04]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x528e04], ecx
nop
nop
lea eax, [0x528e20]
mov dword [esp], eax
call fcn.00409650
add esp, 0x14
ret
lea eax, [0x49b1bc]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00434300
nop
call fcn.0045ca70
jmp fcn.00426ae0
Function at 0x44e0c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44e23a
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x44e230
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x44e11a
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x44e11a
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x44e12d
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x44e207
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x44e1fb
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x44e1f2
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x44e180
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x44e1c3
mov eax, 1
cmp eax, ecx
ja 0x44e1b7
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.0045df40
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x44e1ed
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x44e1bc
mov ecx, dword [esp + 0xc]
jmp 0x44e185
call fcn.0045dee0
xor eax, eax
mov ecx, eax
call fcn.0045ded0
call fcn.0045df40
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x44e22b
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x44e200
mov ecx, dword [esp + 0x18]
jmp 0x44e132
call fcn.0045dee0
xor eax, eax
mov ecx, eax
call fcn.0045ded0
nop
call fcn.0045ca70
jmp fcn.0044e0c0
Function at 0x452240
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x452343
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0xf0], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00452970
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x48bae0]
mov dword [esp], ecx
call fcn.0040b600
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax + 4], ecx
lea ecx, [0x528edc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.00451b50
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00450fa0
add esp, 0x28
ret
call fcn.0045ca70
jmp fcn.00452240

Function at 0x455550
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4555eb
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x544900]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0045e017
lea ecx, [0x455600]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0045c980
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0045ca70
jmp fcn.00455550
Function at 0x45ac80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45ade0
sub esp, 0x1c
mov eax, dword [esp + 0x20]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x18], ecx
nop
mov dword [esp], ecx
call fcn.00409450
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x45adc9
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call fcn.0042e7d0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
call fcn.0042eeb0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
call fcn.0042eeb0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x45ad50
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call fcn.0044ec30
mov eax, dword [0x5449d0]
test eax, eax
jne 0x45ad37
mov eax, dword [esp + 0x20]
jmp 0x45ad45
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
call fcn.0045de70
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x45ad87
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call fcn.0044ec30
mov eax, dword [0x5449d0]
test eax, eax
jne 0x45ad72
mov eax, dword [esp + 0x20]
jmp 0x45ad80
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x78]
call fcn.0045de70
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409650
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45adad
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0042ec90
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45adc5
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0042ec90
add esp, 0x1c
ret
lea eax, [0x49f52c]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00434300
nop
call fcn.0045ca70
jmp fcn.0045ac80
Function at 0x45dd20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x544ac0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x45c4ab
je 0x45c4fe
cmp ebx, 0x20
jbe 0x45c504
cmp ebx, 0x40
jbe 0x45c54a
jmp 0x45c5eb
test ebx, ebx
je 0x45c4f4
add eax, 0x10
test ax, 0xff0
je 0x45c4e0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x4b7c80]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x4b7d80]
jmp 0x45c4c8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x45c4c8
pxor xmm1, xmmword [0x544ad0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x544ad0]
pxor xmm2, xmmword [0x544ae0]
pxor xmm3, xmmword [0x544af0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x544ad0]
pxor xmm2, xmmword [0x544ae0]
pxor xmm3, xmmword [0x544af0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x45c64a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x5447e6], 0
je 0x45dd3a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x45c470
jmp fcn.00408060
Function at 0x45dd40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x402edc
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00408060
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.0045ca70
jmp 0x402ea0
cmp byte [0x5447e6], 0
je 0x45dd5b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x45c470
jmp 0x402ea0

Function at 0x45ebb0
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x45ebca
mov ecx, 0x14
jmp 0x45ebd3
shl ecx, 2
add ecx, 0xe10
mov dword [0x544900], ecx
ret
Function at 0x40c253
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
cmp dword [esi + 0xc], ecx
jne 0x40c26b
mov eax, 0x80004001
jmp 0x40c3dd
mov eax, dword [ebp + 0xc]
push ebx
push edi
test byte [eax + 4], 2
je 0x40c3be
push 0xffffffffffffffff
add eax, 0x108
lea ecx, [esi + 0x115c]
push eax
push 0x824
push ecx
call fcn.00414964
add esp, 0x10
cmp eax, 0x50
jne 0x40c2a5
mov edi, 0x8007007a
jmp 0x40c3d9
push 0x824
lea ebx, [esi + 0x114]
xor edi, edi
push ebx
lea eax, [esi + 0x115c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x40c2e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x40c3d9
movzx eax, word [ebx]
push 0x68
pop ecx
push 0x74
pop edx
cmp cx, ax
jne 0x40c359
cmp dx, word [esi + 0x116]
jne 0x40c31e
cmp dx, word [esi + 0x118]
jne 0x40c31e
push 0x70
pop ecx
cmp cx, word [esi + 0x11a]
push 0x68
pop ecx
jne 0x40c31e
push 0x3a
pop edx
cmp dx, word [esi + 0x11c]
push 0x74
pop edx
je 0x40c382
cmp cx, ax
jne 0x40c359
cmp dx, word [esi + 0x116]
jne 0x40c359
cmp dx, word [esi + 0x118]
jne 0x40c359
push 0x70
pop ecx
cmp cx, word [esi + 0x11a]
jne 0x40c359
push 0x73
pop ecx
cmp cx, word [esi + 0x11c]
jne 0x40c359
push 0x3a
pop ecx
cmp cx, word [esi + 0x11e]
je 0x40c382
push 0x66
pop ecx
cmp cx, ax
jne 0x40c3a2
cmp dx, word [esi + 0x116]
jne 0x40c3a2
push 0x70
pop eax
cmp ax, word [esi + 0x118]
jne 0x40c3a2
push 0x3a
pop eax
cmp ax, word [esi + 0x11a]
jne 0x40c3a2
xor ecx, ecx
jmp 0x40c389
add ebx, 2
cmp word [ebx], cx
jne 0x40c386
push 0x2f
pop eax
cmp ax, word [ebx - 2]
je 0x40c3b1
mov word [ebx], ax
xor eax, eax
mov word [ebx + 2], ax
jmp 0x40c3b1
mov ecx, ebx
call fcn.0040e8ca
mov edi, eax
test edi, edi
js 0x40c3d9
xor ecx, ecx
mov dword [esi + 0x21a4], ecx
test edi, edi
js 0x40c3d0
mov eax, dword [ebp + 0xc]
test byte [eax + 4], 4
je 0x40c3d0
mov eax, dword [eax + 0x1150]
mov dword [esi + 0x21a8], eax
push ecx
push esi
call fcn.0040c3e2
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
ret 0xc