joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4324e0
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48e746
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
mov esi, dword [esp + 0x458]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x450], ebx
call fcn.00474de3
push eax
lea eax, [esp + 0x60]
push str.mediaget_tmp__d.tmp
push eax
call fcn.00474d36
mov edi, 0xf
lea eax, [esp + 0x68]
add esp, 0xc
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x432563
sub eax, edx
push eax
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x48]
call fcn.0040b5a0
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x28]
push esi
push eax
mov byte [esp + 0x45c], 1
call fcn.0040be40
lea ecx, [esp + 0x24]
push ecx
push eax
mov byte [esp + 0x464], 2
call fcn.00429c40
mov ebp, 0x10
add esp, 0x14
cmp dword [esp + 0x3c], ebp
jb 0x4325c1
mov edx, dword [esp + 0x28]
push edx
call fcn.00473948
add esp, 4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x450], bl
cmp dword [esp + 0x58], ebp
jb 0x4325e7
mov eax, dword [esp + 0x44]
push eax
call fcn.00473948
add esp, 4
mov ecx, dword [esp + 0x18]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x432655
lea edx, [esp + 0x24]
push edx
call fcn.004316e0
add esp, 4
push edi
push ebx
push eax
mov ecx, 0x4b0810
mov byte [esp + 0x45c], 3
call fcn.0040b380
cmp dword [esp + 0x3c], ebp
jb 0x43263d
mov eax, dword [esp + 0x28]
push eax
call fcn.00473948
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x43264e
push eax
call fcn.00473f71
add esp, 4
xor al, al
jmp 0x432701
mov eax, str.test_data
mov byte [esp + 0x17], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x432661
push ebx
sub eax, edx
lea ecx, [esp + 0x24]
push ecx
mov esi, eax
push esi
push str.test_data
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x432689
cmp dword [esp + 0x20], esi
je 0x4326c4
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x1b], 1
call fcn.004316e0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4b0810
mov byte [esp + 0x45c], 4
call fcn.0040b380
cmp dword [esp + 0x3c], ebp
jb 0x4326c4
mov eax, dword [esp + 0x28]
push eax
call fcn.00473948
add esp, 4
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push ecx
call esi
test eax, eax
jne 0x4326e3
mov edx, dword [esp + 0x18]
push edx
call esi
cmp byte [esp + 0x17], bl
mov eax, dword [esp + 0x18]
sete byte [esp + 0x17]
cmp eax, ebx
je 0x4326fd
push eax
call fcn.00473f71
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.00474468
add esp, 0x440
ret
Function at 0x432730
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x48e784
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x48], 0
call fcn.00429c40
add esp, 8
mov ecx, 0x4b0810
call fcn.00434ad0
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
je 0x4327d0
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
test eax, eax
je 0x4327ba
push eax
call fcn.00473f71
add esp, 4
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x38
ret
lea ecx, [esp + 0x1c]
push ecx
call fcn.004316e0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x4b0810
mov byte [esp + 0x4c], 1
call fcn.0040b380
cmp dword [esp + 0x34], 0x10
jb 0x432805
mov edx, dword [esp + 0x20]
push edx
call fcn.00473948
add esp, 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x432816
push eax
call fcn.00473f71
add esp, 4
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x38
ret
Function at 0x432830
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x48e7d6
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0x13c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
mov esi, dword [esp + 0x164]
push 0x64
lea eax, [esp + 0x8c]
push eax
push 0x59
xor ebx, ebx
push 0x400
mov dword [esp + 0x24], ebx
call ebp
test eax, eax
jne 0x4328dd
lea ecx, [esp + 0x34]
push ecx
call fcn.004316e0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4b0810
mov dword [esp + 0x168], ebx
call fcn.0040b380
cmp dword [esp + 0x4c], 0x10
jb 0x4328cb
mov edx, dword [esp + 0x38]
push edx
call fcn.00473948
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
jmp 0x432a33
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.0042a950
add esp, 8
cmp dword [esp + 0x80], 2
mov dword [esp + 0x15c], 1
mov edi, 0x10
jne 0x432a01
push 0x64
lea edx, [esp + 0x8c]
push edx
push 0x5a
push 0x400
call ebp
test eax, eax
jne 0x432981
lea eax, [esp + 0x34]
push eax
call fcn.004316e0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4b0810
mov byte [esp + 0x168], 2
call fcn.0040b380
cmp dword [esp + 0x4c], edi
jb 0x43295d
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00473948
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
cmp dword [esp + 0x84], edi
jb 0x432a33
mov edx, dword [esp + 0x70]
push edx
jmp 0x432a2b
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.0042a950
push eax
lea edx, [esp + 0x24]
push 0x4977bc
push edx
mov byte [esp + 0x170], 3
call fcn.0040bcc0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x168], 4
call fcn.0040b280
cmp dword [esp + 0x30], edi
jb 0x4329d6
mov eax, dword [esp + 0x1c]
push eax
call fcn.00473948
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov byte [esp + 0x15c], 1
cmp dword [esp + 0x68], edi
jb 0x432a01
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00473948
add esp, 4
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x74]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.0040b380
cmp dword [esp + 0x84], edi
jb 0x432a33
mov eax, dword [esp + 0x70]
push eax
call fcn.00473948
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.00474468
add esp, 0x14c
ret
Function at 0x435240
Capabilities:
Create pipe

Disassembly:
push 0xffffffffffffffff
push 0x48ecb0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
push esi
lea eax, [esp + 0x18]
push str..pipe_
push eax
mov dword [esp + 0x60], ebx
call fcn.0040bcc0
lea ecx, [esp + 0x18]
push ecx
push eax
mov byte [esp + 0x68], 1
call fcn.00429c40
add esp, 0x14
cmp dword [esp + 0x2c], 0x10
mov byte [esp + 0x54], bl
jb 0x4352b0
mov edx, dword [esp + 0x18]
push edx
call fcn.00473948
add esp, 4
mov eax, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
push 0x40080003
push eax
call dword [sym.imp.KERNEL32.DLL_CreateNamedPipeW]
mov dword [esi + 0x20], eax
cmp eax, 0xffffffff
jne 0x435363
lea ecx, [esp + 0x30]
push ecx
call fcn.004316e0
push eax
lea edx, [esp + 0x1c]
push str.CreateNamedPipe_failed:
push edx
mov byte [esp + 0x64], 2
call fcn.0040bcc0
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0x60], 3
call fcn.0040b380
cmp dword [esp + 0x2c], 0x10
jb 0x43531a
mov eax, dword [esp + 0x18]
push eax
call fcn.00473948
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x43533e
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00473948
add esp, 4
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x43534f
push eax
call fcn.00473f71
add esp, 4
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x435374
push eax
call fcn.00473f71
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x4c
ret
Function at 0x4356d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48ed46
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x20], 0xffffffff
je 0x43585d
lea edi, [esi + 0x24]
mov ecx, edi
call fcn.00434ad0
xor ebx, ebx
cmp byte [esi + 0x40], bl
je 0x4357a4
mov edx, dword [esi + 0x20]
push ebx
lea eax, [esi + 0x48]
push eax
lea ecx, [esi + 0x68]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_GetOverlappedResult]
test eax, eax
jne 0x43578c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e4
je 0x43585d
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0042d220
push eax
lea ecx, [esp + 0x1c]
push str.GetOverlappedResult_failed:
push ecx
mov dword [esp + 0x9c], ebx
call fcn.0040bcc0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x94], 1
call fcn.0040b380
lea ecx, [esp + 0x10]
call fcn.0040ae00
lea ecx, [esp + 0x2c]
jmp 0x435858
mov al, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x7c
ret
mov ecx, dword [esi + 0x20]
lea eax, [esi + 0x68]
push eax
lea edx, [esi + 0x48]
push edx
mov dword [eax], ebx
push 4
lea eax, [esi + 0x44]
push eax
push ecx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4357e6
mov al, 1
mov byte [esi + 0x40], al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x7c
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
jne 0x43580f
mov byte [esi + 0x40], 1
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x7c
ret
push eax
lea edx, [esp + 0x68]
push edx
call fcn.0042d220
push eax
lea eax, [esp + 0x54]
push str.ReadFile_failed:
push eax
mov dword [esp + 0x9c], 2
call fcn.0040bcc0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x94], 3
call fcn.0040b380
lea ecx, [esp + 0x48]
call fcn.0040ae00
lea ecx, [esp + 0x64]
call fcn.0040ae00
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x7c
ret
Function at 0x435880
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48ed81
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x9c]
xor edi, edi
lea ebp, [esi + 0x68]
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
mov dword [ebp], edi
cmp ebx, edi
jbe 0x43592c
mov ecx, dword [esp + 0x98]
push ebp
push 0
mov eax, ebx
sub eax, edi
push eax
mov eax, dword [esi + 0x20]
lea edx, [edi + ecx]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4358fd
mov edx, dword [esi + 0x20]
push 1
lea ecx, [esp + 0x18]
push ecx
push ebp
push edx
call dword [sym.imp.KERNEL32.DLL_GetOverlappedResult]
jmp 0x435924
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
jne 0x4359c7
mov ecx, dword [esi + 0x20]
push 1
lea eax, [esp + 0x18]
push eax
push ebp
push ecx
call dword [sym.imp.KERNEL32.DLL_GetOverlappedResult]
test eax, eax
je 0x43594a
add edi, dword [esp + 0x14]
cmp edi, ebx
jb 0x4358c8
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8
lea edx, [esp + 0x50]
push edx
call fcn.004316e0
push eax
lea eax, [esp + 0x20]
push str.GetOverlappedResult_failed:
xor edi, edi
push eax
mov dword [esp + 0xa0], edi
call fcn.0040bcc0
add esp, 0x10
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0x9c], 1
call fcn.0040b380
mov esi, 0x10
cmp dword [esp + 0x30], esi
jb 0x43599c
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00473948
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1c], 0
cmp dword [esp + 0x68], esi
jb 0x4359c0
mov edx, dword [esp + 0x54]
push edx
call fcn.00473948
add esp, 4
xor al, al
jmp 0x43592e
push eax
lea eax, [esp + 0x70]
push eax
call fcn.0042d220
push eax
lea ecx, [esp + 0x40]
push str.ReadFile_failed:
push ecx
mov dword [esp + 0xa4], 2
call fcn.0040bcc0
add esp, 0x14
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0x9c], 3
call fcn.0040b380
mov esi, 0x10
cmp dword [esp + 0x4c], esi
jb 0x435a1d
mov edx, dword [esp + 0x38]
push edx
call fcn.00473948
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [esp + 0x84], esi
jb 0x4359c0
mov eax, dword [esp + 0x70]
push eax
call fcn.00473948
add esp, 4
xor al, al
jmp 0x43592e
Function at 0x435da0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48ee49
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov esi, dword [ecx + 0x60]
xor eax, eax
lea ebp, [ecx + 0x4c]
mov ecx, dword [esi + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push eax
push ecx
push esi
mov ecx, ebp
call fcn.00435170
push 1
mov ecx, ebp
mov edi, eax
call fcn.00436000
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
xor edi, edi
cmp dword [esp + 0x84], edi
jbe 0x435e92
mov eax, dword [ebp]
mov esi, dword [ebp + 0x14]
mov ebx, eax
mov dword [esp + 0x20], esi
test eax, eax
jne 0x435e2b
call fcn.004746d2
mov esi, dword [esi + 4]
test ebx, ebx
je 0x435e36
mov eax, dword [ebx]
jmp 0x435e38
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x435e42
call fcn.004746d2
test ebx, ebx
jne 0x435eaa
call fcn.004746d2
cmp esi, dword [ebx + 0x14]
jne 0x435e55
call fcn.004746d2
mov ecx, dword [esp + 0x80]
lea eax, [esi + 8]
mov esi, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x1c]
push edx
sub eax, edi
push eax
mov eax, dword [esi + 0x20]
lea edx, [edi + ecx]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x435eae
add edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x84]
jb 0x435e16
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 8
mov ebx, dword [ebx]
jmp 0x435e4b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
je 0x435e92
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0042d220
push eax
lea edx, [esp + 0x44]
push str.WriteFile_failed:
xor edi, edi
push edx
mov dword [esp + 0x8c], edi
call fcn.0040bcc0
add esp, 0x14
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0x84], 1
call fcn.0040b380
mov esi, 0x10
cmp dword [esp + 0x50], esi
jb 0x435f0e
mov eax, dword [esp + 0x3c]
push eax
call fcn.00473948
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
cmp dword [esp + 0x6c], esi
jb 0x435f32
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00473948
add esp, 4
xor al, al
jmp 0x435e94

Function at 0x4363b0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x8a4]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0xc5c], 1
xor eax, eax
pop esi
ret 0x10

Function at 0x436400
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x436422
mov eax, dword [esi + 0x6c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop esi
ret 0x10
Function at 0x4364a0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 8
push esi
mov esi, ecx
cmp eax, 0x201
jne 0x4364dc
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x8a4]
push ecx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [esi + 0xc5c], 0
xor eax, eax
pop esi
add esp, 8
ret 0x10
mov edx, 0x205
cmp ax, dx
jne 0x43652f
push ebx
push edi
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edi, dword [esi + 4]
push eax
push ecx
mov ebx, eax
call fcn.00437ad0
mov edx, dword [esi + 0x60]
add esp, 8
push 0
push edi
push 0
push ebx
push eax
push 4
push edx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 8
ret 0x10

Function at 0x436540
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xc5c], 0
je 0x43656e
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x8a4]
push ecx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [esi + 0xc5c], 0
xor eax, eax
pop esi
ret 0x10
Function at 0x441f80
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x441fa0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x441fb4
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x441fe0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x441ff6
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x442003
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x442660
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0x220], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0x14]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jne 0x4426d6
xor eax, eax
cmp ecx, edi
je 0x4426c4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov esi, eax
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x4426e4
cmp ecx, edi
je 0x442782
push ecx
jmp 0x44277c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x44274c
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.00442660
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x44279b
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x442710
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x44275f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x442782
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00474468
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x442784
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00474468
mov esp, ebp
pop ebp
ret 4
Function at 0x443f10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x48fa80
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b1ae0]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x443f92
call fcn.00439c50
mov edi, eax
jmp 0x444074
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
jne 0x443fab
call fcn.00439c50
jmp 0x44406b
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x443fc6
call fcn.00439c50
jmp 0x44406b
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x18], edi
cmp eax, edi
jae 0x443ffc
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x443fea
lea ecx, [ebp]
call fcn.00442600
lea ecx, [ebp - 0x20]
call fcn.00426530
mov eax, 0x8007000e
jmp 0x444086
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00442ef0
mov dword [ebp - 4], 1
jmp 0x444028
mov eax, dword [ebp]
test eax, eax
jne 0x444036
mov edi, 0x8007000e
jmp 0x44406d
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
test eax, eax
jne 0x44404f
call fcn.00439c50
jmp 0x44406b
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00443ce0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x444084
lea ecx, [ebp]
call fcn.00442600
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00474468
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10