joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417120
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557728
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5b627c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
test eax, eax
jne 0x417160
xor esi, esi
jmp 0x417269
add eax, 0x3c
push str.cef
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00407e40
mov esi, dword [ebp + 0x10]
push esi
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call fcn.00407d90
add esp, 0x18
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4171a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
add eax, 0x3c
push str.cef69
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00407e40
push esi
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
call fcn.00407d90
add esp, 0x18
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4171ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 8]
call fcn.00433910
test al, al
je 0x417208
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41722b
push dword [ebp - 0x10]
jmp 0x417218
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41722b
push dword [ebp - 0x14]
call fcn.0046fef0
add esp, 4
test eax, eax
je 0x41722b
mov esi, 1
jmp 0x41722d
xor esi, esi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41724b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417269
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x41728e
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x41728e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x41728e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
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 0x41adb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41ae09
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41ae09
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41adfa
cmp esi, edx
jae 0x41ae09
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x41ade8
cmp esi, edx
jae 0x41ae09
cmp word [esi], 0
je 0x41ae09
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x41b7d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557e80
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b627c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.00465e4d
mov edi, eax
add esp, 4
test edi, edi
je 0x41b87b
push 1
mov dword [ebp - 4], 0
call fcn.00467b53
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423550
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558949
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5b627c]
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 esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x44], 1
test eax, eax
je 0x423709
mov edx, dword [eax + 0x44]
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4235c0
sub ecx, ebx
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.0041c630
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4235e2
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423709
cmp dword [edi + 0x14], 8
jb 0x4235f9
mov edi, dword [edi]
mov ecx, edi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423612
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.0041c630
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00458140
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x423680
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423676
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423729
push edx
push ecx
call fcn.00465e7d
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x30], eax
jne 0x4236a3
call fcn.004070f0
jmp 0x423709
push 0xa
push str..cache.dat
call fcn.0042d5c0
push 1
push 0x56cd8c
mov ecx, esi
call fcn.0042d5c0
cmp dword [ebp - 0x2c], 8
mov ecx, eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0042d5c0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x423709
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4236ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42372e
push edx
push ecx
call fcn.00465e7d
add esp, 8
mov eax, esi
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.00465d1b
mov esp, ebp
pop ebp
ret 8
call fcn.005143e9
call fcn.005143e9
int3
Function at 0x42b210
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55964f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5b627c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x10]
push eax
call fcn.00458300
mov edx, dword [ebx + 0x1c]
add esp, 4
mov edx, dword [edx + 0x28]
test edx, edx
je 0x42b39b
mov eax, dword [eax]
mov cx, word [eax]
cmp cx, word [edx]
jne 0x42b27c
test cx, cx
je 0x42b278
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x42b27c
add eax, 4
add edx, 4
test cx, cx
jne 0x42b256
xor esi, esi
jmp 0x42b281
sbb esi, esi
or esi, 1
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b29e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x42b2fc
call fcn.00422620
mov eax, dword [eax + 0x2c]
sub eax, 0x10
push eax
call fcn.0040c650
add esp, 4
lea esi, [eax + 0x10]
mov eax, dword [ebx + 0x1c]
push 5
push 0
push esi
push dword [eax + 0x28]
push 0x56bd8c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x42b389
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
push 0x6c
call fcn.00465e4d
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42b31d
mov ecx, eax
call fcn.00443490
jmp 0x42b31f
xor eax, eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
push dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
push eax
mov dword [ebp - 0x14], 0
call fcn.0041ee60
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x4c], eax
mov esi, dword [ebx + 0x50]
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x50], eax
test esi, esi
je 0x42b371
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x42b371
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x42b371
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x42b389
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x42b389
mov ecx, dword [ebx + 0x4c]
call fcn.004481e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040c140
int3
Function at 0x42f3b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559b06
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5b627c]
xor eax, ebp
mov dword [ebp - 0x14], 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 + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x42f45c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x42f45c
call fcn.0042e4c0
mov esi, eax
jmp 0x42f54c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x42f47f
call fcn.0042e4c0
jmp 0x42f53f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x42f49d
call fcn.0042e4c0
jmp 0x42f53f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x42f4be
mov esi, 0x8007000e
jmp 0x42f541
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0042e390
jmp 0x42f4e8
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x42f4ff
mov esi, 0x8007000e
jmp 0x42f541
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x42f51f
call fcn.0042e4c0
jmp 0x42f53f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0042f210
mov esi, eax
test edi, edi
je 0x42f54c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x42f570
lea ecx, [ebp - 0x418]
call fcn.0042e800
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00465d1b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x433ce0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a0b4
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x5b627c]
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
mov esi, dword [ebp + 8]
mov dword [ebp - 0xd8], ebx
test ebx, ebx
je 0x433d24
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 0
call fcn.00434340
push 0x38
mov byte [ebp - 4], 1
call fcn.00465e4d
mov edi, eax
add esp, 4
mov dword [ebp - 0xcc], edi
test edi, edi
je 0x433da6
lea eax, [ebp - 0xc4]
mov dword [edi + 4], 1
lea esi, [edi + 0x10]
mov dword [edi + 8], 1
push eax
lea ecx, [ebp - 0x194]
mov dword [edi], vtable.std::_Ref_count_obj_class_std::function_void____cdecl___void___.0
mov dword [ebp - 0xd0], esi
call fcn.00434340
mov dword [esi + 0x24], 0
mov eax, ecx
mov byte [ebp - 4], 4
push eax
call fcn.00434050
add esp, 4
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0x194]
call fcn.00434b20
jmp 0x433da8
xor edi, edi
lea esi, [edi + 0x10]
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xd4], esi
lea ecx, [ebp - 0xc4]
call fcn.00434b20
test edi, edi
je 0x433dca
lock inc dword [edi + 4]
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xdc], edi
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x28]
inc eax
mov byte [ebp - 4], 7
cmp ecx, eax
ja 0x433df2
push 1
lea ecx, [ebx + 0x20]
call fcn.0043f4a0
mov ecx, dword [ebx + 0x28]
lea eax, [ecx - 1]
and dword [ebx + 0x2c], eax
mov ecx, dword [ebx + 0x30]
add ecx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x28]
dec eax
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0xcc], eax
cmp dword [ecx + eax], 0
jne 0x433e35
push 0x28
call fcn.00465e4d
mov ecx, dword [ebx + 0x24]
add esp, 4
mov edx, dword [ebp - 0xcc]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [ebx + 0x24]
mov eax, dword [eax + ecx]
lea ecx, [edi + 0x10]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_6f71a1aba2a611e3398db665a8a8dd98___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0x24], eax
inc dword [ebx + 0x30]
cmp dword [ebx + 0x18], 0
jne 0x433e77
lea eax, [ebx + 0x1c]
push eax
push 0
push ebx
push 0x43edd0
push 0
push 0
call fcn.0051b105
add esp, 0x18
mov dword [ebx + 0x18], eax
mov byte [ebp - 0xc5], 1
jmp 0x433e7e
mov byte [ebp - 0xc5], 0
test edi, edi
je 0x433ea3
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x433ea3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x433ea3
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0xc5]
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.00465d1b
mov esp, ebp
pop ebp
ret 4
Function at 0x433f30
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a11f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5b627c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0xb8
call fcn.00465e4d
mov ecx, dword [ebp + 8]
mov edi, eax
lea esi, [edi + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
lea ebx, [esi + 4]
add esp, 4
mov dword [ebp - 4], 0
mov dword [edi], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__class__lambda_7c649c326cad68cc3180a3e9c8beac69______void___.0
mov eax, dword [ecx]
mov dword [esi], eax
lea eax, [ecx + 4]
push eax
mov ecx, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.004344b0
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x18]
add eax, 0x1c
mov byte [ebp - 4], 1
push eax
call fcn.004344b0
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x30]
add eax, 0x34
mov byte [ebp - 4], 2
push eax
call fcn.004344b0
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x48]
add eax, 0x4c
mov byte [ebp - 4], 3
push eax
call fcn.004344b0
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x60]
add eax, 0x64
mov byte [ebp - 4], 4
push eax
call fcn.004344b0
mov ebx, dword [ebp + 8]
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 5
lea eax, [ebx + 0x7c]
push eax
call fcn.004344b0
mov eax, dword [ebx + 0x94]
lea ecx, [esi + 0x98]
mov dword [esi + 0x94], eax
lea eax, [ebx + 0x98]
push eax
mov byte [ebp - 4], 6
call fcn.004344b0
mov eax, edi
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 0x434540
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5b627c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.0050fe00
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.0050fe00
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4345a3
cmp dword [ebp - 0x114], 6
mov eax, 0x30
jae 0x4345a8
mov eax, 0x2c
mov ecx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x4345c6
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov ecx, edi
jmp 0x4345c8
mov eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x4345dc
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [0x5bdc38]
mov eax, esi
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00465d1b
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4386c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5b627c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
push 0x56e7e0
lea ecx, [esi + 0x30]
call fcn.00484b80
test eax, eax
je 0x4386f1
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x10c]
push str.restore
lea ecx, [esi + 0x30]
call fcn.00484b80
test eax, eax
je 0x43870e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x10c]
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x28
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x438737
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [ebp - 0x3c], xmm0
push 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
sub eax, edx
push 0
push eax
mov eax, dword [ebp - 0x34]
sub eax, ecx
push eax
push edx
push ecx
push 0xfffffffffffffffe
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00465d1b
mov esp, ebp
pop ebp
ret
Function at 0x440bd0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b50b
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x5b627c]
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 esi, ecx
push 1
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x4c], 0xc
xor bl, bl
mov dword [ebp - 0x44], 0
cmp dword [esi + 0x100], 0
mov dword [ebp - 0x48], eax
jne 0x440c7a
push dword [0x5bd84c]
lea eax, [ebp - 0x4c]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x100], eax
test eax, eax
je 0x440c7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x440c98
push dword [esi + 0x100]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x100], 0
mov al, bl
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.00465d1b
mov esp, ebp
pop ebp
ret
call fcn.00474150
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x440d4f
push 0x61
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxpopup_dialog.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0041c540
push 3
push 0x56bd98
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.0041c540
mov byte [ebp - 4], 1
call fcn.00474150
mov edi, eax
lea ecx, [ebp - 0xf8]
push 0x49
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004066e0
mov esi, eax
push str.CreateDialogMutex__
push esi
mov byte [ebp - 4], 2
call fcn.00407a90
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf8]
call fcn.00407f30
lea ecx, [ebp - 0x28]
call fcn.004070a0
lea ecx, [ebp - 0x40]
call fcn.004070a0
mov al, 1
jmp 0x440c7c
Function at 0x440df0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b55b
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x5b627c]
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
push 0x569bb8
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [ebp - 0x50]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x44]
sub edi, dword [ebp - 0x4c]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
lea ebx, [eax - 0xa]
call esi
mov esi, dword [ebp + 8]
mov edx, 0xfffffff6
sub edx, edi
mov ecx, ebx
sub ecx, dword [ebp + 0xc]
add edx, eax
mov eax, edx
sub eax, dword [ebp + 0x10]
mov dword [esi + 8], ebx
mov ebx, esi
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [ebx + 0xc], edx
call fcn.00474150
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x440fdd
push 0x61
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxpopup_dialog.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0041c540
push 3
push 0x56bab4
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.0041c540
mov byte [ebp - 4], 1
call fcn.00474150
mov edi, eax
lea ecx, [ebp - 0xe8]
push 0x1b
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004066e0
mov esi, eax
push str.InstPopupWndImpl::GetInitWndRect__top
push esi
mov byte [ebp - 4], 2
call fcn.00407a90
add esp, 8
mov ecx, esi
push dword [ebx + 4]
call fcn.00440a20
push str._bottom
push esi
call fcn.00407a90
add esp, 8
mov ecx, esi
push dword [ebx + 0xc]
call fcn.00440a20
push str._right
push esi
call fcn.00407a90
add esp, 8
mov ecx, esi
push dword [ebx + 8]
call fcn.00440a20
push str._left
push esi
call fcn.00407a90
add esp, 8
mov ecx, esi
push dword [ebx]
call fcn.00440a20
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.00407f30
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x440f9b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x440f91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440ffb
push edx
push ecx
call fcn.00465e7d
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x440fdd
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x440fd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441000
push edx
push ecx
call fcn.00465e7d
add esp, 8
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.00465d1b
mov esp, ebp
pop ebp
ret
call fcn.005143e9
call fcn.005143e9
int3