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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x102375a8], 0
mov byte [0x102375ac], 0
mov dword [0x102375a0], 0x247e
mov dword [0x102375a4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x10217d23
mov dword [0x102375a4], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10217d4b
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102375a4]
add eax, 1
mov dword [0x102375a4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10217d23
jmp 0x10217d12
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102375b0], 0
mov edx, dword [0x1023759c]
mov esi, edx
add esi, 0xffffd965
mov dword [0x102375a0], esi
mov esi, dword [0x102375a8]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x28], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x102375b0], ebx
mov dword [0x102375a0], 0x162a
mov eax, ebx
cdq
idiv ecx
mov dword [0x102375a8], edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x26f4
mov dword [0x1023759c], ecx
mov ecx, dword [ebp - 0x24]
mov cl, byte [edi + ecx]
mov byte [0x102375ac], cl
mov dword [0x1023759c], 0x8fc
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x1023759c], 0x721
mov cl, byte [0x102375ac]
mov ebx, dword [0x102375a8]
mov byte [edi + ebx], cl
mov dword [0x102375a0], 0x15d4
mov ebx, dword [0x102375a4]
add ebx, 1
mov dword [0x102375a4], ebx
cmp ebx, 0x100
mov dword [ebp - 0x20], ebx
jl 0x10217d4b
mov dword [0x1023759c], 0x71f
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10217e37
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x102375a0], 0x26bd
mov dword [0x1023759c], 0xe95
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x9c
mov edi, edx
add edi, esi
add edi, 0x98
mov esi, dword [edi]
imul edi, eax, 0x9c
add edx, edi
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x2ce
mov ecx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x10217e64
lea eax, [0x1021b2a3]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x102375a0], 0x130b
mov dword [0x1023759c], 0x1346
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
call fcn.10218114
mov dword [0x102375a0], 0xb5d
mov dword [0x1023759c], 0x6c2
call fcn.10218059
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
call fcn.10218297
mov ecx, eax
mov dword [0x102375bc], eax
mov eax, esp
mov edx, dword [ebp - 0x3c]
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 - 0x48], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
lea edx, section..data
imul esi, eax, 0x9c
mov edi, edx
add edi, esi
add edi, 0x98
mov esi, dword [edi]
imul edi, eax, 0x9c
mov ebx, edx
add ebx, edi
add ebx, 0x18
mov edi, dword [ebx]
imul ebx, eax, 0x9c
add edx, ebx
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x48]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edx
call fcn.10218c70
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov edx, dword [ebp - 0x54]
add edx, 1
cmp edx, 0x2ce
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
jne 0x10217f47
mov dword [0x102375a0], 0x9b1
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 8], ecx
call fcn.102181c2
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 0xe85f9
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov ecx, dword [0x1023759c]
add ecx, 0x183c
mov dword [0x1023759c], ecx
mov dword [edx + 4], 0x114400
mov dword [0x102375a0], 0x13e1
mov ecx, dword [ebp - 0x48]
add ecx, 0xbe22b
mov dword [edx + 8], ecx
mov ecx, dword [0x1023759c]
add ecx, 0x1510
mov dword [0x1023759c], ecx
mov dword [edx + 0xc], 0x20a0
mov ecx, dword [0x102375a0]
add ecx, 0xfffff7d7
mov dword [0x102375a0], ecx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10218454
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1021b2a3]
mov esi, 0xe
lea edi, [ebp - 0x2c]
mov ebx, dword [0x1023759c]
add ebx, 0x1e99
mov dword [0x1023759c], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
call fcn.10218114
mov eax, dword [0x1023759c]
add eax, 0xfffffc44
mov dword [0x102375a0], eax
mov dword [0x1023759c], 0x6c2
call fcn.10218059
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.10218297
xor ecx, ecx
mov dword [0x1023759c], 0x236d
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
je 0x102185a7
mov eax, dword [ebp - 0x40]
mov dword [0x1023759c], 0x1258
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 ecx, dword [0x1023759c]
add ecx, 0x194b
mov dword [0x102375a0], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.10217a3e
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x20], ecx
mov dword [0x1023759c], 0x341
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x38], ecx
cmp ecx, 0
mov dword [ebp - 0x44], eax
je 0x102185a7
mov eax, dword [ebp - 0x48]
add eax, 0x251e
mov dword [ebp - 0x4c], eax
mov dword [0x102375a0], 0x1ddf
mov dword [0x1023759c], 0xffffefc9
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102185b2
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov dword [0x1023759c], 0x1367
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x1023759c]
mov edi, esi
add edi, 0xffffec0a
mov dword [0x1023759c], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x1021862c
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], eax
jl 0x102185ff
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
add edx, 0xfffff5a8
mov dword [0x1023759c], edx
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jne 0x10218724
xor eax, eax
mov dword [0x1023759c], 0x28f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x2c], eax
jne 0x10218724
mov dword [0x1023759c], 0x2505
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff5
mov dword [ebp - 0x30], eax
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2], 0x61
mov dword [ebp - 0x2c], eax
jne 0x10218724
xor eax, eax
mov dword [0x102375a0], 0x870
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x2c], eax
jne 0x10218724
xor eax, eax
mov dword [0x1023759c], 0x264f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x2c], eax
jne 0x10218724
xor eax, eax
mov dword [0x1023759c], 0x1f9e
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x2c], eax
jne 0x10218724
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
jne 0x10218724
mov eax, 1
mov dword [0x1023759c], 0x536
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add esp, 0x28
pop esi
pop edi
pop ebp
ret
Function at 0x10218a76
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x1023759c]
add ecx, 0xffffea42
mov dword [0x102375a0], ecx
mov dword [ebp - 0x10], eax
call fcn.10218e21
mov ecx, eax
mov eax, dword [eax + 0x3c]
mov dword [0x1023759c], 0x1516
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov esi, dword [ecx + edx + 0x78]
mov dword [0x1023759c], 0x11d0
add ecx, dword [ecx + esi + 0x20]
mov dword [0x102375a0], 0x6c2
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + esi + 0x18]
cmp ebx, 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
je 0x10218c02
jmp 0x10218b3e
mov eax, 0xffffeebe
xor ecx, ecx
mov dword [0x1023759c], 0x10da
mov edx, dword [ebp - 0x2c]
add edx, 2
mov esi, dword [ebp - 0x30]
add esi, 1
mov edi, dword [ebp - 0x1c]
cmp esi, edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], ecx
jb 0x10218b60
jmp 0x10218c02
mov al, byte [ebp - 0x3d]
test al, 1
jne 0x10218bd6
jmp 0x10218af6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add eax, dword [eax + ecx + 0x24]
mov dword [ebp - 0x44], eax
mov eax, 0xffffefb4
xor ecx, ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
jmp 0x10218b60
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
xor esi, esi
mov edi, dword [ebp - 0x24]
mov ebx, dword [edi + eax*4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], esi
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x14]
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 - 0x3d], cl
je 0x10218b31
mov eax, dword [ebp - 0x54]
add eax, 1
mov cl, byte [ebp - 0x55]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3d]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x50], eax
jne 0x10218b80
jmp 0x10218b31
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x48]
mov dword [0x102375a0], edx
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
add esi, dword [esi + edi + 0x1c]
mov ebx, dword [ebp - 0x14]
add ebx, dword [esi + ecx*4]
mov dword [0x1023759c], 0x1a69
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x28]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10218fa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x4207
mov dword [0x102375a4], 0
mov dword [0x102375a8], 0
mov dword [0x102375b4], 0
mov dword [0x102375a0], 0x222c
mov dword [0x1023759c], 0x4207
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10219144
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add ecx, 0xfffff351
mov dword [0x1023759c], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x102375a4], edx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x102375a8], edx
mov dword [0x1023759c], 0x1bda
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102375ac], cl
mov dword [0x1023759c], 0x297
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x1023759c], 0x2f0
mov cl, byte [0x102375ac]
mov edx, dword [0x102375a8]
mov byte [edi + edx], cl
mov edx, dword [0x102375a4]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102375a8]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x102375a0], 0xffffe4ab
and ebx, 0xff
mov dword [0x102375b4], ebx
mov dword [0x1023759c], 0x1696
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x102375b9], ch
mov byte [0x102375ba], cl
xor ch, cl
mov byte [0x102375b8], ch
mov dword [0x102375a0], 0xffffef26
mov dword [0x1023759c], 0x15f1
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10219144
mov eax, dword [0x1023759c]
mov ecx, dword [0x102375a4]
mov edx, dword [0x102375a8]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
jmp 0x10219015
mov dword [0x102375a0], 0x23ec
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10219156
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
call fcn.1000106e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
jne 0x102192b9
lea eax, [esp + 0x40]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.10217e37
lea ecx, [0x10218c0d]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], edx
mov dword [0x102375a0], 0x1082
mov dword [esp + 0x90], 0x114400
mov edx, dword [0x10237588]
mov dword [esp + 0x58], edx
mov edx, dword [0x1023758c]
mov dword [esp + 0x98], edx
mov edx, dword [0x10237590]
mov dword [esp + 0x94], edx
mov edx, dword [0x10237594]
mov dword [esp + 0x64], edx
mov edx, dword [0x10237598]
mov dword [esp + 0x4c], edx
mov dword [0x1023759c], 0xffffe113
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
jne 0x1021921c
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x18], ecx
je 0x10219238
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jmp 0x102191f9
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov dword [0x1023759c], 0x1516
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x9c], edx
mov dword [0x102375a0], 0x3a6
call fcn.102185b2
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x102192b1
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10218454
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [0x102375a0], 0x2491
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov esp, ebp
pop ebp
ret
Function at 0x4042e6
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push 0x34
mov eax, 0x46bace
call fcn.00448de7
mov esi, ecx
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040eefc
pop ecx
pop ecx
xor ebx, ebx
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x404310
mov eax, dword [eax]
push str.84F426BD_908D_4E88_B771_8F126FC2FF49
push eax
lea eax, [ebp - 0x28]
push str.Global_s__s
push eax
call fcn.0040f0eb
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040905f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi], eax
test eax, eax
jne 0x40439a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40439a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
cmp byte [0x49d0fe], 0
je 0x40439a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
movzx eax, byte [0x49d0fe]
push str.ApplicationInstaceGuard___using_CreateMutex._Last_Error:__d
push eax
call fcn.00410c9b
add esp, 0xc
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov cl, byte [0x49d0fe]
test cl, cl
je 0x4043c0
push eax
movzx ecx, cl
push str.ApplicationInstaceGuard___Acquired_lock_____d
push ecx
call fcn.00410c9b
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040905f
mov eax, esi
call fcn.00448d91
ret 4
Function at 0x408257
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x408269
push 0xd
pop eax
jmp 0x40829b
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x408272
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x40ccda
Capabilities:
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x46c824
call fcn.00448de7
mov ecx, dword [ecx + 0x80]
test ecx, ecx
je 0x40cde5
lea eax, [ebp - 0x40]
push eax
call fcn.00405d1f
xor edi, edi
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], edi
jb 0x40cd0a
mov eax, dword [eax]
push str._develop
push eax
lea eax, [ebp - 0x28]
push str._S_s
push eax
call fcn.0040f0eb
add esp, 0x10
push edi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040900a
mov esi, 0x478394
push esi
call fcn.0040b45d
pop ecx
push eax
push edi
push esi
lea ecx, [ebp - 0x28]
call fcn.0040d04e
test eax, eax
je 0x40cd97
mov esi, str.http:
push esi
call fcn.0040b45d
pop ecx
push eax
push edi
push esi
lea ecx, [ebp - 0x28]
call fcn.0040d04e
test eax, eax
je 0x40cd97
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push str.http:___s
push eax
call fcn.0040f0eb
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.00405335
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.0040905f
mov cl, byte [0x49d0fe]
test cl, cl
je 0x40cdbe
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
movzx eax, cl
push str.Opening_developer_page:_url_S
push eax
call fcn.00410c9b
add esp, 0xc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.0040905f
call fcn.00448d91
ret

Function at 0x40cdeb
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
call fcn.0043975e
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [edi + 0x74]
call esi
push 1
push dword [edi + 0x78]
call esi
push 1
push dword [edi + 0x7c]
call esi
push 0
push 0
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40e3b1
test al, 0x10
je 0x40e3b1
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40eace
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x49d5f4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0044d500
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb al, al
xor ecx, ebp
inc al
call fcn.00448d6b
mov esp, ebp
pop ebp
ret

Function at 0x4104b3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
cmp ecx, dword [ebp + 0xc]
je 0x4104e5
push esi
movsx edx, byte [ecx]
mov esi, edi
mov eax, edi
shl esi, 6
shr eax, 2
add edx, 0x9e3779b9
add esi, eax
add edx, esi
xor edi, edx
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, dword [ebp + 0xc]
jne 0x4104c2
pop esi
mov eax, edi
pop edi
pop ebp
ret

Function at 0x41113b
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x46eaf8
call fcn.00448de7
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x41123b
cmp byte [ebx + 0x3d], 0
je 0x41123b
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x411175
xor al, al
jmp 0x41123d
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00411d65
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4111d3
sub eax, 1
je 0x4111d7
dec eax
sub eax, 1
je 0x411229
xor bl, bl
jmp 0x41122b
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x41120f
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0045395d
add esp, 0x10
cmp esi, eax
jne 0x4111cf
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x411229
test esi, esi
jne 0x411199
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00411d05
jmp 0x411193
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040900a
mov al, bl
jmp 0x41123d
mov al, 1
call fcn.00448d91
ret