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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x4034db
pop dword [ebp - 0x30]
mov eax, 0x1b62616f
sub eax, 0x1b222c94
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x3d0a24f4
sub dword [ebp - 0x40], 0xeeb7dfa9
mov dword [ebp - 0x3c], 0x5f29f3b5
sub dword [ebp - 0x3c], 0x2cf6a770
mov dword [ebp - 0x38], 0x19c445a7
add dword [ebp - 0x38], 0x3287fe87
mov dword [ebp - 0x34], 0x16c49231
add dword [ebp - 0x34], 0xe93b6dcf
lea eax, [ebp - 0x40]
push eax
mov eax, 0x3e59fbc
add eax, 0xfc5aa098
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xee486165
add dword [ebp - 0x40], 0x862a07f1
mov dword [ebp - 0x3c], 0xa8c7736
add dword [ebp - 0x3c], 0x36dfea3f
mov dword [ebp - 0x38], 0x394d67a3
sub dword [ebp - 0x38], 0xd5ddfb37
mov dword [ebp - 0x34], 0xab251c3e
add dword [ebp - 0x34], 0x54dae3c2
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x35d80
push 0
call eax
mov ecx, 0x43d5
mov ebx, eax
mov esi, 0x9ae0142e
sub esi, 0x9a9f902e
add esi, dword [ebp - 0x30]
mov edx, 0xe8a179e0
add dword [ebp - 0x10], ecx
mov edi, dword [esi]
xor dword [ebp - 0x18], 0xfd909c2e
add edi, edx
sub dword [ebp - 0x20], 0xf646141
mov dword [ebx], edi
xor dword [ebp - 0x1c], ecx
add ebx, 0xf13e6e52
add ebx, 0xec191b2
add esi, 4
loop 0x4035ec
add eax, 0x25867125
sub eax, 0x25856efe
mov ebx, eax
add eax, 0x9ecbc6c
add eax, 0xf6134399
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x43cf58
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43ccda
and esi, esi
call fcn.0043cf7e
add edx, esi
inc edx
xor dword [eax], edi
and edx, edx
add esi, edx
add eax, 1
or edx, esi
and edx, esi
cmp eax, ecx
jne fcn.0043cf58
add edx, edx
ret
Function at 0x410560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x10
pop ecx
xor eax, eax
push 0x100
push eax
mov byte [ebp - 0x44], 0
lea edi, [ebp - 0x43]
push ebx
rep stosd dword es:[edi], eax
call fcn.004200c0
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 8]
call fcn.00418e90
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.00415af1
push 0x40
lea eax, [ebp - 0x44]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.0041fd80
add esp, 0x28
push 0x40
lea edi, [ebx + 0x60]
lea esi, [ebx + 0x5a]
pop ecx
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [eax + ebx + 0x9f]
xor cl, byte [eax + ebx]
inc eax
cmp eax, 0x20
mov byte [eax + ebx + 0x9f], cl
jl 0x4105bb
push dword [ebp + 8]
call dword [0x428108]
mov esi, eax
xor ecx, ecx
test esi, esi
jle 0x4105f9
mov al, byte [ecx + ebx + 0xbd]
xor al, byte [ecx + ebx]
inc ecx
cmp ecx, esi
mov byte [ecx + ebx + 0xbf], al
jl 0x4105e3
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x41203a
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, 0x455cb0
xor edi, edi
push esi
inc edi
call dword [0x428108]
test al, al
jbe 0x412064
mov ecx, esi
movzx edx, al
movzx eax, byte [ecx]
mov esi, eax
imul esi, edi
xor esi, eax
inc ecx
dec edx
mov edi, esi
jne 0x412054
mov eax, edi
pop edi
pop esi
ret

Function at 0x418838
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
and dword [ebp + 8], 0
push ebx
push esi
push edi
mov edi, 0x10000
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + edx*4]
mov edx, ecx
and ecx, 0xffff
shr edx, 0x10
mov esi, ecx
mov dword [ebp - 8], ecx
mov ecx, edx
imul ecx, edx
mov dword [eax + 4], ecx
mov ecx, esi
imul ecx, esi
mov dword [eax], ecx
mov ebx, edx
sub ebx, esi
sub esi, edx
mov ecx, esi
imul ecx, ebx
xor esi, ebx
mov ebx, dword [eax + 4]
and esi, edi
neg esi
mov dword [ebp - 4], edx
mov edx, ecx
neg edx
sbb edx, edx
and edx, esi
add ecx, ebx
cmp ecx, ebx
sbb esi, esi
and esi, edi
add edx, esi
mov esi, dword [eax]
add ecx, esi
cmp ecx, esi
sbb esi, esi
and esi, edi
add edx, esi
mov esi, ecx
shl esi, 0x10
add dword [eax], esi
cmp dword [eax], esi
sbb esi, esi
neg esi
shr ecx, 0x10
add esi, ebx
add ecx, esi
add ecx, edx
mov dword [eax + 4], ecx
add eax, 8
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0x10]
jl 0x41884c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420ffa
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x429798
call fcn.0042079c
mov edi, 0x94
mov eax, edi
call fcn.00420250
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x428080]
mov ecx, dword [esi + 0x10]
mov dword [0x4608f0], ecx
mov eax, dword [esi + 4]
mov dword [0x4608fc], eax
mov edx, dword [esi + 8]
mov dword [0x460900], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4608f4], esi
cmp ecx, 2
je 0x42105a
or esi, 0x8000
mov dword [0x4608f4], esi
shl eax, 8
add eax, edx
mov dword [0x4608f8], eax
xor esi, esi
push esi
mov edi, dword [0x428078]
call edi
cmp word [eax], 0x5a4d
jne 0x421095
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x421095
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4210ad
cmp eax, 0x20b
je 0x42109a
mov dword [ebp - 0x1c], esi
jmp 0x4210c1
cmp dword [ecx + 0x84], 0xe
jbe 0x421095
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x4210bb
cmp dword [ecx + 0x74], 0xe
jbe 0x421095
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.00423ffd
pop ecx
test eax, eax
jne 0x4210ed
cmp dword [0x4608d0], 1
jne 0x4210da
call fcn.004237b2
push 0x1c
call fcn.0042363b
push 0xff
call fcn.00421825
pop ecx
pop ecx
call fcn.00423f5b
mov dword [ebp - 4], esi
call fcn.00423db0
test eax, eax
jge 0x421106
push 0x1b
call fcn.00420fd5
pop ecx
call dword [0x4281c4]
mov dword [0x461ed0], eax
call fcn.00423c8e
mov dword [0x4608c8], eax
call fcn.00423bec
test eax, eax
jge 0x42112c
push 8
call fcn.00420fd5
pop ecx
call fcn.004239b9
test eax, eax
jge 0x42113d
push 9
call fcn.00420fd5
pop ecx
push 1
call fcn.00421855
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x421153
push eax
call fcn.00420fd5
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x4281c8]
call fcn.0042395c
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x421174
movzx eax, word [ebp - 0x40]
jmp 0x421177
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040caec
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x421195
push edi
call fcn.00421980
call fcn.004219a2
jmp 0x4211c7
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004207d7
ret
Function at 0x421d12
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x421d40
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x421d47
cmp ebx, dword [eax + 4]
jae 0x421d47
xor eax, eax
jmp 0x421f37
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x421d58
xor eax, eax
inc eax
jmp 0x421f36
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x421d6e
cmp ecx, edx
jae 0x421eb3
cmp dword [eax + 4], 0
je 0x421d77
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x421d5f
cmp dword [ebp + 8], 0
je 0x421d99
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x421eb3
cmp eax, esi
jae 0x421eb3
mov eax, dword [0x460938]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x421dbe
cmp dword [esi*4 + 0x460940], edi
je 0x421eb7
inc esi
cmp esi, eax
jl 0x421dac
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x4281b4]
test eax, eax
je 0x421f33
cmp dword [ebp - 8], 0x1000000
jne 0x421f33
test byte [ebp - 0xc], 0xcc
je 0x421e3c
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x421f33
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x421f33
cmp word [eax + 0x18], 0x10b
jne 0x421f33
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x421f33
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x421e3c
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x421e3c
test byte [ecx + 0x27], 0x80
jne 0x421eb3
push 1
push 0x460980
call dword [0x4281b8]
test eax, eax
jne 0x421d50
mov ecx, dword [0x460938]
test ecx, ecx
mov edx, ecx
jle 0x421e70
lea eax, [ecx*4 + 0x46093c]
cmp dword [eax], edi
je 0x421e70
dec edx
sub eax, 4
test edx, edx
jg 0x421e64
test edx, edx
jne 0x421ea1
push 0xf
pop ebx
cmp ecx, ebx
jg 0x421e7d
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x421e95
lea eax, [edx*4 + 0x460940]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x421e83
cmp ecx, 0x10
jge 0x421ea1
inc ecx
mov dword [0x460938], ecx
push 0
push 0x460980
call dword [0x4281b8]
jmp 0x421d50
xor eax, eax
jmp 0x421f36
test esi, esi
jle 0x421d50
mov ebx, dword [0x4281b8]
push 1
push 0x460980
call ebx
test eax, eax
jne 0x421d50
cmp dword [esi*4 + 0x460940], edi
je 0x421f0d
mov eax, dword [0x460938]
lea esi, [eax - 1]
test esi, esi
jl 0x421efb
cmp dword [esi*4 + 0x460940], edi
je 0x421ef7
dec esi
jns 0x421eeb
test esi, esi
jge 0x421f0b
cmp eax, 0x10
jge 0x421f06
inc eax
mov dword [0x460938], eax
lea esi, [eax - 1]
jmp 0x421f0d
je 0x421f25
xor ecx, ecx
test esi, esi
jl 0x421f25
lea eax, [ecx*4 + 0x460940]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x421f13
push 0
push 0x460980
call ebx
jmp 0x421d50
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406578
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x264
push ebx
mov ebx, dword [esp + 0x280]
mov eax, ecx
mov dword [esp + 4], eax
cmp ebx, 0x18
ja 0x406774
push ebp
push esi
xor ebp, ebp
lea esi, [eax + 0x4b4]
push edi
mov edi, ebp
cmp dword [esi + 0x134], ebx
jne 0x4065dc
push dword [esp + 0x27c]
mov ecx, esi
call fcn.0040ebd9
test al, al
je 0x4065dc
push 0x10
push dword [esp + 0x288]
lea eax, [esi + 0x102]
push eax
call fcn.0041ff5a
add esp, 0xc
test eax, eax
je 0x40677e
inc edi
add esi, 0x178
cmp edi, 4
jb 0x4065a2
mov esi, 0x200
lea eax, [esp + 0x74]
push esi
push eax
push dword [esp + 0x288]
call fcn.00411734
xor eax, eax
mov ecx, ebx
inc eax
shl eax, cl
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x20]
push eax
push 0x10
push dword [esp + 0x298]
lea eax, [esp + 0x8c]
push eax
call fcn.00423770
pop ecx
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004069da
push esi
lea eax, [esp + 0x78]
push eax
call fcn.0040ee18
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x27c]
push reloc.mscms.dll_DisassociateColorProfileFromDeviceW
mov ecx, dword [edx + 0xa94]
lea ebx, [edx + 0x4b4]
mov eax, ecx
and eax, 3
imul eax, eax, 0x178
add ebx, eax
lea eax, [ecx + 1]
mov dword [edx + 0xa94], eax
mov edi, ebx
mov eax, dword [esp + 0x290]
pop ecx
mov dword [ebx + 0x134], eax
lea eax, [ebx + 0x102]
rep movsd dword es:[edi], dword [esi]
push 0x10
push dword [esp + 0x288]
push eax
movsw word es:[edi], word [esi]
call fcn.0041f610
push 0x20
pop edi
push edi
lea eax, [esp + 0x24]
push eax
lea esi, [ebx + 0x112]
push esi
call fcn.0041f610
push edi
lea eax, [esp + 0x50]
push eax
lea eax, [ebx + 0x138]
push eax
call fcn.0041f610
push edi
lea eax, [esp + 0x7c]
push eax
lea eax, [ebx + 0x158]
push eax
call fcn.0041f610
add esp, 0x30
push ebp
push 1
push edi
push esi
call fcn.0040ed12
cmp dword [esp + 0x290], ebp
je 0x406702
push edi
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x298]
call fcn.0041f610
add esp, 0xc
mov esi, dword [esp + 0x294]
test esi, esi
je 0x406735
push 8
push ebp
push esi
call fcn.0041f4b0
add esp, 0xc
mov al, byte [esp + ebp + 0x34]
mov ecx, ebp
and ecx, 7
xor byte [ecx + esi], al
inc ebp
cmp ebp, edi
jb 0x406719
push edi
lea eax, [esp + 0x38]
push eax
call fcn.0040ee18
cmp dword [esp + 0x288], 0
je 0x406766
push dword [esp + 0x288]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push 0x100
push eax
push dword [esp + 0x284]
add ecx, 0xa9c
call fcn.0040e28f
push edi
lea eax, [esp + 0x18]
push eax
call fcn.0040ee18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x264
ret 0x20
push 0x20
pop edi
push edi
lea eax, [esi + 0x112]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041f610
add esp, 0xc
lea eax, [esp + 0x14]
push ebp
push ebp
push edi
push eax
call fcn.0040ed12
push edi
lea eax, [esi + 0x138]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0041f610
push edi
lea eax, [esi + 0x158]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0041f610
add esp, 0x18
jmp 0x4066e4
Function at 0x4067cf
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x1bc
push ebx
mov ebx, dword [esp + 0x1c8]
push ebp
push esi
push edi
push reloc.mscms.dll_DisassociateColorProfileFromDeviceW
pop edi
cmp ebx, edi
jbe 0x406824
lea eax, [esp + 0x164]
push eax
call fcn.0040f9e7
push ebx
push dword [esp + 0x1d4]
lea eax, [esp + 0x16c]
push eax
call fcn.0040fa2d
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x168]
push eax
call fcn.0040f8f6
push 0x20
lea eax, [esp + 0x58]
pop ebx
jmp 0x40682b
mov eax, dword [esp + 0x1d0]
mov ebp, dword [esp + 0x1e4]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x406856
mov edx, dword [esp + 0x1e8]
cmp byte [edx], 0
je 0x406856
push 0x1a
pop ecx
mov esi, ebp
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
jmp 0x4068b7
xor edx, edx
test ebx, ebx
je 0x406876
mov esi, eax
lea eax, [esp + 0x14]
sub esi, eax
lea ecx, [esp + 0x14]
add ecx, edx
mov al, byte [esi + ecx]
xor al, 0x36
inc edx
mov byte [ecx], al
cmp edx, ebx
jb 0x406864
cmp ebx, edi
jae 0x406890
mov eax, edi
lea ecx, [esp + 0x14]
sub eax, ebx
add ecx, ebx
push eax
push 0x36
push ecx
call fcn.0041f4b0
add esp, 0xc
lea eax, [esp + 0x94]
push eax
call fcn.0040f9e7
push edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.0040fa2d
mov edx, dword [esp + 0x1e8]
test ebp, ebp
je 0x4068d1
cmp byte [edx], 0
jne 0x4068d1
push 0x1a
pop ecx
lea esi, [esp + 0x94]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov byte [edx], 1
push dword [esp + 0x1dc]
lea eax, [esp + 0x98]
push dword [esp + 0x1dc]
push eax
call fcn.0040fa2d
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.0040f8f6
mov ebp, dword [esp + 0x1ec]
test ebp, ebp
je 0x406925
mov eax, dword [esp + 0x1f0]
cmp byte [eax], 0
je 0x406925
push 0x1a
pop ecx
mov esi, ebp
lea edi, [esp + 0xfc]
rep movsd dword es:[edi], dword [esi]
jmp 0x40698b
test ebx, ebx
je 0x406947
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
sub edx, eax
xor esi, esi
lea ecx, [esp + 0x14]
add ecx, esi
mov al, byte [edx + ecx]
xor al, 0x5c
inc esi
mov byte [ecx], al
cmp esi, ebx
jb 0x406935
cmp ebx, 0x40
jae 0x406963
push reloc.mscms.dll_DisassociateColorProfileFromDeviceW
pop eax
sub eax, ebx
lea ecx, [esp + 0x14]
push eax
add ecx, ebx
push 0x5c
push ecx
call fcn.0041f4b0
add esp, 0xc
lea eax, [esp + 0xfc]
push eax
call fcn.0040f9e7
push reloc.mscms.dll_DisassociateColorProfileFromDeviceW
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.0040fa2d
mov eax, dword [esp + 0x1f0]
test ebp, ebp
je 0x4069a5
cmp byte [eax], 0
jne 0x4069a5
push 0x1a
pop ecx
lea esi, [esp + 0xfc]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov byte [eax], 1
push 0x20
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.0040fa2d
push dword [esp + 0x1e0]
lea eax, [esp + 0x100]
push eax
call fcn.0040f8f6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1bc
ret 0x24
Function at 0x4069da
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0x190
push ebx
push esi
mov esi, dword [ebp + 0x6c]
push edi
push reloc.mscms.dll_DisassociateColorProfileFromDeviceW
pop eax
cmp esi, eax
jae 0x4069f4
mov eax, esi
push eax
push dword [ebp + 0x68]
lea eax, [ebp - 0x48]
push eax
call fcn.0041f610
add esp, 0xc
mov dword [ebp + esi - 0x48], 0x1000000
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.004067cf
push 0x20
pop ebx
push ebx
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041f610
mov eax, dword [ebp + 0x7c]
add esp, 0xc
dec eax
mov byte [ebp + 0x56], 0
mov dword [ebp + 0x48], eax
xor esi, esi
mov byte [ebp + 0x57], 0
push 0x10
pop eax
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x44], eax
mov edi, dword [ebp + esi + 0x48]
test edi, edi
je 0x406ac0
lea eax, [ebp + 0x57]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp + 0x56]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.004067cf
push ebx
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.0041f610
add esp, 0xc
xor ecx, ecx
mov al, byte [ebp + ecx + 0x1c]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, ebx
jb 0x406aae
sub edi, 1
jne 0x406a71
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + esi + 0x3c]
call fcn.0041f610
add esi, 4
add esp, 0xc
cmp esi, 0xc
jb 0x406a69
push 0x44
lea eax, [ebp - 0x48]
push eax
call fcn.0040ee18
push ebx
lea eax, [ebp - 4]
push eax
call fcn.0040ee18
push ebx
lea eax, [ebp + 0x1c]
push eax
call fcn.0040ee18
push ebx
lea eax, [ebp - 0x68]
push eax
call fcn.0040ee18
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x58]
pop ebp
ret 0x20
Function at 0x409508
Capabilities:
Move file

Disassembly:
mov eax, reloc.mscms.dll_GetStandardColorSpaceProfileA
call fcn.0041e3cc
mov eax, 0x502c
call fcn.0041e4a0
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4038]
push edi
mov ebx, 0x800
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x4096c9
cmp eax, ebx
jae 0x4096c9
push ebx
lea eax, [ebp - 0x5038]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x4096c9
cmp eax, ebx
jae 0x4096c9
lea eax, [ebp - 0x4038]
push eax
call fcn.0040bda5
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x5038]
push eax
call fcn.0040bda5
mov edi, eax
xor ebx, ebx
cmp word [edi], bx
je 0x4096c9
push edi
push dword [ebp - 0x10]
call fcn.004118dc
test eax, eax
je 0x4096c9
push edi
push esi
call fcn.0040bda5
push eax
call fcn.004118dc
test eax, eax
jne 0x4096c9
mov word [ebp - reloc.mscms.dll_UninstallColorProfileA], ax
mov edi, ebx
test ax, ax
jne 0x409629
push 0x800
push esi
lea eax, [ebp - 0x1010]
push eax
call fcn.0040ff76
push edi
push str.rtmp_d
push 0x800
lea eax, [ebp - 0x1010]
push eax
call fcn.0040bda5
push eax
call fcn.00403f72
add esp, 0x10
lea eax, [ebp - 0x1010]
push eax
call fcn.0040a2a3
test al, al
je 0x40960e
xor eax, eax
mov word [ebp - reloc.mscms.dll_UninstallColorProfileA], ax
jmp 0x409615
mov ax, word [ebp - reloc.mscms.dll_UninstallColorProfileA]
add edi, 0x7b
cmp edi, 0x2710
jl 0x4095bc
test ax, ax
je 0x4096c9
mov edi, 0x800
lea eax, [ebp - 0x3038]
push edi
push esi
push eax
call fcn.0040ff76
push edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x3038]
push eax
call fcn.0040be1b
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x3038]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4096c9
lea ecx, [ebp - 0x2038]
call fcn.004096de
push esi
mov dword [ebp - 4], ebx
call fcn.0040a2a3
test al, al
jne 0x40968c
push 0x12
push esi
lea ecx, [ebp - 0x2038]
call fcn.004097ee
mov bl, al
lea eax, [ebp - 0x3038]
push eax
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test bl, bl
je 0x4096ba
lea ecx, [ebp - 0x2038]
call fcn.004097a0
lea ecx, [ebp - 0x2038]
call fcn.004098e7
lea ecx, [ebp - 0x2038]
call fcn.00409718
mov al, 1
jmp 0x4096cb
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b78c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041e4a0
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0
jne 0x40b7aa
xor al, al
jmp 0x40b914
push ebx
push edi
push esi
call fcn.0040b926
push esi
call fcn.004236f3
pop ecx
push esi
mov edi, eax
call fcn.0040b952
test al, al
je 0x40b83c
push esi
call fcn.0040b926
test al, al
je 0x40b7f3
lea eax, [edi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x40b910
push dword [ebp + 0x10]
push 0x4338ac
push dword [ebp + 0xc]
call fcn.0040ff76
push dword [ebp + 0x10]
jmp 0x40b903
push 0x5c
pop eax
cmp word [esi], ax
jne 0x40b910
lea ebx, [esi + 2]
cmp word [ebx], ax
jne 0x40b910
mov esi, dword [ebp + 0x10]
lea eax, [edi + 6]
cmp esi, eax
jbe 0x40b910
push esi
push 0x4338ac
push dword [ebp + 0xc]
call fcn.0040ff76
push esi
push 0x4338b8
push dword [ebp + 0xc]
call fcn.0040ff4e
push esi
push ebx
jmp 0x40b904
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40b910
cmp eax, ebx
ja 0x40b910
movzx eax, word [esi]
push eax
call fcn.0040ba2d
test al, al
je 0x40b8a3
lea eax, [edi + 6]
mov edi, dword [ebp + 0x10]
cmp edi, eax
jbe 0x40b910
push edi
push 0x4338ac
push dword [ebp + 0xc]
call fcn.0040ff76
xor eax, eax
mov word [ebp - reloc.mscms.dll_UninstallColorProfileA], ax
lea eax, [ebp - 0x1000]
push edi
push eax
push dword [ebp + 0xc]
call fcn.0040ff4e
jmp 0x40b902
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.0040b327
lea eax, [ebp - 0x1000]
push eax
call fcn.004236f3
add edi, 4
add eax, edi
mov edi, dword [ebp + 0x10]
pop ecx
cmp edi, eax
jbe 0x40b910
push edi
push 0x4338ac
push dword [ebp + 0xc]
call fcn.0040ff76
push edi
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 0xc]
call fcn.0040ff4e
cmp word [esi], 0x2e
jne 0x40b902
movzx eax, word [esi + 2]
push eax
call fcn.0040ba2d
test al, al
je 0x40b902
add esi, 4
push edi
push esi
push dword [ebp + 0xc]
call fcn.0040ff4e
mov al, 1
jmp 0x40b912
xor al, al
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40c54c
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc eax
mov cl, bl
cmp esi, eax
jbe 0x40c569
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x40c561
cmp cl, byte [edx]
jne 0x40c5a4
push esi
push edx
push 0xffffffffffffffff
call fcn.00405e9c
not eax
mov ecx, ebx
cmp dword [ecx + 0x43e02c], eax
jne 0x40c58a
cmp dword [ecx + 0x43e028], esi
je 0x40c595
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x40c57a
jmp 0x40c5a4
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x43e030]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc