joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48a177
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x30]
cmp dword [ebx], 0
je 0x48a34f
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x48a34f
dec eax
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, 0x100c
je 0x48a2bc
sub eax, 3
je 0x48a29a
dec eax
je 0x48a278
dec eax
je 0x48a256
dec eax
jne 0x48a2dd
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 8]
push 2
push 0xffffffffffffffff
push ebp
xor ebx, ebx
push eax
jmp 0x48a1ef
mov edx, dword [esi + 0x2c]
mov ecx, eax
imul ecx, ecx, 0x2c
cmp dword [ecx + edx + 8], 0
je 0x48a1e4
inc ebx
mov ecx, dword [esi + 0x28]
mov ecx, dword [ecx + 8]
push 2
push eax
push ebp
push ecx
call edi
cmp eax, 0xffffffff
jne 0x48a1d4
cmp byte [0x4c60e0], 0
je 0x48a2dd
cmp ebx, 1
mov dword [esp + 0x10], 9
mov dword [esp + 0x24], 0x4c60e0
mov dword [esp + 0x14], 0x24
jle 0x48a22f
push ebx
push dword [0x4ccca8]
call fcn.0043b6af
pop ecx
jmp 0x48a23a
push dword [0x4cccac]
call fcn.0043b6af
pop ecx
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0044f78b
pop ecx
pop ecx
cmp eax, 6
jne 0x48a34d
jmp 0x48a2dd
call fcn.00428703
mov ebx, dword [ebx]
mov al, byte [ebx + 0x46]
and al, 6
cmp al, 4
je 0x48a26f
or byte [ebx + 0x46], 4
jmp 0x48a348
and byte [ebx + 0x46], 0xfb
jmp 0x48a348
call fcn.00428703
mov ebx, dword [ebx]
mov al, byte [ebx + 0x46]
and al, 0xa
cmp al, 8
je 0x48a291
or byte [ebx + 0x46], 8
jmp 0x48a348
and byte [ebx + 0x46], 0xf7
jmp 0x48a348
call fcn.00428703
mov ebx, dword [ebx]
mov al, byte [ebx + 0x46]
and al, 3
cmp al, 1
je 0x48a2b3
or byte [ebx + 0x46], 1
jmp 0x48a348
and byte [ebx + 0x46], 0xfe
jmp 0x48a348
push 0xa3
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edx, edx
inc edx
mov ecx, ebx
test ax, ax
jge 0x48a2d8
call fcn.00477046
jmp 0x48a2dd
call fcn.0048b497
call fcn.00428703
push 2
push 0xffffffffffffffff
jmp 0x48a337
mov ecx, dword [esi + 0x2c]
mov eax, ebx
imul eax, eax, 0x2c
mov eax, dword [eax + ecx + 8]
mov ecx, dword [esp + 0x34]
dec ecx
dec ecx
je 0x48a31b
dec ecx
je 0x48a313
sub ecx, 4
jne 0x48a334
test eax, eax
je 0x48a334
mov ecx, dword [esi + 0x30]
push eax
call fcn.00406e05
jmp 0x48a334
test eax, eax
je 0x48a31f
and dword [eax + 0x20], 0
test eax, eax
jne 0x48a32b
mov eax, dword [esi + 0x30]
and dword [eax + 0x118], 0
jmp 0x48a334
mov ecx, dword [esi + 0x30]
push eax
call fcn.004077b6
push 2
push ebx
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 8]
push ebp
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x48a2e8
call fcn.00428714
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x20
ret 4
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e004]
jne 0x40100a
repz ret
jmp fcn.00401641

Function at 0x407687
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43e004]
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.004041e9
and dword [ebp - 0x14], 0
cmp dword [0x440ea8], 0
mov dword [ebp - 0x18], eax
jne 0x40773a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4077e2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4077e2
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x440ea8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x440eac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x440eb0], eax
call edi
push eax
call esi
mov dword [0x440eb8], eax
test eax, eax
je 0x40773a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x440eb4], eax
mov eax, dword [0x440eb4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407793
cmp dword [0x440eb8], ecx
je 0x407793
push eax
call esi
push dword [0x440eb8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407793
test ebx, ebx
je 0x407793
call edi
test eax, eax
je 0x40778a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40778a
test byte [ebp - 8], 1
jne 0x407793
or dword [ebp + 0x10], 0x200000
jmp 0x4077c6
mov eax, dword [0x440eac]
cmp eax, dword [ebp - 0x18]
je 0x4077c6
push eax
call esi
test eax, eax
je 0x4077c6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4077c6
mov eax, dword [0x440eb0]
cmp eax, dword [ebp - 0x18]
je 0x4077c6
push eax
call esi
test eax, eax
je 0x4077c6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x440ea8]
call esi
test eax, eax
je 0x4077e2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4077e4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x439100
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x408
mov eax, dword [0x43e004]
xor eax, esp
mov dword [esp + 0x404], eax
cmp dword [0x22e3fb4], 0xfc7
jne 0x43912f
push 0
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x4413cc]
imul eax, eax, 0x343fd
cmp dword [0x22e3fb4], 0x139e
mov dword [0x4413cc], eax
jne 0x43915e
mov ecx, dword [esp]
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_GetAce]
mov eax, dword [0x4413cc]
add eax, 0x269ec3
push esi
mov dword [0x4413cc], eax
movzx esi, word [0x4413ce]
and esi, 0x7fff
cmp dword [0x22e3fb4], 0x8e7
jne 0x439193
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov ecx, dword [esp + 0x408]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401000
add esp, 0x408
ret

Function at 0x439260
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x43e004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x43f300]
push ebx
mov ebx, dword [0x22e3958]
push edi
mov edi, dword [0x22e3fb4]
call fcn.004391b0
cmp dword [0x22e3fb4], 0x2f
jne 0x4392c5
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.004391e0
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.00401000
add esp, 0x24
ret
Function at 0x439590
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.0040ba10
mov eax, dword [0x43e004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x4395b9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe2aa2
jge 0x43965f
cmp dword [0x22e3fb4], 0xa5f
jne 0x439603
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
push 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x1018]
push edx
push 0x43cc34
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 4], 0x84526b
jne 0x439628
mov eax, dword [0x440120]
mov dword [0x22e3fb4], eax
mov ecx, dword [0x22e3fb4]
add ecx, 0xa231
mov dword [0x22e3fb4], ecx
cmp dword [0x22e3fb4], 0x141
jne 0x43965a
push str.jisaxivemuvanacucoxoxobo_necogoduhutevepipojomaji_kadesezimini_joretevigusopibiyigibiga_wemakihumovuyo
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x4413d0], 0xec58acac
mov dword [0x4413d4], 0xffffffff
jmp 0x4395b0
call fcn.004392e0
jmp dword [0x22e3958]
Function at 0x416b30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, ebp
push edi
mov edi, dword [0x58a8a0]
shl esi, 7
add esi, edi
xor eax, eax
xor edx, edx
mov ax, word [esi + 0x36]
mov dx, word [esi + 0x34]
mov ecx, dword [eax*4 + 0x54f800]
add ecx, 0xa
cmp edx, ecx
je 0x416c27
mov ax, word [eax*4 + 0x54f800]
mov dword [esi + 0x24], 0
add ax, 0xa
mov edi, 8
mov word [esi + 0x34], ax
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push 0
push 0x16
push ecx
push edx
call fcn.0042feb0
add esp, 0x10
test eax, eax
jle 0x416c20
mov ecx, dword [0x58a8a0]
shl eax, 7
add eax, ecx
mov dword [eax], 0x415c10
mov ecx, dword [0x6087b0]
mov dl, cl
sub cl, 0x2c
add dl, 4
and ecx, 0xff
and edx, 0xff
mov ecx, dword [ecx + 0x608a20]
mov dword [0x6087b0], edx
xor dword [edx + 0x608a20], ecx
and ecx, 3
sub ecx, 0
je 0x416c0a
dec ecx
je 0x416bf6
xor ecx, ecx
mov cx, word [esi + 0x36]
mov dx, word [ecx*4 + 0x54f800]
add dx, 8
jmp 0x416c1c
xor ecx, ecx
mov cx, word [esi + 0x36]
mov dx, word [ecx*4 + 0x54f800]
add dx, 7
jmp 0x416c1c
xor ecx, ecx
mov cx, word [esi + 0x36]
mov dx, word [ecx*4 + 0x54f800]
add dx, 6
mov word [eax + 0x34], dx
dec edi
jne 0x416b7e
mov ecx, dword [esi + 0x24]
inc ecx
mov eax, ecx
mov dword [esi + 0x24], ecx
cmp eax, 3
jle 0x416c7b
mov dl, byte [esi + 0x3c]
xor ecx, ecx
mov cx, word [esi + 0x34]
inc dl
mov al, dl
mov byte [esi + 0x3c], dl
xor edx, edx
mov dword [esi + 0x24], 0
mov dx, word [ecx*8 + 0x54f9c0]
movsx eax, al
cmp eax, edx
jl 0x416c7b
xor ecx, ecx
mov byte [esi + 0x41], 0x1a
mov cx, word [esi + 0x36]
mov dx, word [ecx*4 + 0x54f800]
mov byte [esi + 0x3c], 0
add dx, 9
mov word [esi + 0x34], dx
movsx ecx, byte [esi + 0x3c]
xor eax, eax
push ebp
mov ax, word [esi + 0x34]
mov edx, dword [eax*8 + 0x54f9c4]
xor eax, eax
mov ax, word [edx + ecx*2]
mov dword [esi + 0x28], eax
call fcn.0045f480
add esp, 4
pop edi
pop esi
pop ebp
ret
Function at 0x4414c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov ecx, 0x40
xor eax, eax
push ebx
push ebp
push esi
push edi
mov edi, 0x4e53a8
push eax
rep stosd dword es:[edi], eax
call fcn.004b8170
add esp, 4
push eax
call fcn.004b8130
mov eax, dword [0x4e54c0]
mov ebx, 1
add esp, 4
cmp eax, ebx
jle 0x441537
call fcn.004b8140
mov esi, dword [0x4e54c0]
cdq
idiv esi
test bl, 1
je 0x441511
and edx, 0xfe
inc edx
jmp 0x441517
and edx, 0xfe
xor eax, eax
cmp eax, ebx
jge 0x44152c
xor ecx, ecx
mov cl, byte [eax + 0x4e53a8]
cmp ecx, edx
je 0x4414f5
inc eax
jmp 0x441519
mov byte [ebx + 0x4e53a8], dl
inc ebx
cmp ebx, esi
jl 0x4414f5
mov eax, dword [0x4e54c4]
mov edx, dword [0x4e54c8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
lea ebx, [eax + 0x28]
mov esi, dword [esp + 0x14]
lea ebp, [ebx - 0x28]
mov ecx, 0x29
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4e539c]
mov edi, dword [esp + 0x1c]
mov edx, dword [ecx*4 + 0x4e54b0]
mov dword [ebx - 4], edx
mov eax, dword [edi*4 + 0x4e54b0]
mov dword [ebx], eax
mov eax, dword [0x6087b0]
mov cl, al
sub al, 0x2c
add cl, 4
and eax, 0xff
and ecx, 0xff
mov eax, dword [eax + 0x608a20]
mov dword [0x6087b0], ecx
mov edx, dword [ecx + 0x608a20]
xor edx, eax
and eax, 7
mov dword [ecx + 0x608a20], edx
mov edx, dword [esp + 0x10]
lea ecx, [eax + 0xf]
xor eax, eax
mov dword [ebx - 0x18], ecx
mov dword [ebx - 0x14], 0
mov al, byte [edx + 0x4e53a8]
mov dword [ebx - 0x10], eax
lea edx, [eax + eax*4]
lea eax, [eax + edx*8]
mov edx, dword [0x4e54c8]
lea esi, [edx + eax*4]
mov edx, dword [ebp]
mov eax, dword [esi]
sub eax, edx
cdq
idiv ecx
mov edx, dword [ebx - 0x24]
mov dword [ebx - 0x20], eax
mov eax, dword [esi + 4]
sub eax, edx
cdq
idiv ecx
mov dword [ebx - 0x1c], eax
mov eax, 0x400
cdq
idiv ecx
add esi, 0x48
mov ecx, 3
mov dword [ebx - 8], eax
lea eax, [ebx + 0x28]
mov edx, dword [esi - 4]
add esi, 0x28
mov dword [eax - 4], edx
mov edx, dword [esi - 0x28]
mov dword [eax], edx
add eax, 0x28
dec ecx
jne 0x44160e
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4e54c0]
add ebx, 0xa4
add esi, 0xa4
inc eax
cmp eax, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
jl 0x441551
mov dword [0x4e539c], edi
pop edi
pop esi
pop ebp
mov dword [0x4e53a0], eax
pop ebx
add esp, 8
ret
Function at 0x447e10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebx, ebx
xor ebp, ebp
call fcn.0048e7e0
and eax, 0xffff
cmp eax, 0x1b
je 0x447e71
cmp byte [0x4f8e80], bl
jne 0x447e71
cmp eax, 0x125
je 0x447e5d
cmp eax, 0x25
je 0x447e5d
cmp eax, 0x127
je 0x447fbe
cmp eax, 0x27
je 0x447fbe
cmp eax, 0x59
jne 0x447f8e
mov ebp, 1
mov eax, dword [0x5fb160]
cmp eax, ebx
jg 0x447e68
neg eax
neg eax
mov dword [0x5fb160], eax
jmp 0x447e7f
xor eax, eax
mov dword [0x5fb160], eax
jmp 0x447e7f
mov eax, dword [0x5fb160]
mov dword [0x55c630], ebx
mov dword [0x55c62c], ebx
mov dword [0x55c628], ebx
xor edi, edi
mov esi, 0x5f7cc0
cmp dword [esi], ebx
je 0x447eaa
push edi
call fcn.004478d0
mov eax, dword [0x5fb160]
add esp, 4
add esi, 0x20
inc edi
cmp esi, 0x5f7d40
jl 0x447e98
mov ecx, dword [0x55c62c]
cmp ecx, ebx
jge 0x447ec8
cmp eax, ebx
jg 0x447ece
neg eax
jmp 0x447ece
jle 0x447ed5
cmp eax, ebx
jg 0x447ed5
neg eax
mov dword [0x5fb160], eax
cmp dword [0x55c630], ebx
jle 0x447ee2
mov ebp, 1
cmp ebp, ebx
je 0x447f89
cmp eax, 0xfffffffe
jne 0x447f07
mov dword [0x55cc64], 1
mov dword [0x5f7880], ebx
mov dword [0x5db7e0], ebx
jmp 0x447f2d
cmp eax, 0xfffffffd
jne 0x447f1e
mov dword [0x5db7f0], 2
mov dword [0x5db7e0], ebx
jmp 0x447f2d
cmp eax, 0xffffffff
jne 0x447f2d
mov dword [0x5db7f0], 3
cmp ebp, ebx
mov dword [0x5fb160], ebx
je 0x447f89
mov eax, dword [0x6087b0]
push ebx
mov cl, al
sub al, 0x2c
add cl, 4
and eax, 0xff
and ecx, 0xff
push 0x20
mov eax, dword [eax + 0x608a20]
push 0x40
mov edx, dword [ecx + 0x608a20]
push 0xffffffffffffffff
xor edx, eax
and eax, 7
mov dword [ecx + 0x608a20], edx
mov dword [0x6087b0], ecx
mov edx, dword [eax*4 + 0x4d0180]
mov eax, dword [edx*4 + 0x557600]
push eax
call fcn.0049a280
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 0x4e
jne 0x447f9f
xor eax, eax
mov dword [0x5fb160], eax
jmp 0x447e7f
cmp eax, 0x20
je 0x447fb4
cmp eax, 0xd
je 0x447fb4
cmp eax, 0x10d
jne 0x447e7a
mov ebp, 1
jmp 0x447e7a
mov eax, dword [0x5fb160]
cmp eax, ebx
jg 0x447e7f
neg eax
mov dword [0x5fb160], eax
jmp 0x447e7f
Function at 0x46f480
Capabilities:
Set current directory

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0x200
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp]
push 0x5c
push ecx
call fcn.004b8c10
add esp, 8
test eax, eax
je 0x46f4be
lea edx, [esp]
push 0x5c
push edx
call fcn.004b8c10
add esp, 8
mov byte [eax + 1], 0
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
add esp, 0x200
ret

Function at 0x46f6c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x4f5eb0]
push esi
cmp eax, 0x400
jge 0x46f6e9
mov ecx, eax
shl eax, 5
add eax, 0x59c334
cmp byte [eax], 0
je 0x46f6ee
add eax, 0x20
inc ecx
cmp eax, 0x5a4334
jl 0x46f6d7
jmp 0x46f6ee
mov ecx, 0x400
cmp ecx, 0x400
jl 0x46f702
mov dword [0x4f5eb0], 0
jmp 0x46f70a
lea eax, [ecx + 1]
mov dword [0x4f5eb0], eax
cmp ecx, 0x400
jge 0x46f787
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
shl ecx, 5
add ecx, 0x59c320
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x10]
cmp eax, 2
mov dword [ecx], edx
mov byte [ecx + 0x16], 1
mov byte [ecx + 0x14], al
je 0x46f787
cmp eax, 3
jne 0x46f743
mov byte [ecx + 0x17], 0x47
pop esi
ret
cmp eax, 4
jne 0x46f787
mov byte [ecx + 0x17], 0x20
mov eax, dword [0x6087b0]
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x608a20]
mov dword [0x6087b0], edx
mov esi, dword [edx + 0x608a20]
xor esi, eax
and eax, 0x7fff
neg eax
mov dword [edx + 0x608a20], esi
mov dword [ecx + 0xc], eax
pop esi
ret
Function at 0x48ae00
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4f86a4]
push ebx
push esi
push edi
test eax, eax
je 0x48ae23
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x4f86a4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x48af63
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x48af63
shl esi, 7
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
jne 0x48af46
push str.WIN:_Could_not_allocate__u_KB_memory_block__negotiating_with_user
call fcn.0048fa80
mov al, byte [0x4f88fc]
add esp, 4
test al, al
je 0x48ae81
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
div dword [0x4f8124]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
jmp 0x48ae87
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [0x4f8c80]
mov cl, byte [0x4d4bbc]
sub eax, edx
xor ebx, ebx
cmp cl, 5
mov dword [ebp - 4], eax
sete bl
test bl, bl
je 0x48aeab
xor cl, cl
call fcn.00496af0
mov ecx, dword [0x4f8e1c]
mov edx, dword [0x4f8e10]
push esi
push 0x48afc0
push ecx
push 0x8f
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test bl, bl
mov edi, eax
je 0x48aed5
call fcn.00496e20
mov al, byte [0x4f88fc]
test al, al
je 0x48aefc
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
div dword [0x4f8124]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x48af02
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ebx, dword [ebp - 4]
mov edx, dword [0x4f8c80]
mov ecx, dword [0x4f8e30]
sub eax, ebx
sub eax, edx
add ecx, eax
test edi, edi
mov dword [0x4f8e30], ecx
je 0x48af32
push str.WIN:_Memory_block_succesfully_allocated
call fcn.0048fa80
add esp, 4
mov eax, edi
jmp 0x48af46
push str.WIN:_Amnesia_Error:_Out_of_memory__user_canceled_memory_request
call fcn.0048fa80
add esp, 4
call fcn.0048ebb0
xor eax, eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
push edx
push eax
mov dword [0x4f86a4], eax
mov dword [0x4f869c], ecx
call dword [0x4d3dfc]
add esp, 0xc
mov eax, dword [0x4f8e1c]
push 0x4f8680
push eax
call fcn.0049d500
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48bc10
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
jne 0x48bd27
push str.WIN:_Could_not_allocate__u_KB_memory_block__negotiating_with_user
call fcn.0048fa80
mov al, byte [0x4f88fc]
add esp, 4
test al, al
je 0x48bc61
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
div dword [0x4f8124]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x48bc67
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [0x4f8c80]
mov cl, byte [0x4d4bbc]
sub eax, edx
xor ebx, ebx
cmp cl, 5
mov edi, eax
sete bl
test bl, bl
je 0x48bc8a
xor cl, cl
call fcn.00496af0
mov ecx, dword [0x4f8e1c]
mov edx, dword [0x4f8e10]
push esi
push 0x48afc0
push ecx
push 0x8f
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test bl, bl
mov esi, eax
je 0x48bcb4
call fcn.00496e20
mov al, byte [0x4f88fc]
test al, al
je 0x48bcdb
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
div dword [0x4f8124]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x48bce1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [0x4f8c80]
mov ecx, dword [0x4f8e30]
sub eax, edi
sub eax, edx
add ecx, eax
test esi, esi
mov dword [0x4f8e30], ecx
je 0x48bd13
push str.WIN:_Memory_block_succesfully_allocated
call fcn.0048fa80
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.WIN:_Amnesia_Error:_Out_of_memory__user_canceled_memory_request
call fcn.0048fa80
add esp, 4
call fcn.0048ebb0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48c6b0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [str.Jazz_Jackrabbit_2]
sub esp, 0x104
lea ecx, [esp]
push eax
push str.Lock__s
push ecx
call fcn.004b77e0
add esp, 0xc
lea edx, [esp]
push edx
push 0x20
push 0
push 2
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [0x4f8e5c], eax
je 0x48c701
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x48c701
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
add esp, 0x104
ret
Function at 0x48c8e0
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 4]
sub esp, 0x10
test al, al
mov al, byte [0x4f8e74]
push ebx
push esi
push edi
je 0x48c9d9
cmp al, 1
jne 0x48c93e
mov ecx, dword [0x4f8e1c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [0x6087c0], eax
sub edx, eax
mov eax, dword [esp + 0x18]
sub eax, ecx
mov dword [0x6087c4], ecx
mov dword [0x6087c8], edx
mov dword [0x6087cc], eax
mov byte [0x6087e8], 1
mov ecx, dword [0x4f8e1c]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetMenu]
mov edx, dword [0x4f8e1c]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
push bind
push 0xfffffffffffffff0
push edx
call esi
mov eax, dword [0x4f8e1c]
push 8
push 0xffffffffffffffec
push eax
call esi
mov bl, byte [esp + 0x24]
mov byte [0x4f8e74], 2
test bl, bl
je 0x48cab8
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x20
push 1
call esi
push eax
push 0
call esi
mov ecx, dword [0x4f8e1c]
push eax
push 0
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
test bl, bl
je 0x48cab8
mov edx, dword [0x4f8e1c]
push edx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x48cab8
mov eax, dword [0x4f8e1c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
cmp al, 2
jne 0x48ca39
mov al, byte [0x6087e8]
test al, al
je 0x48ca39
mov ecx, dword [0x4f8e1c]
push 0
push ecx
call edi
mov edx, dword [0x6087cc]
mov eax, dword [0x6087c8]
mov ecx, dword [0x6087c4]
push 1
push edx
mov edx, dword [0x6087c0]
push eax
mov eax, dword [0x4f8e1c]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
call fcn.0048e940
mov ecx, dword [0x4f8e1c]
push 0x4f8680
push ecx
call fcn.0049d500
add esp, 8
mov edx, dword [0x4f8e1c]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xcf0000
push 0xfffffffffffffff0
push edx
call esi
mov eax, dword [0x4f8e1c]
push 0x300
push 0xffffffffffffffec
push eax
call esi
call fcn.0048cac0
mov ecx, dword [0x4f8e1c]
push 3
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [0x4f8e1c]
push 5
push edx
mov byte [0x4f8e74], 1
call edi
mov eax, dword [0x4f8e1c]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [0x4f8e1c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebx
add esp, 0x10
ret