joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402780
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
fldz
xor eax, eax
fst qword [esp + 4]
push ebx
fldz
push esi
fst dword [esp + 0x18]
xor ecx, ecx
fxch st(1)
push edi
fstp qword [esp + 0x28]
mov word [esp + 0xc], ax
mov eax, dword [ebp + 0xc]
fstp dword [esp + 0xc]
add eax, 2
fld qword [0x41f478]
fld1
fld qword [0x41f470]
fld dword [0x42352c]
inc ecx
fsubr st(3)
add eax, 4
fld dword [0x425d84]
faddp st(1)
fsubr dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [0x425d84]
fsub st(2)
fstp dword [0x425d84]
fld qword [esp + 0x10]
movzx edx, byte [eax - 6]
movzx esi, byte [eax - 5]
fmul st(1)
shl edx, 8
fstp qword [esp + 0x10]
or edx, esi
movzx esi, byte [eax - 4]
shl edx, 8
or edx, esi
movzx esi, byte [eax - 3]
shl edx, 8
or edx, esi
mov dword [esp + ecx*4 + 0x54], edx
cmp ecx, 0x10
jne 0x4027c2
mov esi, dword [ebp + 8]
fstp st(2)
add esi, 8
fstp st(0)
push 0x100
fstp st(0)
mov ecx, 9
lea edi, [esp + 0x38]
mov dword [esp + 0x20], esi
push 0x425ac8
rep movsd dword es:[edi], dword [esi]
call fcn.00401d50
mov dword [esp + 0x2c], eax
fld qword [0x41f468]
lea eax, [esp + 0x3c]
xor edi, edi
sub eax, 4
lea esi, [esp + 0x60]
add esp, 8
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], eax
sub esi, 8
cmp edi, 0xf
jle 0x4028ae
mov eax, dword [esi]
fld qword [esp + 0x28]
mov ecx, dword [esi - 0x34]
fadd st(1)
mov edx, eax
rol edx, 0xf
mov ebx, eax
rol ebx, 0xd
xor edx, ebx
shr eax, 0xa
xor edx, eax
mov eax, ecx
rol eax, 0xe
mov ebx, ecx
ror ebx, 7
xor eax, ebx
shr ecx, 3
xor eax, ecx
add edx, eax
add edx, dword [esi - 0x38]
add edx, dword [esi - 0x14]
mov dword [esi + 8], edx
fstp qword [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov eax, ecx
ror eax, 0xb
mov edx, ecx
rol edx, 7
xor eax, edx
mov edx, ecx
ror edx, 6
xor eax, edx
mov edx, dword [esp + 0x4c]
xor ebx, edx
and ebx, ecx
mov ecx, dword [esp + 0x24]
xor ebx, edx
add eax, ebx
add eax, dword [ecx + edi*4]
mov ecx, dword [esp + 0x34]
add eax, dword [esi + 8]
mov edi, ecx
add eax, dword [esp + 0x50]
mov edx, ecx
add dword [esp + 0x40], eax
ror edi, 0xd
rol edx, 0xa
xor edi, edx
mov edx, ecx
ror edx, 2
xor edi, edx
mov edx, dword [esp + 0x38]
mov ebx, edx
or ebx, ecx
and ebx, dword [esp + 0x3c]
and edx, ecx
mov ecx, dword [esp + 0x10]
add edi, eax
or ebx, edx
add ebx, edi
mov eax, 0x7dff
mov dword [esp + 0x50], ebx
mov word [esp + 0xc], ax
mov eax, 8
sub eax, 1
mov edx, dword [ecx + eax*4 + 4]
mov dword [esp + eax*4 + 0x38], edx
jne 0x402929
fld dword [str.___]
mov ecx, dword [0x423510]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
fisub dword [esp + 0xc]
inc edi
add esi, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], edi
fstp dword [0x423600]
cmp edi, 0x40
jne 0x40286d
mov esi, dword [esp + 0x24]
fstp st(0)
fldz
push 0x100
push 0
mov dword [esp + 0x18], 0
fstp qword [esp + 0x30]
push esi
call fcn.0040b360
push esi
call fcn.0040b06b
mov ecx, dword [esp + 0x2c]
add esp, 0x10
xor eax, eax
lea ecx, [ecx]
mov edx, dword [esp + eax*4 + 0x34]
add dword [ecx], edx
inc eax
add ecx, 4
cmp eax, 8
jne 0x4029a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4029c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
fldz
push ebx
fstp dword [esp + 0x14]
push ebp
fldz
push 0x2e
fstp qword [esp + 0x14]
push 0x424190
mov dword [esp + 0x10], 0
call fcn.00401d50
add esp, 8
mov ebp, eax
lea eax, [esp + 0xc]
push eax
push ebp
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, 1
test eax, eax
jne 0x402b08
fld qword [esp + 0x10]
push esi
fadd qword [0x41f4a0]
push edi
push 0x34
push 0x425c68
fstp qword [esp + 0x20]
call fcn.00401d50
mov edx, dword [esp + 0x30]
mov esi, eax
mov eax, edx
add esp, 8
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402a32
mov ecx, dword [esp + 0x14]
sub eax, edi
push eax
push edx
push ebx
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fadd dword [0x425a70]
mov eax, dword [0x425bcc]
add dword [0x425bcc], ebx
sub eax, 0x59fd92bb
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fcompp
fnstsw ax
test ah, 0x41
jne 0x402ae5
movzx ecx, word [0x425e84]
mov dx, word [0x425bd8]
movsx ecx, cx
movsx eax, dx
sub eax, ecx
movzx ecx, word [0x425a80]
mov edx, dword [0x423618]
dec word [0x425e84]
add word [0x425a80], bx
movsx ecx, cx
sub edx, ecx
cmp edx, eax
jle 0x402ae5
mov ax, word [0x423094]
mov cx, word [0x423094]
cwde
movsx edx, cx
lea eax, [edx + eax - 0x6a7a8a92]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul qword [0x4235a0]
fstp qword [0x4235a0]
fldz
push 0x34
push 0
mov dword [esp + 0x20], 0
fstp qword [esp + 0x20]
push esi
call fcn.0040b360
push esi
call fcn.0040b06b
add esp, 0x10
pop edi
pop esi
fldz
push 0x2e
push 0
mov dword [esp + 0x18], 0
fstp qword [esp + 0x18]
push ebp
call fcn.0040b360
push ebp
call fcn.0040b06b
fld dword [0x4235c4]
fsub qword [0x41f350]
add esp, 0x10
fstp dword [0x4235c4]
mov ecx, dword [0x4245f4]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fsub dword [0x4235c4]
add dword [0x4245f4], ebx
fsub qword [0x41f498]
fcomp qword [0x41f490]
fnstsw ax
test ah, 0x41
jp 0x402bab
fld qword [0x423540]
fsub qword [0x41f488]
fld dword [esp + 0x18]
mov edx, dword [esp + 8]
fsub qword [0x41f480]
add dword [esp + 8], ebx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
faddp st(2)
fcompp
fnstsw ax
test ah, 0x41
jne 0x402bab
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
sub eax, ecx
mov dword [esp + 8], eax
add dword [esp + 8], ebx
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x402bf0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x60
fldz
push esi
fstp dword [esp + 8]
xor esi, esi
mov dword [esp + 0xc], esi
xor eax, eax
mov word [esp + 4], ax
fld qword [0x4241f0]
fmul qword [0x41f4b0]
mov dword [esp + 0x20], 0x44
fstp qword [0x4241f0]
fld dword [0x423514]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [0x423514]
mov ecx, dword [esp + 0xc]
add ecx, 0x4c37bb11
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fsub dword [0x423514]
mov edx, dword [0x425a5c]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
faddp st(1)
call fcn.0040b2b0
mov dword [0x425a5c], eax
mov eax, dword [0x425d60]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
mov dword [esp + 0x24], esi
fld dword [0x425c38]
fsub qword [0x41f4a8]
fadd qword [0x425c50]
fsubp st(1)
call fcn.0040b2b0
mov dword [0x425d60], eax
fld qword [0x425c50]
fsub st(1)
xor ecx, ecx
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x6c]
fstp qword [0x425c50]
mov edx, 1
fsubr dword [0x425c38]
mov word [esp + 0x56], cx
lea ecx, [esp + 0x24]
push ecx
push esi
fstp dword [0x425c38]
push esi
push 8
push esi
push esi
mov word [esp + 0x6c], dx
mov edx, dword [esp + 0x88]
push esi
push edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x30], 0x4682efa2
push eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x74], 1
mov dword [esp + 0x7c], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
fld qword [0x425c50]
fld1
pop esi
fadd st(1), st(0)
fxch st(1)
fstp qword [0x425c50]
fadd dword [esp + 4]
fstp dword [esp + 4]
fld dword [0x424df0]
fsub qword [0x425c50]
fadd dword [esp + 4]
fadd qword [0x425a10]
fstp qword [0x425a10]
add esp, 0x60
ret
Function at 0x40a6f0
Capabilities:
Create thread

Disassembly:
sub esp, 0x18
fldz
push ebx
xor ebx, ebx
mov dword [esp + 4], ebx
fstp dword [esp + 0x10]
fldz
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
fstp qword [esp + 0x14]
fld dword [0x423514]
push ebp
fadd qword [esp + 0x18]
push esi
xor esi, esi
mov dword [0x42778c], ebx
fstp qword [esp + 0x1c]
push edi
cmp dword [0x424d60], ebx
je 0x40a7a6
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea esp, [esp]
fld dword [esp + 0x1c]
fadd qword [0x41f9f0]
fadd qword [0x41f9e8]
call fcn.0040b2b0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
mov dword [esi*4 + 0x4272c8], ebx
fld dword [0x423600]
fadd qword [0x41f9e0]
fsubp st(1)
fsubp st(1)
call fcn.0040b2b0
push ebx
push ebx
push esi
push 0x402080
push ebx
push ebx
mov dword [esp + 0x2c], eax
call edi
inc esi
cmp esi, dword [0x424d60]
jne 0x40a740
mov edx, dword [0x4235d0]
add edx, 0x366de9cc
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0x5db7
push 0xa
fmul qword [esp + 0x24]
fstp qword [esp + 0x24]
mov word [0x423090], ax
fld qword [esp + 0x24]
fsub qword [0x41f9d8]
fstp qword [esp + 0x24]
fld dword [0x425c20]
fsub qword [0x41f9d0]
fadd qword [0x425a30]
fadd qword [0x4235f0]
fstp qword [0x4235f0]
call edi
mov ecx, 0x5db7
mov word [0x423090], cx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub eax, edx
mov ebp, dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
or eax, 0xffffffff
mov edx, 0x1295e408
mov esi, 0x424d64
fmul qword [esp + 0x20]
fstp qword [esp + 0x20]
inc dword [esp + 0x18]
add dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
sub edx, ecx
add edx, dword [esp + 0x10]
mov dword [esp + 0x10], edx
add dword [esp + 0x10], eax
mov ax, word [0x42420c]
movsx ecx, ax
mov dword [esp + 0x10], ecx
jmp 0x40a870
fld dword [0x425cbc]
movzx edx, word [esi]
fadd qword [0x41f9c8]
mov eax, dword [edx*4 + 0x4272c8]
push eax
fstp dword [0x425cbc]
call ebp
movzx ecx, word [esi]
cmp dword [ecx*4 + 0x4272c8], ebx
je 0x40a8b0
jmp 0x40a8a0
push 0xa
call edi
movzx edx, word [esi]
cmp dword [edx*4 + 0x4272c8], ebx
jne 0x40a8a0
mov eax, dword [0x425a5c]
add eax, 0x50ad6871
mov dword [esp + 0x10], eax
mov cx, word [0x42420c]
movsx edx, cx
add esi, 2
mov dword [esp + 0x10], edx
cmp esi, 0x424d6c
jne 0x40a870
mov ax, word [0x424de0]
mov cx, word [0x4230b8]
cwde
movsx edx, cx
add edx, eax
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fadd dword [0x425cf8]
fstp dword [0x425cf8]
dec word [0x4230b8]
mov dword [0x4230d4], 0x180b0e62
call dword [0x42778c]
or dword [edi + 0x51], esi
pop ds
in eax, 0xf5
invalid

Function at 0x40b296
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425f70]
jne 0x40b2a0
repz ret
jmp fcn.0040f65c
Function at 0x4155bf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041126e
and dword [ebp - 4], 0
cmp dword [0x4281b0], 0
mov ebx, eax
jne 0x415670
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x415721
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x420a18
push edi
call esi
test eax, eax
je 0x415721
push eax
call fcn.004111fc
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4281b0], eax
call esi
push eax
call fcn.004111fc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4281b4], eax
call esi
push eax
call fcn.004111fc
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4281b8], eax
call esi
push eax
call fcn.004111fc
pop ecx
mov dword [0x4281c0], eax
test eax, eax
je 0x415670
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004111fc
pop ecx
mov dword [0x4281bc], eax
mov eax, dword [0x4281bc]
cmp eax, ebx
je 0x4156c8
cmp dword [0x4281c0], ebx
je 0x4156c8
push eax
call fcn.00411277
push dword [0x4281c0]
mov esi, eax
call fcn.00411277
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4156c8
test edi, edi
je 0x4156c8
call esi
test eax, eax
je 0x4156bf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4156bf
test byte [ebp - 0xc], 1
jne 0x4156c8
or dword [ebp + 0x10], 0x200000
jmp 0x415701
mov eax, dword [0x4281b4]
cmp eax, ebx
je 0x415701
push eax
call fcn.00411277
pop ecx
test eax, eax
je 0x415701
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x415701
mov eax, dword [0x4281b8]
cmp eax, ebx
je 0x415701
push eax
call fcn.00411277
pop ecx
test eax, eax
je 0x415701
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4281b0]
call fcn.00411277
pop ecx
test eax, eax
je 0x415721
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x415723
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x53c710
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdf000]
push edi
jmp 0x53c72a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x53c731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53c720
mov eax, 1
add ebx, ebx
jne 0x53c743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x53c754
jne 0x53c773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53c773
dec eax
add ebx, ebx
jne 0x53c760
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x53c738
add ebx, ebx
jne 0x53c76f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x53c7c5
xor ecx, ecx
sub eax, 3
jb 0x53c78b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53c7fa
sar eax, 1
mov ebp, eax
jmp 0x53c796
add ebx, ebx
jne 0x53c796
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53c764
inc ecx
add ebx, ebx
jne 0x53c7a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53c764
add ebx, ebx
jne 0x53c7b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x53c7a6
jne 0x53c7c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x53c7a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x53c7e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x53c7d6
jmp 0x53c726
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x53c7e4
add edi, ecx
jmp 0x53c726
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x53c802
cmp byte [edi], 0x11
jne 0x53c802
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x53c807
lea edi, [esi + 0x135000]
mov eax, dword [edi]
or eax, eax
je 0x53c87f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1931e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19335c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x53c834
mov ecx, edi
jns 0x53c863
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x193360]
or eax, eax
je 0x53c879
mov dword [ebx], eax
add ebx, 4
jmp 0x53c851
call dword [esi + 0x193370]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x53c8b0
cmp al, 0xef
ja 0x53c8a3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x53c885
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x53c892
mov ebp, dword [esi + 0x193364]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x53c8e4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x401130
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x20
cmp dword [esi + 0x18], 0
push ebx
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, 1
jne 0x40115f
lea eax, [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x18], ebx
add dword [esi + 0x1c], ebx
lea eax, [esp + 0x10]
push eax
call edi
cmp dword [esi + 0x20], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
jle 0x401230
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 8]
xor ebp, ebp
xor edi, edi
cmp ecx, ebx
jb 0x4011a5
ja 0x401197
cmp edx, eax
jbe 0x4011a5
sub edx, eax
sbb ecx, ebx
add edx, 0xffffffff
adc ecx, 0xffffffff
mov ebp, edx
mov edi, ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 4]
mov ebx, dword [esi]
cdq
push edx
push eax
push ecx
push ebx
call fcn.00418070
cmp edi, edx
ja 0x401230
jb 0x4011c1
cmp ebp, eax
jae 0x401230
sub eax, ebp
sbb edx, edi
mov edi, eax
mov ebp, edx
jne 0x4011cf
test edi, edi
jbe 0x401228
push 0
push 0x989680
push ebp
push edi
call fcn.0041a4d0
mov ecx, dword [esi + 4]
push ecx
push ebx
push edx
push eax
call fcn.00418070
push 0
push 0
neg eax
adc edx, 0
push 0
neg edx
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x24]
push ecx
push edx
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
mov eax, dword [esi + 0x24]
push 0xc8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
add dword [esp + 0x18], edi
adc dword [esp + 0x1c], ebp
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 8]
xor ebx, ebx
xor edi, edi
cmp edx, eax
jb 0x401254
ja 0x40124a
cmp dword [esp + 0x18], ecx
jbe 0x401254
mov ebx, dword [esp + 0x18]
sub ebx, ecx
mov edi, edx
sbb edi, eax
mov eax, dword [esi + 4]
mov ebp, dword [esi]
push 0
push 5
push eax
push ebp
call fcn.00418070
cmp edi, edx
jb 0x401272
ja 0x40126e
cmp ebx, eax
jbe 0x401272
mov ebx, eax
mov edi, edx
mov dword [esp + 0x20], ebx
mov eax, edi
and edi, 0x7fffffff
mov dword [esp + 0x24], edi
fild qword [esp + 0x20]
and eax, 0x80000000
mov dword [esp + 0x24], eax
mov eax, dword [esi + 4]
xor edx, edx
mov dword [esp + 0x20], edx
fild qword [esp + 0x20]
mov ecx, eax
and eax, 0x7fffffff
fchs
mov dword [esp + 0x20], ebp
faddp st(1)
mov dword [esp + 0x24], eax
fild qword [esp + 0x20]
and ecx, 0x80000000
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
fild qword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
fchs
pop edi
faddp st(1)
pop ebp
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
fdivp st(1)
pop ebx
fstp dword [esp + 4]
fld dword [esp + 4]
fst dword [esi + 0x14]
add esp, 0x20
ret
Function at 0x40e4a0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0xd0
mov eax, dword [0x427014]
xor eax, esp
mov dword [esp + 0xc8], eax
push edi
push str.Wintab32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x79a4], eax
test eax, eax
jne 0x40e4e2
xor eax, eax
pop edi
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0041153d
add esp, 0xd0
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WTInfoA
push eax
call edi
mov dword [esi + 0x79b0], eax
mov eax, dword [esi + 0x79a4]
push str.WTOpenA
push eax
call edi
mov ecx, dword [esi + 0x79a4]
push str.WTClose
push ecx
mov dword [esi + 0x79b4], eax
call edi
mov edx, dword [esi + 0x79a4]
push str.WTEnable
push edx
mov dword [esi + 0x79b8], eax
call edi
mov dword [esi + 0x79bc], eax
mov eax, dword [esi + 0x79a4]
push str.WTPacket
push eax
call edi
mov ecx, dword [esi + 0x79b0]
push 0
push 0
push 0
mov dword [esi + 0x79c0], eax
call ecx
test eax, eax
je 0x40e4ca
push 0xac
lea edx, [esp + 0x1c]
push 0
push edx
call fcn.00416c10
mov ecx, dword [esi + 0x79b0]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0
push 0x190
call ecx
xor eax, eax
lea edx, [esp + 8]
push edx
push 0xf
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x79b0]
push 0x64
call eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x64]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
or dword [esp + 0x40], 4
mov eax, 0x5c0
push 0
mov dword [esi + 0x79ac], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
call edi
push 1
mov dword [esp + 0x94], eax
call edi
mov ecx, dword [esi + 0x330]
mov edx, dword [esi + 0x79b4]
neg eax
mov dword [esp + 0x94], eax
push 0
lea eax, [esp + 0x1c]
push eax
push ecx
call edx
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x79a8], eax
pop edi
mov eax, ecx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0041153d
add esp, 0xd0
ret
Function at 0x41153d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427014]
jne 0x411547
repz ret
jmp fcn.00412c4a

Function at 0x419715
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00413dd3
and dword [ebp - 4], 0
cmp dword [0x44cdf8], 0
mov ebx, eax
jne 0x4197c6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x419877
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x421b84
push edi
call esi
test eax, eax
je 0x419877
push eax
call fcn.00413d61
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44cdf8], eax
call esi
push eax
call fcn.00413d61
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44cdfc], eax
call esi
push eax
call fcn.00413d61
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44ce00], eax
call esi
push eax
call fcn.00413d61
pop ecx
mov dword [0x44ce08], eax
test eax, eax
je 0x4197c6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00413d61
pop ecx
mov dword [0x44ce04], eax
mov eax, dword [0x44ce04]
cmp eax, ebx
je 0x41981e
cmp dword [0x44ce08], ebx
je 0x41981e
push eax
call fcn.00413ddc
push dword [0x44ce08]
mov esi, eax
call fcn.00413ddc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41981e
test edi, edi
je 0x41981e
call esi
test eax, eax
je 0x419815
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x419815
test byte [ebp - 0xc], 1
jne 0x41981e
or dword [ebp + 0x10], 0x200000
jmp 0x419857
mov eax, dword [0x44cdfc]
cmp eax, ebx
je 0x419857
push eax
call fcn.00413ddc
pop ecx
test eax, eax
je 0x419857
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x419857
mov eax, dword [0x44ce00]
cmp eax, ebx
je 0x419857
push eax
call fcn.00413ddc
pop ecx
test eax, eax
je 0x419857
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44cdf8]
call fcn.00413ddc
pop ecx
test eax, eax
je 0x419877
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x419879
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret