joyce8/EMBER2024-capa huggingface dataset:
Function at 0x518570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x144]
call edx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x51861b
mov edx, dword [esi + 0x74]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
fld dword [esi + 0x78]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push ecx
fstp dword [esp]
push eax
call edx
fld dword [esi + 0x7c]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push ecx
fstp dword [esp]
push eax
call edx
fld dword [esi + 0x80]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ecx
fstp dword [esp]
push eax
call edx
fld dword [esi + 0x84]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push ecx
fstp dword [esp]
push eax
call edx
movzx edx, byte [esi + 0x8a]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
movzx edx, byte [esi + 0x88]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
movzx edx, byte [esi + 0x89]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov al, 1
pop esi
ret
Function at 0x529870
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
lea ecx, [eax + ecx - 1]
cmp eax, ecx
jae 0x52988f
movzx edx, byte [ecx]
xor byte [eax], dl
mov dl, byte [eax]
xor byte [ecx], dl
mov dl, byte [ecx]
xor byte [eax], dl
add eax, 1
sub ecx, 1
cmp eax, ecx
jb 0x529878
ret

Function at 0x52b630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x624088
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x52b677
mov eax, 0x80004003
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
mov ebx, 1
push ebx
push 0
lea eax, [esp + 0x28]
push eax
call fcn.0052b250
mov edi, dword [esp + 0x20]
test edi, edi
mov dword [esp + 0x18], 0
jne 0x52b6c1
push edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.005b465e
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
mov eax, dword [edi + 0xc]
cmp eax, 0x54b2
ja 0x52b779
je 0x52b771
cmp eax, 0xba
ja 0x52b759
je 0x52b722
sub eax, 0x9a
je 0x52b719
sub eax, 0x16
jne 0x52b7c6
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea ecx, [esi + 0x30]
push edi
call eax
mov eax, dword [esi + 0x68]
or eax, dword [esi + 0x6c]
jne 0x52b7c6
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
mov byte [esi + 0x70], bl
jmp 0x52b7c6
mov edx, dword [esi]
mov ecx, esi
jmp 0x52b7c1
mov edx, dword [esi + 0x48]
mov eax, dword [edx]
lea ecx, [esi + 0x48]
push edi
call eax
mov eax, dword [esi + 0x80]
or eax, dword [esi + 0x84]
jne 0x52b7c6
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], ecx
mov byte [esi + 0x88], bl
jmp 0x52b7c6
cmp eax, 0x53b8
je 0x52b76c
cmp eax, 0x54b0
jne 0x52b7c6
lea ecx, [esi + 0x60]
jmp 0x52b7bf
lea ecx, [esi + 0x18]
jmp 0x52b7bf
lea ecx, [esi + 0x90]
jmp 0x52b7bf
cmp eax, 0x2383e3
ja 0x52b7a3
je 0x52b79b
sub eax, 0x54b3
je 0x52b793
sub eax, 7
jne 0x52b7c6
lea ecx, [esi + 0x78]
jmp 0x52b7bf
lea ecx, [esi + 0xa8]
jmp 0x52b7bf
lea ecx, [esi + 0xf0]
jmp 0x52b7bf
cmp eax, 0x2eb524
je 0x52b7b9
cmp eax, 0x2fb523
jne 0x52b7c6
lea ecx, [esi + 0xd8]
jmp 0x52b7bf
lea ecx, [esi + 0xc0]
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
push 0
mov ecx, edi
call fcn.0052acb0
test al, al
jne 0x52b6c1
push edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.005b465e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x5324b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x6252d0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edi, dword [ecx + 0x54]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x40], 0x80004001
je 0x5325e8
xor eax, eax
cmp edi, ebx
setne al
cmp eax, ebx
je 0x532601
mov eax, edi
mov edi, dword [edi]
mov esi, dword [eax + 8]
mov dword [esp + 0x38], ebx
mov edx, dword [esi + 0xc]
mov edx, dword [edx + 0x18]
lea eax, [esi + 0xc]
lea ecx, [esp + 0x38]
push ecx
push eax
mov dword [esp + 0x88], ebx
call edx
test eax, eax
jge 0x532551
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov dword [esp + 0x80], 0xffffffff
je 0x5325e0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x5325e0
mov ecx, dword [esp + 0x38]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x3c], eax
je 0x532578
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x3c]
push edx
push 0x653368
push ecx
call eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov byte [esp + 0x80], 1
je 0x5325b2
mov ecx, dword [eax]
fld qword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
sub esp, 8
fstp qword [esp]
push eax
call edx
mov edx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
call fcn.00530490
mov ecx, dword [esp + 0x38]
cmp esi, eax
mov eax, dword [esp + 0x3c]
jne 0x5325b2
mov dword [esp + 0x40], edx
cmp eax, ebx
mov byte [esp + 0x80], bl
je 0x5325c9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
mov dword [esp + 0x80], 0xffffffff
je 0x5325e0
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
cmp edi, ebx
jne 0x5324f7
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00401470
int3

Function at 0x535400
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x824]
mov eax, dword [esi + 0x820]
sub ecx, 1
cmp eax, ecx
jge 0x53541f
add eax, 1
mov dword [esi + 0x820], eax
mov edx, dword [esi + 0x820]
mov eax, dword [esi + edx*4 + 0x84c]
push 0
push 0
push 0
push eax
call fcn.005e260d
mov eax, dword [esi + 0x818]
mov edx, dword [esi + 0x820]
mov ecx, 0x800
sub ecx, eax
push ecx
add eax, esi
push eax
mov eax, dword [esi + edx*4 + 0x84c]
push eax
call fcn.005e248d
add esp, 0x1c
pop esi
ret
Function at 0x5354d0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x800]
cmp dword [edi], edi
jb 0x53554e
mov edi, edi
mov eax, dword [esi + 0x820]
mov ecx, dword [esi + eax*4 + 0x84c]
push 0x800
push esi
push ecx
call fcn.005e248d
add esp, 0xc
cmp eax, 0x800
mov dword [esi + 0x818], eax
jae 0x535510
mov ecx, esi
call fcn.00535400
cmp dword [esi + 0x83c], 0
je 0x53553a
test byte [esi + 0x14], 0x10
je 0x53553a
mov edx, dword [esi + 0x844]
mov eax, dword [esi + 0x840]
mov ecx, dword [esi + 0x848]
push edx
push eax
push esi
call ecx
and byte [esi + 0x14], 0xef
add dword [edi], 0xfffff800
add dword [esi + 0x804], 0xfffff800
cmp dword [edi], edi
jae 0x5354e0
mov ecx, dword [edi]
movzx eax, byte [ecx]
add ecx, 1
mov dword [edi], ecx
pop edi
pop esi
ret

Function at 0x536e40
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x820]
mov ecx, dword [esi + eax*4 + 0x84c]
push 0x800
push esi
push ecx
call fcn.005e248d
add esp, 0xc
cmp eax, 0x800
mov dword [esi + 0x818], eax
jae 0x536e73
mov ecx, esi
call fcn.00535400
cmp dword [esi + 0x83c], 0
je 0x536e9d
test byte [esi + 0x14], 0x10
je 0x536e9d
mov edx, dword [esi + 0x844]
mov eax, dword [esi + 0x840]
mov ecx, dword [esi + 0x848]
push edx
push eax
push esi
call ecx
and byte [esi + 0x14], 0xef
cmp dword [esi + 0x830], 0
mov dword [esi + 0x800], esi
je 0x536eb6
add dword [esi + 0x804], 0xfffff800
pop esi
ret
Function at 0x53b410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62594c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 0
push eax
lea edi, [esi + 0x54]
push edi
push ecx
push edx
mov ecx, esi
call fcn.00496050
push edi
mov dword [esp + 0x20], 0
mov dword [esi], vtable.CAsyncReader.0
mov dword [esi + 0xc], vtable.CAsyncReader.3.0
mov dword [esi + 0x10], vtable.CAsyncReader.2.0
mov dword [esi + 0x50], vtable.CAsyncReader.1.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [esp + 0x2c]
lea ebx, [esi + 0x6c]
push eax
mov ecx, ebx
mov byte [esp + 0x20], 1
call fcn.00553910
mov ecx, dword [esp + 0x30]
push edi
push ebx
push esi
push ecx
lea ecx, [esi + 0xf0]
mov byte [esp + 0x2c], 2
call fcn.0053b390
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x1c], 3
call fcn.00496f70
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x14

Function at 0x53b660
Capabilities:
Encode data using xor

Disassembly:
push esi
movzx esi, word [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
cmp edi, 0x20
jb 0x53b6ea
push ebp
mov ebp, edi
shr ebp, 5
lea eax, [esp + 0x10]
push 0x20
push eax
call fcn.0053b5a0
mov ecx, eax
shr ecx, 0x10
xor ecx, esi
movzx edx, ch
movzx ecx, word [edx*2 + 0x653988]
shl esi, 8
xor ecx, esi
mov edx, eax
shr edx, 8
xor edx, ecx
movzx edx, dh
movzx edx, word [edx*2 + 0x653988]
shl ecx, 8
xor edx, ecx
mov ecx, eax
xor ecx, edx
movzx ecx, ch
movzx ecx, word [ecx*2 + 0x653988]
shl edx, 8
xor ecx, edx
mov edx, ecx
shr edx, 8
xor edx, eax
and edx, 0xff
movzx esi, word [edx*2 + 0x653988]
shl ecx, 8
add esp, 8
xor esi, ecx
sub edi, 0x20
sub ebp, 1
jne 0x53b676
pop ebp
mov eax, edi
shr eax, 3
sub eax, 1
je 0x53b74e
sub eax, 1
je 0x53b726
sub eax, 1
jne 0x53b779
lea eax, [esp + 0xc]
push 8
push eax
call fcn.0053b5a0
mov ecx, esi
shr ecx, 8
xor eax, ecx
and eax, 0xff
movzx edx, word [eax*2 + 0x653988]
shl esi, 8
add esp, 8
xor esi, edx
lea eax, [esp + 0xc]
push 8
push eax
call fcn.0053b5a0
mov ecx, esi
shr ecx, 8
xor eax, ecx
and eax, 0xff
movzx edx, word [eax*2 + 0x653988]
shl esi, 8
add esp, 8
xor esi, edx
lea eax, [esp + 0xc]
push 8
push eax
call fcn.0053b5a0
mov ecx, esi
shr ecx, 8
xor eax, ecx
and eax, 0xff
movzx edx, word [eax*2 + 0x653988]
shl esi, 8
add esp, 8
xor esi, edx
and edi, 7
test edi, edi
je 0x53b7a9
lea ecx, [ecx]
lea eax, [esp + 0xc]
push 1
push eax
sub edi, 1
call fcn.0053b5a0
mov ecx, esi
shr ecx, 0xf
xor eax, ecx
add esp, 8
add esi, esi
test al, 1
je 0x53b7a5
xor esi, 0x8005
test edi, edi
jne 0x53b780
pop edi
mov ax, si
pop esi
ret
Function at 0x553ea0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x80], 0
jne 0x553eef
mov eax, dword [esi + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 4]
push ecx
push 0
push esi
push 0x553ca0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x80], eax
jne 0x553eef
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x553ef1
and eax, 0xffff
or eax, 0x80070000
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret
Function at 0x56d7d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x625d28
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
add edi, 0xfffffff0
push edi
mov dword [esp + 0x18], 0
mov dword [esi], eax
mov dword [esi + 4], 0
call fcn.00402800
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x20], eax
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], 0
mov eax, 1
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
add esp, 4
mov dword [esp + 0x14], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56d892
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x28
Function at 0x56de70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x625de8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x38]
call fcn.0056d350
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0x84], 0
call edx
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x48]
add ecx, eax
push ecx
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov ebx, dword [edi + 0x24]
test ebx, ebx
mov esi, eax
je 0x56df3e
mov eax, ebx
mov ebx, dword [ebx]
add eax, 8
push eax
lea ecx, [esp + 0x3c]
call fcn.0056d8b0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.0056d0d0
mov ecx, dword [esp + 0x14]
and ecx, 3
cmp cl, 3
je 0x56df3a
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
sub ecx, dword [esp + 0x18]
push ebp
sub eax, edx
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
mov edx, dword [esp + 0x28]
push edx
push 0
push eax
push esi
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov esi, eax
test ebx, ebx
jne 0x56ded3
mov ebp, dword [edi + 0x40]
test ebp, ebp
je 0x56dfc0
mov eax, ebp
mov ebp, dword [ebp]
add eax, 8
push eax
lea ecx, [esp + 0x3c]
call fcn.0056d8b0
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call edx
test eax, eax
je 0x56dfbc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.0056d0d0
mov ecx, dword [esp + 0x14]
and ecx, 3
cmp cl, 3
je 0x56dfbc
push dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
sub eax, edx
push eax
sub ecx, ebx
push ecx
push edx
mov edx, dword [esp + 0x48]
push ebx
push 0
push edx
push esi
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov esi, eax
test ebp, ebp
jne 0x56df45
push esi
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x56dff2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
Function at 0x56f260
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x625ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esp + 0x30], 0
je 0x56f33f
cmp dword [esi + 0x60], 0
jne 0x56f372
push esi
lea ecx, [esp + 0x10]
mov dword [esi + 0x60], 1
call fcn.005bd54c
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov dword [esp + 0x2c], 0
call edi
push eax
lea ecx, [esi + 0x64]
call fcn.005bd4b9
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0x84]
call fcn.005bd780
mov edx, dword [esp + 0x10]
push edx
call edi
push eax
lea ecx, [esi + 0x74]
call fcn.005bd4b9
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x54]
push 0
push 1
push 1
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esi + 0x8c]
call fcn.005bd780
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005bd5a0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
cmp dword [esi + 0x60], 0
je 0x56f372
lea ecx, [esi + 0x64]
mov dword [esi + 0x60], 0
call fcn.005bd51d
lea ecx, [esi + 0x84]
call fcn.005bd7d3
lea ecx, [esi + 0x74]
call fcn.005bd51d
lea ecx, [esi + 0x8c]
call fcn.005bd7d3
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x56f390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x626028
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x4c]
xor edi, edi
cmp eax, edi
mov dword [esi + 0x5c], eax
je 0x56f48f
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
neg eax
push eax
neg ecx
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], vtable.CRgn.0
push 2
push 3
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x50], edi
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
push eax
lea ecx, [esp + 0x10]
call fcn.005bd780
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.005bd7a9
mov ecx, dword [esi + 0x20]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0xc], vtable.CGdiObject.0
call fcn.005bd7d3
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x3c
ret 4
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
push eax
mov eax, dword [esi + 0x20]
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x3c
ret 4
Function at 0x580f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6272f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ecx
xor edi, edi
push edi
push edx
push 0x7472616b
mov ecx, esi
call fcn.00584970
push edi
lea ecx, [esi + 0x1c]
push str.tkhd
mov dword [esp + 0x20], edi
mov dword [esi], vtable.AP4_TrakAtom.1.0
mov dword [ecx], vtable.AP4_TrakAtom.0
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call fcn.00584160
cmp eax, edi
je 0x581009
push edi
push 0x712098
push 0x711e90
push edi
push eax
call fcn.005da3f0
add esp, 0x14
mov dword [esi + 0x34], eax
jmp 0x58100c
mov dword [esi + 0x34], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x585900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x627ad3
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x7161c0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
push esi
push 1
push ebp
mov edi, ecx
push 0x68646c72
mov dword [esp + 0x24], edi
call fcn.00583df0
xor ebx, ebx
mov dword [edi], vtable.AP4_HdlrAtom.0
mov dword [edi + 0x38], 0xf
mov dword [edi + 0x34], ebx
mov dword [esp + 0x30], ebx
mov byte [edi + 0x24], bl
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push ebx
push 4
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov byte [esp + 0x3c], 1
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [edi + 0x1c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push ebx
push 0xc
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call edx
add ebp, 0xffffffe0
cmp ebp, ebx
jle 0x5859e4
lea eax, [ebp + 1]
push eax
call fcn.005b4663
mov edx, dword [esi]
add esp, 4
push 0
mov ebx, eax
mov eax, dword [edx + 0xc]
push ebp
push ebx
mov ecx, esi
call eax
mov eax, ebx
mov byte [ebx + ebp], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5859c6
sub eax, edx
push eax
push ebx
lea ecx, [edi + 0x20]
call fcn.0043dc80
push ebx
call fcn.005b465e
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005d8d34
add esp, 0x20
ret 8