joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422220
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0330
mov eax, dword fs:[0]
push eax
mov eax, dword [0x51352c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ecx + 0x30]
or eax, 0xffffffff
mov dword [ecx], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422263
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x422280
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0350
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x51352c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
mov dword [esi], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4222c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp + 8], 1
je 0x4222d7
push 0x44
push esi
call fcn.00464e0e
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x422530
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0378
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x51352c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
add ebx, 0x30
mov eax, dword [ebx]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x422582
cmp ecx, dword [esi]
jne 0x422582
lock inc dword [eax]
jmp 0x4225b0
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x422710
mov eax, dword [edi]
mov dword [esi + 4], eax
mov eax, dword [edi]
inc eax
push eax
push dword [ebp - 0x10]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.0040cec0
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x422696
mov edi, ecx
lea edx, [edi + 2]
nop dword [eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4225d0
sub edi, edx
sar edi, 1
je 0x422696
mov edx, dword [ebx]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x14], eax
mov eax, ecx
sub eax, edx
sar eax, 1
mov dword [ebp - 0x10], eax
test edi, edi
js 0x422715
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x422619
push edi
mov ecx, ebx
call fcn.0040def0
mov edx, dword [ebx]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
ja 0x42266e
lea ecx, [edi + edi]
lea eax, [edx + eax*2]
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x42267e
test eax, eax
jne 0x422644
call fcn.0048706e
mov dword [eax], 0x16
call fcn.00486f48
jmp 0x42267e
mov eax, dword [edx - 8]
add eax, eax
cmp eax, ecx
jae 0x42265f
call fcn.0048706e
mov dword [eax], 0x22
call fcn.00486f48
jmp 0x42267e
push ecx
push dword [ebp + 0xc]
push edx
call fcn.0047c620
add esp, 0xc
jmp 0x42267e
push edi
push dword [ebp + 0xc]
push dword [edx - 8]
push edx
call fcn.0040cec0
add esp, 0x10
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x422715
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
jmp 0x42269d
mov ecx, ebx
call fcn.0041a490
mov eax, dword [ebx]
test eax, eax
je 0x42271f
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4226cb
test dx, dx
je 0x4226c7
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4226cb
add ecx, 4
add eax, 4
test dx, dx
jne 0x4226a5
xor eax, eax
jmp 0x4226d0
sbb eax, eax
or eax, 1
test eax, eax
je 0x4226dd
mov ecx, dword [ebp + 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4226fc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0040e160
push 0x80070057
call fcn.0040ce10
push 0x80004005
call fcn.0040ce10
int3
Function at 0x4253d0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d08b6
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x51352c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x47c], ecx
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x474], ebx
jle 0x4255d3
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0047cba0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
add esp, 0xc
push dword [ebx]
push eax
call esi
push 0x4df48c
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4255d3
test esi, esi
je 0x4255d3
mov ebx, dword [ebp + 0x14]
nop dword [eax]
nop word [eax + eax]
cmp word [ebp - 0x43c], 0x2e
mov ax, word [ebp - 0x43a]
jne 0x4254aa
test ax, ax
je 0x4255b6
cmp ax, 0x2e
jne 0x4254be
cmp word [ebp - 0x438], 0
je 0x4255b6
push 0x4dc6ec
push dword [ebp - 0x474]
lea eax, [ebp - 0x478]
push eax
call fcn.00424b10
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 0
push ecx
push eax
lea eax, [ebp - 0x46c]
push eax
call fcn.00424b10
add esp, 0x18
mov edx, dword [ebp - 0x478]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425515
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp - 0x468], 0x10
je 0x425543
test bl, bl
je 0x425591
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x47c]
dec eax
push eax
push ebx
push edi
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 0x470]
call fcn.004253d0
jmp 0x425591
mov ecx, dword [edi]
lea eax, [ebp - 0x43c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x425576
test dx, dx
je 0x425572
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x425576
add eax, 4
add ecx, 4
test dx, dx
jne 0x425550
xor eax, eax
jmp 0x42557b
sbb eax, eax
or eax, 1
test eax, eax
je 0x425591
mov ecx, dword [ebp - 0x470]
lea eax, [ebp - 0x46c]
push eax
call fcn.00432f50
mov edx, dword [ebp - 0x46c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4255b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x468]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x425490
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
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.0046522d
mov esp, ebp
pop ebp
ret 0x14
Function at 0x427cb0
Capabilities:
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0d23
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x51352c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ebx, [ecx + 0x78]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebx]
mov dword [ebp - 0x48], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x427dfe
call fcn.00455070
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x427e60
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb
push str.MainWnd.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov ebx, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00418050
push 3
push 0x4dedc4
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00418050
mov byte [ebp - 4], 1
call fcn.00455070
mov edi, eax
lea ecx, [ebp - 0xe8]
push 0x2b0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00411d60
mov esi, eax
push str.Get_
push esi
mov byte [ebp - 4], 2
call fcn.004133b0
mov ecx, dword [ebp - 0x48]
mov edx, 0x4de984
mov ecx, dword [ecx]
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00410fc0
push str._size_failed__error_code_
push esi
call fcn.004133b0
add esp, 0x18
mov ecx, esi
push ebx
call fcn.0041a1f0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.004134e0
lea ecx, [ebp - 0x28]
call fcn.00412930
lea ecx, [ebp - 0x40]
call fcn.00412930
jmp 0x427e60
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x4c], 0
ja 0x427e1f
cmp dword [ebp - 0x50], 0x1e00000
jbe 0x427e60
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
lea ecx, [ebp - 0x44]
call fcn.00432e70
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 3
call fcn.00433320
test eax, eax
je 0x427e58
push edi
lea ecx, [ebp - 0x44]
call fcn.00432f50
test eax, eax
je 0x427e58
lea ecx, [ebp - 0x44]
call fcn.00433210
lea ecx, [ebp - 0x44]
call fcn.00432f30
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.0046522d
mov esp, ebp
pop ebp
ret 4
Function at 0x427e80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0d7c
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x51352c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x24c]
push 1
push eax
call fcn.00475e40
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0047cba0
add esp, 0x14
lea eax, [ebp - 0x218]
push dword [ebp - 0x24c]
push 0x104
push eax
push 0x4de194
push str.dumpver
push dword [ebx + 0x84]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.00455070
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x428087
push 0xb
push str.MainWnd.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.00418050
push 3
push 0x4dea84
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.00418050
mov byte [ebp - 4], 2
call fcn.00455070
mov edi, eax
lea ecx, [ebp - 0x2e4]
push 0x10d
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00411d60
mov esi, eax
push str.local__updated_ver_
push esi
mov byte [ebp - 4], 3
call fcn.00410fc0
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00410fc0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.004134e0
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x428013
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x428009
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4280e6
push edx
push ecx
call fcn.00464e0e
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x42806c
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x428062
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4280eb
push edx
push ecx
call fcn.00464e0e
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
lea eax, [ebp - 0x218]
push eax
push dword [ebx + 0x80]
call fcn.004aadbf
mov esi, dword [ebp - 0x24c]
xor ebx, ebx
add esp, 8
mov dword [ebp - 4], 0xffffffff
test eax, eax
sete bl
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4280c8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.0046522d
mov esp, ebp
pop ebp
ret
call fcn.00486f58
call fcn.00486f58
int3
Function at 0x429f50
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov byte [esi + 0x68], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x429f91
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.0042bc10
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x42a220
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x51352c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x42a2c1
cmp byte [esi + 0x3d], 0
je 0x42a2c1
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x42a277
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x42a289
sub eax, 1
je 0x42a28d
sub eax, 2
je 0x42a2c1
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046522d
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x42a2aa
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004ab501
add esp, 0x10
cmp edi, eax
jne 0x42a277
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046522d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0046522d
mov esp, ebp
pop ebp
ret
Function at 0x42d2a0
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1318
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x51352c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d2e8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0
push 0
push 0x80
push 3
push 1
push SysReAllocString
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0042d200
mov esi, dword [ebp - 0x20]
test eax, eax
js 0x42d425
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, 0xffffffff
jne 0x42d348
call fcn.00414300
test eax, eax
js 0x42d425
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
test eax, eax
jb 0x42d425
ja 0x42d425
test ebx, ebx
je 0x42d425
test eax, eax
ja 0x42d425
jb 0x42d377
cmp ebx, 0x500000
jae 0x42d425
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 0x10]
cmp ebx, edx
ja 0x42d394
mov dword [edi + 0x10], ebx
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x42d38e
mov eax, dword [edi]
mov byte [eax + ebx], 0
jmp 0x42d3e1
mov eax, dword [edi + 0x14]
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x10], eax
sub eax, edx
mov dword [ebp - 0x14], ecx
cmp ecx, eax
ja 0x42d3cf
cmp dword [ebp - 0x10], 0x10
mov eax, edi
mov dword [edi + 0x10], ebx
jb 0x42d3b4
mov eax, dword [edi]
push ecx
lea esi, [eax + edx]
push 0
push esi
call fcn.0047cba0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [esi + eax], 0
mov esi, dword [ebp - 0x20]
jmp 0x42d3e1
push 0
push ecx
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
push ecx
mov ecx, edi
call fcn.0042d090
cmp dword [edi + 0x14], 0x10
jb 0x42d3e9
mov edi, dword [edi]
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42d411
call fcn.00414300
mov esi, eax
not esi
shr esi, 0x1f
jmp 0x42d427
xor esi, esi
mov eax, 0x80070026
cmp dword [ebp - 0x10], ebx
cmovne esi, eax
not esi
shr esi, 0x1f
jmp 0x42d427
xor esi, esi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x42d435
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d760
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x51352c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 2
mov dword [ebp - 0x234], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42d7c6
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.0047cba0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42d7d7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046522d
mov esp, ebp
pop ebp
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x238], eax
cmp eax, dword [ebp - 0x228]
je 0x42d814
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x42d814
lea eax, [ebp - 0x20c]
push eax
push dword [esi]
call fcn.004aadbf
add esp, 8
test eax, eax
je 0x42d82d
add esi, 4
cmp esi, dword [edi + 4]
jne 0x42d7f7
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x42d837
mov eax, dword [ebp - 0x238]
jmp 0x42d7e8
mov dword [ebp - 0x234], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046522d
mov esp, ebp
pop ebp
ret
Function at 0x42ef20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x42ef4a
mov eax, dword [esi + 0x48]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42ef76
push 1
mov ecx, esi
call fcn.0042ea40
pop esi
pop ebp
ret 8
cmp dword [esi + 0x2c], 0
push edi
je 0x42ef56
mov edi, dword [esi + 0x34]
jmp 0x42ef59
mov edi, dword [esi + 0x30]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42ef75
test edi, edi
je 0x42ef75
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 8

Function at 0x42ef80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 8]
je 0x42efb1
mov eax, dword [esi + 0x24]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42efdd
push 1
lea ecx, [esi - 0x24]
call fcn.0042ea40
mov eax, 1
pop esi
pop ebp
ret 0xc
cmp dword [esi + 8], 0
push edi
je 0x42efbd
mov edi, dword [esi + 0x10]
jmp 0x42efc0
mov edi, dword [esi + 0xc]
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42efdc
test edi, edi
je 0x42efdc
push 0
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, 1
pop esi
pop ebp
ret 0xc

Function at 0x430b00
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
call fcn.004300c0
test eax, eax
je 0x430b14
mov ecx, esi
pop esi
jmp fcn.00430b20
xor eax, eax
pop esi
ret
Function at 0x434580
Capabilities:
Check if file exists
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4fd938
push 0x47d430
mov eax, dword fs:[0]
push eax
sub esp, 0x57c
mov eax, dword [0x51352c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
test esi, esi
je 0x4346fa
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4346fa
push 0x118
push 0
lea eax, [ebp - 0x544]
push eax
call fcn.0047cba0
add esp, 0xc
mov dword [ebp - 0x548], 0x11c
lea eax, [ebp - 0x548]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x544], 6
jae 0x434613
mov eax, 1
jmp 0x4346fc
mov dword [ebp - 0x58c], 0x10
mov dword [ebp - 0x588], esi
mov dword [ebp - 0x584], 0
mov dword [ebp - 0x580], 0
mov dword [ebp - 0x42c], 0xaac56b
mov dword [ebp - 0x428], 0x11d0cd44
mov dword [ebp - 0x424], 0xc000c28c
mov dword [ebp - 0x420], 0xee95c24f
xor eax, eax
mov dword [ebp - 0x57c], 0x30
mov dword [ebp - 0x578], eax
mov dword [ebp - 0x574], eax
mov dword [ebp - 0x570], 2
mov dword [ebp - 0x56c], eax
mov dword [ebp - 0x568], 1
mov dword [ebp - 0x560], 1
mov dword [ebp - 0x55c], eax
mov dword [ebp - 0x558], eax
or eax, 0x1080
mov dword [ebp - 0x554], eax
mov dword [ebp - 0x550], 0
lea eax, [ebp - 0x58c]
mov dword [ebp - 0x564], eax
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x57c]
push eax
lea eax, [ebp - 0x42c]
push eax
push edi
call sub.WINTRUST.dll_WinVerifyTrust
test eax, eax
je 0x434718
cmp eax, 0x800b0101
je 0x434718
cmp eax, 0x800b0109
je 0x434718
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0046522d
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x55c]
call sub.WINTRUST.dll_WTHelperProvDataFromStateData
test eax, eax
je 0x4347af
cmp dword [eax + 0x40], 0
jbe 0x4347af
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4347af
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4347af
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4347af
cmp dword [eax + 0xc], 0
jbe 0x4347af
mov eax, dword [ecx]
test eax, eax
je 0x4347af
cmp dword [eax + 0xc], 0
jbe 0x4347af
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4347af
mov eax, dword [eax]
test eax, eax
je 0x4347af
mov esi, dword [eax + 4]
test esi, esi
je 0x4347af
push 0x400
push 0
lea eax, [ebp - 0x41c]
push eax
call fcn.0047cba0
add esp, 0xc
push 0x200
lea eax, [ebp - 0x41c]
push eax
push 0
push 0
push 4
push esi
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
dec eax
mov ecx, 1
cmp eax, 0x1fe
cmovbe edi, ecx
mov dword [ebp - 0x54c], edi
mov esi, dword [ebp - 0x55c]
push 0x30
push 0
lea eax, [ebp - 0x57c]
push eax
call fcn.0047cba0
add esp, 0xc
mov dword [ebp - 0x57c], 0x30
mov dword [ebp - 0x55c], esi
mov dword [ebp - 0x560], 2
lea eax, [ebp - 0x57c]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0
call sub.WINTRUST.dll_WinVerifyTrust
mov dword [ebp - 4], 0xfffffffe
mov eax, edi
jmp 0x4346fc