joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c934
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a6d90]
jne 0x48c93e
repz ret
jmp fcn.00491207

Function at 0x48f254
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a6d90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004898c2
and dword [ebp - 0x14], 0
cmp dword [0x4a9ad4], 0
mov dword [ebp - 0x18], eax
jne 0x48f307
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x48f3af
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x48f3af
mov esi, dword [fcn.00485430]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4a9ad4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a9ad8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a9adc], eax
call edi
push eax
call esi
mov dword [0x4a9ae4], eax
test eax, eax
je 0x48f307
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a9ae0], eax
mov eax, dword [0x4a9ae0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00485434]
cmp eax, ecx
je 0x48f360
cmp dword [0x4a9ae4], ecx
je 0x48f360
push eax
call esi
push dword [0x4a9ae4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x48f360
test ebx, ebx
je 0x48f360
call edi
test eax, eax
je 0x48f357
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x48f357
test byte [ebp - 8], 1
jne 0x48f360
or dword [ebp + 0x10], 0x200000
jmp 0x48f393
mov eax, dword [0x4a9ad8]
cmp eax, dword [ebp - 0x18]
je 0x48f393
push eax
call esi
test eax, eax
je 0x48f393
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x48f393
mov eax, dword [0x4a9adc]
cmp eax, dword [ebp - 0x18]
je 0x48f393
push eax
call esi
test eax, eax
je 0x48f393
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a9ad4]
call esi
test eax, eax
je 0x48f3af
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x48f3b1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048c934
leave
ret
Function at 0x4028d0
Capabilities:
Terminate process

Disassembly:
call 0x532000
push 0x18
push 0x4029f8
call fcn.004032a6
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.MSVCR120_CLR0400.dll___crtGetShowWindowMode]
movzx ebx, ax
mov dword [ebp - 4], esi
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
mov edi, esi
mov esi, 0x4150e8
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x404373
xor esi, esi
inc esi
cmp dword [0x4150ec], esi
je 0x404385
cmp dword [0x4150ec], 0
jne 0x402a1e
mov dword [0x4150ec], esi
push 0x4029f4
push 0x4029e4
call sub.MSVCR120_CLR0400.dll__initterm_e
pop ecx
pop ecx
test eax, eax
jne 0x404392
cmp dword [0x4150ec], esi
jne 0x402973
push 0x4029e0
push 0x4029cc
call sub.MSVCR120_CLR0400.dll__initterm
pop ecx
pop ecx
mov dword [0x4150ec], 2
test edi, edi
jne 0x402980
xor eax, eax
mov ecx, 0x4150e8
xchg dword [ecx], eax
cmp dword [0x4150f8], 0
jne 0x4043a3
mov eax, dword [sym.imp.MSVCR120_CLR0400.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov edi, dword [ebp - 0x24]
nop
nop
nop
nop
nop
nop
mov cl, byte [esi]
cmp cl, 0x20
jbe 0x402a14
cmp cl, 0x22
je 0x4043d1
movzx eax, cl
push eax
call dword [sym.imp.MSVCR120_CLR0400.dll__ismbblead]
pop ecx
test eax, eax
jne 0x4043e2
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4029a0
test cl, cl
je 0x402a29
test edi, edi
je 0x402a29
jmp 0x4029a7
mov dword [0x415244], esi
jmp 0x402950
mov al, byte [esi]
test al, al
je 0x402a39
cmp al, 0x20
ja 0x402a39
inc esi
mov dword [ebp - 0x20], esi
jmp 0x402a29
push ebx
push esi
push 0
push 0x400000
call fcn.00403044
mov dword [0x415060], eax
cmp dword [0x415064], 0
jne 0x40441a
push eax
call dword [sym.imp.MSVCR120_CLR0400.dll_exit]
test ecx, ecx
je 0x402a82
push ecx
call fcn.0040117d
jmp 0x402a82
mov eax, esi
pop esi
pop ebp
ret 4
cmp eax, edx
jne 0x402905
xor esi, esi
inc esi
mov edi, esi
jmp 0x402918
push 0x1f
call sub.MSVCR120_CLR0400.dll__amsg_exit
pop ecx
jmp 0x402950
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x404435
push 0x4150f8
call fcn.0040fdd0
pop ecx
test eax, eax
je 0x40298d
push 0
push 2
push 0
mov esi, dword [0x4150f8]
mov ecx, esi
call dword [0x416268]
call esi
jmp 0x40298d
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x24], edi
jmp 0x4029b0
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4029c3
cmp dword [0x415244], 0
jne 0x40442e
call dword [sym.imp.MSVCR120_CLR0400.dll__cexit]
mov eax, dword [0x415060]
mov dword [ebp - 4], 0xfffffffe
call fcn.004032ee
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push 0
mov ebp, esp
and esp, 0xfffffff0
sub esp, 4
mov edx, 0
jmp fcn.004095e2

Function at 0x401af5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.0040733c
pop ecx
mov esi, eax
mov eax, esi
add eax, dword [ebp + 8]
mov edi, eax
mov byte [ebp - 1], 0x20
mov eax, esi
movzx ecx, byte [ebp - 1]
or eax, ecx
mov ebx, eax
jmp 0x401b46
dec edi
mov eax, edi
movsx eax, byte [eax]
movzx ecx, byte [ebp - 1]
or eax, ecx
mov byte [ebp - 9], al
mov eax, ebx
shl eax, 0xe
mov ecx, ebx
shr ecx, 2
or eax, ecx
movzx eax, ax
movzx ecx, byte [ebp - 9]
xor eax, ecx
mov ebx, eax
mov eax, esi
dec esi
test eax, eax
jne 0x401b20
mov eax, ebx
sub edx, edx
div dword [ebp + 0xc]
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x409ae0
mov eax, 1
jmp 0x409aeb
mov eax, ebx
and eax, 1
sete al
movzx eax, al
pop ebx
pop ebp
ret

Function at 0x40a2c0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x2c4
push 0x40
call sub.KERNEL32.DLL_LocalAlloc
mov ebx, eax
test ebx, ebx
jne 0x40a2f3
push str.out_of_memory
push dword [0x420f5c]
call fcn.004068f2
add esp, 8
call fcn.0040a3f9
push ebx
call sub.KERNEL32.DLL_LocalLock
mov esi, eax
mov dword [esi + 4], ebx
push esi
push dword [0x423f80]
call sub.KERNEL32.DLL_TlsSetValue
test edi, edi
je 0x40a313
call fcn.00409940
mov eax, dword [0x423f84]
mov dword [esi], eax
mov dword [0x423f84], esi
test edi, edi
je 0x40a329
call fcn.0040994f
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40ce95
Capabilities:
Get common file path
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
lea esi, [ebp - 8]
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x108]
push ebx
push pe_nt_image_headers32
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test edi, edi
je 0x40cecf
movsx eax, byte [ebx]
sub eax, 0x40
mov dword [edi], eax
movsx eax, byte [ebx]
cmp eax, 0x61
jl 0x40cecf
sub dword [edi], 0x20
mov byte [esi], 0x3d
mov al, byte [ebx]
mov byte [esi + 1], al
mov byte [esi + 2], 0x3a
mov byte [esi + 3], 0x5c
mov byte [esi + 4], 0
push ebx
push esi
call sub.KERNEL32.DLL_SetEnvironmentVariableA
mov eax, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40cef6
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ebx
and eax, 0x80
je 0x40cf0d
mov eax, 0x80
jmp 0x40cf12
mov eax, 1
mov ebx, eax
push ebx
push dword [ebp + 8]
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
je 0x40cf28
mov eax, 0
jmp 0x40cf3d
call sub.KERNEL32.DLL_GetLastError
push eax
call fcn.0040a28c
mov ecx, eax
pop eax
mov dword [ecx], eax
mov eax, 0xffffffff
pop ebx
pop ebp
ret
Function at 0x40cf40
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
push esi
call fcn.00409a98
pop ecx
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
cmp eax, 0xffffffff
jne 0x40cf72
mov eax, dword [ebp - 0x104]
jmp 0x40d084
push 2
push 0
push esi
call fcn.00409bb8
add esp, 0xc
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40cf8d
mov eax, ebx
jmp 0x40d084
push esi
call fcn.00409a98
pop ecx
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40cfa2
mov eax, ebx
jmp 0x40d084
cmp ebx, dword [ebp + 0xc]
je 0x40d073
cmp ebx, dword [ebp + 0xc]
jge 0x40d038
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x100]
push eax
call fcn.00406850
add esp, 0xc
mov eax, dword [ebp + 0xc]
sub eax, ebx
mov ebx, eax
jmp 0x40d007
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
push esi
call fcn.00409db0
add esp, 0xc
mov edi, eax
cmp edi, 0xffffffff
je 0x40cff7
cmp edi, 0x100
je 0x40d001
mov eax, 0xffffffff
jmp 0x40d084
sub ebx, 0x100
cmp ebx, 0x100
jge 0x40cfd3
test ebx, ebx
je 0x40d036
push ebx
lea eax, [ebp - 0x100]
push eax
push esi
call fcn.00409db0
add esp, 0xc
mov edi, eax
cmp edi, 0xffffffff
je 0x40d02f
cmp edi, ebx
je 0x40d036
mov eax, 0xffffffff
jmp 0x40d084
jmp 0x40d073
push 0
push dword [ebp + 0xc]
push esi
call fcn.00409bb8
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40d052
mov eax, 0xffffffff
jmp 0x40d084
push esi
call sub.KERNEL32.DLL_SetEndOfFile
test eax, eax
jne 0x40d073
call sub.KERNEL32.DLL_GetLastError
push eax
call fcn.0040a28c
mov ecx, eax
pop eax
mov dword [ecx], eax
mov eax, 0xffffffff
jmp 0x40d084
push 0
push dword [ebp - 0x104]
push esi
call fcn.00409bb8
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b955
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov al, byte [ecx]
and dword [esp + 0x14], 0
push ebx
push ebp
mov byte [edx], al
lea eax, [edx + 1]
push esi
mov dword [esp + 0x18], eax
push edi
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
call fcn.0042b8fe
test eax, eax
je 0x42baae
lea ecx, [esp + 0x18]
call fcn.0042b8fe
lea ecx, [esp + 0x18]
test eax, eax
je 0x42ba1d
call fcn.0042b8fe
test eax, eax
je 0x42b9df
push 4
xor edi, edi
pop ebx
lea ecx, [esp + 0x18]
call fcn.0042b8fe
lea edi, [eax + edi*2]
dec ebx
jne 0x42b9b5
mov edx, dword [esp + 0x1c]
test edi, edi
je 0x42b9d6
mov eax, edx
sub eax, edi
mov al, byte [eax]
mov byte [edx], al
jmp 0x42b9d9
mov byte [edx], 0
inc edx
jmp 0x42bac0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx esi, byte [eax]
mov ecx, esi
and ecx, 1
inc eax
add ecx, 2
shr esi, 1
mov dword [esp + 0x18], eax
je 0x42ba15
test ecx, ecx
je 0x42baa9
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x42ba07
jmp 0x42baa5
xor ebp, ebp
inc ebp
jmp 0x42baa9
call fcn.0042b934
test edi, edi
jne 0x42ba52
cmp eax, 2
jne 0x42ba4d
lea ecx, [esp + 0x18]
call fcn.0042b934
mov edx, dword [esp + 0x1c]
mov edi, eax
test edi, edi
je 0x42baa9
mov ecx, edx
sub ecx, esi
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
dec edi
jne 0x42ba42
jmp 0x42baa5
sub eax, 3
jmp 0x42ba55
sub eax, 2
mov ecx, dword [esp + 0x18]
mov esi, eax
movzx eax, byte [ecx]
shl esi, 8
add esi, eax
inc ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
call fcn.0042b934
mov ecx, eax
cmp esi, 0x7d00
jb 0x42ba7c
inc ecx
cmp esi, 0x500
jb 0x42ba85
inc ecx
cmp esi, 0x80
jae 0x42ba90
add ecx, 2
mov edx, dword [esp + 0x1c]
test ecx, ecx
je 0x42baa9
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x42ba9c
mov dword [esp + 0x1c], edx
xor edi, edi
inc edi
jmp 0x42bac6
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x1c], edx
test ebp, ebp
je 0x42b985
sub edx, dword [esp + 0x14]
pop edi
mov eax, edx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42bc4b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, edi
shr ebx, 2
and edi, 3
mov esi, ecx
test ebx, ebx
je 0x42bc7d
mov al, byte [esp + 0x14]
mov edx, dword [esi]
add al, bl
movzx ecx, al
mov eax, dword [esp + 0x10]
ror edx, cl
xor edx, eax
sub edx, ebx
mov dword [esi], edx
add esi, 4
dec ebx
jne 0x42bc5e
jmp 0x42bc81
mov eax, dword [esp + 0x10]
test edi, edi
je 0x42bc8b
xor byte [esi], al
inc esi
dec edi
jne 0x42bc85
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43f004]
jne 0x401010
repz ret
jmp fcn.004016df

Function at 0x4065a8
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.00402408
and dword [ebp - 4], 0
cmp dword [0x440fdc], 0
mov ebx, eax
jne 0x406659
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40670a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40670a
push eax
call fcn.00402396
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x440fdc], eax
call esi
push eax
call fcn.00402396
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x440fe0], eax
call esi
push eax
call fcn.00402396
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x440fe4], eax
call esi
push eax
call fcn.00402396
pop ecx
mov dword [0x440fec], eax
test eax, eax
je 0x406659
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402396
pop ecx
mov dword [0x440fe8], eax
mov eax, dword [0x440fe8]
cmp eax, ebx
je 0x4066b1
cmp dword [0x440fec], ebx
je 0x4066b1
push eax
call fcn.00402411
push dword [0x440fec]
mov esi, eax
call fcn.00402411
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4066b1
test edi, edi
je 0x4066b1
call esi
test eax, eax
je 0x4066a8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4066a8
test byte [ebp - 0xc], 1
jne 0x4066b1
or dword [ebp + 0x10], 0x200000
jmp 0x4066ea
mov eax, dword [0x440fe0]
cmp eax, ebx
je 0x4066ea
push eax
call fcn.00402411
pop ecx
test eax, eax
je 0x4066ea
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4066ea
mov eax, dword [0x440fe4]
cmp eax, ebx
je 0x4066ea
push eax
call fcn.00402411
pop ecx
test eax, eax
je 0x4066ea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x440fdc]
call fcn.00402411
pop ecx
test eax, eax
je 0x40670a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40670c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x437a80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push edi
cmp ebp, 0x19f
jne 0x437aa1
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edi, edi
test ebp, ebp
jle 0x437af6
push esi
jmp 0x437ab0
lea esi, [esp + 0x10]
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 0
call fcn.00437a70
mov eax, dword [esp + 0x10]
add eax, 0x46
mov dword [esp + 0xc], eax
sub dword [esp + 0xc], 0x46
movsx eax, byte [edi + ebx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
xor dword [esp + 0x18], eax
mov cl, byte [esp + 0x18]
mov byte [edi + ebx], cl
inc edi
cmp edi, ebp
jl 0x437ab0
pop esi
pop edi
cmp ebp, 0x2d
pop ebp
jne 0x437b11
mov dword [0x2b3f1f8], 0xa62e7790
mov dword [0x2b3f1fc], 0xffffffff
add esp, 8
ret
Function at 0x403a40
Capabilities:
Terminate process

Disassembly:
sub esp, 0x104
mov eax, dword [0x47a040]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [0x555a40]
test eax, eax
push esi
mov esi, dword [0x5559e4]
mov dword [0x5559e8], 1
jne 0x403a74
mov esi, dword [0x5511e8]
push 0x45e2f0
lea eax, [esp + 8]
push eax
call dword [0x45e1a8]
mov ecx, dword [0x542344]
push esi
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x90]
push str._sERR_CODE:_02u_05u
push eax
call dword [0x45e280]
mov ecx, dword [0x4941b0]
add esp, 0x14
push ecx
mov dword [0x494188], 1
call dword [0x45e284]
push 0
push 0x64
call fcn.0043a920
add esp, 8
push 0
call fcn.00450894
pop esi
int3
Function at 0x409380
Capabilities:
Terminate process

Disassembly:
sub esp, 0x144
mov eax, dword [0x47a040]
mov edx, dword [esp + 0x148]
xor eax, esp
push edi
mov dword [esp + 0x144], eax
xor eax, eax
mov dword [esp + 4], 0x45eb88
mov ecx, 0xf
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x150]
push eax
push edx
mov edx, dword [esp + ecx*4 + 0xc]
push edx
lea eax, [esp + 0x50]
push 0x45eb70
push eax
call dword [0x45e280]
add esp, 0x14
push 0x1000
push str.Error_Message
lea ecx, [esp + 0x4c]
push ecx
push 0
call dword [0x45e27c]
push 0
call fcn.00450894
pop edi
int3
Function at 0x41c860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
mov eax, dword [esp + 0x84]
test eax, eax
mov ecx, dword [esp + 0x8c]
push esi
push edi
mov edi, dword [0x4d602c]
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0x46052c
mov dword [esp + 0x10], 0x460528
mov dword [esp + 0x14], 0x460524
mov dword [esp + 0x18], 0x460520
mov dword [esp + 0x1c], 0x46051c
mov dword [esp + 0x20], 0x460518
mov dword [esp + 0x24], 0x460514
mov dword [esp + 0x28], 0x460510
mov dword [esp + 0x2c], 0x46050c
mov dword [esp + 0x30], 0x460508
mov dword [esp + 0x34], 0x460504
mov dword [esp + 0x38], 0x460500
mov dword [esp + 0x3c], 0x4604fc
mov dword [esp + 0x40], 0x4604f8
mov dword [esp + 0x44], 0x4604f4
mov dword [esp + 0x48], 0x4604f0
mov dword [esp + 0x4c], 0x4604ec
mov dword [esp + 0x50], 0x4604e8
mov dword [esp + 0x54], 0x4604e4
mov dword [esp + 0x58], 0x4604e0
mov dword [esp + 0x5c], 0x4604dc
mov dword [esp + 0x60], 0x4604d8
mov dword [esp + 0x64], 0x4604d4
mov dword [esp + 0x68], 0x4604d0
mov dword [esp + 0x6c], 0x4604cc
mov dword [esp + 0x70], 0x4604c8
mov dword [esp + 0x74], 0x4604c4
mov dword [esp + 0x78], 0x4604c0
mov dword [esp + 0x7c], 0x4604bc
mov dword [esp + 0x80], 0x4604b8
mov dword [esp + 0x84], 0x4604b4
jne 0x41c9fb
mov eax, dword [ecx + 0x5c]
mov esi, dword [esp + 0x90]
push ebx
shl eax, 1
xor edx, edx
push ebp
mov ebx, dword [esp + edx*4 + 0x14]
mov bp, word [esi]
cmp bp, word [ebx]
je 0x41c9aa
inc edx
cmp edx, 0x1f
jl 0x41c996
jmp 0x41c9af
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ecx + 0x34]
cmp edx, 3
pop ebp
pop ebx
ja case.default.0x41c9b9
jmp dword [edx*4 + 0x41ca6c]
mov edx, dword [ecx + 0x4c]
add eax, edi
cmp eax, edx
jg 0x41c9fb
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x80
ret
mov edx, dword [ecx + 0x4c]
add eax, edi
cmp eax, edx
jmp 0x41c9f9
mov edx, dword [0x4d6028]
add edx, eax
cmp edx, dword [ecx + 0x50]
jle case.default.0x41c9b9
jmp 0x41c9fb
mov edx, dword [0x4d6028]
add edx, eax
cmp edx, dword [ecx + 0x50]
jge case.default.0x41c9b9
mov eax, dword [ecx + 0x38]
cmp eax, 3
ja case.default.0x41ca03
jmp dword [eax*4 + 0x41ca7c]
mov eax, dword [ecx + 0x64]
lea edx, [edi + eax*2]
cmp edx, dword [ecx + 0x4c]
jg 0x41ca5d
pop edi
mov eax, 2
pop esi
add esp, 0x80
ret
mov eax, dword [ecx + 0x64]
mov edx, dword [ecx + 0x4c]
add eax, edi
jmp 0x41ca59
mov eax, dword [0x4d6028]
mov edx, dword [ecx + 0x64]
lea edx, [eax + edx*2]
cmp edx, dword [ecx + 0x50]
jle case.default.0x41ca03
pop edi
mov eax, 4
pop esi
add esp, 0x80
ret
mov eax, dword [ecx + 0x64]
mov esi, dword [0x4d6028]
mov edx, dword [ecx + 0x50]
add eax, esi
cmp eax, edx
jge case.default.0x41ca03
pop edi
mov eax, 4
pop esi
add esp, 0x80
ret
Function at 0x41fd60
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov eax, dword [0x517ca4]
sub esp, 8
test eax, eax
jns 0x41fd4e
push esi
push edi
xor esi, esi
push 0x80
mov dword [0x517ca8], esi
call dword [0x45e058]
push eax
call dword [0x45e0e4]
push 2
call dword [0x45e184]
push eax
call dword [0x45e188]
push 0x517d10
call dword [0x45e18c]
test eax, eax
je 0x41fcb4
fild qword [0x517d10]
fmul qword [0x460548]
fstp qword [0x517cd8]
fld qword [0x460540]
fld qword [0x517cd8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x41fcb4
push ebx
push ebp
push 0x517d08
mov dword [0x517d00], esi
mov dword [0x517d04], esi
mov dword [0x517d08], esi
mov dword [0x517d0c], esi
call dword [0x45e190]
rdtsc
mov dword [0x517cec], eax
mov dword [0x517ce4], edx
mov esi, dword [0x517d00]
mov ebx, dword [0x517d08]
mov edi, dword [0x517d04]
mov ebp, dword [0x517d0c]
mov eax, esi
sub eax, ebx
mov ecx, edi
sbb ecx, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fild qword [esp + 0x10]
fcomp qword [0x517cd8]
fnstsw ax
test ah, 5
jp 0x41fc35
push 0x517d00
call dword [0x45e190]
rdtsc
mov dword [0x517ce8], eax
mov dword [0x517ce0], edx
mov esi, dword [0x517d00]
mov ebx, dword [0x517d08]
mov edi, dword [0x517d04]
mov ebp, dword [0x517d0c]
mov edx, esi
sub edx, ebx
mov eax, edi
sbb eax, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
fild qword [esp + 0x10]
fcomp qword [0x517cd8]
fnstsw ax
test ah, 5
jnp 0x41fbe4
mov edx, dword [0x517cec]
mov ecx, dword [0x517ce4]
mov eax, dword [0x517ce8]
mov dword [0x517cfc], ecx
mov ecx, dword [0x517ce0]
mov dword [0x517cf8], edx
mov dword [0x517cf0], eax
sub eax, edx
mov edx, dword [0x517cfc]
mov dword [0x517cf4], ecx
sbb ecx, edx
mov edx, dword [0x517d14]
push edx
mov edx, dword [0x517d10]
push edx
push ecx
push eax
call fcn.004509f0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
sub esi, ebx
sbb edi, ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
fild qword [esp + 0x10]
fmul qword [0x460538]
fdivp st(1)
call fcn.0045096c
pop ebp
mov dword [0x517ca8], eax
xor esi, esi
pop ebx
cmp dword [0x517ca8], esi
jne 0x41fd2f
rdtsc
mov dword [0x517cec], eax
mov dword [0x517ce4], edx
push 0x3e8
call dword [0x45e194]
rdtsc
mov dword [0x517ce8], eax
mov dword [0x517ce0], edx
mov edx, dword [0x517cec]
mov eax, dword [0x517ce8]
mov ecx, dword [0x517ce0]
mov edi, dword [0x517ce4]
mov dword [0x517cf0], eax
sub eax, edx
mov dword [0x517cf4], ecx
sbb ecx, edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
fild qword [esp + 8]
mov dword [0x517cf8], edx
mov dword [0x517cfc], edi
fmul qword [0x460530]
call fcn.0045096c
mov dword [0x517ca8], eax
push esi
call dword [0x45e184]
push eax
call dword [0x45e188]
push 0x20
call dword [0x45e058]
push eax
call dword [0x45e0e4]
pop edi
pop esi
add esp, 8
ret
push edi
xor eax, eax
mov ecx, 0xf
mov edi, 0x517c80
rep stosd dword es:[edi], eax
or eax, 0xffffffff
mov dword [0x517ca8], eax
mov dword [0x517cac], eax
mov dword [0x517cb0], eax
mov dword [0x517cb4], eax
mov dword [0x517cb8], eax
call fcn.0041f880
pop edi
jmp 0x41fb00