joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464d04
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x464d6d
cmp dword [ebp + 0x10], 1
je 0x464d45
cmp dword [ebp + 0x10], 2
je 0x464d45
push 0xd
pop eax
jmp 0x464d6d
mov eax, dword [ebp - 4]
test edi, edi
je 0x464d67
test eax, eax
je 0x464d62
test al, 1
jne 0x464d40
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x464d67
jmp 0x464d40
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x46648e
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.0045d63c
push 0
push 0x8ff
lea ecx, [eax + 0x50]
call fcn.00465c59
cmp byte [esi + 0x78], 0
je 0x4664bb
mov ecx, dword [esi + 0x84]
mov byte [esi + 0x78], 0
pop esi
jmp fcn.0042b090
pop esi
ret

Function at 0x466fea
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x467038
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x467031
cmp dword [ebp + 8], 0x1b
jne 0x46701d
push 0
push 2
jmp 0x467027
cmp dword [ebp + 8], 0xd
jne 0x467031
push 0
push 1
push 0x111
push dword [esi + 4]
call edi
and dword [esi + 0x40c], 0
cmp dword [esi + 4], 0
je 0x467059
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
push 0x100
push dword [esi + 0x30]
call edi
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4678c1
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x467a6f
Capabilities:
Hide graphical window

Disassembly:
cmp byte [ecx + 0x78], 0
je 0x464bd6
mov byte [ecx + 0x78], 0
mov ecx, dword [ecx + 0x84]
push 1
call fcn.0042ad80
ret
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x410]
pop esi
jmp 0x464bbf
Function at 0x467d2c
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4f4970]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], 7
call fcn.0040d3a0
push 0x2001f
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_shuame.exe
push closesocket
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call fcn.0045f54c
test eax, eax
jne 0x467dce
push edi
xor ecx, ecx
push 2
mov eax, 0x104
pop edx
mov dword [ebp - 0x2c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046cf6d
pop ecx
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x4da280
lea ecx, [ebp - 0x28]
call fcn.00464d04
test eax, eax
jne 0x467dc6
push edi
lea ecx, [ebp - 0x48]
call fcn.0040a6c0
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.0040bd30
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.0040c2a0
push edi
call fcn.0046df1a
pop ecx
pop edi
lea ecx, [ebp - 0x28]
call fcn.0045f4e3
cmp dword [ebp - 0xc], esi
je 0x467e15
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x467de7
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x467e15
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x467dfe
lea eax, [ebp - 0x1c]
push 1
push esi
push 0x4ca580
push eax
push 0x4c94ac
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x467e20
push str.http:__www.shuame.com_
call fcn.004682f2
pop ecx
lea ecx, [ebp - 0x28]
call fcn.0045f4e3
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.0040c2a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046da8a
leave
ret

Function at 0x467f43
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x418]
cmp eax, 2
jl 0x467f5e
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
push edi
push eax
lea ecx, [eax + 1]
push 0x4c9538
mov dword [esi + 0x418], ecx
lea edi, [esi + 0x50]
push 0x3ea
mov ecx, edi
call fcn.00465c0d
cmp dword [esi + 0x418], 2
jl 0x467f9c
push str.Finishbtn
push str.skin
push 0x3eb
mov ecx, edi
call fcn.004547dd
pop edi
pop esi
ret

Function at 0x4682f2
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esp + 0x1c]
mov edi, 0x4c94ac
push edi
push ebx
call esi
cmp eax, 0x20
jg 0x468323
push 1
push ebx
push dword [esp + 0x18]
push 0x4ca660
push edi
push ebx
call esi
pop edi
pop esi
pop ebx
ret
Function at 0x468327
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
push esi
push edi
push 0x4ca67c
push eax
push 0xfffffffffffffffa
call fcn.0045d63c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 8], eax
cmp edi, esi
jne 0x46836b
xor al, al
jmp 0x4683bc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x468367
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0x80
push 2
push esi
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
mov edi, eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebx
cmp edi, esi
je 0x4683ba
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebp
ret

Function at 0x4683c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
xor esi, esi
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.0046dea0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
leave
ret

Function at 0x4684be
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f4970]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x4f9b08], 1
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x4f9b04
jne 0x468506
or dword [0x4f9b08], 1
push 0x4f9bc0
mov ecx, esi
call fcn.0040b040
push 0x4c7c23
call fcn.0046e7d5
pop ecx
mov eax, dword [0x4f9b04]
cmp dword [eax - 0xc], 0
jne 0x46854c
push 1
push 5
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call fcn.0040cce0
push str.SonyUnlocker_
mov ecx, esi
call fcn.0040cc40
push 0
push dword [0x4f9b04]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push esi
push edi
call fcn.0040a470
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046da8a
leave
ret
Function at 0x468568
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x4f4970]
xor eax, ebp
mov dword [ebp + 0x19c], eax
test byte [0x4f9b10], 1
mov eax, dword [ebp + 0x1a8]
push ebx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1ac]
push esi
mov dword [ebp - 0x80], eax
mov esi, 0x4f9b0c
jne 0x4685c3
or dword [0x4f9b10], 1
push 0x4f9bc0
mov ecx, esi
call fcn.0040b040
push 0x4c7c31
call fcn.0046e7d5
pop ecx
mov eax, dword [0x4f9b0c]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
jne 0x46872f
lea eax, [ebp - 0x70]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jle 0x46872f
push edi
lea eax, [ebp - 0x70]
push eax
mov ecx, esi
call fcn.0040cce0
push 0x4da768
mov ecx, esi
call fcn.0040cc40
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push dword [0x4f9b0c]
call edi
push 0x4ca70c
lea ecx, [ebp - 0x74]
call fcn.00409e90
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00426210
add esp, 0xc
push ebx
push dword [eax]
call edi
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.004085f0
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
call fcn.004085f0
push str.DataApk
lea ecx, [ebp - 0x74]
call fcn.00409e90
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00426210
add esp, 0xc
push ebx
push dword [eax]
call edi
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.004085f0
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
call fcn.004085f0
push str.DataBin
lea ecx, [ebp - 0x74]
call fcn.00409e90
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00426210
add esp, 0xc
push ebx
push dword [eax]
call edi
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.004085f0
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
call fcn.004085f0
push 0x4ca6e8
lea ecx, [ebp - 0x74]
call fcn.00409e90
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00426210
add esp, 0xc
push ebx
push dword [eax]
call edi
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.004085f0
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
call fcn.004085f0
push str.DownloadDriver
lea ecx, [ebp - 0x74]
call fcn.00409e90
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00426210
add esp, 0xc
push ebx
push dword [eax]
call edi
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.004085f0
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
call fcn.004085f0
pop edi
push dword [ebp - 0x80]
push esi
push dword [ebp - 0x7c]
call fcn.0040a470
mov ecx, dword [ebp + 0x19c]
mov eax, dword [ebp - 0x7c]
add esp, 0xc
pop esi
xor ecx, ebp
pop ebx
call fcn.0046da8a
add ebp, 0x1a0
leave
ret
Function at 0x46bc40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea eax, [esi + 0x288]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [eax], ebx
je 0x46bc5e
mov dword [eax], ebx
mov eax, dword [esi + 0x2a8]
cmp eax, ebx
je 0x46bd2f
push edi
push eax
call fcn.00452f8a
mov edi, eax
pop ecx
cmp edi, ebx
je 0x46bcea
push 2
push ebx
push edi
mov ecx, esi
call fcn.0046b543
mov eax, dword [esi + 0x2a8]
cmp eax, dword [esi + 0x2a4]
jne 0x46bcea
lea eax, [esi + 0x64]
cmp edi, eax
je 0x46bcb7
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.0045125b
mov eax, dword [edi + 0x98]
cmp eax, ebx
je 0x46bcd9
cmp word [eax], bx
je 0x46bcd9
push 1
push ebx
push ebx
push eax
push 0x4c94ac
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x46bcea
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x46bcea
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
mov dword [esi + 0x2a8], ebx
cmp dword [ebp - 4], ebx
je 0x46bd2e
mov eax, dword [esi + 0x70]
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push 0x4e
push dword [esi + 0x70]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x46c080
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov esi, ecx
call edi
test al, al
js 0x46c0ae
push 0xa1
call edi
test al, al
js 0x46c0ae
xor ebx, ebx
mov dword [esi + 0x290], ebx
jmp 0x46c0ba
mov dword [esi + 0x290], 1
xor ebx, ebx
push 0x11
call edi
test al, al
js 0x46c0d5
push 0xa3
call edi
test al, al
js 0x46c0d5
mov dword [esi + 0x28c], ebx
jmp 0x46c0df
mov dword [esi + 0x28c], 1
cmp dword [esi + 0x28c], ebx
je 0x46c11c
cmp dword [esi + 0x60], ebx
je 0x46c11c
mov ebx, dword [esi + 0x48]
push 0
lea edi, [esi + 0x1c]
push ebx
mov ecx, edi
call fcn.0046a408
mov ecx, edi
test eax, eax
jne 0x46c10a
push ebx
call fcn.0046a695
jmp 0x46c110
push eax
call fcn.00454f80
mov ecx, esi
call fcn.0046b593
jmp 0x46c222
cmp dword [esi + 0x290], ebx
je 0x46c186
cmp dword [esi + 0x60], ebx
je 0x46c186
cmp dword [esi + 0x24], ebx
jne 0x46c136
lea ecx, [esi + 0x1c]
jmp 0x46c21a
lea ebx, [esi + 0x1c]
mov ecx, ebx
call fcn.00469ea2
mov edi, dword [eax]
cmp edi, dword [esi + 0x44]
je 0x46c222
mov ecx, ebx
call fcn.0046a3c4
cmp edi, dword [esi + 0x44]
jle 0x46c167
push edi
mov ecx, ebx
call fcn.0046a695
dec edi
cmp edi, dword [esi + 0x44]
jge 0x46c157
jmp 0x46c175
push edi
mov ecx, ebx
call fcn.0046a695
inc edi
cmp edi, dword [esi + 0x44]
jle 0x46c167
lea ecx, [esi + 0x64]
lea eax, [ecx + 0x14]
push eax
call fcn.00456925
jmp 0x46c222
mov eax, dword [esi + 0x1c]
mov dword [ebp - 8], eax
jmp 0x46c20a
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea ecx, [esi + 0x1c]
call fcn.00469eb6
mov edi, dword [eax]
push edi
mov ecx, esi
call fcn.00469fe2
test eax, eax
je 0x46c207
cmp edi, dword [esi + 0x48]
je 0x46c207
mov eax, dword [esi]
push edi
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
call dword [eax + 0xd0]
push ebx
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.0040b4a0
push ecx
lea ebx, [esi + 0x170]
mov edi, dword [ebx]
mov ecx, esp
push 0x4c94a8
add edi, 0x10
call fcn.00409ca0
mov ecx, ebx
call dword [edi]
push dword [ebp - 0xc]
lea ecx, [esi + 0x1c]
call fcn.00454f80
mov ecx, esi
call fcn.0046b593
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004085f0
xor ebx, ebx
mov eax, dword [ebp - 8]
cmp eax, ebx
jne 0x46c18e
lea edi, [esi + 0x1c]
mov ecx, edi
call fcn.0046a3c4
mov ecx, edi
push dword [esi + 0x48]
call fcn.0046a695
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x46cb20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4f9ba8], 0
push esi
jne 0x46ca93
call fcn.0046c9b9
test eax, eax
je 0x46cad6
mov eax, dword [0x4f9ba8]
cmp eax, 1
jne 0x46cab4
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x46cad6
pop esi
ret
push eax
call dword [0x4f9bb0]
test eax, eax
jne 0x46cb1e
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x46cada
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4f9ba8]
call dword [0x4f9bb0]
mov edi, eax
test edi, edi
je 0x46caff
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x46cb1b
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4f9ba8]
call dword [0x4f9bac]
add edi, 0x10
cmp edi, esi
jb 0x46cb07
mov eax, edi
pop edi
pop esi
ret
jmp 0x46ca80

Function at 0x46da8a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f4970]
jne 0x46da94
repz ret
jmp fcn.0047191c

Function at 0x47b065
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.0046ff78
and dword [ebp - 4], 0
cmp dword [0x4fa6f4], 0
mov ebx, eax
jne 0x47b116
push 0x4cbf6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x47b1c7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4cbf60
push edi
call esi
test eax, eax
je 0x47b1c7
push eax
call fcn.0046ff06
mov dword [esp], 0x4cbf50
push edi
mov dword [0x4fa6f4], eax
call esi
push eax
call fcn.0046ff06
mov dword [esp], 0x4cbf3c
push edi
mov dword [0x4fa6f8], eax
call esi
push eax
call fcn.0046ff06
mov dword [esp], 0x4cbf20
push edi
mov dword [0x4fa6fc], eax
call esi
push eax
call fcn.0046ff06
pop ecx
mov dword [0x4fa704], eax
test eax, eax
je 0x47b116
push 0x4cbf08
push edi
call esi
push eax
call fcn.0046ff06
pop ecx
mov dword [0x4fa700], eax
mov eax, dword [0x4fa700]
cmp eax, ebx
je 0x47b16e
cmp dword [0x4fa704], ebx
je 0x47b16e
push eax
call fcn.0046ff81
push dword [0x4fa704]
mov esi, eax
call fcn.0046ff81
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x47b16e
test edi, edi
je 0x47b16e
call esi
test eax, eax
je 0x47b165
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x47b165
test byte [ebp - 0xc], 1
jne 0x47b16e
or dword [ebp + 0x10], 0x200000
jmp 0x47b1a7
mov eax, dword [0x4fa6f8]
cmp eax, ebx
je 0x47b1a7
push eax
call fcn.0046ff81
pop ecx
test eax, eax
je 0x47b1a7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x47b1a7
mov eax, dword [0x4fa6fc]
cmp eax, ebx
je 0x47b1a7
push eax
call fcn.0046ff81
pop ecx
test eax, eax
je 0x47b1a7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4fa6f4]
call fcn.0046ff81
pop ecx
test eax, eax
je 0x47b1c7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x47b1c9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48de30
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.004934e0
mov ecx, dword [eax]
call fcn.00490f20
test al, al
je 0x48de55
call fcn.004934e0
mov ecx, dword [eax]
call fcn.00490f00
call fcn.0048ebb0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 4]
cmp eax, 0x7d0
jae 0x48de79
push 0
push 0x7d0
call fcn.00494d80
add esp, 8
lea eax, [esp + 0x10]
push 0x4cd1c8
push eax
call fcn.0042c800
mov edi, dword [esp + 0x4c]
add esp, 8
test edi, edi
jne 0x48de97
xor eax, eax
jmp 0x48deaf
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48dea0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.0040dcc0
lea ecx, [esp + 0x14]
call fcn.00493510
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
push 1
push 0
push ecx
push esi
push edx
lea ecx, [esp + 0x28]
call fcn.004942b0
test eax, eax
setg bl
test esi, esi
je 0x48def9
cmp byte [esp + 0x50], 0
je 0x48def9
push esi
push edi
call fcn.00494c90
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0x14]
mov dword [ebp + 4], eax
call fcn.00493550
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48df2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x30
ret 0x10

Function at 0x48df40
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x2c
cmp byte [esp + 0x3c], 0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
je 0x48df71
call fcn.004934e0
mov ecx, dword [eax]
call fcn.00490f20
test al, al
je 0x48df6c
call fcn.004934e0
mov ecx, dword [eax]
call fcn.00490f00
call fcn.0048ebb0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 4]
cmp eax, 0x7d0
jae 0x48df90
push 0
push 0x7d0
call fcn.00494d80
add esp, 8
lea eax, [esp + 0x4c]
push 0x4cd1c8
push eax
call fcn.0042c800
mov edi, dword [esp + 0x48]
add esp, 8
test edi, edi
jne 0x48dfae
xor eax, eax
jmp 0x48dfc2
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48dfb3
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x54]
call fcn.0040dcc0
lea ecx, [esp + 0x10]
call fcn.00493510
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
push 1
push 0
push 0x4e20
push esi
push ecx
lea ecx, [esp + 0x24]
call fcn.004942b0
test eax, eax
setg bl
test esi, esi
je 0x48e00c
cmp byte [esp + 0x48], 0
je 0x48e00c
push esi
push edi
call fcn.00494c90
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0x10]
mov dword [ebp + 4], eax
call fcn.00493550
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48e03e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x2c
ret 0x10
Function at 0x48e240
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push 4
mov dword [esp + 4], ecx
call fcn.0046d5f3
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x48e263
lea edx, [esp + 4]
mov dword [eax], edx
mov dword [esp + 4], eax
jmp 0x48e267
mov dword [esp + 4], ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
call ebx
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov ebp, eax
lea esp, [esp]
test esi, esi
je 0x48e29d
cmp byte [esi], 1
je 0x48e32e
mov ecx, dword [esp + 0x10]
push 1
lea eax, [esp + 0x18]
push eax
call fcn.0048e050
test al, al
je 0x48e2c3
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
sar eax, 2
cmp eax, 1
ja 0x48e2e0
je 0x48e2f8
cmp edi, 0xffffffff
je 0x48e2d0
call ebx
sub eax, ebp
cmp eax, edi
ja 0x48e343
push esi
push 0x1388
call fcn.00494d80
add esp, 8
jmp 0x48e290
lea ecx, [esp + 0x14]
call fcn.00426300
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x1c
ret 0xc
push esi
push 0xbb8
call fcn.00494d80
mov esi, dword [esp + 0x3c]
add esp, 8
test esi, esi
je 0x48e32e
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
sar ecx, 2
test ecx, ecx
ja 0x48e322
call fcn.0046d2c9
mov edx, dword [esp + 0x20]
push edx
mov ecx, esi
call fcn.0040b0f0
lea ecx, [esp + 0x14]
call fcn.00426300
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0x14]
call fcn.00426300
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 0xc

Function at 0x48e620
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x48], 8
jb 0x48e635
mov eax, dword [esi + 0x34]
push eax
call fcn.0046d0e6
add esp, 4
xor ecx, ecx
mov dword [esi + 0x48], 7
mov dword [esi + 0x44], 0
mov word [esi + 0x34], cx
mov ecx, esi
pop esi
jmp fcn.00493550