joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49fc90
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4d8978]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x49fcd6
cmp word [ebx], dx
jne 0x49fcd6
or byte [eax + edi + 0x28], 4
jmp 0x49fcdb
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x49fe3e
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x49fe1e
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x49fd1c
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x49fd52
cmp eax, edx
jae 0x49fd60
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x49fcf7
jmp 0x49fe3e
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x49fe19
cmp dword [ebp - 0x18], 0
je 0x49fe19
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4d8978]
test byte [eax + edi + 0x28], 0x48
je 0x49fdef
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x49fdb3
mov word [esi], cx
jmp 0x49fdea
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4d8978]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4d8978]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4d8978]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x49fe3e
pop eax
cmp word [ebp - 4], ax
jne 0x49fdff
cmp esi, ebx
jne 0x49fdff
mov word [esi], ax
jmp 0x49fe3b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040191f
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x49fe3e
push 0xd
pop eax
jmp 0x49fdfa
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4d8978]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x49fe38
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x49fe3e
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a3937
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d5040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4a3982
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004a3def
test al, al
jne 0x4a397c
sub edx, 2
cmp edx, edi
jne 0x4a3962
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4a39a4
lea eax, [edi + 2]
cmp edx, eax
je 0x4a39a4
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004a3530
add esp, 0x10
jmp 0x4a3a9e
push esi
lea ecx, [ebp - 0x255]
call fcn.004a3def
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a39e7
push dword [ebp - 0x25c]
jmp 0x4a3994
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4a3a24
cmp word [ebp - 0x226], 0
je 0x4a3a45
cmp word [ebp - 0x226], ax
jne 0x4a3a24
cmp word [ebp - 0x224], 0
je 0x4a3a45
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004a3530
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4a3a91
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4a39fe
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4a3a79
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4a3a9e
push 0x4a2f18
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004054f7
add esp, 0x10
jmp 0x4a3a6e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040303f
leave
ret

Function at 0x4a9400
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004042c3
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4a946f
cmp esi, dword [ebp - 4]
je 0x4a946a
cmp dword [ebp + 0xc], 0
je 0x4a946a
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4a9447
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004a8e28
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4a9471
xor eax, eax
inc eax
jmp 0x4a9471
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x409ee0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40a0ae
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x409f0b
mov eax, 0x7000000
jmp 0x409f13
test eax, eax
je 0x40a089
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x90]
mov ebx, dword [ecx + 0x94]
mov dword [ecx + 0x90], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x94], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.004545d0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x4ca840]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40a0a1
cmp ecx, 0x21
jae 0x40a095
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00450f70
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.00451040
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x485b68]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x485be0]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40a064
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x485c20]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.004546b0
mov eax, ecx
mov ecx, 0x21
call fcn.00454740
nop
call fcn.00453220
jmp fcn.00409ee0
Function at 0x411230
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x411444
sub esp, 0x18
mov eax, dword [0x4f29c8]
test eax, eax
jne 0x41142d
nop
lea eax, [0x4f29b0]
mov dword [esp], eax
call fcn.00407d10
mov eax, dword [0x4f29b4]
test eax, eax
je 0x411279
cmp dword [eax + 8], 0xcc
jne 0x4112ef
mov edx, dword [0x4f29ac]
test edx, edx
jne 0x4112d1
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x4f4318]
mov dword [esp + 8], eax
call fcn.0040a0c0
mov eax, dword [esp + 0xc]
mov dword [0x4f29ac], eax
mov ecx, dword [0x4f2968]
mov dword [eax], ecx
mov eax, dword [0x4f29ac]
mov dword [0x4f2968], eax
movzx eax, byte [0x4f2d80]
test al, al
jne 0x4112d1
xor eax, eax
jmp 0x4113d9
mov edx, dword [0x4f29ac]
mov ebx, dword [edx + 4]
mov dword [0x4f29ac], ebx
mov ebx, dword [0x4f29b4]
mov dword [edx + 4], ebx
mov dword [0x4f29b4], edx
mov edx, dword [0x4f29b4]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x4113c1
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.00401d50
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x4f2b10]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x41134d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x41135a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00454620
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x4f2b10]
test edx, edx
jne 0x411386
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x4113a7
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00454620
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00454620
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00454620
mov byte [0x4f2945], 1
nop
lea eax, [0x4f29b0]
mov dword [esp], eax
call fcn.00407f10
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.004546b0
lea esi, [0x4f2d80]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x4112d1
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x411423
lea edx, [0x4ca1bc]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x4113cb
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.004546a0
mov ecx, 5
call fcn.004546a0
lea eax, [0x46fb83]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0042f370
nop
call fcn.00453220
jmp fcn.00411230
Function at 0x4221d0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4222ec
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x422265
cmp cl, 2
je 0x42220d
cmp cl, 3
jne 0x4222d5
mov byte [eax + 8], 1
jmp 0x4222d1
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00427720
nop
lea eax, [0x4d6fbc]
mov dword [esp], eax
call fcn.00407d10
nop
mov eax, dword [0x4d6f88]
sub eax, dword [0x4d6f6c]
mov dword [0x4d6f88], eax
mov eax, dword [0x4d6f78]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x4d6f78], ecx
nop
lea eax, [0x4d6fbc]
mov dword [esp], eax
call fcn.00407f10
jmp 0x4222d1
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.00411230
nop
lea eax, [0x4d6fbc]
mov dword [esp], eax
call fcn.00407d10
nop
mov eax, dword [0x4d6f60]
sub eax, dword [0x4d6f44]
mov dword [0x4d6f60], eax
mov eax, dword [0x4d6f50]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x4d6f50], ecx
nop
nop
lea eax, [0x4d6fbc]
mov dword [esp], eax
call fcn.00407f10
add esp, 0x14
ret
lea eax, [0x46db26]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042f370
nop
call fcn.00453220
jmp fcn.004221d0
Function at 0x4388a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 0x18]
inc dword [ecx + 0x78]
mov dword [eax + 8], 0xfffffade
mov byte [eax + 0x6b], 1
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call fcn.00438840
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call fcn.004333c0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
ja 0x438913
cmp dword [eax + 4], ecx
jae 0x438941
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ecx, [0x438a70]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
mov dword [esp], ecx
call fcn.00453110
mov eax, dword [esp + 0xc]
movzx ecx, byte [0x4d7008]
test cl, cl
je 0x43896e
lea eax, [0x473bb0]
mov dword [esp], eax
call fcn.00453110
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00438840
lea eax, [0x4cd43c]
mov dword [esp], eax
call fcn.00401c00
mov eax, dword [esp + 4]
test eax, eax
je 0x4389a6
lea eax, [0x473ab0]
mov dword [esp], eax
call fcn.00453110
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00438840
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
test byte [ecx], al
mov ecx, dword [ecx + 0x1178]
test ecx, ecx
je 0x4389e2
lea eax, [0x473b74]
mov dword [esp], eax
call fcn.00453110
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00438840
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x54]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x160], edx
mov byte [eax + 0x6f], 1
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
mov dword [ecx + 0x2c], 0
mov edx, dword [eax + 0x18]
mov ebx, ecx
mov dword [edx + 0x5c], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x54], 0
lea ecx, [ebx + 4]
mov dword [esp], ecx
mov dword [esp + 4], 2
call fcn.00401e00
mov eax, dword [0x4cd430]
test eax, eax
je 0x438a53
lea eax, [0x473aac]
mov dword [esp], eax
call fcn.00453110
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00438840
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x78]
add esp, 0x18
ret
Function at 0x43f4c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x43f6be
sub esp, 0x30
mov eax, dword [esp + 0x34]
mov ecx, eax
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.00401d50
mov eax, dword [esp + 0x20]
shr eax, 3
mov ecx, eax
mov eax, 0x828cbfbf
mul ecx
shr edx, 7
imul eax, edx, 0xfb
sub ecx, eax
shl ecx, 6
mov dword [esp + 0x1c], ecx
lea eax, [0x4ceb00]
lea edx, [eax + ecx + 8]
mov dword [esp + 0x2c], edx
mov dword [esp], edx
call fcn.00401c00
mov eax, dword [esp + 4]
test eax, eax
je 0x43f6a3
mov eax, dword [esp + 0x1c]
lea ecx, [0x4ceb00]
lea edx, [ecx + eax]
mov dword [esp + 0x28], edx
mov dword [esp], edx
call fcn.00407d10
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00401c00
mov eax, dword [esp + 4]
test eax, eax
je 0x43f691
mov eax, dword [esp + 0x1c]
lea ecx, [0x4ceb00]
add eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.0043fad0
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
test eax, eax
je 0x43f5b4
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.00401d50
nop
nop
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00407f10
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43f68d
mov ecx, dword [eax + 0x10]
test ecx, ecx
setne dl
mov ebx, dword [eax + 0x14]
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x43f611
mov eax, dword [esp + 0x14]
sub eax, ecx
mov ecx, dword [esp + 0x18]
sbb ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 3]
mov dword [esp + 8], ecx
call fcn.00451a60
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x43f6a7
movzx ecx, byte [esp + 0x38]
test cl, cl
je 0x43f64b
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0043f6d0
movzx eax, byte [esp + 4]
test al, al
je 0x43f647
mov eax, dword [esp + 0x24]
mov dword [eax + 0x20], 1
jmp 0x43f64b
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
add ecx, 5
mov dword [esp + 4], ecx
call fcn.0043f140
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x20], 1
jne 0x43f68d
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x43f68d
lea eax, [0x473b10]
mov dword [esp], eax
call fcn.004530b0
add esp, 0x30
ret
nop
nop
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00407f10
add esp, 0x30
ret
add esp, 0x30
ret
lea eax, [0x470212]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
call fcn.0042f370
nop
call fcn.00453220
jmp fcn.0043f4c0
Function at 0x4468b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x446a33
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x446a2b
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x44690c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x44690c
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 0x44691f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x446a00
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 0x4469f2
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 0x4469eb
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x446976
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x4469bf
mov eax, 1
cmp eax, ecx
ja 0x4469ad
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
mov dword [esp + 0x2c], ebx
sub ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.00454710
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x4469e6
movzx edi, byte [eax + ebx]
lea ebp, [eax + 1]
mov eax, edi
and edi, 0x7f
mov ecx, esi
shl edi, cl
or edx, edi
test al, 0x80
jne 0x4469b2
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x44697b
call fcn.004546b0
xor eax, eax
call fcn.004546a0
call fcn.00454710
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x446a26
movzx esi, byte [eax + edx]
lea edi, [eax + 1]
mov eax, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
or ebx, esi
test al, 0x80
jne 0x4469f7
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x446924
call fcn.004546b0
xor eax, eax
call fcn.004546a0
nop
call fcn.00453220
jmp fcn.004468b0
Function at 0x44dcf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44dd8f
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.004547d7
lea ecx, [0x44dda0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00453110
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00453220
jmp fcn.0044dcf0
Function at 0x4544e0
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 [0x4f2bc0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x452cab
je 0x452cfe
cmp ebx, 0x20
jbe 0x452d04
cmp ebx, 0x40
jbe 0x452d4a
jmp 0x452deb
test ebx, ebx
je 0x452cf4
add eax, 0x10
test ax, 0xff0
je 0x452ce0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x485ee0]
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 + 0x485fe0]
jmp 0x452cc8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x452cc8
pxor xmm1, xmmword [0x4f2bd0]
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 [0x4f2bd0]
pxor xmm2, xmmword [0x4f2be0]
pxor xmm3, xmmword [0x4f2bf0]
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 [0x4f2bd0]
pxor xmm2, xmmword [0x4f2be0]
pxor xmm3, xmmword [0x4f2bf0]
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 0x452e4a
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 [0x4f294d], 0
je 0x4544fa
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x452c70
jmp fcn.00406c00
Function at 0x417490
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1fb2ab08
cmp eax, 0xbba5fb3b
adc al, 0xe3
jnp 0x4174ee
mov ebx, 0x2ca52208
jge 0x417456
fmul dword [esi + edi*4 - 0x11]
lcall 0x870c, 0xa10d8e3b
jo 0x417515
mov esp, 0x7aebf8c3
lds ebx, [esi]
push ds
hlt
test al, 0x74
out 0xb7, al
push ds
adc byte [0xff59b55d], ah
mov edi, 0x7dde6e95
mov bl, 0xbe
mov ecx, 0x7435c564
fld xword [edi + ecx + 0x15]
test al, 0x50
or eax, 0xbc5a7bc
cmp eax, 0xfd0b44ab
std
and ebx, ebx
popfd
xchg esi, eax
movsd dword es:[edi], dword [esi]
invalid

Function at 0x417810
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x50
test eax, eax