joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007dd8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [0x10044ba0]
add esi, 0x1064
mov dword [0x10044b9c], esi
mov dword [0x10044ba8], 0
mov byte [0x10044bac], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x10044ba0], 0x1215
mov dword [0x10044ba4], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10044ba4]
add eax, 1
mov dword [0x10044ba4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10007e2f
mov dword [0x10044b9c], 0x1408
mov dword [0x10044ba4], 0
mov eax, dword [0x10044ba0]
mov dword [ebp - 0x20], eax
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xffffd9c5
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0xffffdcb5
mov esi, 0x100
mov edi, dword [0x10044ba8]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x2c], eax
xor edi, edi
mov dword [ebp - 0x30], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov eax, ebx
cdq
idiv esi
mov dword [0x10044ba8], edx
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov bl, byte [esi + ebx]
mov byte [0x10044bac], bl
mov dword [0x10044ba0], ecx
mov bl, byte [esi + edx]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + ecx], bl
mov edx, dword [0x10044b9c]
add edx, 0x2328
mov dword [0x10044b9c], edx
mov bl, byte [0x10044bac]
mov edx, dword [0x10044ba8]
mov byte [esi + edx], bl
mov dword [0x10044ba0], 0x2f0
mov edx, dword [0x10044ba4]
add edx, 1
mov dword [0x10044ba4], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
jl 0x10007e82
mov dword [0x10044ba0], 0x2133
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007f53
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10044ba4], 0
mov dword [0x10044ba8], 0
mov dword [0x10044bb0], 0
mov dword [0x10044b9c], 0x1d5a
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, 0x2c87
xor ecx, ecx
mov edx, 0x1d5a
mov esi, dword [ebp - 0x10]
cmp esi, 0
mov edi, ecx
mov ebx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], eax
je 0x100080dc
jmp 0x10007fec
mov eax, dword [0x10044ba4]
mov ecx, dword [0x10044ba8]
mov edx, dword [0x10044b9c]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov edi, 0x100
add ecx, 0xfffff6df
mov ebx, esi
add ebx, 1
add edx, 1
mov dword [ebp - 0x38], eax
mov eax, edx
cdq
idiv edi
mov dword [0x10044ba4], edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x38]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x10044ba8], edx
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x40]
mov cl, byte [ecx + edi]
mov byte [0x10044bac], cl
mov ecx, dword [ebp - 0x3c]
mov dword [0x10044b9c], ecx
mov ecx, dword [ebp - 0x1c]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x1c]
mov byte [edx + edi], cl
mov dword [0x10044ba0], 0x63b
mov cl, byte [0x10044bac]
mov edx, dword [0x10044ba8]
mov edi, dword [ebp - 0x1c]
mov byte [edi + edx], cl
mov dword [0x10044b9c], 0xbac
mov edx, dword [0x10044ba4]
movzx edx, byte [edi + edx]
mov ecx, dword [0x10044ba8]
movzx ecx, byte [edi + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10044bb0], ecx
mov dword [0x10044b9c], 0x1236
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + esi]
xor dl, byte [edi + ecx]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], dl
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x34], ebx
jne 0x10007fcc
mov eax, dword [0x10044b9c]
add eax, 0xf2d
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [0x10044b9c], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10008248
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.100080ec
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10008284
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10044b9c], 0xfffff751
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x10044ba0], 0xffffe77b
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x100083b2
jmp 0x100082ec
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
jmp 0x10008304
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
add eax, ecx
mov dword [ebp - 0x50], eax
xor eax, eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jmp 0x100082d0
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], bh
mov byte [ebp - 0x56], cl
je 0x10008355
mov eax, dword [ebp - 0x54]
add eax, 1
mov cl, byte [ebp - 0x55]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x56]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x4c], eax
jne 0x10008304
mov al, byte [ebp - 0x56]
test al, 1
jne 0x10008388
jmp 0x1000835e
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], eax
jb 0x100082d0
jmp 0x100083b2
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
mov edi, dword [edx + esi + 0x1c]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x60]
add eax, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x5c]
add edx, dword [eax + esi*4]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10008738
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x10044ba0]
add edx, 0xfffff0b4
mov dword [0x10044ba0], edx
mov dword [0x10044b9c], 0x13ed
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x1000876e
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x100092d8]
mov dl, byte [eax + 0x100092a9]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x10008852
jmp 0x1000876e
mov eax, dword [ebp - 0x34]
mov ecx, dword [0x10044b9c]
add ecx, 0xffffe855
mov dword [0x10044b9c], ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.10007b15
xor eax, eax
mov dword [0x10044ba0], 0x26a5
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x38], ecx
mov esi, dword [0x10044ba0]
add esi, 0x236
mov dword [0x10044b9c], esi
add ecx, 0x253c
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x10008849
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [0x10044ba0], 0x18e3
mov dword [ebp - 0x44], eax
call fcn.100084d9
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.100085d1
cmp eax, 0
mov dword [ebp - 0x34], eax
jne 0x1000879a
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x100088a7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10044ba0], 0x715
mov dword [0x10044b9c], 0x266c
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10008913
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax + 0x100092d8]
mov dl, byte [eax + 0x100092a9]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x13c], eax
je 0x10008987
jmp 0x100088e2
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
mov esi, eax
add esi, 1
imul edi, eax, 0x118
mov ebx, edx
add ebx, edi
add ebx, 0x9c
imul eax, eax, 0x118
add edx, eax
add edx, 0xc0
mov eax, dword [edx]
movzx edx, word [ebx]
xor edx, eax
add edx, ecx
cmp esi, 0x35b
mov eax, edx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x138], esi
jne 0x10008913
xor eax, eax
mov dword [0x10044b9c], 0x13ed
mov dword [ebp - 0x13c], eax
jmp 0x100088e2
lea eax, [ebp - 0x12c]
mov dword [0x10044ba0], 0x18e3
mov dword [ebp - 0x144], eax
call fcn.100084d9
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.100085d1
mov ecx, eax
mov dword [0x10044bb4], eax
mov eax, esp
mov edx, dword [ebp - 0x140]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0x118
mov edi, edx
add edi, esi
add edi, 0xc0
mov esi, dword [edi]
imul edi, eax, 0x118
mov ebx, edx
add ebx, edi
add ebx, 0x88
mov edi, dword [ebx]
imul ebx, eax, 0x118
add edx, ebx
add edx, 0x9c
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.10007d3f
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x35b
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x100089f5
lea eax, [0x100092b7]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [0x10044b9c]
add esi, 0xfffffd55
mov dword [0x10044b9c], esi
mov dword [0x10044ba0], 0x100b
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.10007dd8
mov dword [0x10044b9c], 0x21fb
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x140]
mov dword [esp + 0xc], edx
call fcn.10007f53
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0xec27e
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x121e00
mov ecx, dword [ebp - 0x148]
add ecx, 0x7961e
mov dword [edx + 8], ecx
mov dword [0x10044ba0], 0x149a
mov dword [edx + 0xc], 0x1ff0
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x30004d83
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x6da11bfb
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
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
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x4034a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4034f9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4034f9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4034ea
cmp esi, edx
jae 0x4034f9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4034d8
cmp esi, edx
jae 0x4034f9
cmp word [esi], 0
je 0x4034f9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x405ec0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.0040f650
mov eax, dword [0x45e09c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x405ef0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f17d
mov esp, ebp
pop ebp
ret
push 0x2000
xorps xmm0, xmm0
mov dword [ebp - 0x200c], 0
lea eax, [ebp - 0x2004]
movq qword [ebp - 0x2014], xmm0
push 0
movups xmmword [ebp - 0x2024], xmm0
push eax
mov word [ebp - 0x2008], 0
mov dword [ebp - 0x2020], 3
call fcn.0041ef10
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.0042712b
lea eax, [ebp - 0x2004]
add esp, 0x18
mov dword [ebp - 0x201c], eax
mov eax, 0x614
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.0040f17d
mov esp, ebp
pop ebp
ret
Function at 0x4067e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44327b
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.0040f650
mov eax, dword [0x45e09c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2020], eax
mov eax, dword [ebp + 0x10]
push 0x2000
mov dword [ebp - 0x2024], eax
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.0041ef10
add esp, 0xc
lea eax, [ebp - 0x2014]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x406963
cmp eax, 0x1fff
ja 0x406963
lea ecx, [ebp - 0x2010]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x406963
lea eax, [ebp - 0x2018]
push eax
lea eax, [ebp - 0x201c]
push eax
push 0x446d44
lea eax, [ebp - 0x2010]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x406963
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp - 0x201c]
je 0x4068b3
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0xc]
jmp 0x4068b9
mov ebx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov eax, dword [ebp - 0x2020]
test eax, eax
je 0x4068c5
mov dword [eax], ebx
mov eax, dword [ebp - 0x2024]
test eax, eax
je 0x4068d1
mov dword [eax], edi
test esi, esi
je 0x40695c
lea ecx, [ebp - 0x2020]
mov dword [ebp - 0x2020], 0
call fcn.004041a0
movzx eax, di
push eax
shr edi, 0x10
push edi
movzx eax, bx
push eax
shr ebx, 0x10
lea eax, [ebp - 0x2020]
push ebx
push str._d._d._d._d
push eax
mov dword [ebp - 4], 0
call fcn.00402e10
mov edx, dword [ebp - 0x2020]
add esp, 0x18
mov ecx, 0x104
sub edx, esi
lea eax, [ecx + 0x7ffffefa]
test eax, eax
je 0x406944
movzx eax, word [edx + esi]
test ax, ax
je 0x406944
mov word [esi], ax
add esi, 2
sub ecx, 1
jne 0x406926
test ecx, ecx
lea eax, [esi - 2]
cmovne eax, esi
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x2020]
call fcn.00402990
mov eax, 1
jmp 0x406965
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040f17d
mov esp, ebp
pop ebp
ret
Function at 0x4073a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x45e09c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x414], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x410], esi
mov dword [ebp - 0x410], ecx
push edi
mov edi, dword [ebp + 0x18]
test ecx, ecx
je 0x407441
test ebx, ebx
je 0x407441
test eax, eax
je 0x407441
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0041ef10
add esp, 0xc
mov dword [ebp - 0x40c], 1
lea eax, [ebp - 0x408]
mov dword [ebp - 0x408], 0x400
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x414]
push ebx
push dword [ebp - 0x410]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x407441
lea eax, [ebp - 0x404]
jmp 0x40744b
test edi, edi
mov eax, 0x4455a8
cmovne eax, edi
push eax
mov ecx, esi
call fcn.00402700
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f17d
mov esp, ebp
pop ebp
ret
Function at 0x408440
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443573
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x45e09c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.00413b40
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4085bc
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], al
call fcn.0040a820
push 3
push 0x446f74
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.0040a820
mov byte [ebp - 4], 2
call fcn.00413b40
mov edi, eax
lea ecx, [ebp - 0xd4]
push 0x404
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00404650
mov esi, eax
push 0x44715c
push esi
mov byte [ebp - 4], 3
call fcn.004035f0
mov ecx, dword [ebp + 8]
mov edx, 0x446f48
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.004035f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xd4]
call fcn.004055a0
mov edx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x408564
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40855a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408602
push edx
push ecx
call fcn.0040f18e
add esp, 8
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4085aa
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4085a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408607
push edx
push ecx
call fcn.0040f18e
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4085ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00422ef9
call fcn.00422ef9
int3
Function at 0x408b90
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x408bd8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408bd8
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x408bc8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x408bd8
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret