joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443f9b
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [ebp + 8]
test esi, esi
js 0x444020
jne 0x443faf
push 0
jmp 0x44401a
cmp esi, 0xf
jae 0x444019
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x444019
mov dword [ebp + 8], esi
fild dword [ebp + 8]
test esi, esi
jns 0x443fd2
fadd qword [0x4b6a00]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fstp qword [ebp - 0x28]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sbb eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fstp qword [ebp - 0x20]
call fcn.0041e2bd
fdivr qword [ebp - 0x20]
fcomp qword [ebp - 0x28]
fnstsw ax
test ah, 5
jnp 0x443fdb
jmp 0x444020
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
leave
ret 4

Function at 0x444170
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 4], eax
mov byte [esi + 0xa], al
mov eax, dword [ebp + 8]
mov dword [esi], 0xff
mov word [esi + 8], ax
test ax, ax
jne 0x444194
xor al, al
jmp 0x4441d9
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx eax, ax
cmp ax, 0xffff
je 0x444190
push ebx
mov ebx, eax
mov byte [esi], al
movzx eax, al
push 0
push eax
sar ebx, 8
call dword [0x48d674]
mov byte [esi + 7], al
test bl, 1
je 0x4441c4
mov byte [esi + 1], 1
test bl, 2
je 0x4441cd
mov byte [esi + 3], 1
test bl, 4
pop ebx
je 0x4441d7
mov byte [esi + 4], 1
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x445dde
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.00445baf
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
leave
ret 8
Function at 0x44732b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, ecx
xor esi, esi
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [0x4c32f9], 0
test edi, edi
je 0x44737d
mov byte [0x4c32fa], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
push eax
xor ecx, ecx
push ecx
lea eax, [ebp - 0xc]
push eax
push 0x44778f
push ecx
push ecx
mov dword [ebp - 8], edi
call fcn.0042217f
mov esi, eax
mov eax, dword [ebp - 4]
add esp, 0x18
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push eax
call dword [0x48d6e0]
mov edi, eax
test esi, esi
je 0x4473a8
push 0xffffffffffffffff
push esi
mov byte [0x4c32fa], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x4c32f9], 1
jne 0x4473b6
or eax, 0xffffffff
jmp 0x4473b8
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x447bf7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, ecx
push 0x10
push esi
call dword [0x48d678]
lea eax, [ebp - 8]
push eax
push 0x1f4
push 2
push edi
push edi
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x447c52
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 4]
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
leave
ret

Function at 0x449568
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx]
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
test al, 0x10
je 0x4495a2
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x4495df
mov dword [esi], edi
mov eax, dword [esi]
pop edi
pop esi
leave
ret 0x10
test dword [ebp + 8], eax
je 0x4495c8
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
test eax, eax
jne 0x44959c
push edi
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x449616
or eax, 0xffffffff
jmp 0x44959c
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
test eax, eax
je 0x4495ed
cmp eax, 0xffffffff
je 0x4495ed
push 1
mov edx, esi
mov ecx, eax
call fcn.00449428
pop ecx
jmp 0x44959a
push edi
push 0x80
push 3
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40000000
push 0x4b388c
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x449598
test eax, eax
je 0x449598
mov ecx, dword [esi]
push 1
lea edx, [ebp + 0x10]
call fcn.00449428
pop ecx
mov ecx, esi
call fcn.004493d1
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x44959a
Function at 0x46b33a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push ebx
push esi
push edi
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov ecx, 0x4c1628
call fcn.0040d3fe
test al, al
jne 0x46b363
xor eax, eax
jmp 0x46b53d
mov ecx, dword [ebp - 4]
mov eax, dword [0x4c1688]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [0x4c169c]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp + 0xc]
mov edi, dword [eax]
mov esi, dword [edi]
mov bl, byte [edi + 0x90]
mov dword [ebp - 8], esi
mov byte [ebp + 0xb], bl
call fcn.0041a73d
cmp dword [edi + 0x48], 0
jl 0x46b3a4
push dword [edi + 0x48]
call fcn.0046d13e
movzx eax, bl
mov ebx, dword [ebp + 0xc]
cmp eax, 0x12
jg 0x46b488
je 0x46b445
test eax, eax
je 0x46b435
jle 0x46b35c
cmp eax, 4
jle 0x46b4ce
cmp eax, 8
je 0x46b415
cmp eax, 0x10
je 0x46b3ff
cmp eax, 0x11
jne 0x46b35c
mov eax, dword [ebp + 0xc]
test eax, eax
js 0x46b35c
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.0041b050
push 1
push 0
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x46b526
cmp dword [ebp + 0xc], 0
jl 0x46b35c
push dword [ebp + 0xc]
push 0
push 0x111d
jmp 0x46b429
cmp dword [ebp + 0xc], 0
jl 0x46b35c
push dword [ebp + 0xc]
push 0
push 0x2001
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46b526
mov eax, dword [ebp + 0xc]
test eax, eax
jns 0x46b4f0
jmp 0x46b35c
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jl 0x46b35c
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.0041b050
test byte [edi + 0x92], 0x20
jne 0x46b526
mov esi, dword [0x48d704]
push 0
push dword [edi]
call esi
push 5
push dword [edi]
call esi
push dword [edi]
call dword [0x48d6ec]
jmp 0x46b526
cmp eax, 0x13
je 0x46b4db
cmp eax, 0x14
je 0x46b3d7
cmp eax, 0x17
je 0x46b4ce
cmp eax, 0x18
je 0x46b4b0
jle 0x46b35c
cmp eax, 0x1b
jle 0x46b4ce
jmp 0x46b35c
test ebx, ebx
js 0x46b35c
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0xb
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push ebx
mov dword [edi + 0x48], ebx
call fcn.0041b050
jmp 0x46b51b
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xfffffffe
je 0x46b35c
mov eax, 0xfe000000
cmp ebx, eax
jne 0x46b4fd
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.0041b050
jmp 0x46b526
push ebx
push 0
push 0x1001
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
push ebx
push 0
push 0x1026
push dword [ebp - 8]
call esi
push 1
push edi
push dword [ebp - 4]
call fcn.0046dfde
cmp dword [0x4c10ec], 0
je 0x46b53a
cmp byte [ebp + 0xb], 8
jne 0x46b53a
or eax, 0xffffffff
jmp 0x46b53d
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x46ccf7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov ecx, 0x4c1628
call fcn.0040d3fe
test al, al
jne 0x46cd21
xor eax, eax
jmp 0x46ce54
mov ecx, dword [ebp - 0xc]
mov eax, dword [0x4c1688]
push ebx
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov eax, dword [0x4c169c]
push esi
mov eax, dword [eax + ecx*4]
mov esi, dword [ebp + 0xc]
mov ecx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov edi, dword [eax]
mov ebx, dword [edi]
cmp esi, 0xffffffff
je 0x46cdbc
movzx eax, byte [edi + 0x90]
dec eax
dec eax
je 0x46cd88
dec eax
je 0x46cd8b
sub eax, 3
je 0x46cd83
dec eax
je 0x46cd7e
sub eax, 3
je 0x46cd76
sub eax, 0xc
jne 0x46cda9
jmp 0x46ce51
or esi, 0x4000000
jmp 0x46cda9
or esi, 3
jmp 0x46cda9
or esi, 0xe
jmp 0x46cda9
or esi, 4
push 0
test esi, 0x800
je 0x46cd99
push 1
jmp 0x46cda1
or esi, 0x10000
push 0
push 0xcf
push ebx
call ecx
or esi, 0x50000000
push esi
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x10]
cmp esi, 0xffffffff
je 0x46cdf9
push esi
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [0x4c169c]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
cmp byte [eax + 0x90], 0x13
jne 0x46cdf9
push esi
push 0
push 0x1036
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], eax
mov al, byte [edi + 0x93]
mov ecx, dword [ebp + 8]
cmp al, 0xff
je 0x46ce1c
movzx eax, al
cmp eax, dword [ecx + 0x190]
je 0x46ce1c
push 0
push ebx
call dword [0x48d704]
jmp 0x46ce25
push 1
push edi
push ecx
call fcn.0046dfde
mov al, byte [edi + 0x90]
cmp al, 2
je 0x46ce38
cmp al, 3
je 0x46ce38
cmp esi, 0xffffffff
je 0x46ce49
push 0x27
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x46e32e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0x44
push 0
mov ebx, 0x4c3d00
push ebx
call fcn.00420d50
push 0x10
push 0
mov esi, 0x4c3d44
push esi
call fcn.00420d50
add esp, 0x18
xor eax, eax
push esi
push ebx
inc eax
mov dword [0x4c3d2c], eax
mov word [0x4c3d30], ax
xor eax, eax
push eax
push eax
push 0x20
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x4c3d00], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop esi
pop ebx
test eax, eax
je 0x46e393
push dword [0x4c3d44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret 4

Function at 0x46e397
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov edx, dword [ebx + 4]
push edi
push 3
mov edi, ecx
mov dword [ebp + 8], edx
pop esi
cmp dword [ebx + 0x190], eax
je 0x46e44d
cmp dword [edi + 0x84], esi
jl 0x46e447
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x46e438
cmp dword [ecx + 4], edx
jne 0x46e438
mov dl, byte [ecx + 0x90]
cmp dl, 0xb
je 0x46e435
mov dh, byte [ecx + 0x93]
movzx eax, dh
cmp eax, dword [ebx + 0x190]
je 0x46e407
cmp byte [ebx + 0x198], 0
je 0x46e435
cmp dh, 0xff
je 0x46e435
cmp dl, 0xa
je 0x46e435
push 0
push dword [ecx]
call dword [0x48d704]
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
test byte [eax + 0x92], 0x40
je 0x46e435
cmp byte [eax + 0x90], 0x1a
jne 0x46e435
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp + 8]
inc esi
cmp esi, dword [edi + 0x84]
jle 0x46e3c7
mov eax, dword [ebp + 0xc]
push 3
pop esi
mov dword [ebx + 0x190], eax
cmp dword [edi + 0x84], esi
jl 0x46e4da
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x46e4cb
cmp dword [ecx + 4], edx
jne 0x46e4cb
cmp byte [ecx + 0x90], 0xb
je 0x46e4cb
movzx eax, byte [ecx + 0x93]
cmp eax, dword [ebx + 0x190]
jne 0x46e4cb
test byte [ecx + 0x92], 0x20
jne 0x46e4cb
push 0
push dword [ecx]
call dword [0x48d704]
mov eax, dword [edi + 0x74]
push 4
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
push dword [eax]
call dword [0x48d704]
mov eax, dword [edi + 0x74]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
test byte [eax + 0x92], 0x40
je 0x46e4cb
cmp byte [eax + 0x90], 0x1a
jne 0x46e4cb
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp + 8]
inc esi
cmp esi, dword [edi + 0x84]
jle 0x46e459
mov eax, dword [ebp + 0xc]
push 0
push eax
push 0x130c
push dword [ebx + 0x188]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x407f80
Capabilities:
Create directory

Disassembly:
push esi
push ebx
push eax
mov eax, 0x2010
call fcn.0040f50c
sub esp, eax
mov eax, dword [esp + eax]
mov esi, eax
mov eax, dword [0x43e0a0]
test eax, eax
je 0x408020
xor ebx, ebx
test eax, eax
jg 0x407fbb
jmp 0x407fd8
add ebx, 1
cmp dword [0x43e0a0], ebx
jle 0x407fd8
mov eax, dword [ebx*4 + 0x43d0a0]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x407fb0
jmp 0x408012
mov dword [esp], esi
call sub.msvcrt.dll_wcslen
cmp eax, 2
jne 0x407fec
cmp word [esi + 2], 0x3a
je 0x408012
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
sub esp, 8
test eax, eax
je 0x408068
mov ebx, dword [0x43e0a0]
cmp ebx, 0x3ff
jle 0x408080
mov eax, 1
add esp, 0x2014
pop ebx
pop esi
ret
mov ecx, 0x1000
mov edx, str.HOME
lea eax, [esp + 0x10]
call fcn.00407710
test al, al
je 0x40809b
lea eax, [esp + 0x10]
mov ebx, dword [0x43e0a0]
mov dword [esp], eax
call sub.msvcrt.dll__wcsdup
mov dword [ebx*4 + 0x43d0a0], eax
mov eax, dword [0x43e0a0]
add eax, 1
mov dword [0x43e0a0], eax
jmp 0x407fa1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x408004
xor eax, eax
jmp 0x408017
mov dword [esp], esi
call sub.msvcrt.dll__wcsdup
add dword [0x43e0a0], 1
mov dword [ebx*4 + 0x43d0a0], eax
jmp 0x408012
mov eax, str.HOME
call fcn.00407eb0
lea esi, [esi]
lea esi, [esi]

Function at 0x408230
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [0x438060]
test eax, eax
je 0x408269
mov dword [esp + 4], 0x1388
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
jne 0x408280
mov eax, dword [0x438060]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
cmp byte [0x43b080], 0
jne 0x4082a0
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x438060]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
sub esp, 8
jmp 0x408258
mov edx, 0x414
lea edi, [esp + 0x12]
mov dword [esp + 0x12], 0
mov esi, dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [esp + 0x16], 3
mov ebx, 0x14
mov dword [esp + 0x1a], 0x43b0a0
mov dword [esp + 0x1e], 0x4171d0
mov word [esp + 0x22], dx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x4171d0
mov dword [esp], edi
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
sub esp, 4
jmp 0x408373
test al, 0x10
je 0x408272
mov dword [esp], 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0x414
sub esp, 4
mov dword [esp + 0x12], 0
mov dword [esp + 0x16], 3
mov dword [esp + 0x1a], 0x43b0a0
mov dword [esp + 0x1e], 0x4171d0
mov word [esp + 0x22], ax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x4171d0
mov dword [esp], edi
call esi
sub esp, 4
sub ebx, 1
je 0x408272
mov dword [esp], 0x43b0a0
call ebp
sub esp, 4
cmp eax, 0xffffffff
jne 0x408308
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40e55c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.00414960
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.00414960
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x40f130
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40f14f
mov eax, 0
jmp 0x40f193
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40f172
mov eax, 0
jmp 0x40f193
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x40f18e
mov eax, 0
jmp 0x40f193
mov eax, 1
leave
ret

Function at 0x40f195
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x40f1f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x40f1ec
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x40f1ec
mov eax, dword [ebp - 4]
jmp 0x40f208
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x40f1c9
mov eax, 0
leave
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0xdd0dec
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdd0df6
pushal
call 0xdd0dfc
pop ebp
sub ebp, 0x10
sub ebp, 0x9d0dec
jmp 0xdd0e12
mov eax, 0x9d0dec
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cd
mov edx, 0x119a0b9e
xor byte [eax], dl
inc eax
dec ecx
jne 0xdd0e29
jmp 0xdd0e3c
adc eax, 0xa2171553
sahf
sahf
sahf
pop ds
pop ss
mov byte [0x1f9e9e9e], al
pop edi
sahf
sahf
sahf
popfd
push ebx
lcall 0x9eb6, 0x249e9e9e
sahf
sahf
imul edi, dword [ebp + ebx*4 + 0x56], 0x9e921f15
sahf
sahf
popfd
pop ebx
adc edi, edx
mov edx, 0xba9a1762
adc edi, edx
mov edx, 0xba9a1762
mul byte [esi + 4]
mov edi, 0xec6af69e
in eax, 0x9e
lahf
mov dl, 0xba
not byte [eax + 0x763aed89]
wait
sahf
sahf
sahf
ja 0xdd0e3f
sahf
sahf
sahf
retf
Function at 0x10025a40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [ebx], 0
mov dword [esp + 0xc], 0
cmp dword [edi], 2
je 0x10025a76
mov esi, 0xe
push esi
call fcn.10051300
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov esi, dword [edi + 4]
push ebp
mov ebp, dword [esp + 0x34]
add esi, 7
push ebp
push dword [edi + 0x84]
shr esi, 3
mov dword [esp + 0x20], esi
call fcn.10050640
mov ecx, eax
add esp, 8
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x10025aa9
lea esi, [eax + 0x10]
jmp 0x10025bbd
mov eax, dword [edi + 0x24]
add eax, 0x14
add eax, ebp
cmp dword [esp + 0x24], 0
jne 0x10025ac1
xor esi, esi
mov dword [ebx], eax
jmp 0x10025bbd
cmp dword [esp + 0x2c], eax
jae 0x10025ad1
mov esi, 0x10
jmp 0x10025bbd
push ebp
push ecx
push esi
push dword [edi + 0x28]
push dword [edi + 0x84]
call fcn.10036e60
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10025af5
mov esi, 0x10
jmp 0x10025bbd
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [esp + 0x2c]
call fcn.10050400
mov eax, dword [edi + 0x24]
add esp, 0xc
add dword [ebx], eax
mov ecx, dword [edi + 0x24]
test ebp, ebp
jle 0x10025b3f
mov edx, dword [esp + 0x24]
mov edi, ebp
mov ebx, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [esp + 0x30]
sub ebx, ecx
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
dec edi
jne 0x10025b25
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
add dword [ebx], ebp
push dword [edi + 0x84]
call fcn.10037270
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10037120
add esp, 0xc
test eax, eax
je 0x10025b65
mov esi, 0x10
jmp 0x10025bbd
push dword [esp + 0x10]
call fcn.100371e0
add esp, 4
test eax, eax
je 0x10025b7c
mov esi, 0x10
jmp 0x10025bbd
push dword [esp + 0x18]
push dword [edi + 0x28]
push dword [esp + 0x18]
call fcn.10037210
mov eax, dword [edi + 0x24]
add eax, dword [esp + 0x30]
push ebp
push eax
push dword [esp + 0x24]
call fcn.10037210
mov eax, dword [edi + 0x24]
add eax, dword [esp + 0x3c]
add eax, ebp
push eax
push dword [esp + 0x2c]
call fcn.10037240
add esp, 0x20
add dword [ebx], 0x14
mov dword [edi], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10025bd8
push eax
call fcn.10037080
add esp, 4
mov ecx, 0x10
test eax, eax
cmovne esi, ecx
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x10025bf8
push ebp
push 0
push ebx
call fcn.100506f0
push ebx
push dword [edi + 0x84]
call fcn.10050630
add esp, 0x14
pop ebp
test esi, esi
jne 0x10025a66
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x100385d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
mov eax, dword [0x1007b6c0]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
push edi
mov edi, dword [esp + 0x70]
lea eax, [esp + 0x20]
push eax
push dword [edi + 0x14]
call fcn.10037ad0
lea eax, [esp + 0x40]
push eax
push dword [edi + 0x14]
call fcn.10037ad0
lea eax, [esp + 0x60]
push eax
push dword [edi + 0x14]
call fcn.10037ad0
lea eax, [esp + 0x20]
push eax
push dword [edi + 0x14]
call fcn.10037ad0
lea eax, [esp + 0x28]
push eax
mov eax, dword [edi + 4]
add eax, eax
push eax
call fcn.10038390
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x100386ff
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], 1
mov dword [eax], 2
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.10037d20
mov esi, eax
add esp, 8
test esi, esi
jne 0x100386ff
push ebx
mov ebx, 1
cmp dword [edi + 4], ebx
jle 0x100386fe
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.10038ec0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100386fe
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push edi
push eax
call fcn.10038740
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100386fe
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.10037860
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100386fe
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x40]
push edi
push eax
call fcn.10038410
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100386fe
cmp dword [esp + 0x28], eax
jne 0x100386f9
mov eax, dword [esp + 0x30]
test byte [eax], 1
je 0x100386f9
inc ebx
cmp ebx, dword [edi + 4]
jl 0x10038672
jmp 0x100386fe
mov esi, 0x515
pop ebx
lea eax, [esp + 0x20]
push eax
call fcn.10037b00
lea eax, [esp + 0x3c]
push eax
call fcn.10037b00
lea eax, [esp + 0x58]
push eax
call fcn.10037b00
lea eax, [esp + 0x14]
push eax
call fcn.10037b00
mov ecx, dword [esp + 0x78]
add esp, 0x10
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.10052dd6
add esp, 0x64
ret