joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401149
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401184
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401180
lea ebx, [ebx]
cmp esi, eax
jae 0x401184
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401170
cmp esi, eax
jb 0x40118a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402340
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x49dc68
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00460a7a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402380
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [0x4cd0e8]
cmp ecx, 7
mov dword [esp + 0x1c], 0
jne 0x4023ae
or ebp, 0xffffffff
add eax, 0xfffffff0
jmp 0x4024b8
test ecx, ecx
jne 0x4023c5
mov ecx, dword [0x4cd0fc]
push ecx
push str._s_ALUpdateMutex_Silence
lea edx, [esp + 0x18]
push edx
jmp 0x4023d5
mov eax, dword [0x4cd0fc]
push eax
push str._s_ALUpdateMutex
lea ecx, [esp + 0x18]
push ecx
call fcn.00402320
mov edi, dword [esp + 0x1c]
add esp, 0xc
push edi
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
or ebp, 0xffffffff
test eax, eax
mov dword [esi + 0xa4], eax
je 0x402453
cmp eax, ebp
je 0x402453
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40241e
lea ecx, [esp + 0x10]
call fcn.004016f0
jmp 0x4024d2
mov edx, dword [esi + 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esi + 0xa4], 0
call fcn.004016f0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
push edi
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 0xa4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4024a3
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40248e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
mov esi, dword [esi + 0xa4]
test esi, esi
je 0x4024b5
cmp esi, ebp
jne 0x402410
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
mov dword [esp + 0x1c], ebp
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x4024d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x4066f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a11d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], 0
mov eax, dword [esi + 0x2c]
push ecx
sub eax, 0x10
mov dword [esp + 0x10], esp
mov edi, esp
push eax
call fcn.004017c0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi + 4]
sub eax, 0x10
mov dword [esp + 0x18], esp
mov edi, esp
push eax
mov dword [esp + 0x28], 0
call fcn.004017c0
mov esi, dword [esp + 0x30]
add eax, 0x10
add esp, 4
mov dword [edi], eax
push esi
mov dword [esp + 0x28], 0xffffffff
call fcn.0042d3b0
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x408df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49dc38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
xor edi, edi
call fcn.00424210
lea eax, [esi + 0x70]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], edi
call fcn.00424220
lea ecx, [esi + 0x8c]
push ecx
lea ecx, [esp + 0x10]
call fcn.00424230
lea edx, [esi + 0xa8]
push edx
lea ecx, [esp + 0x10]
call fcn.004462a0
lea eax, [esi + 0xc4]
push eax
lea ecx, [esp + 0x10]
call fcn.00424240
lea ecx, [esi + 0xe0]
push ecx
lea ecx, [esp + 0x10]
call fcn.00424250
cmp dword [esp + 0x30], edi
mov ecx, esi
je 0x408e8d
mov edx, dword [esp + 0x34]
push edx
push 1
call fcn.00408bf0
mov byte [esi + 0x5c], 8
jmp 0x408ef6
cmp dword [esp + 0x38], edi
jne 0x408e9a
mov eax, dword [esp + 0x34]
push eax
jmp 0x408eaa
call fcn.00407060
test eax, eax
je 0x408ec3
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, esi
push edi
call fcn.00408bf0
test eax, eax
je 0x408ebd
lea ecx, [esp + 0xc]
call fcn.004256f0
mov byte [esi + 0x5c], 7
jmp 0x408ef6
movzx edx, byte [esi + 0x5c]
movzx eax, byte [esi + 0x5d]
push edx
push eax
lea ecx, [esp + 0x14]
call fcn.00425780
test eax, eax
je 0x408ee2
push edi
mov ecx, esi
call fcn.004084b0
cmp dword [0x4cd0e8], edi
jne 0x408ef1
mov ecx, esi
call fcn.004074e0
mov edi, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00423b40
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 0xc
Function at 0x40a550
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x49de38
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x24]
call fcn.00465918
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.CBitmap.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], vtable.CBrush.0
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x60]
push eax
push ecx
mov byte [esp + 0x5c], 2
call dword [sym.imp.USER32.dll_GetClientRect]
call fcn.004608f5
movzx edx, word [esp + 0x70]
mov eax, dword [eax + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x18]
call fcn.004660ed
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [esp + 0x5c]
cmp edi, ebx
jne 0x40a5f1
xor eax, eax
jmp 0x40a5f4
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x28]
call fcn.00465e26
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.00466193
mov ecx, dword [esp + 0x68]
sub ecx, dword [esp + 0x60]
xor esi, esi
test ecx, ecx
mov dword [esp + 0x70], eax
jle 0x40a665
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
push 0xcc0020
push ebx
push ebx
push edx
mov edx, dword [esp + 0x4c]
mov eax, ecx
imul eax, esi
push edx
push ecx
push ebx
push eax
mov eax, dword [edi + 4]
push eax
call ebp
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
sub edx, dword [esp + 0x60]
add esi, ecx
cmp esi, edx
jl 0x40a630
mov eax, dword [esp + 0x70]
cmp eax, ebx
jne 0x40a66d
xor eax, eax
jmp 0x40a670
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.00466193
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x64]
mov dword [esp + 0x68], ecx
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 1
mov dword [esp + 0x1c], vtable.CBrush.0
call fcn.00409940
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], bl
mov dword [esp + 0x14], vtable.CBitmap.0
call fcn.00409940
lea ecx, [esp + 0x24]
mov dword [esp + 0x54], 0xffffffff
call fcn.00465ea0
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x18
Function at 0x40cf90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49e468
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov eax, dword [esi - 0xc]
mov ebx, dword [esp + 0x28]
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esi - 0xc]
mov edi, dword [esp + 0x30]
mov edx, dword [ebx]
push 0x10
push edi
push eax
mov eax, dword [edx + 0x68]
push esi
mov ecx, ebx
call eax
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x10]
sub ecx, dword [edi]
cdq
idiv ecx
mov edx, dword [esp + 0x14]
add edx, 5
mov dword [esp + 0x20], 0xffffffff
add eax, 1
imul eax, edx
add dword [edi + 4], eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d02f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
Function at 0x40e660
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49e613
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.00465918
xor ecx, ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [esp + 0x28], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov ebx, dword [esp + 0x30]
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
mov byte [esp + 0x28], 1
sete al
lea edi, [esi + 0x20]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x34]
cmp eax, ecx
jne 0x40e6de
mov edx, dword [ebx]
mov eax, dword [edx + 0x50]
push edi
mov ecx, ebx
call eax
xor ecx, ecx
jmp 0x40e6f4
mov edx, dword [eax]
mov dword [edi], edx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
cmp dword [esi + 0x30], ecx
je 0x40e783
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.00465e26
mov ecx, dword [ebx + 8]
push 2
push edi
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.004660ed
test ebp, ebp
je 0x40e742
mov ebp, dword [ebp + 4]
mov eax, dword [esi + 4]
push ebp
push eax
call fcn.00466193
mov dword [esi + 0x18], eax
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
mov ecx, esi
call fcn.004657d4
mov edx, dword [ebx + 8]
push 2
push edi
push edx
call dword [sym.imp.GDI32.dll_DPtoLP]
mov eax, dword [esi + 0x24]
mov ecx, dword [edi]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00465a2c
jmp 0x40e795
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
push 1
mov ecx, esi
call fcn.00465749
cmp dword [esp + 0x38], 0
je 0x40e7d9
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [esi + 0x1c]
sub eax, dword [edi + 4]
sub ecx, dword [edi]
test edx, edx
mov ebx, dword [esi + 0x24]
mov edi, dword [edi]
je 0x40e7bf
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push ebx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x40e7ec
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
push edi
mov ecx, esi
call fcn.0046d71d
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x416820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49f067
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.004685ae
mov dword [esp + 0x14], 0
mov dword [esi], vtable.CSkinProgress.0
call fcn.00460a7a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x416875
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x60], eax
mov byte [esp + 0x14], 1
call fcn.00460a7a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4168a3
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x64], eax
mov byte [esp + 0x14], 2
call fcn.00460a7a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4168d1
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x68], eax
lea ecx, [esi + 0xdc]
mov byte [esp + 0x14], 3
call fcn.0046de16
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x30], 4
call fcn.00416730
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x1c
Function at 0x4188a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49dea8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], vtable.CBrush.0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 8]
call fcn.004660ed
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [eax + 4]
lea edx, [esp + 0x24]
push edx
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 4], vtable.CBrush.0
call fcn.00409940
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 0x18
Function at 0x41be20
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x49f8b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x94], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x98], ecx
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa0], eax
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], vtable.CBitmap.0
mov dword [esp + 0x20], 0
call fcn.004608f5
mov eax, dword [eax + 0xc]
movzx ecx, bx
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004660ed
test eax, eax
jne 0x41bee7
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x10], vtable.CBitmap.0
call fcn.00409940
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x18
push edi
push 0
lea edx, [esi + 0x60]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041b240
test al, al
je 0x41beb7
push edi
push 2
lea ecx, [esi + 0x68]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0041b240
test al, al
lea ecx, [esp + 0x10]
jne 0x41bf45
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x10], vtable.CBitmap.0
call fcn.00409940
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x18
push edi
push 1
lea eax, [esi + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.0041b240
test al, al
je 0x41beb7
push edi
push 0
lea edx, [esi + 0x78]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041b240
test al, al
je 0x41beb7
push edi
push 3
lea ecx, [esi + 0x80]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0041b240
test al, al
lea ecx, [esp + 0x10]
je 0x41bf19
call fcn.00466140
lea ecx, [esp + 0x10]
mov byte [esi + 0xa5], 1
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x10], vtable.CBitmap.0
call fcn.00409940
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x18
Function at 0x41ceb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49fafa
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.004017c0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.004017c0
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 1
call fcn.004017c0
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
mov byte [esp + 0x28], 2
call fcn.004017c0
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
mov byte [esp + 0x2c], 3
call fcn.004017c0
add eax, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
mov byte [esp + 0x30], 4
call fcn.004017c0
add eax, 0x10
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
mov byte [esp + 0x34], 5
call fcn.004017c0
add eax, 0x10
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
mov byte [esp + 0x38], 6
call fcn.004017c0
add esp, 0x20
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov cl, byte [edi + 0x24]
mov byte [esi + 0x24], cl
mov edx, dword [edi + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x34], edx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x41cfd0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x49fb38
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
call fcn.00460a7a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41d00e
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x20], 0
call fcn.00434a60
mov eax, dword [eax]
push str.ESTsoftALUpdate
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x2c], 1
call fcn.00435c10
mov ecx, dword [esp + 0x34]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x20]
push str._s_sUpdateInfo.ini
push eax
mov byte [esp + 0x3c], 2
call fcn.00402320
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x20
mov byte [esp + 0x1c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d08b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d0b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d0df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret 4
Function at 0x422be0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a0549
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4cba68]
xor eax, esp
mov dword [esp + 0x7c], eax
push esi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, dword [esp + 0x98]
mov dword [esp + 0x18], 0
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x6e7553
mov dword [esp + 0x40], 0x6e6f4d
mov dword [esp + 0x44], 0x657554
mov dword [esp + 0x48], 0x646557
mov dword [esp + 0x4c], 0x756854
mov dword [esp + 0x50], 0x697246
mov dword [esp + 0x54], 0x746153
mov dword [esp + 0x58], 0x6e614a
mov dword [esp + 0x5c], 0x626546
mov dword [esp + 0x60], 0x72614d
mov dword [esp + 0x64], 0x6c7041
mov dword [esp + 0x68], 0x79614d
mov dword [esp + 0x6c], 0x6e754a
mov dword [esp + 0x70], 0x6c754a
mov dword [esp + 0x74], 0x677541
mov dword [esp + 0x78], 0x706553
mov dword [esp + 0x7c], 0x74634f
mov dword [esp + 0x80], 0x766f4e
mov dword [esp + 0x84], 0x636544
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
add word [esp + 0x1c], 1
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x4a5956
mov ecx, esi
call fcn.00403080
movzx edx, word [esp + 0x14]
movzx eax, word [esp + 0x12]
movzx ecx, word [esp + 0x10]
push edx
movzx edx, word [esp + 0xc]
push eax
movzx eax, word [esp + 0x12]
push ecx
push edx
movzx edx, word [esp + 0x1e]
lea ecx, [esp + eax*4 + 0x60]
movzx eax, word [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + eax*4 + 0x50]
push ecx
push str._s___d__s__d__d:_d:_d_GMT
push esi
mov dword [esp + 0xb4], 0
mov dword [esp + 0x3c], 1
call fcn.00402320
add esp, 0x24
mov eax, esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004820a1
add esp, 0x8c
ret 4