joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c2d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
cmp dword [esi + 0xa8], 0
je 0x40c2de
xor eax, eax
pop ecx
ret
lea eax, [esp]
push eax
push 4
push esi
push 0x40c3b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xa8], eax
test eax, eax
je 0x40c2da
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esi + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop ecx
ret

Function at 0x40c400
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x5a1aeb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
mov eax, dword [0x619e70]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [edi + 0x8cc]
cmp dword [eax + 0xa60], 1
je 0x40c5ee
mov ecx, dword [eax + 0xa64]
xor ebp, ebp
cmp ecx, ebp
je 0x40c5ee
push eax
call fcn.0042f570
cmp dword [edi + 0xd84], ebp
jne 0x40c552
cmp dword [edi + 0xd88], ebp
jne 0x40c552
mov ecx, dword [edi + 0xd9c]
cmp ecx, ebp
je 0x40c4b5
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
test eax, eax
je 0x40c496
mov eax, dword [edi + 0xd9c]
mov dword [eax + 8], 7
mov ecx, dword [edi + 0xd9c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov esi, dword [edi + 0xd9c]
mov ebx, 0x17013200
call fcn.00402d00
mov ecx, dword [edi + 0xd9c]
mov dword [ecx + 0xc], 3
jmp 0x40c508
push 0x54
call fcn.0056cb85
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ebp
cmp eax, ebp
je 0x40c4d2
call fcn.00402be0
jmp 0x40c4d4
xor eax, eax
mov dword [esp + 0x24], 0xffffffff
mov ebx, 0x17013200
mov esi, eax
mov dword [edi + 0xd9c], eax
call fcn.00402d00
mov edx, dword [edi + 0xd9c]
mov dword [edx + 0xc], 3
mov ecx, dword [edi + 0xd9c]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, dword [edi + 0xd9c]
mov dword [eax + 0x14], ebp
mov ecx, dword [edi + 0xd9c]
mov dword [ecx + 0x18], ebp
mov edx, dword [edi + 0xd9c]
mov dword [edx + 0x1c], ebp
mov eax, dword [edi + 0xd9c]
mov dword [eax + 8], 1
mov ecx, dword [edi + 0xd9c]
mov esi, 6
jmp 0x40c540
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [edi + 0xd9c]
cmp dword [ecx + 8], esi
jne 0x40c540
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 0x8cc]
xor edx, edx
mov word [ecx + 0x404], dx
cmp eax, ebp
je 0x40c583
push eax
mov eax, dword [edi + 0x8cc]
add eax, 0x404
push 0x100
push eax
call fcn.0043a300
add esp, 0xc
mov edx, dword [edi + 0x8cc]
lea ecx, [esp + 0x18]
push ecx
push 4
push edx
push 0x40c860
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xac], eax
cmp eax, ebp
je 0x40c5d3
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [edi + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov eax, dword [0x62c63c]
cmp eax, ebp
je 0x40c5e3
xor edx, edx
call fcn.00414910
mov eax, dword [edi + 0x8cc]
call fcn.0042f5c0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x40c610
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x5a28eb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
mov eax, dword [0x619e70]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [edi + 0x8cc]
mov eax, dword [esi + 0xa64]
xor ebp, ebp
cmp eax, ebp
je 0x40c845
mov eax, dword [0x62c63c]
cmp eax, ebp
je 0x40c65d
lea edx, [ebp + 1]
call fcn.00414910
mov dword [esi + 0xa64], ebp
mov eax, dword [0x62c5a8]
cmp eax, ebp
je 0x40c681
mov eax, dword [eax + 0x20]
cmp eax, ebp
je 0x40c681
push ebp
push ebp
push 0x429
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0xd84], ebp
jne 0x40c782
cmp dword [edi + 0xd88], ebp
jne 0x40c782
mov ecx, dword [edi + 0xd9c]
cmp ecx, ebp
je 0x40c6e7
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
test eax, eax
je 0x40c6c8
mov eax, dword [edi + 0xd9c]
mov dword [eax + 8], 7
mov ecx, dword [edi + 0xd9c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov esi, dword [edi + 0xd9c]
mov ebx, 0x17013200
call fcn.00402d00
mov ecx, dword [edi + 0xd9c]
mov dword [ecx + 0xc], 3
jmp 0x40c73a
push 0x54
call fcn.0056cb85
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ebp
cmp eax, ebp
je 0x40c704
call fcn.00402be0
jmp 0x40c706
xor eax, eax
mov dword [esp + 0x20], 0xffffffff
mov ebx, 0x17013200
mov esi, eax
mov dword [edi + 0xd9c], eax
call fcn.00402d00
mov edx, dword [edi + 0xd9c]
mov dword [edx + 0xc], 3
mov ecx, dword [edi + 0xd9c]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, dword [edi + 0xd9c]
mov dword [eax + 0x14], ebp
mov ecx, dword [edi + 0xd9c]
mov dword [ecx + 0x18], ebp
mov edx, dword [edi + 0xd9c]
mov dword [edx + 0x1c], ebp
mov eax, dword [edi + 0xd9c]
mov dword [eax + 8], 1
mov ecx, dword [edi + 0xd9c]
mov esi, 6
lea ecx, [ecx]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [edi + 0xd9c]
cmp dword [ecx + 8], esi
jne 0x40c770
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 0x8cc]
push ecx
add edx, 0x604
push 0x200
push edx
call fcn.0043a300
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0x8cc]
push eax
add ecx, 4
push 0x200
push ecx
call fcn.0043a300
mov edx, dword [edi + 0x8cc]
mov eax, dword [esp + 0x48]
add esp, 0x18
lea ecx, [esp + 0x14]
push ecx
push 4
mov dword [edx + 0xa58], eax
mov edx, dword [edi + 0x8cc]
push edx
push 0x40c8e0
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xac], eax
cmp eax, ebp
je 0x40c807
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [edi + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x40c845
mov eax, dword [0x62c63c]
cmp eax, ebp
je 0x40c817
xor edx, edx
call fcn.00414910
mov ecx, dword [edi + 0x8cc]
mov dword [ecx + 0xa64], 1
mov eax, dword [0x62c5a8]
cmp eax, ebp
je 0x40c845
mov eax, dword [eax + 0x20]
cmp eax, ebp
je 0x40c845
push ebp
push ebp
push 0x42a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x413480
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x619e70]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x214]
push esi
mov esi, dword [eax]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
mov dword [esp + 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0057db4c
add esp, 0x210
ret 4

Function at 0x4134f0
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x619e70]
xor eax, ebp
mov dword [ebp + 0x39c], eax
mov eax, dword [ebp + 0x3a8]
push ebx
push esi
push edi
push 5
push 0
push 0
push eax
push str.open
push 0
mov dword [ebp - 0x7c], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, eax
mov dword [ebp - 0x80], ebx
cmp ebx, 0x20
ja 0x41364a
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x78]
push eax
push 1
push 0
push str..htm
push SysReAllocString
call esi
test eax, eax
jne 0x413648
lea ecx, [ebp - 0x78]
push ecx
lea edi, [ebp - 0x74]
call fcn.00413480
test eax, eax
jne 0x413648
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x5ddc30
mov edx, edi
push edx
call ebx
lea eax, [ebp - 0x78]
push eax
push 1
push 0
mov ecx, edi
push ecx
push SysReAllocString
call esi
test eax, eax
jne 0x413643
lea edx, [ebp - 0x78]
push edx
call fcn.00413480
test eax, eax
jne 0x413643
mov eax, edi
push 0x5ddc58
push eax
call fcn.0057e562
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esp, 8
test esi, esi
jne 0x4135f0
lea ecx, [ebp - 0x74]
push 0x5ddc64
push ecx
call fcn.0057e562
mov esi, eax
add esp, 8
test esi, esi
jne 0x4135e9
lea edx, [ebp - 0x74]
push edx
call edi
lea esi, [ebp + eax*2 - 0x76]
jmp 0x4135f5
xor eax, eax
mov word [esi], ax
jmp 0x4135f5
xor ecx, ecx
mov word [esi], cx
push 0x5d0e60
push esi
call ebx
mov edx, dword [ebp - 0x7c]
push edx
push esi
call ebx
lea eax, [ebp - 0x74]
push eax
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x41361f
xor eax, eax
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x41364a
lea esi, [eax + eax]
mov eax, esi
call fcn.0057f4f0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.004139c0
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x41364a
mov eax, dword [ebp - 0x80]
jmp 0x41364a
mov eax, ebx
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
xor ecx, ebp
call fcn.0057db4c
add ebp, 0x3a0
mov esp, ebp
pop ebp
ret 4
Function at 0x413ec0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5f5708
push 0x57f2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x619e70]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
push str.GetPhysicallyInstalledSystemMemory
push 0x5d1724
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
test eax, eax
je 0x413f34
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x413f34
fild qword [ebp - 0x24]
fmul qword [0x5e2998]
fadd qword [0x5e2990]
call fcn.0057fee0
mov ebx, eax
test ebx, ebx
jne 0x414001
push str.GlobalMemoryStatusEx
push 0x5d1724
call esi
push eax
call edi
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x414001
push 0x40
push edi
lea edx, [ebp - 0x84]
push edx
call fcn.0057f470
add esp, 0xc
mov dword [ebp - 0x84], 0x40
wait
mov dword [ebp - 4], edi
lea eax, [ebp - 0x84]
push eax
call esi
test eax, eax
je 0x413faf
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x24], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x20], eax
fild qword [ebp - 0x24]
and ecx, 0x80000000
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edi
fild qword [ebp - 0x24]
fchs
faddp st(1)
jmp 0x413fc9
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x3c]
fild dword [ebp - 0x3c]
test eax, eax
jge 0x413fc9
fadd qword [0x5e2988]
fmul qword [0x5e2980]
fadd qword [0x5e2990]
call fcn.0057fee0
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test bl, 1
je 0x413fe8
inc ebx
mov dword [ebp - 0x1c], ebx
wait
jmp 0x413ffa
mov dword [ebp - 4], 0xfffffffe
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f5f0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x5a192b
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x619e70]
xor eax, esp
mov dword [esp + 0x894], eax
push ebp
push esi
push edi
mov eax, dword [0x619e70]
xor eax, esp
push eax
lea eax, [esp + 0x8a8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8b8]
mov dword [esp + 0x10], vtable.CRJK.0
mov byte [esp + 0x14], 0
mov dword [esp + 0x8b0], 0
mov eax, dword [0x62ce58]
movzx edx, byte [eax]
add dl, 0x30
mov byte [esp + 0x484], dl
movzx edx, byte [eax + 4]
add dl, 0x30
push ecx
mov ecx, dword [esp + 0x8c0]
mov byte [esp + 0x489], dl
movzx edx, byte [eax + 8]
mov al, byte [eax + 0xc]
push ecx
add dl, 0x30
push str._X:_s_
mov byte [esp + 0x492], dl
lea edx, [esp + 0x6b0]
add al, 0x30
push 0x100
push edx
mov byte [esp + 0x49b], al
mov byte [esp + 0x49c], 0x35
mov byte [esp + 0x49d], 0x30
mov byte [esp + 0x49e], 0x65
mov byte [esp + 0x49f], 0x36
mov byte [esp + 0x4a0], 0x67
mov byte [esp + 0x4a1], 0x6b
mov byte [esp + 0x4a2], 0x69
mov byte [esp + 0x4a3], 0x75
mov byte [esp + 0x4a4], 0x39
mov byte [esp + 0x4a5], 0x37
mov byte [esp + 0x4a6], 0x31
mov byte [esp + 0x4a7], 0x61
call fcn.0043a300
add esp, 0x14
push 0
push 0
push 0x200
lea eax, [esp + 0x4b0]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x6b8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x4a4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f735
sub eax, edx
mov edx, dword [ebp + 0xa54]
lea edi, [eax + 0x10]
and edi, 0xfffffff0
add edx, edi
cmp edx, 0x1c000
ja 0x42f7b5
cmp eax, edi
jge 0x42f76f
mov edx, edi
sub edx, eax
push edx
lea ecx, [esp + eax + 0x4a8]
push 0
push ecx
call fcn.0057f470
add esp, 0xc
lea eax, [esp + 0x484]
push eax
lea esi, [esp + 0x14]
call fcn.00428af0
lea edx, [esp + 0x4a4]
push edi
mov ecx, edx
mov eax, esi
call fcn.00429590
mov edx, dword [ebp + 0xa44]
add edx, dword [ebp + 0xa54]
push edi
lea ecx, [esp + 0x4a8]
push ecx
push edx
call fcn.0057f520
add esp, 0xc
add dword [ebp + 0xa54], edi
mov ecx, dword [esp + 0x8a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x894]
xor ecx, esp
call fcn.0057db4c
add esp, 0x8a4
ret 8
Function at 0x433740
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a1aab
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x619e70]
xor eax, esp
mov dword [esp + 0x4a4], eax
push ebx
push ebp
push esi
mov eax, dword [0x619e70]
xor eax, esp
push eax
lea eax, [esp + 0x4b8]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push 0x1388
push eax
call fcn.0043bf70
mov ecx, eax
call fcn.00438190
test eax, eax
je 0x4339da
push 1
mov ecx, edi
call fcn.0042f7e0
mov ebx, dword [edi + 0xa54]
mov dl, 0x31
mov cl, 0x34
mov al, 0x37
mov byte [esp + 0x494], dl
mov byte [esp + 0x495], 0x62
mov byte [esp + 0x496], 0x33
mov byte [esp + 0x497], 0x30
mov byte [esp + 0x498], cl
mov byte [esp + 0x499], 0x63
mov byte [esp + 0x49a], al
mov byte [esp + 0x49b], 0x61
mov byte [esp + 0x49c], 0x32
mov byte [esp + 0x49d], 0x64
mov byte [esp + 0x49e], 0x30
mov byte [esp + 0x49f], 0x30
mov byte [esp + 0x4a0], cl
mov byte [esp + 0x4a1], al
mov byte [esp + 0x4a2], dl
mov byte [esp + 0x4a3], 0x30
mov byte [esp + 0x4a4], 0
mov dword [esp + 0x1c], vtable.CRJK.0
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x494]
push ecx
lea esi, [esp + 0x20]
mov dword [esp + 0x4c4], 0
call fcn.00428af0
mov ecx, dword [edi + 0xa44]
push ebx
mov edx, ecx
mov eax, esi
call fcn.00429590
cmp word [edi + 0x404], 0
lea esi, [edi + 0x404]
jne 0x4338c8
push 0x5e1ba8
push 0x100
push esi
call fcn.0043a300
mov ecx, dword [0x62c63c]
add esp, 0xc
test ecx, ecx
je 0x4338c8
mov eax, dword [0x62ce4c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xb8]
push eax
push 0
call edx
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.0057fee0
push eax
push str.cpuz__d.cvf
push 0x100
push esi
call fcn.0043a300
add esp, 0x10
push 0
push 0x80000080
push 2
push 0
push 0
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4339ce
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 0x43
push 0
mov byte [esp + 0x498], al
mov byte [esp + 0x49c], al
lea eax, [esp + 0x14]
push eax
push 0xb
lea ecx, [esp + 0x4a0]
push ecx
push esi
mov byte [esp + 0x4a9], 0x50
mov byte [esp + 0x4aa], 0x55
mov byte [esp + 0x4ab], 0x5a
mov byte [esp + 0x4ad], 0x56
mov byte [esp + 0x4ae], 0x46
mov byte [esp + 0x4af], 0x32
mov byte [esp + 0x4b0], 0x30
mov byte [esp + 0x4b1], 0x30
mov byte [esp + 0x4b2], 0x23
call ebp
mov eax, dword [edi + 0xa44]
push 0
lea edx, [esp + 0x14]
push edx
push ebx
push eax
push esi
call ebp
mov eax, dword [0x62ce58]
movzx ecx, byte [eax]
add cl, 5
mov byte [esp + 0x494], cl
movzx edx, byte [eax + 4]
add dl, 5
mov byte [esp + 0x495], dl
movzx ecx, byte [eax + 8]
add cl, 5
mov byte [esp + 0x496], cl
movzx edx, byte [eax + 0xc]
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea ecx, [esp + 0x4a0]
push ecx
add dl, 5
push esi
mov byte [esp + 0x4ab], dl
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0043bf70
mov ecx, eax
call fcn.00437a50
mov ecx, dword [esp + 0x4b8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4a4]
xor ecx, esp
call fcn.0057db4c
add esp, 0x4b4
ret
Function at 0x437e80
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x224
mov eax, dword [0x619e70]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x22c]
push ebx
push esi
xor esi, esi
push str.setupapi.dll
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x438099
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebp
push edi
push str.CM_Get_DevNode_Registry_PropertyA
push ebx
call esi
push str.CM_Locate_DevNodeA
push ebx
mov ebp, eax
call esi
push str.CM_Get_Child
push ebx
mov edi, eax
call esi
push str.CM_Get_Sibling
push ebx
mov dword [esp + 0x28], eax
call esi
push str.CM_Get_Parent
push ebx
mov dword [esp + 0x34], eax
call esi
mov dword [esp + 0x24], eax
test ebp, ebp
je 0x438075
test edi, edi
je 0x438075
cmp dword [esp + 0x20], 0
je 0x438075
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x438075
test eax, eax
je 0x438075
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call edi
test eax, eax
jne 0x43806d
mov eax, dword [esp + 0x10]
mov edi, 0x200
push 0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x38]
push ecx
push 0
push 0xa
push eax
mov dword [esp + 0x34], edi
call ebp
test eax, eax
jne 0x437f99
mov eax, dword [esp + 0x238]
lea ecx, [esp + 0x30]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x437f90
test dl, dl
je 0x437f8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x437f90
add eax, 2
add ecx, 2
test dl, dl
jne 0x437f70
xor eax, eax
jmp 0x437f95
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43800b
mov edx, dword [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x1c]
push eax
call dword [esp + 0x2c]
test eax, eax
jne 0x437fb7
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jmp 0x437f47
mov ecx, dword [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x1c]
push edx
call esi
test eax, eax
je 0x437ffe
lea esp, [esp]
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [esp + 0x30]
test eax, eax
jne 0x438075
mov eax, dword [esp + 0x14]
push 0
push eax
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x1c], eax
call esi
test eax, eax
jne 0x437fd0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jmp 0x437f47
mov edx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
push 0
push 1
push edx
mov dword [esp + 0x34], edi
call ebp
test eax, eax
jne 0x43806d
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x30]
push eax
push 0x100
push ecx
call fcn.0057eed3
add esp, 0xc
push ebx
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0057db4c
add esp, 0x224
ret
mov dword [esp + 0x18], 0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0057db4c
add esp, 0x224
ret
mov ecx, dword [esp + 0x228]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0057db4c
add esp, 0x224
ret
Function at 0x43ae30
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x619e70]
xor eax, esp
mov dword [esp + 0x29c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2b8]
push edi
push 0x9c
xor ebp, ebp
lea eax, [esp + 0x14]
push ebp
push eax
mov edi, ecx
call fcn.0057f470
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x9c
call ebx
test eax, eax
jne 0x43aea1
push 0x94
push eax
lea edx, [esp + 0x18]
push edx
call fcn.0057f470
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x94
call ebx
push esi
lea ecx, [esp + 0xb0]
push 0x200
push ecx
call fcn.0043a290
mov eax, dword [esp + 0x2c]
add esp, 0xc
sub eax, 1
je 0x43af83
sub eax, 1
jne 0x43af9d
cmp dword [esp + 0x14], 4
push esi
push str.Global_s
lea edx, [esp + 0xb4]
push 0x200
push edx
ja 0x43af62
call fcn.0043a290
add esp, 0x10
lea eax, [esp + 0xac]
push eax
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x43af28
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x2b8]
lea ecx, [esp + 0xac]
push ecx
push edx
mov ecx, edi
call fcn.00437a60
jmp 0x43af9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43af6a
push esi
lea edx, [esp + 0xb0]
push 0x200
push edx
call fcn.0043a290
mov ecx, dword [esp + 0x2c4]
add esp, 0xc
lea eax, [esp + 0xac]
push eax
push ecx
mov ecx, edi
call fcn.00437a60
jmp 0x43af9f
call fcn.0043a290
add esp, 0x10
mov ecx, dword [esp + 0x2b8]
lea eax, [esp + 0xac]
push eax
push ecx
mov ecx, edi
call fcn.00437a60
jmp 0x43af9f
mov eax, dword [esp + 0x2b8]
lea edx, [esp + 0xac]
push edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x43af9f
mov eax, ebp
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0057db4c
add esp, 0x2a0
ret 0xc
Function at 0x43b8c0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x58
mov eax, dword [0x619e70]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
mov ebx, dword [esp + 0x64]
push ebp
mov ebp, dword [esp + 0x64]
push edi
lea eax, [esp + 0x1c]
push eax
push ebp
mov dword [esp + 0x20], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x43ba16
push esi
push edi
call fcn.0056cbbf
add esp, 4
mov esi, eax
push esi
push edi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x43ba0c
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x5a556c
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43ba0c
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43b9ed
mov eax, dword [esp + 0x18]
movzx edx, word [eax + 2]
movzx eax, word [eax]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push edx
push eax
lea ecx, [esp + 0x2c]
push 0x5a5528
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43b99f
mov edx, dword [esp + 0x14]
push edx
lea eax, [ebx + 0x10]
push 0x100
push eax
call fcn.0043a290
add esp, 0xc
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [esp + 0x2c]
push 0x5a5500
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43b9ed
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [ebx + 0x110]
push 0x100
push edx
call fcn.0043a290
add esp, 0xc
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0xa]
mov dword [ebx], ecx
movzx edx, word [eax + 8]
mov dword [ebx + 4], edx
movzx ecx, word [eax + 0xe]
mov dword [ebx + 8], ecx
movzx edx, word [eax + 0xc]
mov dword [ebx + 0xc], edx
push esi
call fcn.0056cbb4
add esp, 4
pop esi
mov ecx, dword [esp + 0x60]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0057db4c
add esp, 0x58
ret 8