joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423890
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x46d674]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, ecx
mov dword [esi + 0xb4], ebx
mov eax, dword [ebx + 0x9c]
push edi
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov edi, str._drawable_dropdown_bg
mov eax, esi
call fcn.00411000
mov ecx, dword [esi + 0xb4]
mov dword [esi + 0x58], 0x10001
mov dword [esi + 0x5c], 0x10001
movzx eax, word [ecx + 0xa0]
imul eax, dword [ecx + 0xa8]
lea edx, [ecx + 0x94]
lea edi, [esp + 0xc]
cmp edi, edx
je 0x423901
mov edi, dword [edx + 4]
jmp 0x423905
mov edi, dword [esp + 0x10]
cmp eax, edi
jle 0x42391a
lea eax, [esp + 0xc]
cmp eax, edx
je 0x423916
mov eax, dword [edx + 4]
jmp 0x42391a
mov eax, dword [esp + 0x10]
movzx ecx, word [ecx + 0xa0]
mov edi, dword [ebx + 8]
mov edx, ecx
mov dword [esp + 8], edx
mov edx, dword [ebx + 0x10]
mov dword [esp + 0xc], ecx
xor ecx, ecx
lea edi, [edx + edi - 1]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 4]
add edx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
movzx ecx, word [esp + 8]
cdq
idiv ecx
movzx edx, word [esp + 0xc]
mov dword [esp + 0x18], edi
mov dword [esp + 8], ebx
imul eax, edx
lea eax, [eax + edi + 2]
mov dword [esp + 0x20], eax
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x42398b
lea ebx, [ebx]
mov dword [esp + 8], ebx
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x423980
lea ebx, [esp + 8]
lea eax, [esp + 0xc]
call fcn.0041b330
mov eax, dword [esp + 0xc]
cmp eax, dword [0x4700f4]
je 0x4239a9
mov edi, dword [eax + 0x10]
jmp 0x4239ab
xor edi, edi
push 2
lea ecx, [esp + 0x18]
push ecx
push 0
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub edx, eax
push edx
mov edx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
push ecx
push edi
mov eax, esi
call fcn.00412df0
test al, al
je 0x423a18
mov edi, dword [esi + 0x78]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x4239fc
nop
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x4239f0
mov eax, dword [esi + 0x78]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
Function at 0x428ba0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x46d674]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov bl, byte [ecx + 8]
push esi
mov esi, edx
mov dword [ebp - 0x18], eax
cmp bl, 3
je 0x428d60
mov edx, dword [ecx]
push edi
mov dword [ebp - 0x1c], 0
test bl, 2
je 0x428c01
movzx eax, byte [ecx + 9]
movzx edi, byte [esi]
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 1]
mov dword [ebp - 0x14], ebx
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 2]
sub eax, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
mov edi, 3
jmp 0x428c13
movzx edi, byte [esi + 3]
movzx ebx, byte [ecx + 9]
sub ebx, edi
mov dword [ebp - 0x14], ebx
mov edi, 1
test byte [ecx + 8], 4
je 0x428c28
movzx esi, byte [esi + 4]
movzx ebx, byte [ecx + 9]
sub ebx, esi
mov dword [ebp + edi*4 - 0x14], ebx
inc edi
xor esi, esi
test edi, edi
jle case.0x428c71.3
cmp dword [ebp + esi*4 - 0x14], 0
jg 0x428c43
mov dword [ebp + esi*4 - 0x14], 0
jmp 0x428c4a
mov dword [ebp - 0x1c], 1
inc esi
cmp esi, edi
jl 0x428c32
cmp word [ebp - 0x1c], 0
je case.0x428c71.3
movzx esi, byte [ecx + 9]
add esi, 0xfffffffe
cmp esi, 0xe
ja case.0x428c71.3
movzx esi, byte [esi + 0x428d84]
jmp dword [esi*4 + 0x428d70]
mov ecx, dword [ecx + 4]
test ecx, ecx
je case.0x428c71.3
mov dl, byte [eax]
shr dl, 1
and dl, 0x55
mov byte [eax], dl
inc eax
dec ecx
jne 0x428c83
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
mov edi, dword [ecx + 4]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov edx, 0xf0
sar edx, cl
mov ebx, 0xf
sar ebx, cl
and dl, 0xf0
or dl, bl
test edi, edi
je case.0x428c71.3
mov bl, byte [esi]
mov cl, al
shr bl, cl
inc esi
and bl, dl
dec edi
mov byte [esi - 1], bl
jne 0x428cc6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
imul edx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], edx
test edx, edx
je case.0x428c71.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [ebp + edx*4 - 0x14]
shr byte [esi - 1], cl
cmp ebx, dword [ebp - 0x18]
jb 0x428cf4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
imul edx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], edx
test edx, edx
je case.0x428c71.3
xor edx, edx
mov eax, ebx
div edi
movzx eax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc ebx
add esi, 2
movzx ecx, word [ebp + edx*4 - 0x14]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, dword [ebp - 0x18]
jb 0x428d27
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e417
mov esp, ebp
pop ebp
ret
Function at 0x428d19
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x46d674]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov bl, byte [ecx + 8]
push esi
mov esi, edx
mov dword [ebp - 0x18], eax
cmp bl, 3
je 0x428d60
mov edx, dword [ecx]
push edi
mov dword [ebp - 0x1c], 0
test bl, 2
je 0x428c01
movzx eax, byte [ecx + 9]
movzx edi, byte [esi]
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 1]
mov dword [ebp - 0x14], ebx
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 2]
sub eax, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
mov edi, 3
jmp 0x428c13
movzx edi, byte [esi + 3]
movzx ebx, byte [ecx + 9]
sub ebx, edi
mov dword [ebp - 0x14], ebx
mov edi, 1
test byte [ecx + 8], 4
je 0x428c28
movzx esi, byte [esi + 4]
movzx ebx, byte [ecx + 9]
sub ebx, esi
mov dword [ebp + edi*4 - 0x14], ebx
inc edi
xor esi, esi
test edi, edi
jle case.0x428c71.3
cmp dword [ebp + esi*4 - 0x14], 0
jg 0x428c43
mov dword [ebp + esi*4 - 0x14], 0
jmp 0x428c4a
mov dword [ebp - 0x1c], 1
inc esi
cmp esi, edi
jl 0x428c32
cmp word [ebp - 0x1c], 0
je case.0x428c71.3
movzx esi, byte [ecx + 9]
add esi, 0xfffffffe
cmp esi, 0xe
ja case.0x428c71.3
movzx esi, byte [esi + 0x428d84]
jmp dword [esi*4 + 0x428d70]
mov ecx, dword [ecx + 4]
test ecx, ecx
je case.0x428c71.3
mov dl, byte [eax]
shr dl, 1
and dl, 0x55
mov byte [eax], dl
inc eax
dec ecx
jne 0x428c83
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
mov edi, dword [ecx + 4]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov edx, 0xf0
sar edx, cl
mov ebx, 0xf
sar ebx, cl
and dl, 0xf0
or dl, bl
test edi, edi
je case.0x428c71.3
mov bl, byte [esi]
mov cl, al
shr bl, cl
inc esi
and bl, dl
dec edi
mov byte [esi - 1], bl
jne 0x428cc6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
imul edx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], edx
test edx, edx
je case.0x428c71.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [ebp + edx*4 - 0x14]
shr byte [esi - 1], cl
cmp ebx, dword [ebp - 0x18]
jb 0x428cf4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
imul edx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], edx
test edx, edx
je case.0x428c71.3
xor edx, edx
mov eax, ebx
div edi
movzx eax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc ebx
add esi, 2
movzx ecx, word [ebp + edx*4 - 0x14]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, dword [ebp - 0x18]
jb 0x428d27
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e417
mov esp, ebp
pop ebp
ret
Function at 0x42ef80
Capabilities:
Terminate process

Disassembly:
test eax, eax
jne 0x42ef89
mov eax, str.undefined
push eax
push str.libpng_error:__s
call fcn.004407bf
add eax, 0x40
push eax
call fcn.00440974
add esp, 0xc
push 0x4612e4
call fcn.004407bf
add eax, 0x40
push eax
call fcn.00440974
add esp, 8
test esi, esi
je 0x42efc9
mov eax, dword [esi + 0x40]
test eax, eax
je 0x42efc9
push 1
push esi
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x434770
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x43477b
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.00434790
Function at 0x436a40
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4542e3
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x46d674]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push edi
mov eax, dword [0x46d674]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea edi, [ebx + 8]
cmp byte [ebp + 8], bl
je 0x436aac
lea ecx, [esp + 0x34]
call fcn.00436f60
lea ebx, [edi - 7]
cmp dword [eax + 0x14], edi
jb 0x436a9d
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [esp + 0x13], bl
test eax, eax
jne 0x436ab1
mov byte [esp + 0x13], 0
test bl, 1
je 0x436ac9
cmp dword [esp + 0x48], edi
jb 0x436ac9
mov eax, dword [esp + 0x34]
push eax
call fcn.0043e981
add esp, 4
cmp byte [esp + 0x13], 0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
je 0x436afc
lea ecx, [esp + 0x34]
call fcn.00436f60
cmp dword [eax + 0x14], edi
jb 0x436ae6
mov eax, dword [eax]
push eax
call ebx
cmp dword [esp + 0x48], edi
jb 0x436afc
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0043e981
add esp, 4
lea edx, [esp + 0x18]
mov ecx, esi
call fcn.00436d60
mov dword [esp + 0x98], 0
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x436b20
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x436b60
cmp dword [esi + 0x94], edi
lea eax, [esi + 0x80]
jb 0x436b3b
mov eax, dword [eax]
mov ecx, eax
call fcn.00437b00
test eax, eax
je 0x436b4f
push eax
call fcn.00437d20
add esp, 4
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x436b5d
lea eax, [esp + 0x18]
push eax
call ebx
lea ecx, [esp + 0x6c]
call fcn.00407a00
push eax
mov eax, 0x462810
lea ecx, [esp + 0x54]
mov byte [esp + 0x9c], 1
call fcn.004034c0
add esp, 4
cmp dword [eax + 0x14], edi
jb 0x436b8a
mov eax, dword [eax]
mov ecx, eax
call fcn.00407aa0
cmp dword [esp + 0x64], edi
jb 0x436ba4
mov edx, dword [esp + 0x50]
push edx
call fcn.0043e981
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
cmp dword [esp + 0x80], edi
jb 0x436bd1
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0043e981
add esp, 4
cmp dword [esp + 0x2c], edi
jb 0x436be4
mov edx, dword [esp + 0x18]
push edx
call fcn.0043e981
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.0043e417
mov esp, ebp
pop ebp
ret 4
Function at 0x436c10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x46d674]
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
lea ecx, [ebp - 0x64]
call fcn.00407a00
push eax
xor esi, esi
mov eax, str._funshionupdate
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], esi
call fcn.004034c0
add esp, 4
mov ebx, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], ebx
jb 0x436c73
mov eax, dword [ebp - 0x64]
push eax
call fcn.0043e981
add esp, 4
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x34], ebx
jae 0x436c8e
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
mov edi, dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x436cb1
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x436cac
lea eax, [ebp - 0x48]
push eax
push 0
call edi
lea ecx, [ebp - 0x80]
call fcn.00407a00
push eax
mov eax, 0x462810
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004034c0
add esp, 4
cmp dword [ebp - 0x6c], ebx
jb 0x436cdf
mov edx, dword [ebp - 0x80]
push edx
call fcn.0043e981
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x436cea
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
jne 0x436d01
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x436cfc
lea eax, [ebp - 0x2c]
push eax
push 0
call edi
cmp dword [ebp - 0x18], ebx
jb 0x436d12
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0043e981
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], ebx
jb 0x436d37
mov edx, dword [ebp - 0x48]
push edx
call fcn.0043e981
add esp, 4
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.0043e417
mov esp, ebp
pop ebp
ret
Function at 0x437020
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45481e
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x46d674]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x88], edi
call fcn.00436f60
mov dword [ebp - 4], edi
cmp dword [eax + 0x14], 8
mov ebx, 1
mov dword [ebp - 0x88], ebx
jb 0x437070
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4370d4
lea edx, [ebp - 0x48]
mov ecx, esi
call fcn.00436d60
mov dword [ebp - 4], ebx
mov edi, 8
mov ebx, 3
mov dword [ebp - 0x88], ebx
cmp dword [eax + 0x14], edi
jb 0x43709f
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4370d9
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.00436d60
mov ebx, 7
cmp dword [eax + 0x14], edi
jb 0x4370c0
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4370d9
mov byte [ebp - 0x81], 0
jmp 0x4370e0
mov edi, 8
mov byte [ebp - 0x81], 1
test bl, 4
je 0x43710d
and ebx, 0xfffffffb
cmp dword [ebp - 0x18], edi
jb 0x4370f9
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0043e981
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
test bl, 2
je 0x43713a
and ebx, 0xfffffffd
cmp dword [ebp - 0x34], edi
jb 0x437126
mov edx, dword [ebp - 0x48]
push edx
call fcn.0043e981
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x43715a
and ebx, 0xfffffffe
cmp dword [ebp - 0x50], edi
jb 0x43715a
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0043e981
add esp, 4
cmp byte [ebp - 0x81], 0
je 0x437167
xor al, al
jmp 0x4371dc
cmp dword [esi + 0xc8], 0
jne 0x437183
push esi
call fcn.00437310
test al, al
je 0x437163
cmp dword [esi + 0xc8], 0
je 0x4371b9
lea edx, [ebp - 0x80]
mov ecx, esi
call fcn.00437200
or ebx, edi
cmp dword [eax + 0x14], edi
jb 0x437196
mov eax, dword [eax]
cmp dword [esi + 0xcc], edi
lea ecx, [esi + 0xb8]
jb 0x4371a6
mov ecx, dword [ecx]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov byte [ebp - 0x81], 1
test eax, eax
jne 0x4371c0
mov byte [ebp - 0x81], 0
test bl, 8
je 0x4371d6
cmp dword [ebp - 0x6c], edi
jb 0x4371d6
mov edx, dword [ebp - 0x80]
push edx
call fcn.0043e981
add esp, 4
mov al, byte [ebp - 0x81]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
Function at 0x437b00
Capabilities:
Connect to wmi namespace via wbemlocator
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x46d674]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp esi, edi
je 0x437d0c
cmp word [esi], di
je 0x437d0c
push edi
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x40c], edi
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x41c], edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x418]
push eax
push 0x458bac
push 1
push edi
push 0x458c7c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x437c95
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
lea edx, [ebp - 0x410]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push str.ROOTCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x437c95
mov ecx, dword [ebp - 0x410]
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x437c95
push 0x3fe
lea eax, [ebp - 0x406]
xor edx, edx
push edi
push eax
mov word [ebp - 0x408], dx
call fcn.00446e60
push esi
push str.SELECT__FROM_Win32_Process_WHERE_Name___s
mov ecx, 0x200
lea ebx, [ebp - 0x408]
call fcn.00404b50
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax]
add esp, 0x14
lea edx, [ebp - 0x40c]
push edx
push edi
push 0x30
mov edx, ebx
push edx
push 0x46299c
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
js 0x437c95
mov eax, dword [ebp - 0x40c]
cmp eax, edi
je 0x437c9b
lea esi, [edi + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x41c]
push edx
lea edx, [ebp - 0x414]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
js 0x437c95
cmp dword [ebp - 0x41c], edi
je 0x437c95
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x430]
push edx
push edi
push str.Handle
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
js 0x437c74
cmp word [ebp - 0x430], si
je 0x437c80
mov eax, dword [ebp - 0x40c]
cmp eax, edi
jne 0x437c24
jmp 0x437c9b
mov ecx, dword [ebp - 0x428]
push ecx
call fcn.0043f326
add esp, 4
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x414]
cmp ecx, edi
je 0x437cb9
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
mov eax, dword [ebp - 0x40c]
mov dword [ebp - 0x414], edi
cmp eax, edi
je 0x437ccb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x40c], edi
mov eax, dword [ebp - 0x410]
cmp eax, edi
je 0x437ce3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x410], edi
mov eax, dword [ebp - 0x418]
cmp eax, edi
je 0x437cf5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0043e417
mov esp, ebp
pop ebp
ret
Function at 0x4385e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x46d674]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor ecx, ecx
push 0x3fe
mov esi, edx
push ecx
lea edx, [ebp - 0x402]
push edx
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x40c], 0
mov word [ebp - 0x404], cx
call fcn.00446e60
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x438632
mov edi, dword [edi]
mov ecx, dword [ebp - 0x408]
push edi
push 0x200
lea eax, [ebp - 0x404]
push eax
push ecx
push ebx
push str.Update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
lea eax, [ebp - 0x404]
mov word [esi], dx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438670
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x404]
call fcn.00401490
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043e417
mov esp, ebp
pop ebp
ret 4

Function at 0x438990
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
mov esi, edx
mov ebx, ecx
push eax
lea ecx, [esi + 0x24]
or eax, 0xffffffff
call fcn.00401330
push 0
lea edi, [esi + 0x40]
push ebx
or eax, 0xffffffff
mov ecx, edi
call fcn.00401330
mov ecx, dword [ebp + 8]
mov dword [esi + 0x60], ecx
cmp dword [ebx + 0x14], 8
jb 0x4389c6
mov ebx, dword [ebx]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or ebx, 0xffffffff
mov dword [esi + 0x5c], eax
cmp eax, ebx
jne 0x438a2e
cmp dword [edi + 0x14], 8
jb 0x4389f1
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x438a0d
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0x438a0d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x60]
test eax, eax
je 0x438a25
mov edi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x60]
mov edx, dword [edi + 8]
push eax
call edx
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
mov ecx, esi
mov dword [esi + 0x10], 0x7d0
call fcn.00409700
mov byte [ebp + 0xb], al
test al, al
jne 0x438a89
cmp dword [edi + 0x14], 8
jb 0x438a4b
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x438a67
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0x438a67
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x60]
test eax, eax
je 0x438a9a
mov edi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x60]
push eax
mov eax, dword [edi + 8]
call eax
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov esi, dword [esi + 0x60]
test esi, esi
je 0x438a9a
mov edx, dword [esi]
mov eax, dword [edx]
push 5
mov ecx, esi
call eax
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
pop ebp
ret 4