joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53cb60
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x53cc03
test eax, eax
jbe 0x53cc03
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x53cc03
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x53cbae
xor esi, esi
jmp 0x53cbb4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x53cbdf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0051ddc0
add esi, eax
push esi
mov ebx, esi
call fcn.0051ddc0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x53cbc0
pop ebp
test edi, edi
pop edi
jne 0x53cc03
test ebx, ebx
je 0x53cc03
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.005ae9c0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x53cd25
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x53ce3d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x53ce3d
mov eax, dword [esi + 0x3c]
push eax
call fcn.005d406e
mov esi, eax
test esi, esi
je 0x53ce3d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x53ce3d
mov ecx, esi
call fcn.0053ccb0
cmp edi, eax
jge 0x53ce3d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x53cdc3
mov dword [esp + 0x34], 1
jmp 0x53ce1e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x53ce3d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0053c290
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x543440
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e4768
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
push 0xa
lea ecx, [esp + 0x10]
call fcn.005d1bdf
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp ecx, ebx
mov dword [esp + 0x30], 0
je 0x5435c9
mov eax, dword [edi + 0x90]
test eax, eax
je 0x5435c9
test ecx, ecx
jne 0x5434d9
imul eax, ebx
xor esi, esi
test eax, eax
jle 0x5435c9
push 8
call fcn.005d2348
add esp, 4
mov dword [eax], 0
lea ecx, [edi + 0xd4]
mov dword [eax + 4], 0
push eax
call fcn.005d1c9f
mov eax, dword [edi + 0x90]
inc esi
imul eax, ebx
cmp esi, eax
jl 0x5434a3
jmp 0x5435c9
mov esi, dword [edi + 0xd8]
test ebx, ebx
jne 0x54350a
test esi, esi
je 0x5434ff
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x5434fb
push eax
call fcn.005d2371
add esp, 4
test esi, esi
jne 0x5434e7
lea ecx, [edi + 0xd4]
jmp 0x5435c4
test esi, esi
je 0x543523
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.005d1c9f
test esi, esi
jne 0x54350e
lea ecx, [edi + 0xd4]
call fcn.005d1d89
mov ecx, dword [edi + 0x90]
xor esi, esi
imul ecx, ebx
test ecx, ecx
jle 0x5435a0
push 8
call fcn.005d2348
mov edx, dword [edi + 0x90]
add esp, 4
imul edx, dword [ebp + 8]
cmp esi, edx
mov ebx, eax
jge 0x543578
push esi
lea ecx, [esp + 0x10]
call fcn.005d1cc8
test eax, eax
je 0x5435f3
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jmp 0x543585
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
lea ecx, [edi + 0xd4]
call fcn.005d1c9f
mov eax, dword [edi + 0x90]
inc esi
imul eax, dword [ebp + 0xc]
cmp esi, eax
jl 0x54353d
mov esi, dword [esp + 0x10]
test esi, esi
je 0x5435c0
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x5435bc
push eax
call fcn.005d2371
add esp, 4
test esi, esi
jne 0x5435a8
lea ecx, [esp + 0xc]
call fcn.005d1d89
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.005d1c1e
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.005d1c1e
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x543bb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5e4877
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0xb5e03c]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], 1
mov dword [esp + 8], eax
mov eax, dword [esi + 0xb4]
lea ecx, [esp + 0xc]
push eax
push 0xb576c4
push ecx
mov byte [esp + 0x30], 2
call fcn.005cff5b
add esp, 0xc
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push 0xb576c0
push eax
call fcn.005d28c4
push 0xb576bc
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x30], 3
call fcn.005d2850
mov edi, dword [eax]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x2c], 4
call fcn.00543b50
sub esp, 8
lea ecx, [esp + 0x10]
fstp qword [esp]
push edi
push ecx
call fcn.005cff5b
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.005d2607
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.005d2607
mov esi, dword [esp + 0x2c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.005d237c
mov dword [esp + 0x18], 1
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.005d2607
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.005d2607
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x543cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e48a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0xb1c384
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x6c], esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x74]
mov ecx, ebp
push eax
call dword [edx + 0x30]
cmp dword [ebx + 0x68], esi
je 0x543e4f
mov ecx, dword [ebp + 8]
push edi
push 6
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.005d9358
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x3c
jne 0x543d90
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jne 0x543d57
xor eax, eax
jmp 0x543d5a
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
push eax
call fcn.005d905c
mov eax, dword [ebx + 0x6c]
cmp dword [eax + 0x10], esi
je 0x543d79
mov esi, dword [eax + 8]
mov ecx, 0xf
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x2c], ecx
jmp 0x543dcb
lea edx, [esp + 0x2c]
push edx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.005d905c
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.005404f0
mov edx, dword [ebp]
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call dword [edx + 0x28]
mov eax, dword [ebx + 0x70]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebx + 0x4c]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x70]
sub eax, edx
cdq
mov edi, dword [ebp]
sub eax, edx
mov edx, dword [ecx - 8]
push edx
push ecx
sar eax, 1
push 0x14
push eax
mov ecx, ebp
call dword [edi + 0x5c]
mov ecx, dword [ebx + 0x4c]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x78]
add edx, 0x14
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x28], edx
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x28]
lea ecx, [esp + 0x1c]
call fcn.005d93c4
pop edi
mov eax, dword [esp + 0xc]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov dword [esp + 0x18], 0xb1c378
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 1
call fcn.005d93c4
mov ecx, dword [esp + 0x64]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8
Function at 0x546a60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e4c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
push 0xa
lea ecx, [esp + 0x10]
call fcn.005d1bdf
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp ecx, ebx
mov dword [esp + 0x30], 0
je 0x546be9
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x546be9
test ecx, ecx
jne 0x546af9
imul eax, ebx
xor esi, esi
test eax, eax
jle 0x546be9
push 8
call fcn.005d2348
add esp, 4
mov dword [eax], 0
lea ecx, [edi + 0xd8]
mov dword [eax + 4], 0
push eax
call fcn.005d1c9f
mov eax, dword [edi + 0xb4]
inc esi
imul eax, ebx
cmp esi, eax
jl 0x546ac3
jmp 0x546be9
mov esi, dword [edi + 0xdc]
test ebx, ebx
jne 0x546b2a
test esi, esi
je 0x546b1f
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x546b1b
push eax
call fcn.005d2371
add esp, 4
test esi, esi
jne 0x546b07
lea ecx, [edi + 0xd8]
jmp 0x546be4
test esi, esi
je 0x546b43
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.005d1c9f
test esi, esi
jne 0x546b2e
lea ecx, [edi + 0xd8]
call fcn.005d1d89
mov ecx, dword [edi + 0xb4]
xor esi, esi
imul ecx, ebx
test ecx, ecx
jle 0x546bc0
push 8
call fcn.005d2348
mov edx, dword [edi + 0xb4]
add esp, 4
imul edx, dword [ebp + 8]
cmp esi, edx
mov ebx, eax
jge 0x546b98
push esi
lea ecx, [esp + 0x10]
call fcn.005d1cc8
test eax, eax
je 0x546c13
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jmp 0x546ba5
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
lea ecx, [edi + 0xd8]
call fcn.005d1c9f
mov eax, dword [edi + 0xb4]
inc esi
imul eax, dword [ebp + 0xc]
cmp esi, eax
jl 0x546b5d
mov esi, dword [esp + 0x10]
test esi, esi
je 0x546be0
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x546bdc
push eax
call fcn.005d2371
add esp, 4
test esi, esi
jne 0x546bc8
lea ecx, [esp + 0xc]
call fcn.005d1d89
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.005d1c1e
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.005d1c1e
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x547360
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5e4d67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0xb5e03c]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0xac]
lea edx, [esp + 0xc]
push ecx
push 0xb57734
push edx
mov dword [esp + 0x30], 1
call fcn.005cff5b
mov eax, dword [0xb5e03c]
add esp, 0xc
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push 0xb57730
push edx
mov byte [esp + 0x30], 2
call fcn.005d28c4
push 0xb5772c
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x2c], 3
push eax
call fcn.005d2850
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov edi, dword [eax]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x2c], 4
call fcn.00547300
sub esp, 8
lea eax, [esp + 0x10]
fstp qword [esp]
push edi
push eax
call fcn.005cff5b
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.005d2607
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.005d2607
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.005d237c
mov dword [esp + 0x18], 1
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.005d2607
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.005d2607
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x547480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e4d90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0xb1c3f4
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x6c], esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x70]
mov ecx, ebp
push eax
call dword [edx + 0x30]
cmp dword [ebx + 0x68], esi
je 0x5475ff
mov ecx, dword [ebp + 8]
push edi
push 6
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.005d9358
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x3c
jne 0x547540
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jne 0x547507
xor eax, eax
jmp 0x54750a
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
push eax
call fcn.005d905c
mov eax, dword [ebx + 0x6c]
cmp dword [eax + 0x10], esi
je 0x547529
mov esi, dword [eax + 8]
mov ecx, 0xf
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x2c], ecx
jmp 0x54757b
lea edx, [esp + 0x2c]
push edx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.005d905c
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.005404f0
mov edx, dword [ebp]
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call dword [edx + 0x28]
mov eax, dword [ebx + 0x74]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebx + 0x44]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x74]
sub eax, edx
cdq
mov edi, dword [ebp]
sub eax, edx
mov edx, dword [ecx - 8]
push edx
push ecx
sar eax, 1
push 0x14
push eax
mov ecx, ebp
call dword [edi + 0x5c]
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x78]
add edx, 0x14
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x28], edx
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x28]
lea ecx, [esp + 0x1c]
call fcn.005d93c4
pop edi
mov eax, dword [esp + 0xc]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov dword [esp + 0x18], 0xb1c3e8
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 1
call fcn.005d93c4
mov ecx, dword [esp + 0x64]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8
Function at 0x549620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e5020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0xb1c43c
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x6c], esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x54]
mov ecx, ebp
push eax
call dword [edx + 0x30]
cmp dword [ebx + 0x48], esi
je 0x54979f
mov ecx, dword [ebp + 8]
push edi
push 6
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.005d9358
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x3c
jne 0x5496e0
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jne 0x5496a7
xor eax, eax
jmp 0x5496aa
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
push eax
call fcn.005d905c
mov eax, dword [ebx + 0x4c]
cmp dword [eax + 0x10], esi
je 0x5496c9
mov esi, dword [eax + 8]
mov ecx, 0xf
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x2c], ecx
jmp 0x54971b
lea edx, [esp + 0x2c]
push edx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.005d905c
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.005404f0
mov edx, dword [ebp]
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call dword [edx + 0x28]
mov eax, dword [ebx + 0x50]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x50]
sub eax, edx
cdq
mov edi, dword [ebp]
sub eax, edx
mov edx, dword [ecx - 8]
push edx
push ecx
sar eax, 1
push 0x14
push eax
mov ecx, ebp
call dword [edi + 0x5c]
mov ecx, dword [ebx + 0x30]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x78]
add edx, 0x14
mov dword [ebx + 8], esi
mov dword [ebx + 4], esi
mov dword [ebx + 0x10], edx
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x28]
lea ecx, [esp + 0x1c]
call fcn.005d93c4
pop edi
mov eax, dword [esp + 0xc]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov dword [esp + 0x18], 0xb1c430
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 1
call fcn.005d93c4
mov ecx, dword [esp + 0x64]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8
Function at 0x54b2e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e5373
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov eax, dword [0xb5e03c]
mov dword [esp + 0x14], 0
mov dword [esi + 0x14], eax
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
mov byte [esp + 0x1c], 1
mov dword [esi], 0xb1c4b0
call fcn.005d237c
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.0054b390
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 0xffffffff
call fcn.005d2607
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0x14

Function at 0x551590
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5e57a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00551960
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0
call fcn.00551960
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x3c], 1
call fcn.005519d0
lea ecx, [esp + 0x10]
call fcn.00553b20
cmp eax, 1
jae 0x551638
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x5516a3
lea ecx, [edi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x5516a3
push esi
push edi
call ebx
push esi
lea ecx, [esp + 0x14]
call fcn.005519d0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x10]
call fcn.00553b20
cmp eax, 1
jb 0x5516a3
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.00551430
test eax, eax
je 0x5516a3
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00551710
mov edi, dword [esp + 0x44]
xor esi, esi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.00551a30
push edi
lea ecx, [esp + 0x24]
call fcn.00551a50
push esi
lea ecx, [esp + 0x24]
call fcn.00551af0
push str..tmp
lea ecx, [esp + 0x24]
call fcn.00551a50
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
call fcn.00551410
test eax, eax
je 0x5516d9
inc esi
cmp esi, 0x7a0a1f00
jb 0x55165a
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.00551980
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00551980
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
call fcn.00551a30
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.00551980
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00551980
mov eax, 1
jmp 0x5516c4
Function at 0x551e60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e5858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.00551960
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.005519d0
push 0
mov ecx, esi
call fcn.00551de0
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x551f98
lea ecx, [esp + 0xc]
call fcn.00553b20
cmp eax, 1
jae 0x551ee7
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00551980
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x551f34
push 0
lea ecx, [esp + 0x10]
call fcn.004ec270
push eax
push edi
mov ecx, 0xbcded4
call fcn.00551590
test eax, eax
jne 0x551f3c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00551980
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.005519d0
push edi
mov ecx, 0xbcded4
call fcn.005514f0
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.004dec60
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x551f98
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x551f98
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x551fc8
push 1
mov ecx, esi
call fcn.00551de0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00551980
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.00551980
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x5528c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.005519d0
pop edi
add esp, 0x104
ret 4