joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499ae0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61b9f8
push eax
mov dword fs:[0], esp
mov eax, dword [0x6b516c]
sub esp, 0x30
test eax, eax
push esi
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
je 0x499b15
push eax
call esi
mov dword [0x6b516c], 0
mov eax, dword [0x6b5168]
test eax, eax
je 0x499c2e
cmp dword [0x6b515c], 2
jne 0x499b69
push eax
lea eax, [esp + 0xc]
push eax
call fcn.005197d8
add esp, 8
mov ecx, dword [eax]
push ecx
mov ecx, dword [0x6b5160]
mov dword [esp + 0x40], 0
call fcn.00499800
mov eax, dword [esp + 8]
cmp eax, 0x6575cc
je 0x499be5
push eax
call fcn.005f7371
add esp, 4
jmp 0x499be5
push 0x20
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x18]
push 0x63c378
push ecx
call fcn.005f9357
add esp, 0xc
cmp eax, 1
jne 0x499be5
cmp dword [0x6b515c], 0
mov eax, dword [esp + 4]
jne 0x499bd2
cmp eax, 0xffffff80
jge 0x499bb9
mov edx, dword [0x6b5160]
mov eax, 0xffffff80
mov dword [esp + 4], eax
mov dword [edx + 0xc], eax
jmp 0x499be5
cmp eax, 0x7f
jle 0x499bc7
mov eax, 0x7f
mov dword [esp + 4], eax
mov edx, dword [0x6b5160]
mov dword [edx + 0xc], eax
jmp 0x499be5
test eax, eax
jge 0x499bdc
xor eax, eax
mov dword [esp + 4], eax
mov ecx, dword [0x6b5160]
mov dword [ecx + 8], eax
mov edx, dword [0x6b5168]
push edx
call esi
cmp byte [esp + 0x44], 0
mov dword [0x6b5168], 0
je 0x499c2e
mov eax, dword [0x6b5158]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push eax
mov eax, dword [0x6b5164]
push 0x1015
push eax
call esi
mov ecx, dword [0x6b5164]
push 0x499460
push 0
push 0x1030
push ecx
call esi
mov ecx, dword [esp + 0x34]
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret

Function at 0x49cba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61b3f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0xa0]
push ebx
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
fldz
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x28]
mov dword [edi + 0x54], eax
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x58], ecx
mov edx, dword [esi + 0x14]
mov dword [edi + 0x5c], edx
mov eax, dword [esi + 0x18]
mov dword [edi + 0x60], eax
mov ecx, dword [esi + 0x1c]
mov dword [edi + 0x64], ecx
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x10]
mov dword [edi + 0x68], edx
mov eax, dword [esi + 0x24]
fstp qword [edi + 0x70]
push ecx
lea ecx, [esi + 0x30]
mov dword [esp + 0x24], 0
mov dword [edi + 0x6c], eax
call fcn.00588550
test al, al
je 0x49cc24
fld qword [esi + 0x28]
fmul qword [esp + 0x10]
fstp qword [edi + 0x70]
fldz
lea edx, [esp + 0x10]
push edx
fstp qword [edi + 0x78]
lea ecx, [esi + 0x68]
call fcn.00588550
test al, al
je 0x49cc44
fld qword [esi + 0x28]
fmul qword [esp + 0x10]
fstp qword [edi + 0x78]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4a0e10
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
cmp bl, byte [esi + 0x7a]
je 0x4a0f2f
mov ecx, dword [esi + 0x94]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
push edi
push 0
push 0
push 0
push ebx
call edx
mov eax, dword [esi + 0xc]
push 0xfffffffffffffff0
push eax
mov byte [esi + 0x7a], bl
call dword [sym.imp.USER32.dll_GetWindowLongA]
test bl, bl
mov ecx, dword [esi + 0xc]
je 0x4a0ec4
and eax, 0xff30ffff
or eax, 0x80000000
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [esi + 0xc]
push 0x33
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4a0e92
mov ecx, dword [esi + 0xc]
push 9
push ecx
call edi
mov edx, dword [esi + 0xc]
push 3
push edx
call edi
mov eax, dword [esi + 0xc]
push 0
push eax
call dword [sym.imp.USER32.dll_SetMenu]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4a0eb2
push 0
push eax
call edi
mov esi, dword [esi + 0x20]
test esi, esi
je 0x4a0f2e
push 0
push esi
call edi
pop edi
pop esi
pop ebx
ret 4
and eax, 0x7f30ffff
or eax, 0xcf0000
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [esi + 0xc]
push 0x33
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 9
push eax
call edi
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetMenu]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4a0f1c
cmp byte [esi + 0x73], 0
je 0x4a0f1c
push 1
push eax
call edi
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4a0f2e
cmp byte [esi + 0x72], 0
je 0x4a0f2e
push 1
push eax
call edi
pop edi
pop esi
pop ebx
ret 4
Function at 0x4a6f70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61c19b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
lea eax, [esi + 0x50]
push eax
mov dword [esp + 0xc], esi
mov dword [esi], 0x63d990
mov dword [esi + 4], 0x63d954
mov dword [esi + 8], 0x63d930
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x38], bl
mov byte [esi + 0x39], bl
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
mov byte [esi + 0x68], bl
mov dword [esi + 0x6c], ebx
lea ecx, [esi + 0x98]
mov dword [esp + 0x14], ebx
mov byte [esi + 0x70], al
mov byte [esi + 0x71], bl
mov byte [esi + 0x72], al
mov byte [esi + 0x73], al
mov byte [esi + 0x74], bl
mov byte [esi + 0x75], bl
mov byte [esi + 0x76], bl
mov byte [esi + 0x77], bl
mov byte [esi + 0x78], bl
mov byte [esi + 0x79], bl
mov byte [esi + 0x7a], bl
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
call fcn.0046a040
mov dword [esi + 0xb8], 0xffffffff
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1cc], ebx
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e4], ebx
fldz
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x1ec], ebx
fst dword [esi + 0x1f0]
fstp dword [esi + 0x1f4]
mov dword [esi + 0x1f8], ebx
mov dword [esi + 0x1fc], ebx
mov dword [esi + 0x200], ebx
lea ecx, [esi + 0x204]
mov byte [esp + 0x14], 6
call fcn.00537245
mov dword [esi + 0x2a0], ebx
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a8], ebx
mov byte [esp + 0x14], 8
call fcn.0051c3f4
cmp eax, ebx
mov dword [esi + 0x2b4], eax
je 0x4a70c0
push str.Display
mov ecx, eax
call fcn.0051d2c4
jmp 0x4a70c2
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2b8], eax
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4ad130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov edx, dword [esi + 0x64]
mov ebx, dword [edx + 0x74]
mov ecx, ebx
shr ecx, 9
and ecx, 3
mov eax, 4
sub eax, ecx
cmp eax, 1
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [esi + 0x247c], eax
jne 0x4ad17d
mov ecx, 0x180
jmp 0x4ad197
cmp eax, 3
jne 0x4ad192
mov eax, ebx
shr eax, 0xb
not al
test al, 1
mov ecx, 0x240
jne 0x4ad197
mov ecx, 0x480
xor edi, edi
mov dword [esi + 0x2480], ecx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov eax, dword [edx + 0x4c]
imul eax, ecx
cdq
push 0x10
mov ecx, esi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
call fcn.004e2a60
cmp eax, edi
jne 0x4ad1d5
lea ecx, [ebp - 0x14]
call fcn.0051c377
push 0x6952c4
lea ecx, [ebp - 0x14]
push ecx
call fcn.005f8355
xor ecx, ecx
mov edx, ebx
and edx, 0xc0000000
cmp edx, 0xc0000000
setne cl
mov word [eax], 1
add ecx, 1
movzx ecx, cx
mov dword [ebp - 0x18], ecx
mov word [eax + 2], cx
mov ecx, ebx
shr ecx, 0xb
not cl
test cl, 1
je 0x4ad215
test ebx, 0x1000
jne 0x4ad215
mov edx, 1
jmp 0x4ad217
xor edx, edx
movzx edx, dl
and ecx, 1
lea ecx, [ecx + edx*2]
shr ebx, 0x12
and ebx, 3
lea edx, [ebx + ecx*4]
mov ecx, dword [edx*4 + 0x63ea00]
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
add edx, edx
mov word [eax + 0xc], dx
mov word [eax + 0xe], 0x10
movzx edx, dx
imul edx, ecx
mov dword [eax + 8], edx
mov dword [esi + 0x20], 0x73647561
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov word [esi + 0x30], di
mov word [esi + 0x32], di
mov dword [esi + 0x28], edi
movzx ecx, word [eax + 0xc]
mov dword [esi + 0x34], ecx
movzx edx, word [eax + 0xc]
imul edx, dword [eax + 4]
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edi
mov ecx, dword [ecx + 0x4c]
imul ecx, dword [esi + 0x2480]
mov dword [esi + 0x40], ecx
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], 0xffffffff
movzx edx, word [eax + 0xc]
mov dword [esi + 0x50], edx
mov word [esi + 0x54], di
mov word [esi + 0x56], di
mov word [esi + 0x58], di
mov word [esi + 0x5a], di
mov eax, dword [ecx]
mov edx, dword [eax + 4]
mov dword [ebp - 4], edi
call edx
mov ecx, dword [esi + 0x68]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
add esi, 0x60
push esi
call edx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4afd87
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61e748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], 0x627cd0
mov dword [esp + 8], esi
mov dword [esi + 4], ebx
lea ecx, [esi + 8]
mov dword [esp + 0x14], ebx
mov dword [esi], 0x63efbc
call fcn.0051a01e
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x63ee4c
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x74], ebx
mov byte [esi + 0x71], bl
mov byte [esi + 0x70], bl
mov dword [esi + 0x78], ebx
mov byte [esi + 0x73], bl
mov byte [esi + 0x72], bl
mov dword [esi + 0x80], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4b47f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x61c596
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
push edi
push 0x50
mov dword [esp + 0xc], esi
mov dword [esi], 0x63f904
mov dword [esi + 4], eax
call fcn.005f7f03
xor edi, edi
add esp, 4
cmp eax, edi
je 0x4b4857
mov dword [eax], 0x627cd0
mov dword [eax + 4], edi
mov dword [eax], 0x63f984
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0x38], edi
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], edi
mov dword [eax + 0x44], edi
mov dword [eax + 0x4c], edi
jmp 0x4b4859
xor eax, eax
cmp eax, edi
mov dword [esi + 8], eax
je 0x4b4868
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
call eax
push 7
mov dword [esp + 0x18], edi
mov dword [esi + 0xc], 0x63f42c
mov dword [esi + 0x10], edi
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x18], eax
mov eax, 0xff000000
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov eax, 1
mov dword [esi + 0x30], eax
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push edi
mov byte [esp + 0x18], al
mov eax, dword [edx + 0xc]
push esi
call eax
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4b7ce0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x40]
push 0x201
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
push ebp
call fcn.004c5c20
fild dword [esi + 0x30]
add esp, 4
mov dword [esp + 0x1c], eax
fimul dword [esi + 8]
fmul qword [esi + 0x20]
fsub qword [0x62ffe8]
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fist dword [esp + 0x10]
fild dword [esp + 0x10]
mov eax, dword [esp + 0x10]
fsubrp st(1)
fstp dword [esp + 0x10]
cmp dword [esp + 0x10], 0x80000001
sbb eax, 0xffffffff
fild dword [esi + 0x34]
mov ecx, eax
mov dword [esp + 0x28], ecx
fimul dword [esi + 0xc]
fmul qword [esi + 0x28]
fsub qword [0x62ffe8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fist dword [esp + 0x10]
fild dword [esp + 0x10]
mov eax, dword [esp + 0x10]
fsubrp st(1)
fstp dword [esp + 0x10]
cmp dword [esp + 0x10], 0x80000001
sbb eax, 0xffffffff
fild dword [esi + 0x38]
mov edx, eax
mov dword [esp + 0x20], edx
fmul qword [esi + 0x20]
fld1
fsubrp st(1)
fimul dword [esi + 8]
fsub qword [0x62ffe8]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fist dword [esp + 0x10]
fild dword [esp + 0x10]
mov eax, dword [esp + 0x10]
fsubrp st(1)
fstp dword [esp + 0x10]
cmp dword [esp + 0x10], 0x80000001
sbb eax, 0xffffffff
fild dword [esi + 0x3c]
mov edi, eax
fmul qword [esi + 0x28]
fld1
fsubrp st(1)
fimul dword [esi + 0xc]
fsub qword [0x62ffe8]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fist dword [esp + 0x10]
fild dword [esp + 0x10]
mov eax, dword [esp + 0x10]
fsubrp st(1)
fstp dword [esp + 0x10]
cmp dword [esp + 0x10], 0x80000001
sbb eax, 0xffffffff
mov ebx, eax
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
jge 0x4b7e78
cmp edx, ebx
jge 0x4b7e78
push 8
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x38]
mov edx, dword [esi + 0x30]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x3c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
sub ecx, dword [esp + 0x34]
sub eax, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x30]
push eax
call edx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0x14]
push 0x114
sub ebx, ecx
push ebx
sub edi, eax
push edi
lea ecx, [edx + ecx + 4]
mov edx, dword [esi + 0x10]
push ecx
lea eax, [edx + eax + 4]
push eax
push 0
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4b7e80
push eax
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x40]
push 0x203
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x4b7eae
mov edx, dword [esp]
mov ecx, dword [esp + 4]
push edx
push ecx
push str._dx_u
push eax
call fcn.0051915a
add esp, 0x10
add esp, 0x30
ret
Function at 0x4b9da0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x14]
mov ebp, dword [eax]
cmp ebp, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ebp
jne 0x4b9dca
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret 8
mov ebp, dword [esp + 0x14]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add ebp, 8
push 0x2d
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
mov edx, eax
sub edx, dword [edi + 0x78]
add eax, ecx
sub edx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x7c]
add edx, ecx
lea ecx, [esi + 1]
imul ecx, dword [edi + 0x80]
mov esi, eax
imul esi, dword [esp + 0x1c]
add ecx, esi
add ecx, dword [ebx + 4]
push 0x2d
lea esi, [eax + ecx]
mov eax, dword [esp + 0x3c]
add eax, edx
cdq
sub eax, edx
mov ebx, eax
lea eax, [esi + ecx]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cdq
sub eax, edx
sar eax, 1
sar ebx, 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
mov edx, dword [edi + 0x78]
add edx, ecx
add edx, eax
mov eax, dword [edi + 0x7c]
imul eax, esi
mov dword [esp + 0x20], ecx
lea ecx, [esi + 1]
imul ecx, dword [edi + 0x80]
add ecx, eax
mov eax, dword [esp + 0x18]
add ecx, dword [eax + 4]
mov eax, dword [edi + 0x7c]
add eax, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
mov esi, eax
lea eax, [edx + ecx]
cdq
sub eax, edx
mov ecx, eax
sar esi, 1
mov eax, ebx
sub eax, esi
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
sar ecx, 1
sub eax, ecx
cdq
xor eax, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ecx
sub eax, edx
cmp esi, ebx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
jl 0x4b9ec2
lea eax, [esp + 0x24]
cmp ecx, dword [esp + 0x10]
mov eax, dword [eax]
lea edx, [esp + 0x28]
jl 0x4b9ed2
lea edx, [esp + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x54]
sub edx, eax
mov eax, dword [esp + 0x20]
add edx, 8
add eax, 0x10
cmp edx, eax
jae 0x4b9f3e
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
sub edx, dword [eax]
mov eax, dword [esp + 0x1c]
add edx, 8
add eax, 0x10
cmp edx, eax
jae 0x4b9f3e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
sub edx, ebx
sub ecx, eax
imul ecx, edx
mov edx, dword [esp + 0x58]
sub edx, eax
mov eax, dword [esp + 0x1c]
sub esi, ebx
imul esi, edx
mov edx, eax
imul edx, eax
mov eax, dword [esp + 0x20]
sub ecx, esi
mov esi, eax
imul esi, eax
mov eax, ecx
imul eax, ecx
add edx, esi
shl edx, 6
cmp eax, edx
jle 0x4b9f5e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
jne 0x4b9dc6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret 8
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x40
ret 8
Function at 0x4badb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61c8a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
mov eax, 0x6575cc
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov edi, dword [ebp + 0x14]
mov ecx, dword [edi + 4]
lea esi, [ebp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x40], 0
call fcn.004ba880
push 1
mov ecx, esi
mov ebx, eax
call fcn.004baa30
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov dword [edi + 4], ebx
mov edx, dword [ebx + 4]
mov edi, dword [esp + 0x48]
mov dword [edx], ebx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x40]
add eax, 8
mov dword [eax], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov dword [eax + 4], edx
mov ecx, dword [ecx + 0x40]
mov dword [ecx + edx*4], eax
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [edx + edi*4], eax
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10

Function at 0x4bdbb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x61c9eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi], 0x6409d0
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x18], ebx
mov dword [esp + 8], esi
mov dword [esi + 0x1c], ebx
lea ecx, [esi + 0x68]
mov dword [esp + 0x14], ebx
mov dword [esi + 0x28], ebx
call fcn.0051a01e
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x7c], ebx
mov eax, 0x10000
mov dword [esi + 0x78], eax
mov dword [esi + 0x80], eax
or eax, 0xffffffff
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x94], ebx
mov byte [esi + 0x9e], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4be640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c9c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x534
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
push edi
add eax, 0x3ff
mov dword [ebp - 0x10], esp
push 1
adc edx, 0
mov cl, 0xa
mov dword [ebp - 0x14], esi
call fcn.005f8600
push eax
mov eax, dword [esi + 0xc]
push str.Scanning_file
push str.Constructing_RIFF_tree
push eax
lea ecx, [ebp - 0x80]
call fcn.004c83b0
lea ecx, [ebp - 0x80]
push str._dK_of__dK
mov dword [ebp - 4], 0
mov dword [ebp - 0x540], ecx
mov byte [ebp - 0x88], 0
call fcn.004c8060
push 0x190
lea edx, [ebp - 0x53c]
push 0
push edx
call fcn.005f7e70
push 0x320
lea eax, [ebp - 0x3a8]
push 0
push eax
call fcn.005f7e70
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
add esp, 0x18
push ecx
push edx
push 0
push 0
lea eax, [ebp - 0x540]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004be080
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
lea ebx, [ebx]
test esi, esi
je 0x4be764
lea ecx, [ebp - 0x48]
push ecx
push 0
or eax, 0xffffffff
push 0x1100
push edi
mov dword [ebp - 0x48], 0xffff0000
mov dword [ebp - 0x44], 0xffff0001
mov dword [ebp - 0x40], 0x4d
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x20], eax
call ebx
mov esi, dword [esi]
jmp 0x4be710
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x28]
push 1
push eax
push 0x30
push edi
call ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
call fcn.004c8190
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4