joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406598
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 0x406794
push ebp
push esi
xor ebp, ebp
lea esi, [eax + 0x4b4]
push edi
mov edi, ebp
cmp dword [esi + 0x134], ebx
jne 0x4065fc
push dword [esp + 0x27c]
mov ecx, esi
call fcn.0040ed94
test al, al
je 0x4065fc
push 0x10
push dword [esp + 0x288]
lea eax, [esi + 0x102]
push eax
call fcn.0042009a
add esp, 0xc
test eax, eax
je 0x40679e
inc edi
add esi, 0x178
cmp edi, 4
jb 0x4065c2
mov esi, 0x200
lea eax, [esp + 0x74]
push esi
push eax
push dword [esp + 0x288]
call fcn.0041191c
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.00423900
pop ecx
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004069fa
push esi
lea eax, [esp + 0x78]
push eax
call fcn.0040efd3
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x27c]
push reloc.user32.dll_GetDlgCtrlID
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.0041f750
push 0x20
pop edi
push edi
lea eax, [esp + 0x24]
push eax
lea esi, [ebx + 0x112]
push esi
call fcn.0041f750
push edi
lea eax, [esp + 0x50]
push eax
lea eax, [ebx + 0x138]
push eax
call fcn.0041f750
push edi
lea eax, [esp + 0x7c]
push eax
lea eax, [ebx + 0x158]
push eax
call fcn.0041f750
add esp, 0x30
push ebp
push 1
push edi
push esi
call fcn.0040eecd
cmp dword [esp + 0x290], ebp
je 0x406722
push edi
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x298]
call fcn.0041f750
add esp, 0xc
mov esi, dword [esp + 0x294]
test esi, esi
je 0x406755
push 8
push ebp
push esi
call fcn.0041f5f0
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 0x406739
push edi
lea eax, [esp + 0x38]
push eax
call fcn.0040efd3
cmp dword [esp + 0x288], 0
je 0x406786
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.0040e44a
push edi
lea eax, [esp + 0x18]
push eax
call fcn.0040efd3
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.0041f750
add esp, 0xc
lea eax, [esp + 0x14]
push ebp
push ebp
push edi
push eax
call fcn.0040eecd
push edi
lea eax, [esi + 0x138]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0041f750
push edi
lea eax, [esi + 0x158]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0041f750
add esp, 0x18
jmp 0x406704
Function at 0x4067ef
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.user32.dll_GetDlgCtrlID
pop edi
cmp ebx, edi
jbe 0x406844
lea eax, [esp + 0x164]
push eax
call fcn.0040fba2
push ebx
push dword [esp + 0x1d4]
lea eax, [esp + 0x16c]
push eax
call fcn.0040fbe8
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x168]
push eax
call fcn.0040fab1
push 0x20
lea eax, [esp + 0x58]
pop ebx
jmp 0x40684b
mov eax, dword [esp + 0x1d0]
mov ebp, dword [esp + 0x1e4]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x406876
mov edx, dword [esp + 0x1e8]
cmp byte [edx], 0
je 0x406876
push 0x1a
pop ecx
mov esi, ebp
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
jmp 0x4068d7
xor edx, edx
test ebx, ebx
je 0x406896
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 0x406884
cmp ebx, edi
jae 0x4068b0
mov eax, edi
lea ecx, [esp + 0x14]
sub eax, ebx
add ecx, ebx
push eax
push 0x36
push ecx
call fcn.0041f5f0
add esp, 0xc
lea eax, [esp + 0x94]
push eax
call fcn.0040fba2
push edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.0040fbe8
mov edx, dword [esp + 0x1e8]
test ebp, ebp
je 0x4068f1
cmp byte [edx], 0
jne 0x4068f1
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.0040fbe8
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.0040fab1
mov ebp, dword [esp + 0x1ec]
test ebp, ebp
je 0x406945
mov eax, dword [esp + 0x1f0]
cmp byte [eax], 0
je 0x406945
push 0x1a
pop ecx
mov esi, ebp
lea edi, [esp + 0xfc]
rep movsd dword es:[edi], dword [esi]
jmp 0x4069ab
test ebx, ebx
je 0x406967
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 0x406955
cmp ebx, 0x40
jae 0x406983
push reloc.user32.dll_GetDlgCtrlID
pop eax
sub eax, ebx
lea ecx, [esp + 0x14]
push eax
add ecx, ebx
push 0x5c
push ecx
call fcn.0041f5f0
add esp, 0xc
lea eax, [esp + 0xfc]
push eax
call fcn.0040fba2
push reloc.user32.dll_GetDlgCtrlID
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.0040fbe8
mov eax, dword [esp + 0x1f0]
test ebp, ebp
je 0x4069c5
cmp byte [eax], 0
jne 0x4069c5
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.0040fbe8
push dword [esp + 0x1e0]
lea eax, [esp + 0x100]
push eax
call fcn.0040fab1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1bc
ret 0x24
Function at 0x4069fa
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.user32.dll_GetDlgCtrlID
pop eax
cmp esi, eax
jae 0x406a14
mov eax, esi
push eax
push dword [ebp + 0x68]
lea eax, [ebp - 0x48]
push eax
call fcn.0041f750
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.004067ef
push 0x20
pop ebx
push ebx
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041f750
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 0x406ae0
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.004067ef
push ebx
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.0041f750
add esp, 0xc
xor ecx, ecx
mov al, byte [ebp + ecx + 0x1c]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, ebx
jb 0x406ace
sub edi, 1
jne 0x406a91
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + esi + 0x3c]
call fcn.0041f750
add esi, 4
add esp, 0xc
cmp esi, 0xc
jb 0x406a89
push 0x44
lea eax, [ebp - 0x48]
push eax
call fcn.0040efd3
push ebx
lea eax, [ebp - 4]
push eax
call fcn.0040efd3
push ebx
lea eax, [ebp + 0x1c]
push eax
call fcn.0040efd3
push ebx
lea eax, [ebp - 0x68]
push eax
call fcn.0040efd3
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x58]
pop ebp
ret 0x20
Function at 0x4095e0
Capabilities:
Move file

Disassembly:
mov eax, reloc.user32.dll_DrawTextW
call fcn.0041e554
mov eax, 0x502c
call fcn.0041e630
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 0x4097a1
cmp eax, ebx
jae 0x4097a1
push ebx
lea eax, [ebp - 0x5038]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x4097a1
cmp eax, ebx
jae 0x4097a1
lea eax, [ebp - 0x4038]
push eax
call fcn.0040be89
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x5038]
push eax
call fcn.0040be89
mov edi, eax
xor ebx, ebx
cmp word [edi], bx
je 0x4097a1
push edi
push dword [ebp - 0x10]
call fcn.00411ac4
test eax, eax
je 0x4097a1
push edi
push esi
call fcn.0040be89
push eax
call fcn.00411ac4
test eax, eax
jne 0x4097a1
mov word [ebp - reloc.user32.dll_ShowCursor], ax
mov edi, ebx
test ax, ax
jne 0x409701
push 0x800
push esi
lea eax, [ebp - 0x1010]
push eax
call fcn.00410131
push edi
push 0x43381c
push 0x800
lea eax, [ebp - 0x1010]
push eax
call fcn.0040be89
push eax
call fcn.00403f8f
add esp, 0x10
lea eax, [ebp - 0x1010]
push eax
call fcn.0040a373
test al, al
je 0x4096e6
xor eax, eax
mov word [ebp - reloc.user32.dll_ShowCursor], ax
jmp 0x4096ed
mov ax, word [ebp - reloc.user32.dll_ShowCursor]
add edi, 0x7b
cmp edi, 0x2710
jl 0x409694
test ax, ax
je 0x4097a1
mov edi, 0x800
lea eax, [ebp - 0x3038]
push edi
push esi
push eax
call fcn.00410131
push edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x3038]
push eax
call fcn.0040beff
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x3038]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4097a1
lea ecx, [ebp - 0x2038]
call fcn.004097b6
push esi
mov dword [ebp - 4], ebx
call fcn.0040a373
test al, al
jne 0x409764
push 0x12
push esi
lea ecx, [ebp - 0x2038]
call fcn.004098be
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 0x409792
lea ecx, [ebp - 0x2038]
call fcn.00409870
lea ecx, [ebp - 0x2038]
call fcn.004099b7
lea ecx, [ebp - 0x2038]
call fcn.004097f0
mov al, 1
jmp 0x4097a3
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 0x40a0cf
Capabilities:
Write file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov ebx, ecx
test ebp, ebp
jne 0x40a0e4
mov al, 1
jmp 0x40a1e8
cmp dword [ebx + 0xc], 1
jne 0x40a0f5
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebx + 4], eax
push esi
push edi
mov edi, 0x4000
and dword [esp + 0x10], 0
cmp dword [ebx + 0xc], 0
mov byte [esp + 0x14], 0
je 0x40a149
xor esi, esi
test ebp, ebp
je 0x40a16d
mov eax, ebp
sub eax, esi
cmp eax, edi
jb 0x40a11c
mov eax, edi
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [esp + 0x28]
add eax, esi
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
dec eax
neg eax
sbb al, al
add al, 1
mov dword [esp + 0x14], eax
je 0x40a16d
add esi, edi
cmp esi, ebp
jb 0x40a112
jmp 0x40a169
push 0
lea eax, [esp + 0x14]
push eax
push ebp
push dword [esp + 0x28]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
dec eax
neg eax
sbb al, al
inc al
mov dword [esp + 0x14], eax
test al, al
jne 0x40a1de
cmp byte [ebx + 0x1a], 0
je 0x40a1de
cmp dword [ebx + 0xc], 0
jne 0x40a1de
push 0
lea esi, [ebx + 0x24]
mov ecx, 0x440f50
push esi
call fcn.00406ddc
test al, al
je 0x40a1d1
cmp dword [esp + 0x10], ebp
jae 0x40a0fc
cmp dword [esp + 0x10], 0
jbe 0x40a0fc
mov edi, dword [ebx]
push 0
mov esi, dword [edi + 0x14]
mov ecx, esi
call dword [fcn.00433260]
mov ecx, ebx
call esi
sub eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x10]
sbb edx, 0
push edx
push eax
call dword [fcn.00433260]
mov ecx, ebx
call dword [edi + 0x10]
jmp 0x40a0f7
push esi
push 0
mov ecx, 0x440f50
call fcn.004070d6
mov al, byte [esp + 0x14]
pop edi
mov byte [ebx + 8], 1
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 8

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041e630
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40a3cc
push 0x800
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 8]
call fcn.0040b85c
test al, al
je 0x40a3cc
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40b85c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041e630
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0
jne 0x40b87a
xor al, al
jmp 0x40b9e4
push ebx
push edi
push esi
call fcn.0040b9f6
push esi
call fcn.00423883
pop ecx
push esi
mov edi, eax
call fcn.0040ba22
test al, al
je 0x40b90c
push esi
call fcn.0040b9f6
test al, al
je 0x40b8c3
lea eax, [edi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x40b9e0
push dword [ebp + 0x10]
push 0x4338ac
push dword [ebp + 0xc]
call fcn.00410131
push dword [ebp + 0x10]
jmp 0x40b9d3
push 0x5c
pop eax
cmp word [esi], ax
jne 0x40b9e0
lea ebx, [esi + 2]
cmp word [ebx], ax
jne 0x40b9e0
mov esi, dword [ebp + 0x10]
lea eax, [edi + 6]
cmp esi, eax
jbe 0x40b9e0
push esi
push 0x4338ac
push dword [ebp + 0xc]
call fcn.00410131
push esi
push 0x4338b8
push dword [ebp + 0xc]
call fcn.00410109
push esi
push ebx
jmp 0x40b9d4
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40b9e0
cmp eax, ebx
ja 0x40b9e0
movzx eax, word [esi]
push eax
call fcn.0040bafd
test al, al
je 0x40b973
lea eax, [edi + 6]
mov edi, dword [ebp + 0x10]
cmp edi, eax
jbe 0x40b9e0
push edi
push 0x4338ac
push dword [ebp + 0xc]
call fcn.00410131
xor eax, eax
mov word [ebp - reloc.user32.dll_ShowCursor], ax
lea eax, [ebp - 0x1000]
push edi
push eax
push dword [ebp + 0xc]
call fcn.00410109
jmp 0x40b9d2
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.0040b3f7
lea eax, [ebp - 0x1000]
push eax
call fcn.00423883
add edi, 4
add eax, edi
mov edi, dword [ebp + 0x10]
pop ecx
cmp edi, eax
jbe 0x40b9e0
push edi
push 0x4338ac
push dword [ebp + 0xc]
call fcn.00410131
push edi
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 0xc]
call fcn.00410109
cmp word [esi], 0x2e
jne 0x40b9d2
movzx eax, word [esi + 2]
push eax
call fcn.0040bafd
test al, al
je 0x40b9d2
add esi, 4
push edi
push esi
push dword [ebp + 0xc]
call fcn.00410109
mov al, 1
jmp 0x40b9e2
xor al, al
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40c630
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 0x40c64d
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x40c645
cmp cl, byte [edx]
jne 0x40c688
push esi
push edx
push 0xffffffffffffffff
call fcn.00405ebc
not eax
mov ecx, ebx
cmp dword [ecx + 0x43e02c], eax
jne 0x40c66e
cmp dword [ecx + 0x43e028], esi
je 0x40c679
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x40c65e
jmp 0x40c688
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x43e030]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc
Function at 0x40eecd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x4481c8]
test esi, esi
jne 0x40eeeb
mov ecx, 0x4481c0
call fcn.0040ee4e
mov esi, dword [0x4481c8]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
and eax, 0xfffffff0
cmp byte [ebp + 0x14], cl
setne cl
cmp byte [ebp + 0x10], 0
je 0x40ef3a
test esi, esi
je 0x40ef5e
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call dword [fcn.00433260]
call esi
test eax, eax
jne 0x40ef83
push 0x4339e0
mov esi, 0x440f50
push esi
call fcn.00406e68
pop ecx
pop ecx
mov ecx, esi
call fcn.00407002
push 2
mov ecx, esi
call fcn.00406e63
jmp 0x40ef83
mov esi, dword [0x4481cc]
test esi, esi
je 0x40ef5e
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call dword [fcn.00433260]
call esi
test eax, eax
jne 0x40ef83
push 0x433a14
jmp 0x40ef1b
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ebx, eax
cmp dword [ebp + 0xc], edx
jbe 0x40ef82
mov esi, dword [ebp + 8]
add bl, 0x4b
lea ecx, [edx + esi]
lea eax, [edx + ebx]
xor byte [ecx], al
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40ef74
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x410b64
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x410bdf
push ebp
push edi
lea edi, [esi + 4]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x410ca0
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
jne 0x410bbb
push 0x434228
push 0x440f50
call fcn.00406e68
pop ecx
pop ecx
mov ecx, 0x440f50
call fcn.00407002
push 2
mov ecx, 0x440f50
call fcn.00406e63
mov dword [edi], ebp
inc dword [esi + 0x104]
mov eax, dword [0x4481d8]
test eax, eax
je 0x410bd5
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebx
add edi, 4
cmp ebx, dword [esi]
jb 0x410b74
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x419878
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 0x14]
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, ecx
push esi
push 0
push ebp
mov dword [ebx + 8], ebp
mov byte [ebx + 0x26], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x20]
mov ecx, ebx
call fcn.00419594
cmp dword [ebx + 0x1c], 0
je 0x4198b1
push dword [ebx + 0x1c]
call fcn.0042389e
pop ecx
cmp dword [esp + 0x28], 0
jne 0x4198bc
xor eax, eax
jmp 0x4198c6
push dword [esp + 0x28]
call fcn.004273f7
pop ecx
cmp dword [esp + 0x2c], 0
mov dword [ebx + 0x1c], eax
jne 0x4198d4
xor eax, eax
jmp 0x4198de
push dword [esp + 0x2c]
call fcn.004273f7
pop ecx
mov dword [ebx + 0x20], eax
lea eax, [esp + 0xc]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [ebx + 4], 0
je 0x419913
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
push edi
push ebx
push dword [ebx]
sub esi, eax
lea edi, [eax + 1]
push 0
push ebp
sub esi, 2
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push esi
push dword [esp + 0x2c]
xor esi, esi
push edi
push 0x40000000
push esi
push 0x434484
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW_1]
mov dword [ebx + 4], eax
pop edi
cmp dword [ebx + 0x10], esi
jne 0x419995
test ebp, ebp
je 0x4199ab
cmp dword [ebx + 0x20], esi
jne 0x4199ab
cmp dword [ebx + 0x1c], esi
je 0x4199ab
push dword [ebx + 0x1c]
mov ecx, ebx
call fcn.0041968c
mov esi, eax
test esi, esi
je 0x4199ab
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.0042389e
pop ecx
jmp 0x4199ab
test eax, eax
je 0x4199ab
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x419e3c
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x43536c
push 1
push ebx
push 0x43545c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x419f71
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push esi
push ecx
push 0x43544c
mov esi, dword [eax]
push eax
mov ecx, dword [esi]
call dword [fcn.00433260]
call dword [esi]
test eax, eax
js 0x419f5d
cmp byte [ebp + 8], bl
je 0x419ea2
mov eax, dword [ebp - 8]
push 2
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [fcn.00433260]
call esi
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [fcn.00433260]
call esi
cmp dword [ebp + 0x18], ebx
je 0x419ed3
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [fcn.00433260]
call esi
mov eax, dword [ebp - 4]
push ebx
mov ecx, dword [eax]
mov esi, dword [ecx + 0x44]
mov ecx, esi
cmp dword [ebp + 0x1c], ebx
jne 0x419eea
push 0x4335b4
jmp 0x419eed
push dword [ebp + 0x1c]
push eax
call dword [fcn.00433260]
call esi
cmp dword [ebp + 0x20], ebx
je 0x419f11
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x2c]
mov ecx, esi
call dword [fcn.00433260]
call esi
cmp dword [ebp + 0x14], ebx
je 0x419f2c
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [fcn.00433260]
call esi
mov eax, dword [ebp - 8]
push 1
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [fcn.00433260]
call esi
test eax, eax
js 0x419f4a
mov bl, 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [fcn.00433260]
call esi
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [fcn.00433260]
call esi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x41a004
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8
Function at 0x41a07c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ecx
push esi
push 0x434694
push dword [esp + 0x14]
push dword [0x440ed0]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41a18f
push edi
push esi
push dword [0x440ed0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x41a0d0
push esi
push dword [0x440ed0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41a0d0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x41a0d7
xor eax, eax
jmp 0x41a18e
push ebx
push ebp
push edi
xor ebp, ebp
push 2
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x41a188
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41a181
push edi
push esi
push eax
call fcn.0041f750
add esp, 0xc
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x10]
push eax
push ebp
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41a17a
push ebp
push dword [esp + 0x14]
call fcn.00419fdb
mov ecx, dword [esp + 0x10]
mov edi, eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [fcn.00433260]
call esi
test edi, edi
je 0x41a17a
mov eax, dword [edi + 8]
mov dword [edi + 8], ebp
test eax, eax
jne 0x41a168
push 0xffffff
lea eax, [esp + 0x18]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x41a168
mov dword [edi + 8], eax
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [fcn.00433260]
mov ecx, edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
pop edi
pop esi
pop ecx
pop ecx
ret 4

Function at 0x41a7d4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.0041e630
cmp word [0x44946a], 0
je 0x41a870
push esi
push 6
push dword [0x43e5f8]
mov esi, 0x44946a
push esi
call fcn.0040be89
push eax
call fcn.00411ae6
test eax, eax
jne 0x41a86f
push 0x448468
call fcn.0041a5b3
push 0x800
push esi
lea eax, [ebp - 0x1024]
push eax
call fcn.00410131
lea eax, [ebp - 0x1024]
push eax
call fcn.00423883
xor ecx, ecx
push 0x1e
push ecx
mov word [ebp + eax*2 - reloc.user32.dll_ShowCursor], cx
lea eax, [ebp - 0x20]
push eax
call fcn.0041f5f0
add esp, 0x10
mov dword [ebp - 0x1c], 3
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1024]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop esi
mov esp, ebp
pop ebp
ret