joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6640761b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
push eax
add esp, 4
add edx, 0x15f32
jmp 0x6640746e
and edx, 0x166f4
call 0x66407482
add byte [eax + ecx*2 + 0x45], cl
xor al, 0x37
inc ecx
xor edi, dword [edx]
add esp, 4
pop edx
push ecx
and ecx, 0x130e6
pop ecx
lea eax, [ebp - 0x1740]
mov dword [ebp - 0xce0], eax
mov ecx, dword [ebp - 0x520]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcdc], edx
xor eax, eax
mov word [ebp - 0x224], ax
xor ecx, ecx
mov word [ebp - 0x40], cx
push eax
push edx
add esp, 4
add eax, 0x17f3f
pop eax
push edx
push eax
add esp, 4
and edx, 0x1133
add edx, 0x867d
add edx, 0x17e31
pop edx
push ebx
add ebx, 0x16f3a
and ebx, 0x7767
pop ebx
mov edx, dword [ebp - 0xcdc]
mov ax, word [edx]
mov word [ebp - 0x104a], ax
mov ecx, dword [ebp - 0xcdc]
add ecx, 2
mov dword [ebp - 0xcdc], ecx
mov dx, word [ebp - 0x104a]
mov word [ebp - 0x224], dx
mov eax, dword [ebp - 0xce0]
mov cx, word [eax]
mov word [ebp - 0x104c], cx
mov edx, dword [ebp - 0xce0]
add edx, 2
mov dword [ebp - 0xce0], edx
mov ax, word [ebp - 0x104c]
mov word [ebp - 0x40], ax
push ebx
or ebx, 0x58bb
jmp 0x66407551
jmp 0x66407556
xor ebx, 0x17597
pop ebx
push edi
and edi, 0x3784
pop edi
push esi
push edi
add esp, 4
jmp 0x66407572
pop esi
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x66407590
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x168c], edx
jmp 0x664075ea
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x664074b8
movzx eax, word [ebp - 0x224]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x664074b8
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x664075d4
mov dword [ebp - 0x1688], 0xffffffff
jmp 0x664075de
mov dword [ebp - 0x1688], 1
mov ecx, dword [ebp - 0x1688]
mov dword [ebp - 0x168c], ecx
cmp dword [ebp - 0x168c], 0
jne 0x66407633
push edx
push eax
add esp, 4
jmp 0x664075fd
call 0x66407609
add byte [ebx], dh
xor al, 0x34
xor ecx, dword [eax + 0x46]
add esp, 4
call 0x6640761b
add byte [esi], bh
inc edx
cmp byte [esp + esi + 0x4a], cl
xor bh, byte [eax]
inc ecx
add esp, 4
xor edx, 0x139f
lahf
adc eax, dword [eax]
add byte [edx - 0x75], bl
xchg ebp, eax
loopne 0x66407623
invalid
dec dword [ecx - 0x2f36b]
invalid
push edx
push edi
add esp, 4
sub edx, 0xd807
or edx, 0x8c4f
dec edi
mov word [eax], es
add byte [ecx + 0x2af7ea], al
add byte [edx + 0x50], bl
sub eax, 0xf6b2
add byte [eax], al
add byte [eax], al
xor eax, 0xcda8
or eax, 0x3860
sub eax, 0x394b
pop eax
mov eax, dword [ebp - 0x520]
mov ecx, dword [eax]
invalid
invalid
invalid

Function at 0x66407640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
dec edi
mov word [eax], es
add byte [ecx + 0x2af7ea], al
add byte [edx + 0x50], bl

Function at 0x66407690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc edi
test dword [edi*8 + 0xffff], ecx
add byte [eax], al

Function at 0x664076c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pop ebx
push esi
push edi
add esp, 4
add esi, 0x12a27
pop esi
invalid
invalid
invalid
Function at 0x66423c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x8c
mov esi, dword [ecx + 4]
mov edi, dword [esp + 0xa0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, dword [ebx + 0x5c]
mov dword [esp + 0x70], eax
test ecx, ecx
je 0x66423cab
mov eax, dword [ecx + 4]
cmp edi, dword [eax + 8]
je 0x66423cab
mov dword [esp], edi
call method.QWidget.setParent_QWidget_
sub esp, 4
mov byte [esp + 0x77], 0
test edi, edi
je 0x66423cc4
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 4]
shr eax, 0xf
and eax, 1
mov byte [esp + 0x77], al
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x66423dfd
xor ebx, ebx
mov eax, dword [esi]
mov ecx, esi
mov dword [esp], ebx
call dword [eax + 0x4c]
mov ebp, eax
mov eax, dword [eax]
sub esp, 4
mov ecx, ebp
call dword [eax + 0x34]
mov ecx, eax
test eax, eax
je 0x66423e58
mov eax, dword [eax + 4]
cmp byte [esp + 0x77], 0
mov edx, dword [eax + 8]
je 0x66423e40
mov eax, dword [ecx + 0x14]
test byte [eax + 6], 1
jne 0x66423e10
cmp edi, edx
je 0x66423d27
mov dword [esp], edi
mov dword [esp + 0x78], ecx
call method.QWidget.setParent_QWidget_
sub esp, 4
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0x667fd4d2
mov dword [esp], ecx
call dword [0x66a1fa7c]
add ebx, 1
cmp dword [esp + 0x70], ebx
jne 0x66423cd2
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov dword [esp], 0x45
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], ecx
call method.QWidget.testAttribute_helper_Qt::WidgetAttribute__const
sub esp, 4
test al, al
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
je 0x66423d10
lea esi, [esi]
nop
cmp edi, edx
je 0x66423df0
mov dword [esp], edi
call method.QWidget.setParent_QWidget_
sub esp, 4
jmp 0x66423df0
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x38]
test eax, eax
je 0x66423df0
mov ecx, dword [eax + 4]
mov dword [esp], edi
call method.QLayoutPrivate.reparentChildWidgets_QWidget_
sub esp, 4
jmp 0x66423df0
Function at 0x6652e8b0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov ebx, ecx
sub esp, 0x24
mov eax, dword [0x66a1f9dc]
mov dword [ecx + 8], 0
mov esi, dword [esp + 0x30]
mov dword [ecx + 0xc], 0
mov dword [ecx], eax
mov dword [ecx + 0x10], 0xffffffff
mov dword [ecx + 0x14], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp], esi
call dword [0x66a20674]
mov eax, dword [ebx]
sub esp, 4
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [ebx], edx
mov edx, dword [eax]
test edx, edx
je 0x6652e950
cmp edx, 0xffffffff
je 0x6652e90b
lock sub dword [eax], 1
je 0x6652e950
mov eax, dword [esi + 0x14]
movzx edx, word [eax + 6]
and edx, 1
mov byte [ebx + 4], dl
movzx edx, byte [eax + 8]
and edx, 1
mov byte [ebx + 5], dl
test dl, dl
je 0x6652e93e
mov edx, dword [eax + 0x10]
mov dword [ebx + 8], edx
mov edx, dword [eax + 0x14]
mov dword [ebx + 0xc], edx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
add esp, 0x24
pop ebx
pop esi
ret 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x66a1f9d8]
jmp 0x6652e90b
Function at 0x66558750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx eax, byte [ecx + 0x28]
push ebx
mov edx, dword [esp + 8]
test al, 4
jne 0x6655878c
mov ebx, dword [ecx + 0x74]
test ebx, ebx
je 0x6655878c
test al, 0x30
jne 0x66558778
mov dword [esp + 8], edx
pop ebx
jmp fcn.665585b0
lea eax, [ebx + ebx*4 - 5]
mov ebx, dword [ecx + 0x78]
lea eax, [ebx + eax*4]
movzx eax, byte [eax]
and eax, 0xf
cmp al, 1
je 0x66558768
pop ebx
ret 4
Function at 0x66563de0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x6c
call method.QWidget.layout___const
lea edi, [eax + 0x78]
mov esi, eax
mov ecx, edi
call fcn.6652f060
test al, al
je 0x66563e90
mov edi, dword [0x66a20204]
lea ebp, [esp + 0x2c]
lea eax, [esp + 0x28]
mov edx, dword [ebx + 0x28]
mov dword [ebx + 0x18], 0
mov ecx, eax
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0xffffffff
mov dword [ebx + 0x24], 0xffffffff
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
call fcn.667c9a40
mov ecx, ebp
call fcn.667c9a40
mov ecx, ebx
call fcn.665611a0
mov ecx, ebx
call method.QWidget.layout___const
lea ecx, [eax + 0x44]
call fcn.66534620
mov ecx, ebx
call method.QWidget.layout___const
mov esi, eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
call method.QMainWindow.dockOptions___const
lea ecx, [esi + 0x44]
and eax, 1
mov dword [esp], eax
call fcn.665384a0
sub esp, 4
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, ebx
call method.QWidget.layout___const
mov dword [esp], edi
lea ecx, [eax + 0x44]
call fcn.66563390
sub esp, 4
lea ebp, [esp + 0x2c]
mov ecx, ebp
call fcn.6652ef30
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x78], eax
mov eax, dword [0x66a1f9dc]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x7c], edx
mov edx, dword [eax]
test edx, edx
je 0x66563fd0
cmp edx, 0xffffffff
je 0x66563ee3
lock sub dword [eax], 1
je 0x66563fd0
mov eax, dword [esp + 0x34]
mov edi, dword [0x66a20204]
mov edx, dword [esp + 0x50]
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x8c], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x90], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x94], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x98], eax
mov dword [esp + 0x50], edi
mov eax, dword [esi + 0x9c]
mov dword [esi + 0x9c], edx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.667bf870
movzx edx, byte [esp + 0x54]
lea ecx, [esp + 0x50]
mov byte [esi + 0xa0], dl
mov edx, dword [esp + 0x58]
mov dword [esi + 0xa4], edx
mov edx, dword [esp + 0x5c]
mov dword [esi + 0xa8], edx
call fcn.667bf870
mov edx, dword [esp + 0x30]
mov ecx, dword [edx]
mov eax, dword [esp + 0x1c]
test ecx, ecx
je 0x66563fa8
cmp ecx, 0xffffffff
je 0x66563e10
lock sub dword [edx], 1
mov edx, dword [esp + 0x30]
jne 0x66563e10
lea esi, [esi]
nop
mov dword [esp + 0x1c], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 4
mov dword [esp], edx
call dword [0x66a1f9d8]
mov eax, dword [esp + 0x1c]
jmp 0x66563e10
mov dword [esp + 8], 4
mov dword [esp + 4], 4
mov dword [esp], eax
call dword [0x66a1f9d8]
jmp 0x66563ee3
Function at 0x6660ec60
Capabilities:
Get disk information

Disassembly:
push ebx
sub esp, 0x38
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x2c]
mov dword [esp + 4], 3
mov dword [esp], eax
call dword [0x66a206c0]
sub esp, 8
lea ecx, [esp + 0x2c]
call dword [0x66a206dc]
lea edx, [esp + 0x28]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
sub esp, 0x20
test eax, eax
je 0x6660ed20
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
test edx, edx
je 0x6660ed00
cmp edx, 0xffffffff
je 0x6660ecef
lock sub dword [eax], 1
mov eax, dword [esp + 0x2c]
je 0x6660ed00
add esp, 0x38
mov eax, ebx
pop ebx
ret
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x66a1f9d8]
add esp, 0x38
mov eax, ebx
pop ebx
ret
mov ebx, 0xffffffff
jmp 0x6660ecd6
Function at 0x6678dc50
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x66400000], 0x5a4d
jne 0x6678dc75
mov ecx, dword [0x6640003c]
cmp dword [ecx + 0x66400000], 0x4550
lea edx, [ecx + 0x66400000]
je 0x6678dc80
ret
cmp word [ecx + 0x66400018], 0x10b
jne 0x6678dc75
push esi
movzx eax, word [ecx + 0x66400014]
push ebx
movzx esi, word [ecx + 0x66400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x66400000
test esi, esi
je 0x6678dcc8
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6678dcbe
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x6678dcca
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x6678dcb0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x667946a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
mov ebx, ecx
sub esp, 0x14
mov esi, dword [esp + 0x20]
movzx eax, word [esi]
mov edx, dword [esi + 8]
mov word [ecx], ax
mov eax, dword [esi + 4]
mov dword [ecx + 8], edx
mov dword [ecx + 4], eax
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x667947b0
mov edx, dword [esi + 0xc]
mov dword [ebx + 0xc], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x667947c8
mov edx, dword [esi + 0x10]
mov dword [ebx + 0x10], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x667947e0
lea eax, [esi + 0x14]
lea ecx, [ebx + 0x14]
mov dword [esp], eax
call dword [0x66a21310]
mov eax, dword [esi + 0x18]
lea ecx, [ebx + 0x58]
sub esp, 4
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x50], eax
movzx eax, word [esi + 0x54]
mov word [ebx + 0x54], ax
lea eax, [esi + 0x58]
mov dword [esp], eax
call dword [0x66a20150]
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x78]
sub esp, 4
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi + 0x70]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0x74]
mov dword [ebx + 0x78], edx
mov dword [ebx + 0x74], eax
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x667947f0
mov eax, dword [esi + 0x7c]
mov dword [ebx + 0x7c], eax
add esp, 0x14
pop ebx
pop esi
ret 4
lock add dword [edx], 1
mov edx, dword [esi + 0xc]
mov dword [ebx + 0xc], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
jbe 0x667946df
lock add dword [edx], 1
mov edx, dword [esi + 0x10]
mov dword [ebx + 0x10], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
jbe 0x667946f3
lock add dword [edx], 1
jmp 0x667946f3
lock add dword [edx], 1
mov eax, dword [esi + 0x7c]
mov dword [ebx + 0x7c], eax
add esp, 0x14
pop ebx
pop esi
ret 4
Function at 0x417ee0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x414015
lea edi, [esi - 0x13015]
push edi
or ebp, 0xffffffff
jmp 0x417f02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417f09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417ef8
mov eax, 1
add ebx, ebx
jne 0x417f1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417f10
jne 0x417f2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417f10
xor ecx, ecx
sub eax, 3
jb 0x417f40
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417fb2
mov ebp, eax
add ebx, ebx
jne 0x417f4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417f58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417f7c
inc ecx
add ebx, ebx
jne 0x417f68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417f5d
jne 0x417f79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417f5d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417f9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417f8d
jmp 0x417efe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417f9c
add edi, ecx
jmp 0x417efe
pop esi
mov edi, esi
mov ecx, 0x40b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x417fba
cmp byte [edi], 2
jne 0x417fba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x417fbf
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x41802e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18d6c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18e1c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x417fec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18e24]
or eax, eax
je 0x418028
mov dword [ebx], eax
add ebx, 4
jmp 0x418009
call dword [esi + 0x18e20]
mov ebp, dword [esi + 0x18e28]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x418062
sub esp, 0xffffff80
jmp 0x4011cb
Function at 0x406e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x406e3f
pop dword [ebp - 0x28]
mov eax, 0x30ad6f78
sub eax, 0x306d0139
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x2226f305
add dword [ebp - 0x38], 0x2c2b5246
mov dword [ebp - 0x34], 0x8d1d432
sub dword [ebp - 0x34], 0xd69e87ed
mov dword [ebp - 0x30], 0xa17a8086
sub dword [ebp - 0x30], 0x552e3c58
mov dword [ebp - 0x2c], 0x31074be2
add dword [ebp - 0x2c], 0xcef8b41e
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe31140ff
sub eax, 0xe2d0a0f3
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x32a2d1b
add dword [ebp - 0x38], 0x71483c3b
mov dword [ebp - 0x34], 0xf0dfca8c
add dword [ebp - 0x34], 0x508c96e9
mov dword [ebp - 0x30], 0x46d7e0fc
add dword [ebp - 0x30], 0x1c978b70
mov dword [ebp - 0x2c], 0x4474c600
sub dword [ebp - 0x2c], 0x4474c600
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xf5242df0
add eax, 0xb1c7224
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x36481
push 0
call eax
mov ecx, 0x3d95
mov esi, eax
mov edx, 0x7c4c523b
sub edx, 0x7c08943b
add edx, dword [ebp - 0x28]
mov edi, 0x92119551
add edi, 0xffb82f8e
sub dword [ebp - 0x10], 0x34e9210b
mov ebx, dword [edx]
xor dword [ebp - 4], 0x79af8df8
sub ebx, edi
add dword [ebp - 0x14], 0x3c74a120
mov dword [esi], ebx
xor dword [ebp - 0xc], 0x86979ead
add esi, 0x6d996d40
add esi, 0x926692c4
add edx, 0x4c153167
add edx, 0xb3eace9d
loop 0x406f5b
add eax, 0xc9fedc57
sub eax, 0xc9fdf330
mov ebx, eax
add eax, 5
mov ecx, 0x650b62d5
add ecx, 0x9b349d2b
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x405a12
pop dword [ebp - 0x18]
mov eax, 0x405a12
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x2b84f595
add dword [ebp - 0x28], 0x22cd4fb6
mov dword [ebp - 0x24], 0xb7787e70
add dword [ebp - 0x24], 0x7abacdd5
mov dword [ebp - 0x20], 0x31a43327
sub dword [ebp - 0x20], 0xe557eef9
mov dword [ebp - 0x1c], 0xcb85930f
add dword [ebp - 0x1c], 0x347a6cf1
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x6f98546c
add dword [ebp - 0x28], 0x4da14ea
mov dword [ebp - 0x24], 0xf4b89044
sub dword [ebp - 0x24], 0xb34c2ecf
mov dword [ebp - 0x20], 0x44b81951
sub dword [ebp - 0x20], 0xe148ace5
mov dword [ebp - 0x1c], 0x71364257
add dword [ebp - 0x1c], 0x8ec9bda9
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x997a71b8
add eax, 0x66c60f48
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x31fbc
push 0
call eax
mov ecx, 0xa4df8e46
add ecx, 0x5b20a5bd
xor edi, edi
add edi, eax
mov ebx, 0x759564ab
add ebx, 0x8ab17f55
add ebx, dword [ebp - 0x18]
mov esi, 0x91f31f2f
xor dword [ebp - 4], ebx
mov edx, dword [ebx]
add dword [ebp - 4], 0x494988f
sub edx, esi
xor dword [ebp - 0x14], 0xdb99865d
mov dword [edi], edx
add dword [ebp - 8], 0x58190d54
add edi, 0xa4d31479
sub edi, 0xa4d31475
add ebx, 4
loop 0x405b26
add eax, 0xc2df
xor ebx, ebx
add ebx, eax
add eax, 0x645aa827
sub eax, 0x645aa822
mov ecx, 0xdbaa066d
add ecx, 0x2495f993
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x405cce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405dc2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x40324c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404a74
test esi, esi
jne 0x403282
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404b64
jmp 0x4032a0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403150
mov edi, eax
test esi, esi
je 0x4032a0
cmp dword [ebx], 0
je 0x4032a0
dec esi
jmp 0x403289
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x47f020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403a28
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403a08
xor eax, eax
push ebp
push 0x403a01
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403a44
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403a08
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x47f020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x47f020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404840
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x484048], 0
je 0x4048a1
cmp word [0x48421c], 0xd7b2
jne 0x404869
cmp dword [0x484224], 0
jbe 0x404869
mov eax, 0x484218
call dword [0x484234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4048c8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47f02c], 0
jne 0x4048bd
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4049f8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x47f030], 0
je 0x404a1e
mov edx, esi
mov eax, ebx
call dword [0x47f030]
jmp 0x404a2d
mov eax, 8
call fcn.00402e60
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x484049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4049c0
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc