joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457430
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55106b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0x20]
push esi
mov dword [ebp - 0x424], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [ebx + 0x1c], 0
jne 0x45757b
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f39e0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00521a1c
add esp, 0x18
lea eax, [ebp - 0x218]
push str.DrvMgr360NetUL.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.004cf4a0
add esp, 4
test eax, eax
jne 0x45750f
xor edi, edi
jmp 0x457580
mov dword [ebx + 0x1c], 1
cmp dword [ebx], 0
jne 0x45757b
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
je 0x45757b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call edi
push str.HttpUninit
push dword [ebx]
mov dword [ebx + 4], eax
call edi
push str.zlib_uncompress
push dword [ebx]
mov dword [ebx + 8], eax
call edi
push str.zlib_compress
push dword [ebx]
mov dword [ebx + 0x10], eax
call edi
push str.zlib_compressBound
push dword [ebx]
mov dword [ebx + 0x14], eax
call edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x45757b
call eax
mov dword [ebx + 0xc], eax
mov edi, 1
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret
Function at 0x458410
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55127b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0x10]
movzx eax, word [ebp + 8]
mov edi, dword [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x458489
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x458489
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x458489
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x45849d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x4584ca
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
push eax
call fcn.004f2ee0
add esp, 0xc
mov dword [ebp + 8], 0
mov dword [ebp - 4], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
xor esi, esi
test eax, eax
je 0x4584f9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x45855a
mov ebx, dword [ebp + 8]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x458554
mov dword [esi], vtable.Gdiplus::Image.0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0x10], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
jmp 0x458556
xor esi, esi
mov byte [ebp - 4], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x458575
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459630
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c4], ecx
mov dword [ebp - 0x4c0], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test ecx, ecx
je 0x459711
test eax, eax
je 0x459711
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x459711
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x459711
xor ecx, ecx
movzx edx, ax
nop dword [eax + eax]
mov ax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], dx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4596fc
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea eax, [ebp - 0xd4]
push ebx
push eax
push dword [ebp - 0x4c4]
mov dword [ebp - 0x4c8], ebx
call fcn.00521b58
add esp, 0xc
test eax, eax
je 0x459724
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x4596a0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x459772
cmp edi, 0x7fffffff
ja 0x459772
mov ecx, dword [ebp - 0x4c0]
lea ebx, [ebp - 0xc]
mov esi, SysReAllocString
mov edx, edi
sub esi, edi
sub ebx, ecx
lea eax, [esi + edx]
test eax, eax
je 0x45975f
movzx eax, word [ebx + ecx]
test ax, ax
je 0x45975f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x459744
mov ebx, dword [ebp - 0x4c8]
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
xor ecx, ecx
test edi, edi
je 0x459780
cmp edi, 0x7fffffff
jbe 0x459785
mov ecx, 0x80070057
test ecx, ecx
js 0x4597bb
mov eax, dword [ebp - 0x4c0]
mov esi, edi
test edi, edi
je 0x4597a3
cmp word [eax], 0
je 0x4597a3
add eax, 2
sub esi, 1
jne 0x459795
xor eax, eax
mov ecx, 0x80070057
test esi, esi
cmovne ecx, eax
mov eax, edi
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
jmp 0x4597bd
xor esi, esi
test ecx, ecx
js 0x45980e
mov eax, dword [ebp - 0x4c0]
mov edx, edi
lea ecx, [eax + esi*2]
sub edx, esi
je 0x459801
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x4c4]
add eax, 0x7fffffff
add esi, eax
lea eax, [ebx + ebx]
sub eax, ecx
add edi, eax
test esi, esi
je 0x459801
movzx eax, word [edi + ecx]
test ax, ax
je 0x459801
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x4597e8
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004da3bd
mov esp, ebp
pop ebp
ret
Function at 0x459cc0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1804
call fcn.004da530
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x459de5
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x459dad
push 0x800
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.004f39e0
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.004f4195
add esp, 0x14
test eax, eax
je 0x459d86
push 0x400
lea eax, [ebp - 0x1804]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x459d86
mov ecx, 1
jmp 0x459d88
xor ecx, ecx
test ecx, ecx
lea edx, [ebp - 0x1804]
lea eax, [ebp - 0x804]
cmovne eax, edx
push 0x400
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.005128f0
jmp 0x459ddb
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x459dde
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00459630
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1004]
push eax
call fcn.004cf4a0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x1004]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__tid:_d__Is360Process_ProcessID:_d_ProcessPath:_s_sign:_d
call fcn.00492250
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004da3bd
mov esp, ebp
pop ebp
ret 4
Function at 0x45f8b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552812
mov eax, dword fs:[0]
push eax
mov eax, 0x1014
call fcn.004da530
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1010]
push 0x1000
mov dword [ebp - 0x1020], esi
push 0
mov dword [ebp - 0x101c], 0
push eax
mov dword [ebp - 0x1018], 1
call fcn.004f39e0
add esp, 0xc
mov dword [ebp - 0x1014], 0x800
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1018]
push eax
push str.Start_Page
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x1010]
mov ecx, esi
push eax
call fcn.0042b850
mov dword [ebp - 4], 0
mov dword [ebp - 0x101c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret
Function at 0x45f990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55288e
mov eax, dword fs:[0]
push eax
mov eax, 0x1024
call fcn.004da530
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1030], edi
mov dword [ebp - 0x1028], 0
call fcn.00430a50
mov ecx, eax
test ecx, ecx
je 0x45fba7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1028], 1
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1024]
push 0x20019
push str.SOFTWARELudashi
push SysReAllocString
call fcn.0042e900
test eax, eax
jne 0x45fb61
push 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.004f39e0
mov esi, dword [ebp - 0x1024]
lea eax, [ebp - 0x1018]
add esp, 0xc
mov dword [ebp - 0x1018], 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x102c]
push eax
push 0
push str.url_jump
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45fb42
mov eax, dword [ebp - 0x102c]
cmp eax, 1
je 0x45fab0
cmp eax, 2
jne 0x45fb42
mov eax, dword [ebp - 0x1018]
test eax, eax
je 0x45fad1
test al, 1
jne 0x45fb42
shr eax, 1
cmp word [ebp + eax*2 - 0x1012], 0
je 0x45fada
jmp 0x45fb42
xor eax, eax
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1018]
call fcn.0042b850
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1018]
push edi
push eax
call fcn.0045e980
add esp, 8
test eax, eax
sete byte [ebp - 0x1011]
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x1018]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45fb2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x1011], 0
je 0x45fb42
push 0
push 0x56c9a8
mov ecx, edi
call fcn.00429710
test esi, esi
je 0x45fb55
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x1024], esi
mov dword [ebp - 0x1020], 0
jmp 0x45fb67
mov esi, dword [ebp - 0x1024]
mov byte [ebp - 4], 0
test esi, esi
je 0x45fb80
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004225f0
int3
Function at 0x45fbc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5528e2
mov eax, dword fs:[0]
push eax
mov eax, 0x1014
call fcn.004da530
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1010]
push 0x1000
mov dword [ebp - 0x1020], esi
push 0
mov dword [ebp - 0x101c], 0
push eax
mov dword [ebp - 0x1018], 1
call fcn.004f39e0
add esp, 0xc
mov dword [ebp - 0x1014], 0x1000
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1018]
push eax
push str.url_pid
push str.SOFTWARELudashi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x45fc64
xor eax, eax
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x1010]
mov ecx, esi
push eax
call fcn.0042b850
mov dword [ebp - 4], 0
mov dword [ebp - 0x101c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret
Function at 0x460b50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552c30
mov eax, dword fs:[0]
push eax
push ebx
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.url_jump
push str.SOFTWARELudashi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor ebx, ebx
test eax, eax
sete bl
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x460bc4
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x463c90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.UtilsKitTip.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x463d45
lea eax, [ebp - 0x20c]
push eax
call fcn.004cf4a0
add esp, 4
test eax, eax
je 0x463d45
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x463d45
push str.RunTip
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
test eax, eax
jne 0x463d65
push str._kit__get_func_RunTip_error.
call fcn.00492250
add esp, 4
push str._kit__init_KitTip.dll_failed.
call fcn.00492250
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret 8
push str._kit__start_ThreadImpl
call fcn.00492250
mov eax, dword [esi + 4]
add esp, 4
push 0
push 0x463bc0
push 0x911c7f
call eax
push eax
push str._kit__exec_RunTip_return___d_
call fcn.00492250
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004da3bd
mov esp, ebp
pop ebp
ret 8
Function at 0x4657c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55361f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CLayerControlBase.0
lea edi, [esi + 0x30]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [ebp - 0x14], edi
mov eax, dword [0x5cb844]
test al, 1
jne 0x46588b
or eax, 1
mov dword [0x5cb844], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x5687a0
mov dword [0x5cb838], 0x56c9b0
mov dword [0x5cb83c], eax
mov byte [0x5cb840], 0
call fcn.004da3a8
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x5cb844]
test al, 2
jne 0x4658f5
or eax, 2
mov dword [0x5cb844], eax
mov dword [ebp - 4], 1
xor eax, eax
push 0x5687d0
mov dword [0x5cb848], 0x56c9c8
mov dword [0x5cb84c], 0x5cb838
mov dword [0x5cb85c], 2
mov dword [0x5cb854], 0
mov dword [0x5cb858], 0
mov dword [0x5cb860], eax
mov dword [0x5cb850], 0x5cb848
call fcn.004da3a8
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x5cb848]
mov ecx, 0x5cb848
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 3
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x465ca0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5536b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
add ebx, 0x30
mov eax, dword [ebx]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x465cf2
cmp ecx, dword [esi]
jne 0x465cf2
lock inc dword [eax]
jmp 0x465d20
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x465e80
mov eax, dword [edi]
mov dword [esi + 4], eax
mov eax, dword [edi]
inc eax
push eax
push dword [ebp - 0x10]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004285e0
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x465e06
mov edi, ecx
lea edx, [edi + 2]
nop dword [eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x465d40
sub edi, edx
sar edi, 1
je 0x465e06
mov edx, dword [ebx]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x14], eax
mov eax, ecx
sub eax, edx
sar eax, 1
mov dword [ebp - 0x10], eax
test edi, edi
js 0x465e85
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x465d89
push edi
mov ecx, ebx
call fcn.00429130
mov edx, dword [ebx]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
ja 0x465dde
lea ecx, [edi + edi]
lea eax, [edx + eax*2]
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x465dee
test eax, eax
jne 0x465db4
call fcn.004fe5be
mov dword [eax], 0x16
call fcn.004fe498
jmp 0x465dee
mov eax, dword [edx - 8]
add eax, eax
cmp eax, ecx
jae 0x465dcf
call fcn.004fe5be
mov dword [eax], 0x22
call fcn.004fe498
jmp 0x465dee
push ecx
push dword [ebp + 0xc]
push edx
call fcn.004f3460
add esp, 0xc
jmp 0x465dee
push edi
push dword [ebp + 0xc]
push dword [edx - 8]
push edx
call fcn.004285e0
add esp, 0x10
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x465e85
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
jmp 0x465e0d
mov ecx, ebx
call fcn.00450ea0
mov eax, dword [ebx]
test eax, eax
je 0x465e8f
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x465e3b
test dx, dx
je 0x465e37
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x465e3b
add ecx, 4
add eax, 4
test dx, dx
jne 0x465e15
xor eax, eax
jmp 0x465e40
sbb eax, eax
or eax, 1
test eax, eax
je 0x465e4d
mov ecx, dword [ebp + 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x465e6c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00429840
push 0x80070057
call fcn.004225f0
push 0x80004005
call fcn.004225f0
int3