joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004e8c
Capabilities:
Access the windows event log

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10078c8]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
push 4
mov dword [ebp - 4], eax
pop ebx
mov dword [ebp - 0x208], edi
mov dword [ebp - 0x210], esi
je 0x1004ef2
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push 0x100142c
xor ebx, ebx
push eax
inc ebx
mov dword [ebp - 0x208], 2
call dword [0x100112c]
lea eax, [ebp - 0x204]
add esp, 0xc
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], esi
push dword [0x1007038]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
cmp esi, edi
je 0x1004f26
push edi
lea eax, [ebp - 0x210]
push eax
push edi
push dword [ebp - 0x208]
push edi
push edi
push edi
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010054b0
leave
ret 8
Function at 0x401120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401139
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40114d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40116e
cmp esi, eax
jae 0x401147
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401160
cmp esi, eax
jae 0x401147
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45c1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00401760
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00401540
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4018f2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4031b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45c38c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x1c]
mov dword [esi], 0x4628e0
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
mov dword [esp + 0xc], esi
call fcn.00401540
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
mov dword [esp + 0x1c], 0
call fcn.00401540
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
mov byte [esp + 0x20], 1
call fcn.00401540
add eax, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 2
call fcn.00401540
add eax, 0x10
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
fld qword [edi + 0x28]
fstp qword [esi + 0x28]
mov byte [esp + 0x24], 3
fld qword [edi + 0x30]
fstp qword [esi + 0x30]
fld qword [edi + 0x38]
fstp qword [esi + 0x38]
mov eax, dword [edi + 0x40]
sub eax, 0x10
push eax
call fcn.00401540
mov ecx, dword [esp + 0x20]
add esp, 0x14
add eax, 0x10
mov dword [esi + 0x40], eax
fld qword [edi + 0x48]
fstp qword [esi + 0x48]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x404bd0
Capabilities:
Check for time delay via gettickcount
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x477e98]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov dword [esp + 0x84], eax
call esi
mov edi, eax
mov dword [esp + 0x10], edi
call esi
mov ecx, dword [ebp + 0xc]
mov esi, eax
sub eax, edi
cmp eax, ecx
jae 0x404d13
jmp 0x404c10
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x404d13
push 2
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
test ebx, ebx
je 0x404cf6
mov eax, dword [ebp + 0xc]
sub esi, edi
cmp esi, eax
jae 0x404cf6
mov byte [esp + 0x18], 0
xor eax, eax
mov ecx, 0x18
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
push 0x64
lea ecx, [esp + 0x1c]
stosw word es:[edi], ax
push ecx
push ebx
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x10]
call fcn.00401a20
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x404cb9
mov eax, dword [esp + 0xc]
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x404cb9
push ecx
push eax
call fcn.004393d4
add esp, 8
test eax, eax
je 0x404cb9
mov ecx, dword [esp + 0xc]
sub eax, ecx
mov dword [esp + 0x14], eax
jne 0x404cb9
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x404d2a
push ebx
call dword [sym.imp.USER32.dll_GetParent]
cmp dword [0x47a6a8], eax
je 0x404d2f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404cdf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 2
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, dword [esp + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x404c35
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0xc]
mov esi, eax
sub eax, edi
cmp eax, ecx
jb 0x404c10
xor eax, eax
mov ecx, dword [esp + 0x84]
call fcn.00438ac6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ecx - 0x10]
jmp 0x404d36
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404d4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x84]
mov eax, 1
call fcn.00438ac6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4091f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x409264
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx - 0xc]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov cl, byte [esi]
inc esi
mov byte [eax], cl
inc eax
test cl, cl
jne 0x409221
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebx
jg 0x40925e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
ret
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409282
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
ret

Function at 0x409290
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4092d8
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4092d8
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 8]
push eax
call fcn.004019e0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
ret
xor eax, eax
ret
Function at 0x40b118
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45ce98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [esi], 0x463230
mov dword [esp + 4], esi
mov dword [esi + 8], 0x4631cc
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esp + 0x10], eax
mov dword [esi + 0x1c], 0x4631d8
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
push 0xa
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.0044da70
mov byte [esp + 0x10], 2
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x54], eax
mov byte [esp + 0x10], 3
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x5c], eax
mov byte [esp + 0x10], 4
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x60], eax
mov byte [esp + 0x10], 5
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x78], eax
mov byte [esp + 0x10], 6
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x7c], eax
lea ecx, [esi + 0x80]
mov byte [esp + 0x10], 7
call fcn.0044d23b
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x94], eax
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xa8], eax
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xac], eax
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xb0], eax
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xb4], eax
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xb8], eax
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xbc], eax
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [esp + 8]
add eax, 0x10
mov dword [esi + 0xc0], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40ba10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45cff2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x1c]
mov dword [esi], 0x463234
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
mov dword [esp + 0xc], esi
call fcn.00401540
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
mov dword [esp + 0x1c], 0
call fcn.00401540
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
mov byte [esp + 0x20], 1
call fcn.00401540
add eax, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 2
call fcn.00401540
add eax, 0x10
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x18], ecx
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x1c], edx
mov eax, dword [edi + 0x20]
sub eax, 0x10
push eax
mov byte [esp + 0x28], 3
call fcn.00401540
add eax, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
sub eax, 0x10
push eax
mov byte [esp + 0x2c], 4
call fcn.00401540
add eax, 0x10
mov dword [esi + 0x28], eax
mov edi, dword [edi + 0x2c]
sub edi, 0x10
push edi
mov byte [esp + 0x30], 5
call fcn.00401540
mov ecx, dword [esp + 0x28]
add esp, 0x1c
add eax, 0x10
mov dword [esi + 0x2c], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40c270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d0d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov esi, ecx
mov dword [esp + 0x14], 0
call fcn.0040b680
mov edi, eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [esp + 0x20], 0
call fcn.0040b630
push 0x462804
push eax
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x28], 1
call fcn.00403650
mov esi, dword [esp + 0x30]
push edi
push eax
push esi
mov byte [esp + 0x34], 2
call fcn.00401860
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0x1c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c300
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c323
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c349
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x410230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
lea eax, [esp + 0x30]
mov esi, ecx
push eax
mov ecx, ebp
call fcn.00402730
mov eax, dword [eax]
xor edi, edi
push eax
mov ecx, esi
mov dword [esp + 0x28], edi
call fcn.0040bb30
mov ebx, eax
mov eax, dword [esp + 0x30]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41029c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
jne 0x41036e
mov eax, dword [esi + 0x24]
test eax, eax
jle 0x41036e
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x4102c0
mov eax, dword [esp + 0x30]
jmp 0x4102c0
test eax, eax
jl 0x410414
cmp edi, dword [esi + 0x24]
jge 0x410414
mov ecx, dword [esi + 0x20]
add ecx, eax
lea eax, [esp + 0x14]
push eax
call fcn.00402730
mov ebx, eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
mov dword [esp + 0x28], 1
call fcn.00402730
mov ebx, dword [ebx]
mov eax, dword [eax]
push ebx
push eax
call fcn.00439486
mov ebx, eax
mov eax, dword [esp + 0x18]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41032a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410350
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
mov eax, dword [esi + 0x24]
jne 0x410385
mov ecx, dword [esp + 0x30]
inc edi
add ecx, 0x198
cmp edi, eax
mov dword [esp + 0x30], ecx
jl 0x4102b7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 8
cmp edi, eax
jge 0x410414
mov eax, dword [esi + 0x20]
imul edi, edi, 0x198
add edi, eax
push ebp
mov ecx, edi
call fcn.0041c790
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call fcn.00402730
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
push eax
mov dword [esp + 0x28], 2
call fcn.0044dccf
mov edi, dword [eax]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4103e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
je 0x41036e
push ebp
lea ecx, [edi + 0xf18]
call fcn.0041aa60
mov ecx, esi
call fcn.0040e7b0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
call fcn.0044c661
int3
Function at 0x410420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d47d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x30]
push edi
mov esi, ecx
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
mov dword [esp + 0x20], esi
call fcn.00402730
mov eax, dword [eax]
push eax
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.0040bb30
mov edi, eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41048e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
jne 0x410595
mov edi, dword [esi + 0x24]
add esi, 0x1c
test edi, edi
jge 0x4104a5
call fcn.0044c661
push 0xffffffffffffffff
lea eax, [edi + 1]
push eax
mov ecx, esi
call fcn.0040a710
mov ecx, edi
mov edi, dword [esi + 4]
imul ecx, ecx, 0x198
push ebp
add ecx, edi
call fcn.0041c790
push 0x1190
call fcn.00452abe
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
mov dword [esp + 0x28], 1
je 0x410534
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x4793b0
call fcn.0040b5a0
mov edi, eax
lea edx, [esp + 0x34]
push edx
mov ecx, 0x4793b0
mov byte [esp + 0x2c], 2
mov dword [esp + 0x14], 1
call fcn.0040b570
mov edi, dword [edi]
mov eax, dword [eax]
push edi
push eax
mov ebx, 3
push 0x479478
mov ecx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
call fcn.00408650
mov esi, eax
jmp 0x410536
xor esi, esi
test bl, 2
mov dword [esp + 0x28], 4
je 0x410568
mov eax, dword [esp + 0x34]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410568
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
or edi, 0xffffffff
test bl, 1
mov dword [esp + 0x28], edi
je 0x410591
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410591
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
jne 0x4105ac
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
sub esp, 0x198
mov ecx, esp
mov dword [esp + 0x1cc], esp
push ebp
call fcn.0041cf40
mov ecx, esi
call fcn.0040a1c0
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call fcn.00402730
mov eax, dword [eax]
mov ecx, dword [esp + 0x30]
push eax
mov dword [esp + 0x2c], 6
call fcn.0044dccf
mov dword [eax], esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x28], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x410609
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
call fcn.0040e7b0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8
Function at 0x416420
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
lea eax, [esp + 0x18]
push eax
push ebx
mov esi, ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x41648f
push edi
call fcn.00452aee
mov ecx, dword [esp + 0x1c]
add esp, 4
push eax
push edi
push ecx
push ebx
mov dword [esi], eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
mov edx, dword [esi]
jne 0x41645e
push edx
jmp 0x41647a
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push str.VarFileInfoTranslation
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x41649a
mov eax, dword [esi]
push eax
call fcn.00452ae9
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 4
mov eax, dword [esp + 0xc]
movzx ecx, word [eax]
movzx edx, word [eax + 2]
shl ecx, 0x10
or ecx, edx
pop edi
mov dword [esi + 4], ecx
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 4

Function at 0x4168c0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x45dc88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
lea eax, [esp + 8]
push eax
mov esi, ecx
call fcn.00431ea0
push 0x4640e0
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x28], 0
call fcn.00403650
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416927
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebx, dword [esp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x20], eax
jne 0x416966
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416953
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LockKeyboard
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
push str.UnLockKeyboard
push eax
call edi
mov ecx, dword [esi + 0x20]
push str.LockMouse
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi + 0x20]
push str.UnLockMouse
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x20]
push str.RegMouseMessage
push eax
call edi
mov ecx, dword [esi + 0x20]
push str.UnRegMouseMessage
push ecx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
jg 0x4169d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret