joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44aeb4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x48c2e4]
cmp byte [eax + 0xc], 0
je 0x44b021
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44b01a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48db98], 0
jne 0x44af08
push 0x44b028
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44b030
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48db98], eax
cmp dword [0x489db4], 0
jne 0x44b003
push 0x44b040
call sub.kernel32.dll_LoadLibraryA
mov dword [0x489db4], eax
cmp dword [0x489db4], 0
je 0x44b003
push 0x44b04c
mov eax, dword [0x489db4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48db9c], eax
push 0x44b05c
mov eax, dword [0x489db4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dba0], eax
push 0x44b070
mov eax, dword [0x489db4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dba4], eax
push 0x44b088
mov eax, dword [0x489db4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dba8], eax
push 0x44b0a0
mov eax, dword [0x489db4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbac], eax
push 0x44b0b4
mov eax, dword [0x489db4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbb0], eax
push 0x44b0cc
mov eax, dword [0x489db4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbb4], eax
push 0x44b0e4
mov eax, dword [0x489db4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbb8], eax
push 0x44b100
mov eax, dword [0x489db4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbbc], eax
push 0x44b10c
mov eax, dword [0x489db4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b021
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44eec8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403f24
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44ef17
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404194
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x456654
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4566a4]
test si, 4
je 0x456668
or bl, 1
test si, 8
je 0x456672
or bl, 4
test si, 1
je 0x45667c
or bl, 8
test si, 2
je 0x456686
or bl, 0x10
test si, 0x10
je 0x456690
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45669f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4566a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4566e0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4566c1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4566d0
or bl, 4
test esi, 0x20000000
je 0x4566db
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45cd88
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45cd9a
add esp, 0xfffffff0
call fcn.004034f8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f158
mov eax, dword [0x48bf04]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d12c
mov eax, dword [0x48bf14]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d138
mov eax, ebx
call fcn.0045d144
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41713c]
call fcn.004031a4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41713c]
call fcn.004031a4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41713c]
call fcn.004031a4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41713c]
call fcn.004031a4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41713c]
call fcn.004031a4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x459560
push eax
push 0
push 0
mov eax, dword [0x48c0a8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420bdc]
call fcn.00422350
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420bdc]
call fcn.00422350
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420bdc]
call fcn.00422350
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045d564
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d440
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d440
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d440
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ced7
call fcn.00403550
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45d224
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d3cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45d3b0
mov dl, 1
mov eax, dword [0x417558]
call fcn.004031a4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f24
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45d39f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044b214
test al, al
je 0x45d392
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45d3e0
lea eax, [ebp - 0x254]
call fcn.004093d0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45d392
xor eax, eax
push ebp
push 0x45d38b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45d418
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45d374
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404194
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45d374
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404194
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d392
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45d295
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b218
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d3d6
lea eax, [ebp - 0x260]
call fcn.00403f24
ret

Function at 0x45dd04
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x48dbe4]
cmp byte [eax + 0xa5], 0
jne 0x45dd75
cmp dword [0x48dbfc], 0
jne 0x45dd36
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45dcc0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48dbfc], eax
cmp dword [0x48dbf8], 0
jne 0x45dd51
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48dbf8], eax
cmp dword [0x48dc00], 0
jne 0x45dd75
push esp
push 0
push 0
push 0x45dc64
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x48dc00], eax
pop edx
ret
Function at 0x45de6c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45de83
add esp, 0xfffffff0
call fcn.004034f8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f158
mov eax, dword [0x48c094]
cmp word [eax + 2], 0
jne 0x45deab
mov eax, dword [0x48c094]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f544
mov eax, dword [0x48c158]
cmp word [eax + 2], 0
jne 0x45dec5
mov eax, dword [0x48c158]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f73c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41713c]
call fcn.004031a4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41713c]
call fcn.004031a4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4216bc]
call fcn.00428a6c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45e04c
mov eax, dword [0x48bf7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428e3c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45fcdc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48bf7c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cc20
test eax, eax
je 0x45dfba
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408db0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc48
test eax, eax
je 0x45dfce
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404194
mov eax, dword [0x48be34]
cmp byte [eax], 0
jne 0x45e002
mov eax, ebx
call fcn.0045e174
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045feb8
mov eax, ebx
call fcn.0046087c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e042
call fcn.00403550
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e3f4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48dbe4]
cmp dword [eax + 0x30], 0
je 0x45e49e
cmp dword [ebx + 0x94], 0
jne 0x45e498
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e384
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e498
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45e45e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e498
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419550
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e46d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45f000
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45f035
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404014
jmp 0x45f042
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f78
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x460094
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4600d5
mov eax, esi
call fcn.00446840
test al, al
je 0x4600d5
mov eax, dword [ebx + 0x84]
call fcn.0044653c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4600d5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044653c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x464a34
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe70
lea eax, [ebp - 0x190]
push eax
push 0x202
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x464a5c
call sub.wsock32.dll_WSAGetLastError
call fcn.00463818
mov esp, ebp
pop ebp
ret
Function at 0x464a6c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x464baa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov esi, 1
test edx, edx
je 0x464aaa
inc esi
xor eax, eax
mov al, byte [ebp + 8]
mov eax, dword [eax*4 + 0x48b934]
push eax
push edi
push 0
lea eax, [ebp - 0x10]
push eax
push esi
call sub.user32.dll_MsgWaitForMultipleObjects
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x464ada
call sub.wsock32.dll_WSAGetLastError
call fcn.00463818
jmp 0x464b88
cmp ebx, 0x102
jne 0x464aff
lea edx, [ebp - 0x30]
mov eax, dword [0x48c1f0]
call fcn.00406094
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00463870
jmp 0x464b88
cmp ebx, esi
jne 0x464b88
jmp 0x464b44
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_DispatchMessageA
cmp edi, 0xffffffff
je 0x464b44
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x464b44
lea edx, [ebp - 0x34]
mov eax, dword [0x48c1f0]
call fcn.00406094
mov eax, dword [ebp - 0x34]
or edx, 0xffffffff
call fcn.00463870
cmp byte [ebp + 8], 0
jne 0x464b5f
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x464b09
cmp edi, 0xffffffff
je 0x464b88
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x464b88
lea edx, [ebp - 0x38]
mov eax, dword [0x48c1f0]
call fcn.00406094
mov eax, dword [ebp - 0x38]
or edx, 0xffffffff
call fcn.00463870
test ebx, ebx
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464bb1
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00403f48
ret
Function at 0x465688
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov eax, esi
call fcn.0046577c
cmp dword [eax + 0xc], 0
jle 0x465774
mov eax, esi
call fcn.0046577c
mov bl, byte [eax + 0x59]
mov eax, esi
call fcn.0046577c
push dword [eax + 0xc]
mov eax, edi
shl eax, 3
imul eax, eax, 0x3e8
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x46576d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [esi + 8]
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
push 0xbf
push edi
push 0
lea eax, [ebp - 4]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
sub eax, 1
jb 0x465756
je 0x465730
sub eax, 0x101
jne 0x4656f0
jmp 0x465756
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_DispatchMessageA
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp edi, eax
jl 0x465749
test bl, bl
jne 0x465749
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x465713
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp edi, eax
jl 0x465756
jmp 0x4656f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465774
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetLastError
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404b30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x50e144
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x564020]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov dword [esp + 0xc], 0
mov dword [esi + 0x28], 0x55d1b0
mov dword [esi + 0x30], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x18], 0
mov edi, 1
push ebx
mov ecx, esi
mov dword [esp + 0x10], edi
call fcn.00404470
mov dword [esp + 0x18], edi
mov eax, dword [esi + 0x28]
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.0
mov dword [esi + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.1.0
mov ecx, dword [eax + 4]
lea edi, [esi + 0x14]
mov dword [ecx + esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.2.0
mov edx, dword [esi + 0x28]
mov eax, dword [edx + 4]
lea ecx, [eax - 8]
mov dword [eax + esi + 0x24], ecx
test ebx, ebx
je 0x404bbe
lea eax, [ebx + 0x14]
jmp 0x404bc0
xor eax, eax
push eax
call fcn.004011c0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4053b0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x50e589
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x564020]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov eax, dword [0x564020]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [esp + 0x44], 0
call fcn.00408770
lea esi, [esp + 0x1c]
test al, al
je 0x405410
call fcn.0040d110
jmp 0x405415
call fcn.0040d070
test al, al
je 0x40542a
add edi, 0xc8
push edi
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x405439
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x4054c8
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00419fb9
add esp, 4
cmp dword [esp + 0x34], 8
mov edi, eax
mov eax, dword [esp + 0x20]
jae 0x405474
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x14]
push edi
push esi
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4054bf
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x10]
push eax
push str.StringFileInfo040904E4ProductVersion
push edi
mov dword [esp + 0x1c], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4054bf
cmp dword [esp + 0x18], 0
je 0x4054bf
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
mov dword [esp + 0x10], eax
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00419fc4
add esp, 0x3c
ret
Function at 0x405500
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50ea86
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x564020]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x564020]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
push 0x59
push str.GenTool_Updater__d_n
call fcn.004114d0
push str.___________________n_n
call fcn.004114d0
add esp, 0xc
push str.8cf2ab26_ea07_4f44_8380_5a9beab37fa5
push 1
push 0
mov dword [esp + 0x294], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp esi, 0xb7
je 0x405592
cmp esi, 5
jne 0x4055a1
push str.Cannot_start_updater._Another_instance_is_running._n
call fcn.004114d0
add esp, 4
jmp 0x4055f6
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00412cc0
push 3
mov byte [esp + 0x28c], 1
call fcn.0041c8a0
add esp, 4
test eax, eax
jne 0x4055ed
call fcn.00408650
mov ebx, eax
call fcn.004085d0
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call fcn.004083f0
call fcn.0041c930
lea ecx, [esp + 0x24]
call fcn.00413230
push str._nPress_any_key_to_continue_._._._n
call fcn.004114d0
add esp, 4
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_FlushConsoleInputBuffer]
call dword [sym.imp.MSVCR90.dll__getch]
test edi, edi
je 0x405637
cmp esi, 0xb7
je 0x405630
cmp esi, 5
je 0x405630
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.00419fc4
mov esp, ebp
pop ebp
ret