joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100736d3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100c005c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10067475
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10067475
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1007374a
cmp word [ecx], dx
je 0x1007374a
mov eax, dword [0x10081cfc]
push edi
dec eax
push eax
push 0x10081be8
call fcn.10073672
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100737bd
cmp word [eax], dx
je 0x100737bd
mov eax, dword [edi]
test eax, eax
je 0x1007376e
cmp word [eax], dx
je 0x1007376e
lea eax, [ebp - 0x10]
push eax
call fcn.10073055
jmp 0x10073777
lea eax, [ebp - 0x10]
push eax
call fcn.100730f0
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100737e7
mov eax, dword [0x10081be4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100818d8
call fcn.10073672
add esp, 0xc
test al, al
je 0x100737e7
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100737b2
cmp word [eax], di
je 0x100737b2
lea eax, [ebp - 0x10]
push eax
call fcn.10073055
pop ecx
jmp 0x100737e9
lea eax, [ebp - 0x10]
push eax
call fcn.100730f0
jmp 0x100737af
mov eax, dword [edi]
test eax, eax
je 0x100737d4
cmp word [eax], dx
je 0x100737d4
lea eax, [ebp - 0x10]
push eax
call fcn.1007300a
pop ecx
jmp 0x100737e7
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x100738b2
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100734f7
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100738b2
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100738b2
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100738b2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1007383f
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1006aa81
test ebx, ebx
je 0x100738ad
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1006aa81
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100738b2
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100738b2
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100772e4
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100738b4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10055aaa
leave
ret
Function at 0x10077ae1
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10077a5d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10077c50
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10077c50
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10077c05
jg 0x10077b3d
test eax, eax
je 0x10077bfb
push 1
push 0x1000
call fcn.1006a44a
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10077b60
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10077bf2
push 0x8000
push ebx
call fcn.1007798e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10077b89
jg 0x10077b84
cmp ecx, 0x1000
jb 0x10077b89
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10069cb0
add esp, 0x10
cmp eax, 0xffffffff
je 0x10077bce
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10077b84
jl 0x10077bb5
test ecx, ecx
jne 0x10077b76
push dword [ebp - 0xc]
push ebx
call fcn.1007798e
push esi
call fcn.10069ecc
add esp, 0xc
xor ebx, ebx
jmp 0x10077c5e
cmp byte [edi + 0x24], 0
je 0x10077be5
cmp dword [edi + 0x20], 5
jne 0x10077be5
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10077bf0
mov ebx, dword [edi + 0x18]
jmp 0x10077bf2
xor ebx, ebx
push esi
call fcn.10069ecc
pop ecx
jmp 0x10077c5e
test ecx, ecx
jg 0x10077bc7
jl 0x10077c05
test eax, eax
jae 0x10077bc7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1006b98e
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10077c25
cmp byte [edi + 0x1c], 0
je 0x10077bc7
jmp 0x10077c56
push ebx
call fcn.10073cdb
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10077bc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10077c5e
cmp byte [edi + 0x1c], 0
je 0x10077c5b
mov ebx, dword [edi + 0x18]
jmp 0x10077c5e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1006b98e
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a004]
jne 0x40100a
repz ret
jmp fcn.004013f0

Function at 0x40736e
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.004046f8
and dword [ebp - 4], 0
cmp dword [0x41c184], 0
mov ebx, eax
jne 0x40741f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4074d0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4074d0
push eax
call fcn.00404686
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41c184], eax
call esi
push eax
call fcn.00404686
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41c188], eax
call esi
push eax
call fcn.00404686
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41c18c], eax
call esi
push eax
call fcn.00404686
pop ecx
mov dword [0x41c194], eax
test eax, eax
je 0x40741f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404686
pop ecx
mov dword [0x41c190], eax
mov eax, dword [0x41c190]
cmp eax, ebx
je 0x407477
cmp dword [0x41c194], ebx
je 0x407477
push eax
call fcn.00404701
push dword [0x41c194]
mov esi, eax
call fcn.00404701
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407477
test edi, edi
je 0x407477
call esi
test eax, eax
je 0x40746e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40746e
test byte [ebp - 0xc], 1
jne 0x407477
or dword [ebp + 0x10], 0x200000
jmp 0x4074b0
mov eax, dword [0x41c188]
cmp eax, ebx
je 0x4074b0
push eax
call fcn.00404701
pop ecx
test eax, eax
je 0x4074b0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4074b0
mov eax, dword [0x41c18c]
cmp eax, ebx
je 0x4074b0
push eax
call fcn.00404701
pop ecx
test eax, eax
je 0x4074b0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41c184]
call fcn.00404701
pop ecx
test eax, eax
je 0x4074d0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4074d2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x4edb3d2d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x26ed62f5
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x407b20
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.00408410
mov eax, dword [esi]
test eax, eax
je 0x407bb0
mov edi, dword [eax + 0x28]
mov ebx, dword [eax + 0x2c]
xor esi, esi
cmp edi, ebx
jne 0x407b73
lea ecx, [ebp - 0x14]
call fcn.00407bd0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005810d5
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp dword [edi + 0x50], 0
jne 0x407bab
cmp byte [edi + 0x1b], 0
js 0x407b84
lea eax, [edi + 0x10]
jmp 0x407b87
mov eax, dword [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
mov eax, dword [ebp + 8]
jne 0x407bab
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jb 0x407bb7
mov ecx, eax
push edi
call fcn.00409f30
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
add edi, 0x58
jmp 0x407b51
mov esi, 3
jmp 0x407b55
push edi
push ecx
mov dword [ebp - 0x18], ecx
call fcn.005f69c0
mov eax, dword [ebp - 0x18]
add esp, 8
add eax, 0x50
jmp 0x407ba5
Function at 0x409370
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xac
mov edi, dword [ebp + 8]
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x409393
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4093be
test eax, 0x410
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005810d5
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [0x650774], 2
jg 0x40940b
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 2
push 0x73
push str.filesystem_win.cc
call fcn.00409720
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.00545ec0
add esp, 0xc
push edi
push eax
call fcn.00453e70
add esp, 8
mov ecx, esi
call fcn.00409610
xor ebx, ebx
jmp 0x4093a7

Function at 0x409560
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xac
mov edi, dword [ebp + 8]
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x409583
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4095f8
cmp dword [0x650774], 2
jg 0x4095df
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 2
push 0x80
push str.filesystem_win.cc
call fcn.00409720
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.00545ec0
add esp, 0xc
push edi
push eax
call fcn.00453e70
add esp, 8
mov ecx, esi
call fcn.00409610
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005810d5
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, eax
bt eax, 0xa
jae 0x409606
cmp byte [ebp + 0xc], 0
je 0x4095df
and ebx, 0x10
shr ebx, 4
jmp 0x4095e1
Function at 0x40c330
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2b8
mov edi, edx
mov dword [ebp - 0x2c0], ecx
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x2a4]
push 0x294
push 0xff
push esi
call fcn.00582870
add esp, 0xc
xor ebx, ebx
mov ecx, esi
push ebx
push ebx
mov dword [ebp - 0x2c4], edi
push edi
push 3
push ebx
push dword [ebp - 0x2c0]
call fcn.0040c6e0
xor eax, eax
dec eax
lea esi, [ebp - 0x2b0]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea ecx, [ebp - 0x2a4]
push esi
call fcn.00544c80
movsx eax, byte [esi + 0xb]
mov ecx, eax
test eax, eax
jns 0x40c3af
mov ecx, dword [ebp - 0x2ac]
test ecx, ecx
je 0x40c479
xor edi, edi
cmp byte [ebp - 0x2a4], 0
je 0x40c4ad
mov ebx, dword [ebp - 0x2a0]
test bl, 1
jne 0x40c4be
test bl, 0x10
jne 0x40c4f5
cmp byte [ebp - 0x2a5], 0
mov eax, esi
jns 0x40c3ef
mov eax, dword [ebp - 0x2b0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40c4b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebx, ebx
cmp ecx, 2
je 0x40c412
mov ebx, eax
test edi, edi
cmovne ebx, edi
lea ecx, [ebp - 0x2a4]
lea eax, [ebp - 0x2bc]
push eax
call fcn.00544c80
cmp byte [ebp - 0x2a5], 0
jns 0x40c440
push dword [ebp - 0x2b0]
call fcn.0057dc2b
add esp, 4
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2a8], eax
movsd xmm0, qword [ebp - 0x2bc]
movsd qword [ebp - 0x2b0], xmm0
movsx eax, byte [ebp - 0x2a5]
mov ecx, eax
test eax, eax
jns 0x40c46f
mov ecx, dword [ebp - 0x2ac]
mov edi, ebx
test ecx, ecx
jne 0x40c3b9
test al, al
jns 0x40c48b
push dword [ebp - 0x2b0]
call fcn.0057dc2b
add esp, 4
lea ecx, [ebp - 0x2a4]
call fcn.0040c560
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005810d5
mov eax, ebx
add esp, 0x2b8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.005ab050
jmp 0x40c3de
xor ebx, ebx
jmp 0x40c412
mov ecx, ebx
test bl, 0x10
je 0x40c4d1
xor ebx, ebx
cmp byte [ebp + 8], 0
je 0x40c412
test al, al
js 0x40c4dd
lea eax, [ebp - 0x2b0]
jmp 0x40c4e3
mov eax, dword [ebp - 0x2b0]
mov ebx, ecx
and ecx, 0xfffffffe
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x40c3d5
xor ebx, ebx
cmp byte [ebp + 8], 0
je 0x40c412
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2c0], ecx
mov edx, dword [ebp - 0x2c4]
push 1
call fcn.0040c330
add esp, 4
mov ebx, eax
test eax, eax
jne 0x40c412
cmp byte [ebp - 0x2a5], 0
jns 0x40c53c
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x2c0], eax
push dword [ebp - 0x2c0]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, 0
test eax, eax
jne 0x40c412
jmp 0x40c3fe
Function at 0x40de40
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [esp + 0x40], eax
movsd xmm0, qword [0x64f658]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x40de6b
jnp 0x40dec2
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x40]
xor ecx, ebp
call fcn.005810d5
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x64f668
call fcn.0057dc73
add esp, 4
cmp dword [0x64f668], 0xffffffff
jne 0x40defd
rdtsc
mov dword [0x64f660], eax
mov dword [0x64f664], edx
push 0x64f668
call fcn.0057dcc2
add esp, 4
jmp 0x40defd
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call esi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x64f668]
mov ecx, dword [0x64d82c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40de90
mov eax, dword [0x64f678]
mov ecx, dword [0x64d82c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40dff3
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
xor eax, eax
lea esi, [esp + 0x38]
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [esi]
mov edi, dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub ebx, dword [0x64f670]
sbb edi, dword [0x64f674]
movd xmm0, edi
movd xmm1, ebx
punpckldq xmm1, xmm0
movq qword [esp + 0x28], xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
fild qword [esp + 0x38]
fstp qword [esp + 0x30]
divsd xmm1, qword [esp + 0x30]
pxor xmm0, xmm0
movsd xmm2, qword [0x62c640]
ucomisd xmm2, xmm1
ja 0x40de6b
mov eax, dword [esp + 8]
sub eax, dword [0x64f660]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x64f664]
movd xmm2, ecx
movd xmm0, eax
punpckldq xmm0, xmm2
punpckldq xmm0, xmmword [0x62c620]
subpd xmm0, xmmword [0x62c630]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x64f658], xmm0
jmp 0x40de6b
push 0x64f678
call fcn.0057dc73
add esp, 4
cmp dword [0x64f678], 0xffffffff
jne 0x40df1e
xor eax, eax
lea esi, [esp + 0x38]
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [0x64f674], ecx
mov dword [0x64f670], eax
push 0x64f678
call fcn.0057dcc2
add esp, 4
jmp 0x40df1e
Function at 0x40eb90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x40ebc8
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x40ebd2
lea eax, [ebx + 1]
cmp eax, 2
jb 0x40ebc1
mov dword [esi], ebx
call fcn.005050f0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.005050f0
mov eax, dword [esi]
cmp dword [0x65b01c], 0
mov dword [ebp - 0x18], eax
je 0x40ec0b
mov eax, dword [0x65b01c]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x6445dc]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x40ebb2
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6384a9
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ec47
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x40ec41
call dword [0x6445dc]
call ecx
push 0
push eax
call fcn.004464e0
add esp, 8
jmp 0x40ebe5
push 1
push 0
jmp 0x40ec37
xor eax, eax
push eax
jmp 0x40ec36
Function at 0x412240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x41227e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x41229c
lea eax, [ebx + 1]
cmp eax, 2
jb 0x412277
mov dword [esi], ebx
call fcn.005050f0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x412311
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.005050f0
mov eax, dword [esi]
cmp dword [0x65b01c], 0
mov dword [ebp - 0x18], eax
je 0x4122d5
mov eax, dword [0x65b01c]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x6445dc]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x412268
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6384a9
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x412314
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x41230b
call dword [0x6445dc]
call ecx
push 0
push eax
call fcn.004464e0
add esp, 8
jmp 0x4122af
push 1
push 0
jmp 0x412301
int3
xor eax, eax
push eax
jmp 0x412300

Function at 0x415760
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x6507bc]
test ebx, ebx
jne 0x4157e4
push 0x28
call fcn.0057dc30
add esp, 4
mov esi, eax
xor edi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov byte [eax + 8], 0
push 0xc
call fcn.0057dc30
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x4157ee
mov dword [eax + 8], edi
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [esi + 0x10], ecx
mov eax, esi
add eax, 0x1c
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], 1
mov dword [0x6507bc], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x4157f1
mov edi, eax
push eax
call fcn.0057f442
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00556150
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
int3
int3
Function at 0x416920
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [eax], 0
lea edi, [ebx + 1]
cmp edi, 2
jb 0x416943
call fcn.005050f0
cmp dword [esi], ebx
je 0x41696d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x416992
cmp edi, 2
jb 0x416964
mov dword [esi], ebx
call fcn.005050f0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 4]
mov byte [esi + 4], al
mov byte [ecx + 4], 0
mov eax, dword [ecx]
inc eax
cmp eax, 2
jae 0x416a07
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.005050f0
mov eax, dword [esi]
cmp dword [0x65b01c], 0
mov dword [ebp - 0x18], eax
je 0x4169cb
mov eax, dword [0x65b01c]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x6445dc]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x416958
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6384a9
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416a11
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x416a01
call dword [0x6445dc]
call ecx
push 0
push eax
call fcn.004464e0
add esp, 8
jmp 0x4169a5
push 1
push 0
jmp 0x4169f7
call fcn.0056f500
jmp 0x416986
xor eax, eax
push eax
jmp 0x4169f6

Function at 0x416a20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.0057f442
add esp, 4
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop edi
pop ebx
pop ebp
ret 8