joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408afc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, eax
push esi
push edi
xor eax, eax
mov dword [ebp - 4], edx
mov dword [ebx + 0xc18], eax
mov edi, ecx
cmp byte [ebp + 8], 0
mov esi, 0x80000000
je 0x408b25
or esi, 0x40000000
mov dword [ebp - 8], 1
cmp byte [ebx + 0x12], 0
jne 0x408b38
cmp byte [ebp + 0xc], 0
je 0x408b3c
or dword [ebp - 8], 2
call fcn.00404764
test eax, eax
je 0x408b68
test edi, edi
je 0x408b68
cmp word [edi], 0
je 0x408b68
push 0
push 0x8000000
push 3
push 0
push dword [ebp - 8]
push esi
push edi
call sub.KERNEL32.DLL_CreateFileW
mov esi, eax
jmp 0x408b81
push 0
push 0x8000000
push 3
push 0
push dword [ebp - 8]
push esi
push dword [ebp - 4]
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x408b9a
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
jne 0x408b9a
mov dword [ebx + 0xc18], 1
xor eax, eax
cmp esi, 0xffffffff
mov byte [ebx + 0x13], 0
setne dl
mov dword [ebx + 0xc], eax
and edx, 1
mov byte [ebx + 0x10], 0
mov byte [ebp - 9], dl
cmp byte [ebp - 9], 0
je 0x408bd8
mov dword [ebx + 4], esi
test edi, edi
je 0x408bcd
lea eax, [ebx + 0x416]
mov edx, edi
call fcn.0040d35c
lea eax, [ebx + 0x15]
mov edx, dword [ebp - 4]
call fcn.0040c590
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x408d44
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0xc], 0
jne 0x408d53
cmp byte [ebx + 0x14], 0
jne 0x408d57
xor eax, eax
pop ebx
ret
cmp dword [ebx + 4], 0xffffffff
je 0x408d64
mov eax, ebx
call fcn.00408cd8
call fcn.00404764
test eax, eax
je 0x408d8d
cmp word [ebx + 0x416], 0
je 0x408d8d
add ebx, 0x416
push ebx
call sub.KERNEL32.DLL_DeleteFileW
test eax, eax
setne al
and eax, 1
jmp 0x408d9e
add ebx, 0x15
push ebx
call sub.KERNEL32.DLL_DeleteFileA
test eax, eax
setne al
and eax, 1
pop ebx
ret
Function at 0x408da0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, ecx
test esi, esi
mov edi, eax
mov dword [esp], edx
je 0x408e81
mov eax, dword [edi + 0xc]
test eax, eax
je 0x408ddb
dec eax
je 0x408dc5
dec eax
je 0x408dd1
jmp 0x408ddb
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
mov dword [edi + 4], eax
jmp 0x408ddb
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov dword [edi + 4], eax
cmp dword [edi + 0xc], 0
je 0x408e2d
xor ebp, ebp
cmp esi, ebp
jle 0x408e49
push 0
lea eax, [esp + 8]
push eax
mov edx, esi
sub edx, ebp
cmp edx, 0x4000
jge 0x408e00
mov ecx, esi
sub ecx, ebp
jmp 0x408e05
mov ecx, 0x4000
push ecx
mov eax, dword [esp + 0xc]
add eax, ebp
push eax
push dword [edi + 4]
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne bl
and ebx, 1
test bl, bl
je 0x408e49
add ebp, 0x4000
cmp esi, ebp
jg 0x408de7
jmp 0x408e49
push 0
lea eax, [esp + 8]
push eax
push esi
push dword [esp + 0xc]
push dword [edi + 4]
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne bl
and ebx, 1
test bl, bl
jne 0x408e7d
cmp dword [edi + 0xc], 0
jne 0x408e7d
lea ebp, [edi + 0x15]
mov eax, 0x413edc
mov edx, ebp
call fcn.00407318
test al, al
jne 0x408ddb
mov edx, ebp
mov eax, 0x413edc
call fcn.004072e8
jmp 0x408e7d
mov byte [edi + 8], 1
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408f58
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, eax
push esi
push edi
push ecx
mov edi, edx
cmp dword [ebx + 0xc], 1
mov esi, ecx
jne 0x408f7f
cmp esi, 0x4e20
jle 0x408f75
mov esi, 0x4e20
push 0xfffffffffffffff6
call sub.KERNEL32.DLL_GetStdHandle
mov dword [ebx + 4], eax
push 0
lea eax, [esp + 4]
push eax
push esi
push edi
push dword [ebx + 4]
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x408fbc
mov eax, ebx
call fcn.00409174
test al, al
je 0x408fb7
cmp esi, 0x4e20
jle 0x408fb7
mov ecx, 0x4e20
mov edx, edi
mov eax, ebx
call fcn.00408f58
jmp 0x408fbf
or eax, 0xffffffff
jmp 0x408fbf
mov eax, dword [esp]
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40b718
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x40b72f
test esi, esi
jg 0x40b736
xor eax, eax
jmp 0x40b7e8
mov edx, dword [ebp - 4]
add edx, 4
lea eax, [ebp - 0x2c]
mov ecx, 0x10
call fcn.0040c4a4
test esi, esi
jns 0x40b750
add esi, 0xf
sar esi, 4
mov dword [ebp - 8], esi
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jle 0x40b7cf
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0040baa4
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [eax]
xor dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 4]
xor dword [ebp - 0x18], ecx
mov ecx, dword [eax + 8]
xor dword [ebp - 0x14], ecx
mov eax, dword [eax + 0xc]
xor dword [ebp - 0x10], eax
mov eax, edx
mov edx, ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jg 0x40b762
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 4
mov ecx, 0x10
call fcn.0040c4a4
mov eax, dword [ebp - 8]
shl eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40ba0c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov dword [esp], eax
mov esi, 1
xor eax, eax
xor ecx, ecx
mov edx, esi
mov ebx, ecx
shl edx, 4
add edx, dword [esp]
shl ebx, 2
add edx, ebx
xor ebx, ebx
add edx, 0x14
movzx edi, byte [edx + 1]
mov bl, byte [edx]
lea edi, [edi*4 + 0x416522]
lea ebx, [ebx*4 + 0x416122]
mov bl, byte [ebx + eax]
xor bl, byte [edi + eax]
movzx edi, byte [edx + 2]
movzx edx, byte [edx + 3]
lea edi, [edi*4 + 0x416922]
lea edx, [edx*4 + 0x416d22]
xor bl, byte [edi + eax]
xor bl, byte [edx + eax]
lea edx, [esp + ecx*4 + 4]
mov byte [edx + eax], bl
inc ecx
cmp ecx, 4
jl 0x40ba1e
inc eax
cmp eax, 4
jl 0x40ba1c
mov eax, esi
lea edx, [esp + 4]
shl eax, 4
mov ecx, 0x10
add eax, dword [esp]
add eax, 0x14
call fcn.0040c4a4
inc esi
cmp esi, 0xa
jl 0x40ba1a
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x40cc54
Capabilities:
Hash data using sha1

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

Function at 0x40d244
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x4125d8], 0
jne 0x40d25d
call fcn.0040c730
mov dword [0x4125d4], eax
inc byte [0x4125d8]
call fcn.0040c730
sub eax, dword [0x4125d4]
cmp eax, 0x64
jle 0x40d299
cmp dword [0x4126c8], 0
je 0x40d294
mov eax, 0x413edc
mov edx, 0xff
call fcn.00407434
mov eax, 0x413edc
mov edx, 0xff
call fcn.00407428
call fcn.00402344
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401000
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x6246c0], ecx
inc edx
cmp edx, 0x100
jb 0x401002
cmp edx, 0x800
jae 0x4010d9
lea esp, [esp]
mov eax, dword [edx*4 + 0x6242c0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x6246c0]
inc edx
mov dword [edx*4 + 0x6246bc], eax
cmp edx, 0x800
jb 0x4010b0
mov dword [0x623e5c], 0x403ef0
call fcn.004040c0
test eax, eax
jne 0x4010f6
mov dword [0x623e5c], 0x403fa0
ret

Function at 0x403b30
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x403b92
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
mov eax, 0x400000
cmp esi, 0x400000
ja 0x403b5f
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x403b97
test ecx, ecx
je 0x403b90
test esi, esi
ja 0x403b50
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x4041a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [0x6204e0]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x94]
push ebp
push esi
push edi
push ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
xor ebp, ebp
push ecx
lea esi, [esp + 0x28]
mov edi, edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
call fcn.00406b10
add esp, 8
cmp eax, ebp
jne 0x404315
mov edx, dword [esp + 0xac]
mov eax, 1
mov dword [esp + 0x34], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x70], eax
lea ebx, [ebx]
mov eax, 0x40000
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], eax
cmp dword [esp + 0xa8], ebp
ja 0x40424c
jb 0x404241
cmp dword [esp + 0xa4], eax
jae 0x40424c
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
call eax
mov esi, eax
add esp, 0xc
cmp esi, ebp
jne 0x404301
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x44]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0xb0]
push 1
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x34]
call fcn.004067e0
mov esi, eax
mov eax, dword [esp + 0x24]
sub dword [esp + 0x20], eax
add esp, 0x14
sub dword [esp + 0xa4], eax
sbb dword [esp + 0xa8], ebp
cmp esi, ebp
jne 0x404301
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x44], ecx
je 0x4042df
cmp eax, ebp
jne 0x4042c9
cmp edi, dword [esp + 0x44]
je 0x4042df
push eax
mov eax, dword [ebx + 4]
push ebx
call eax
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x404220
jmp 0x404301
cmp ecx, dword [esp + 0xac]
jne 0x4042fc
cmp dword [esp + 0xc], ebp
jne 0x4042fc
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x404301
cmp eax, 4
je 0x404301
mov esi, 1
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0058ecc6
add esp, 0x90
ret
Function at 0x404330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb0
mov eax, dword [0x6204e0]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb4]
push ebx
push ebp
mov ebp, dword [esp + 0xc8]
push esi
push edi
xor ebx, ebx
mov edi, 1
mov esi, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
cmp dword [eax + 0x14], edi
je 0x404377
mov eax, edi
jmp 0x4044cd
mov eax, dword [eax + 0x10]
movzx ecx, byte [eax]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00404bc0
add esp, 4
cmp eax, ebx
jne 0x4044cd
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x78], edi
lea esp, [esp]
mov eax, 0x40000
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
cmp dword [esp + 0xcc], ebx
ja 0x40440c
jb 0x404401
cmp dword [esp + 0xc8], eax
jae 0x40440c
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push ebp
call eax
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x4044b9
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0xd8]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
lea esi, [esp + 0x38]
call fcn.00404d70
mov esi, eax
mov eax, dword [esp + 0x28]
sub dword [esp + 0x24], eax
add esp, 0x10
sub dword [esp + 0xc8], eax
sbb dword [esp + 0xcc], ebx
cmp esi, ebx
jne 0x4044b9
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x4c], ecx
je 0x40449e
cmp eax, ebx
jne 0x404488
cmp edi, dword [esp + 0x4c]
je 0x40449e
push eax
mov eax, dword [ebp + 4]
push ebp
call eax
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4043e0
jmp 0x4044b9
cmp ecx, dword [esp + 0xd4]
jne 0x4044b4
cmp dword [esp + 0x14], ebx
jne 0x4044b4
cmp dword [esp + 0x20], 1
je 0x4044b9
mov esi, 1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0058ecc6
add esp, 0xb0
ret
Function at 0x405060
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push ebp
push esi
mov esi, dword [ecx]
xor ebp, ebp
and esi, 7
cmp eax, 5
jae 0x40507d
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0x14]
push ebx
lea ebx, [edx + eax - 4]
push edi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], ebx
lea edi, [edx + ebp]
cmp edi, ebx
jae 0x4050ad
lea ebx, [ebx]
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x4050ad
inc edi
cmp edi, ebx
jb 0x4050a0
mov ebp, edi
sub ebp, edx
mov eax, ebp
sub eax, dword [esp + 0x10]
cmp edi, ebx
jae 0x4051b5
cmp eax, 3
jbe 0x4050e0
xor esi, esi
mov al, byte [edi + 4]
mov dword [esp + 0x10], ebp
test al, al
je 0x40511b
cmp al, 0xff
je 0x40511b
and esi, 3
add esi, esi
or esi, 1
inc ebp
jmp 0x405093
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x4050c6
movzx ecx, byte [esi + 0x6057ec]
mov eax, edi
sub eax, ecx
cmp byte [esi + 0x6057e4], 0
mov al, byte [eax + 4]
je 0x405109
test al, al
je 0x405109
cmp al, 0xff
jne 0x4050c6
and esi, 3
add esi, esi
mov dword [esp + 0x10], ebp
or esi, 1
inc ebp
jmp 0x405093
movzx ecx, byte [edi + 3]
movzx edx, al
movzx eax, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
lea esp, [esp]
sub edx, ebp
sub edx, 5
mov eax, edx
test esi, esi
je 0x405187
movzx edx, byte [esi + 0x6057ec]
add edx, edx
add edx, edx
add edx, edx
mov ecx, 0x18
sub ecx, edx
mov ebx, eax
shr ebx, cl
test bl, bl
je 0x40516c
cmp bl, 0xff
jne 0x405183
mov ebx, dword [esp + 0x14]
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
dec edx
xor edx, eax
jmp 0x405140
mov ebx, dword [esp + 0x14]
mov edx, eax
shr edx, 0x18
and dl, 1
dec dl
not dl
mov byte [edi + 4], dl
mov edx, eax
shr edx, 8
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x1c]
mov byte [edi + 3], cl
mov byte [edi + 1], al
add ebp, 5
jmp 0x405093
pop edi
pop ebx
cmp eax, 3
jbe 0x4051cc
mov eax, dword [esp + 0x18]
xor esi, esi
mov dword [eax], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
lea ecx, [eax - 1]
mov eax, dword [esp + 0x18]
shl esi, cl
and esi, 7
mov dword [eax], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret

Function at 0x4099a0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x620640]
test eax, eax
jne 0x4099fa
push esi
push 0x10
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x4099f0
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x4094b0
push 0
push 0
mov dword [esi], vtable.Installer.0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov eax, esi
mov dword [0x620640], eax
pop esi
pop ecx
ret
xor esi, esi
mov eax, esi
mov dword [0x620640], eax
pop esi
pop ecx
ret
Function at 0x4157b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5942ef
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
call fcn.00412d10
push 0xffffffffffffffff
push 0
lea edi, [esi + 0xd7c]
push eax
mov ecx, edi
mov dword [esp + 0x3c], 0
call fcn.0040b880
cmp dword [esp + 0x24], 0x10
mov dword [esp + 0x30], 0xffffffff
jb 0x415817
mov ecx, dword [esp + 0x10]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
push edi
mov ecx, esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.004116f0
push edi
mov ecx, esi
call fcn.0040f0f0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x424e20
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
push ebp
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 4]
xor ebx, ebx
lea ecx, [esp + 0x10]
push ecx
push edx
mov edi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x20]
push edx
push ebp
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x424e9a
lea eax, [esp + 0x28]
push eax
push ebp
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esi + 0x3c], ebx
jne 0x424f01
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x40], eax
mov ecx, dword [esi + 0x3c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
push 0xcc0020
push edx
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esi + 0x3c]
push edi
push ecx
push edx
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push 0xcc0020
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ebx
push ebx
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4