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

Disassembly:
mov eax, 0x1c
call fcn.10097eb0
mov eax, dword [0x100f9124]
xor eax, esp
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x30]
test cl, 7
mov edx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], edi
jne 0x1007f53c
cmp ecx, 8
jb 0x1007f53c
push ebx
push esi
push ecx
lea eax, [edi + 8]
push edx
push eax
mov ebx, 1
call fcn.10096770
mov eax, dword [esp + 0x40]
add esp, 0xc
test eax, eax
jne 0x1007f49f
mov eax, 0x100e4c90
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], 6
mov eax, dword [esp + 0x40]
test eax, eax
lea esi, [edi + 8]
jbe 0x1007f512
lea edi, [eax - 1]
shr edi, 3
add edi, 1
jmp 0x1007f4d0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
push ebp
mov dword [esp + 0x24], eax
push edx
mov eax, edx
push eax
mov dword [esp + 0x30], ecx
call fcn.10042380
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
xor byte [esp + 0x2b], bl
mov dword [esi], ecx
mov dword [esi + 4], edx
add esp, 0xc
add ebx, 1
add esi, 8
sub edi, 1
jne 0x1007f4d0
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x14]
sub dword [esp + 0x10], 1
jne 0x1007f4b4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
pop esi
pop ebx
mov dword [edi], ecx
mov dword [edi + 4], edx
pop edi
add eax, 8
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1009536d
add esp, 0x1c
ret
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.1009536d
add esp, 0x1c
ret

Function at 0x10083fa0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x10083fb9
mov esi, edi
mov edi, eax
jmp 0x10083fbb
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x10083fcb
mov eax, ebx
jmp 0x10083fd5
push eax
push ebx
call fcn.100332a0
add esp, 8
test eax, eax
jne 0x10083fdd
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x10083ffb
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [edi + 4]
jl 0x10083fe4
cmp eax, dword [esi + 4]
jge 0x10084012
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [esi + 4]
jl 0x10084000
mov eax, dword [esi + 4]
test eax, eax
mov dword [ebx + 4], eax
jle 0x10084035
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x10084032
sub eax, 1
test eax, eax
jg 0x10084022
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x1009536d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100f9124]
jne 0x10095377
repz ret
jmp fcn.1009ecdc
Function at 0x100b0234
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1009e6bb
xor ebx, ebx
cmp dword [0x100feebc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x100b0309
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x100b0274
xor eax, eax
jmp 0x100b03cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100e9940
push edi
call esi
cmp eax, ebx
je 0x100b026d
push eax
call fcn.1009e658
mov dword [esp], 0x100e9930
push edi
mov dword [0x100feebc], eax
call esi
push eax
call fcn.1009e658
mov dword [esp], 0x100e991c
push edi
mov dword [0x100feec0], eax
call esi
push eax
call fcn.1009e658
mov dword [0x100feec4], eax
lea eax, [ebp - 8]
push eax
call fcn.10098e3a
test eax, eax
pop ecx
pop ecx
je 0x100b02d7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1009ef0d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x100b0309
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1009e658
cmp eax, ebx
pop ecx
mov dword [0x100feecc], eax
je 0x100b0309
push 0x100e98e8
push edi
call esi
push eax
call fcn.1009e658
pop ecx
mov dword [0x100feec8], eax
mov eax, dword [0x100feec8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x100b0382
cmp dword [0x100feecc], esi
je 0x100b0382
push eax
call fcn.1009e6c4
pop ecx
call eax
cmp eax, ebx
je 0x100b034f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x100feecc]
call fcn.1009e6c4
pop ecx
call eax
test eax, eax
je 0x100b034f
test byte [ebp - 0x18], 1
jne 0x100b0382
lea eax, [ebp - 0xc]
push eax
call fcn.10098e71
test eax, eax
pop ecx
je 0x100b036a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1009ef0d
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x100b0379
or dword [ebp + 0x10], 0x200000
jmp 0x100b03b3
or dword [ebp + 0x10], 0x40000
jmp 0x100b03b3
mov eax, dword [0x100feec0]
cmp eax, esi
je 0x100b03b3
push eax
call fcn.1009e6c4
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x100b03b3
mov eax, dword [0x100feec4]
cmp eax, esi
je 0x100b03b3
push dword [ebp - 4]
push eax
call fcn.1009e6c4
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x100feebc]
call fcn.1009e6c4
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4013d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
sub esp, 8
mov eax, dword [edx + 0x3c]
cmp dword [eax + edx + 0x7c], 0
jne 0x4013e8
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + edx + 0x78]
test eax, eax
je 0x4013e2
mov ecx, dword [eax + edx + 0x24]
add ecx, edx
push ebx
mov ebx, dword [eax + edx + 0x20]
mov dword [ebp - 4], ecx
add ebx, edx
mov ecx, dword [eax + edx + 0x1c]
push esi
mov esi, dword [eax + edx + 0x18]
add ecx, edx
push edi
mov dword [ebp - 8], ecx
xor edi, edi
xor ecx, ecx
dec esi
mov eax, dword [ebx + ecx*4]
add eax, edx
cmp byte [eax], 0x47
jne 0x40146c
cmp byte [eax + 1], 0x65
jne 0x40146c
cmp byte [eax + 2], 0x74
jne 0x40146c
cmp byte [eax + 3], 0x50
jne 0x40146c
cmp byte [eax + 4], 0x72
jne 0x40146c
cmp byte [eax + 5], 0x6f
jne 0x40146c
cmp byte [eax + 6], 0x63
jne 0x40146c
cmp byte [eax + 7], 0x41
jne 0x40146c
cmp byte [eax + 8], 0x64
jne 0x40146c
cmp byte [eax + 9], 0x64
jne 0x40146c
cmp byte [eax + 0xa], 0x72
jne 0x40146c
cmp byte [eax + 0xb], 0x65
jne 0x40146c
cmp byte [eax + 0xc], 0x73
jne 0x40146c
cmp byte [eax + 0xd], 0x73
je 0x40147a
inc ecx
cmp ecx, esi
jbe 0x401414
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
movzx eax, word [eax + ecx*2]
mov edi, dword [edi + eax*4]
add edi, edx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4026f6
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x40d210
push str.FlsAlloc
push 0
call fcn.00402676
mov esi, eax
add esp, 0x10
test esi, esi
je 0x402728
push dword [ebp + 8]
mov ecx, esi
call fcn.00401db6
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x40276a
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x40d240
push str.FlsSetValue
push 3
call fcn.00402676
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x40279e
mov ecx, esi
call fcn.00401db6
call esi
jmp 0x4027a4
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x4056ce
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040538e

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x7d7830
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2ab000]
push edi
or ebp, 0xffffffff
jmp 0x7d7852
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7d7859
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d7848
mov eax, 1
add ebx, ebx
jne 0x7d786b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7d787c
jne 0x7d789b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d789b
dec eax
add ebx, ebx
jne 0x7d7888
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7d7860
add ebx, ebx
jne 0x7d7897
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7d78ed
xor ecx, ecx
sub eax, 3
jb 0x7d78b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7d7922
sar eax, 1
mov ebp, eax
jmp 0x7d78be
add ebx, ebx
jne 0x7d78be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d788c
inc ecx
add ebx, ebx
jne 0x7d78cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d788c
add ebx, ebx
jne 0x7d78d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7d78ce
jne 0x7d78ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7d78ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7d790c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7d78fe
jmp 0x7d784e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7d790c
add edi, ecx
jmp 0x7d784e
pop esi
mov edi, esi
mov ecx, 0x13429
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7d792a
cmp byte [edi], 0xbe
jne 0x7d792a
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 0x7d792f
lea edi, [esi + 0x3d3000]
mov eax, dword [edi]
or eax, eax
je 0x7d799e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3dc46c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3dc570]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7d795c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3dc574]
or eax, eax
je 0x7d7998
mov dword [ebx], eax
add ebx, 4
jmp 0x7d7979
call dword [esi + 0x3dc584]
mov ebp, dword [esi + 0x3dc578]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x7d79d2
sub esp, 0xffffff80
jmp 0x692da0
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7ef27f60
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x774f587c
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, edx
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4016d4
mov edi, esi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
mov edx, edi
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
mov ebx, esi
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
mov esi, eax
mov edx, esi
mov ecx, ebx
call section..text
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4012ba
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x404014], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x404010], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401198
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x404010]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x404018], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401384
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x40136b
mov eax, dword [0x404014]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10
Function at 0x40d908
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10017510
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001753d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001753d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407b20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.0040c1f8
call fcn.00407cd0
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x407b58
jmp 0x407bf4
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x407b57
cmp cl, 0x22
je 0x407bb0
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test edx, eax
je 0x407bd0
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x407bd0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test edx, eax
jne 0x407b90
jmp 0x407bd0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test edx, eax
jne 0x407bb0
cmp cl, 0x22
je 0x407c30
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x407bee
inc ebx
movzx eax, byte [ebx]
cmp al, 0x20
sete dl
cmp al, 9
sete al
or eax, edx
test al, 1
jne 0x407be0
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x407c12
movzx edx, word [ebp - 0x28]
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00407e30
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x407bd0
Function at 0x407e30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
call sub.KERNEL32.dll_GetCommandLineW
lea ebx, [ebp - 0x10]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [method.QString.fromWCharArray_wchar_t_const__int_]
push edx
lea esi, [ebp - 0xc]
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [method.QString.toLocal8Bit___const]
push eax
mov eax, dword [ebp - 0x10]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x407e80
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [method.QString.free_QString::Data_]
mov dword [ebp - 0x14], 0
mov dword [esp + 4], 4
mov dword [esp], 0x30
call dword [method.QVectorData.allocate_int__int_]
mov ebx, eax
test eax, eax
je 0x407fc8
mov dword [ebp - 0x18], ebx
mov dword [ebx], 1
mov dword [ebx + 8], 8
mov dword [ebx + 4], 8
mov al, byte [ebx + 0xc]
or eax, 1
and eax, 0xfffffffd
mov byte [ebx + 0xc], al
mov dword [esp + 8], 0x20
mov dword [esp + 4], 0
add ebx, 0x10
mov dword [esp], ebx
call dword [sym.imp.QtCore4.dll_qMemSet_void__int__unsigned_int_]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
dec edx
je 0x407fb4
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [method.QByteArray.realloc_int_]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
lea ebx, [ebp - 0x18]
mov dword [esp + 0x14], ebx
lea eax, [ebp - 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.QtCore4.dll_qWinMain_HINSTANCE____HINSTANCE____char__int__int__QVector_char__
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
dec edx
je 0x407f50
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0041780c
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004013e4
mov ebx, eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x407f78
lock dec dword [eax]
setne dl
test dl, dl
je 0x407f9c
mov eax, dword [ebp - 0xc]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x407f91
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call dword [sym.imp.QtCore4.dll_qFree_void_]
mov eax, ebx
lea esp, [ebp - 8]
pop ebx
pop esi
leave
ret 0x10
mov dword [esp + 4], 4
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [method.QVectorData.free_QVectorData__int_]
jmp 0x407f78
mov edx, dword [eax + 0xc]
lea ecx, [eax + 0x10]
cmp edx, ecx
jne 0x407ef1
jmp 0x407f07
call dword [sym.imp.QtCore4.dll_qBadAlloc__]
jmp 0x407ea6
Function at 0x40c9b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
mov dword [esp], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x10]
test ebx, ebx
mov dword [esp + 8], edi
sete al
cmp esi, ecx
sete dl
or eax, edx
xor edi, edi
test al, 1
jne 0x40ca10
test esi, esi
setne al
test ecx, ecx
setne dl
xor eax, edx
test al, 1
jne 0x40ca21
test ebx, ebx
je 0x40ca04
movzx eax, word [esi]
movzx edx, word [ecx]
cmp ax, dx
jne 0x40ca3d
add esi, 2
add ecx, 2
dec ebx
jne 0x40c9f0
xor edi, edi
lea esi, [esi]
lea edi, [edi]
mov eax, edi
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
add esp, 0xc
ret
cmp ecx, 1
mov ebx, dword [esp]
sbb eax, eax
and eax, 2
mov esi, dword [esp + 4]
lea edi, [eax - 1]
mov eax, edi
mov edi, dword [esp + 8]
add esp, 0xc
ret
movzx edi, ax
movzx eax, dx
sub edi, eax
jmp 0x40ca10
Function at 0x442080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll__read
mov ebx, eax
cmp eax, 0xffffffff
je 0x4420b8
mov eax, ebx
add esp, 0x1c
pop ebx
pop esi
pop edi
leave
ret
call sub.msvcrt.dll__errno
cmp dword [eax], 4
je 0x44208f
mov eax, ebx
add esp, 0x1c
pop ebx
pop esi
pop edi
leave
ret