joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5496d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f2e97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [esp + 0x14], 0
lea eax, [esp + 0x3c]
mov edi, 1
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], edi
call fcn.005bd559
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 2
push ecx
lea ecx, [esp + 0x10]
call fcn.005bd559
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call fcn.005bdd2d
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x40]
push 7
push edx
lea ecx, [esp + 0x14]
mov dword [esi], 0
call fcn.005b9683
mov eax, dword [eax]
push str.HTTP:__
push eax
call fcn.004a6d74
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
sete bl
call fcn.005bd7e4
test bl, bl
je 0x5497da
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.00549000
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call fcn.005bd91d
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 3
call fcn.005bd7e4
mov eax, dword [0x1d2e81c]
push 0x1c6f9c0
push eax
call fcn.004a6d74
add esp, 8
test eax, eax
je 0x5498cb
mov edx, dword [0x1d2e81c]
push 0
push 0
push edx
call fcn.005c9d5e
mov esi, dword [esp + 0x38]
push 0x1c6f9c0
mov ecx, esi
call fcn.005bd852
mov dword [esp + 0x14], edi
jmp 0x5498e1
lea eax, [esp + 0x40]
push 4
push eax
lea ecx, [esp + 0x14]
call fcn.005b9683
mov eax, dword [eax]
push str.FTP:
push eax
call fcn.004a6d74
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
sete bl
call fcn.005bd7e4
test bl, bl
je 0x5498cd
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x1d2e810
call fcn.005bd559
push ecx
mov byte [esp + 0x38], 5
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x1d2e814
call fcn.005bd559
push ecx
mov byte [esp + 0x3c], 6
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x1d2e818
call fcn.005bd559
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x44], 7
call fcn.005bd559
lea eax, [esp + 0x50]
mov byte [esp + 0x40], 3
push eax
call fcn.00549410
add esp, 0x14
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 8
call fcn.005bd91d
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 3
call fcn.005bd7e4
mov eax, dword [0x1d2e81c]
push 0x1c6f9c0
push eax
call fcn.004a6d74
add esp, 8
test eax, eax
je 0x5498cb
mov ecx, dword [0x1d2e81c]
push 0
push 0
push ecx
call fcn.005c9d5e
mov esi, dword [esp + 0x38]
push 0x1c6f9c0
mov ecx, esi
call fcn.005bd852
jmp 0x5498dd
mov dword [esi], edi
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.005bd559
mov dword [esp + 0x14], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call fcn.005bd7e4
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.005bd7e4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call fcn.005bd7e4
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret
Function at 0x54d0e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5f32b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov ebx, dword [esp + 0x20]
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x18], edi
mov dword [esi], 0x1c7c99c
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 4], edi
je 0x54d171
mov ecx, ebx
call fcn.004f3020
cmp eax, edi
mov dword [esi + 0x2c], eax
jbe 0x54d171
push edi
mov ecx, esi
call fcn.0054daf0
test eax, eax
je 0x54d171
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebx + 0x28]
mov edx, dword [esi + 0x28]
push eax
push ecx
push edx
call fcn.004a7130
mov eax, dword [esi + 8]
add esp, 0xc
cmp word [eax], 0x4d42
jne 0x54d171
mov ecx, dword [eax + 0xa]
mov edx, dword [esi + 0xc]
add ecx, eax
xor eax, eax
mov dword [esi + 0x1c], ecx
mov ax, word [edx + 0xe]
mov dword [esi + 0x30], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x54d710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3348
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, [ebp - 0x1c]
mov dword [ebp - 0x10], esp
call fcn.005bdea5
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, edi
mov byte [ebp - 4], 1
mov eax, dword [edi]
call dword [eax + 0x30]
push 0
mov ecx, esi
mov dword [esi + 0x2c], eax
call fcn.0054daf0
test eax, eax
je 0x54d7c4
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov edx, dword [edi]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x34]
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp eax, ecx
jne 0x54d7cb
call fcn.005bdee3
mov eax, dword [esi + 8]
cmp word [eax], 0x4d42
jne 0x54d7d0
mov ecx, dword [eax + 0xa]
mov edx, dword [esi + 0xc]
add ecx, eax
xor eax, eax
mov dword [esi + 0x1c], ecx
mov ax, word [edx + 0xe]
mov dword [esi + 0x30], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
call fcn.005bdee3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x54f4b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f367c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
mov dword [esp + 0x20], 0
call fcn.005bd559
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x38]
push edx
mov ecx, esi
call fcn.00523850
mov eax, dword [0x1cd3de8]
lea ecx, [esi + 0x19c]
mov dword [ecx], eax
mov edx, dword [0x1cd3de8]
lea edi, [esi + 0x1a4]
mov dword [edi], edx
push 0x1c6f9c0
mov byte [esp + 0x1c], 3
mov dword [esi], 0x1c7d228
call fcn.005bd96d
push 0
call fcn.004a9490
push eax
call fcn.004a6642
add esp, 8
call fcn.004a664f
push 0x1c6f9c0
mov ecx, edi
mov dword [esi + 0x1a0], eax
call fcn.005bd96d
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], 0xffffffff
call fcn.005bd7e4
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0x1c
Function at 0x55e8f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f46c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x30]
mov ebx, 3
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
mov dword [esp + 0x24], ebx
call fcn.005bd559
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x28], 4
call fcn.005bd559
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x2c], 5
call fcn.005bd559
mov ecx, esi
mov byte [esp + 0x28], bl
call fcn.0055ea30
test al, al
jne 0x55e9b1
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 2
call fcn.005bd7e4
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call fcn.005bd7e4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0
call fcn.005bd7e4
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005bd7e4
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x18
ret 0x10
mov eax, dword [esi + 0x24]
mov edx, dword [esp + 0x30]
xor ecx, ecx
push edx
test eax, eax
setne cl
mov dword [esi + 0x30], ecx
mov ecx, esi
mov dword [esi + 0x28], 0
call fcn.0055d0a0
lea ecx, [esp + 0x24]
mov bl, al
mov byte [esp + 0x1c], 2
call fcn.005bd7e4
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call fcn.005bd7e4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0
call fcn.005bd7e4
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005bd7e4
mov ecx, dword [esp + 0x14]
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x10
Function at 0x56b890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f5a00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [esp + 0x10]
push eax
call fcn.0056baa0
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x30], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x56ba16
push 0xc0c0c0
lea ecx, [esp + 0x14]
call fcn.005c5bbe
test eax, eax
je 0x56b8f5
mov eax, dword [eax + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
lea ecx, [esp + 0x30]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CBrush.0
call fcn.004a5733
push 0xffffff
push 1
push 0
lea ecx, [esp + 0x24]
call fcn.005c5b6e
push 0x808080
push 1
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0
call fcn.005c5b6e
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x4c], 1
call fcn.005c4fd0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebp, eax
lea eax, [esp + 0x20]
lea ebx, [edx + 1]
lea edi, [ecx + 1]
mov dword [esp + 0x20], ebx
add ebx, 2
push edi
push ebx
push eax
mov ecx, esi
call fcn.005c554f
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
sub eax, ecx
mov ecx, esi
sub eax, 2
add edi, eax
push edi
push ebx
call fcn.005c559b
sub ebx, 2
push edi
push ebx
mov ecx, esi
call fcn.005c559b
push ebp
mov ecx, esi
call fcn.005c4fd0
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.005c4fd0
mov ecx, dword [esp + 0x3c]
mov ebp, eax
mov eax, dword [esp + 0x34]
sub eax, ecx
mov ecx, esi
add eax, 2
add edi, eax
push edi
push ebx
call fcn.005c559b
add ebx, 2
push edi
push ebx
mov ecx, esi
call fcn.005c559b
push ebp
mov ecx, esi
call fcn.005c4fd0
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call fcn.005c5b58
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 3
call fcn.005c5b58
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x573070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f67b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ebp, [edi + 0x14]
mov eax, ebp
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x38], edx
call fcn.004b8090
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
push eax
mov edx, dword [esi]
lea eax, [esp + 0x1c]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov edx, dword [edi + 0x88]
xor ebx, ebx
cmp edx, ebx
je 0x57311b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp]
sub eax, ecx
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp + 4]
add edx, 0x14
push esi
mov dword [esp + 0x40], ebx
mov dword [edx], ebx
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x5c]
push eax
mov dword [edx + 0xc], ecx
mov ecx, dword [edi + 0x88]
mov edx, dword [ecx]
call dword [edx + 0xe4]
jmp 0x573245
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
sub ecx, edx
sub eax, ebp
xor edx, edx
mov dword [esp + 0x40], ecx
push 1
mov ecx, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], eax
call fcn.005c50ac
mov ecx, dword [edi + 0x8c]
mov dword [esp + 0x58], eax
push ecx
lea ecx, [esp + 0x14]
call fcn.005c5bbe
mov eax, dword [edi + 0x84]
mov dword [esp + 0x50], ebx
cmp eax, ebx
jne 0x57318a
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x38]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [edi + 0x90], 0x63
je 0x573218
mov edx, dword [esi]
push 8
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [edi + 0x90]
mov ebp, eax
mov eax, dword [edi + 0x94]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.005c5c08
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov byte [esp + 0x54], 1
call fcn.005c4fd0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esp + 0x34]
sub eax, ecx
mov ecx, dword [esp + 0x30]
sub ecx, edx
push eax
mov eax, dword [esi + 4]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
mov ecx, esi
call fcn.005c4fd0
push ebp
mov ecx, esi
call fcn.005c4fd0
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 2
call fcn.005c5b58
mov byte [esp + 0x50], bl
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, esi
call fcn.005c50ac
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 3
call fcn.005c5b58
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
neg eax
push eax
lea eax, [esp + 0x24]
neg ecx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8
Function at 0x573280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f67e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
mov ebp, ecx
lea ecx, [esp + 0xc]
push esi
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x48]
mov edx, dword [eax]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
call fcn.004b8090
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
push eax
mov edx, dword [esi]
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov eax, dword [ebp + 0x88]
test eax, eax
jne 0x573438
mov edx, dword [esi]
push ebx
push edi
push 8
mov ecx, esi
call dword [edx + 0x24]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
sub edi, ebx
mov ebx, dword [esp + 0x30]
push 1
mov ecx, esi
mov dword [esp + 0x50], eax
sub ebx, edx
call fcn.005c50ac
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x84]
test eax, eax
jne 0x573399
mov eax, dword [ebp + 0x8c]
lea ecx, [esp + 0x18]
push eax
call fcn.005c5bbe
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
push ecx
mov ecx, esi
call fcn.005c4fd0
mov edx, dword [esi + 4]
push edi
push ebx
push 0
push 0
push edx
mov dword [esp + 0x5c], eax
call dword [sym.imp.GDI32.dll_Ellipse]
mov eax, dword [esp + 0x48]
mov ecx, esi
push eax
call fcn.005c4fd0
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 1
call fcn.005c5b58
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [ebp + 0x90]
cmp eax, 0x63
je 0x573404
mov ecx, dword [ebp + 0x94]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.005c5c08
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov dword [esp + 0x44], 2
call fcn.005c4fd0
push edi
mov ebp, eax
mov eax, dword [esi + 4]
push ebx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
push ebp
mov ecx, esi
call fcn.005c4fd0
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 3
call fcn.005c5b58
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.005c4fd0
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.005c50ac
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
neg ecx
push ecx
lea ecx, [esp + 0x14]
neg edx
push edx
push ecx
mov ecx, esi
call dword [eax + 0x3c]
pop edi
pop ebx
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x5741cb
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f6958
push eax
mov al, byte [0x1d2e8c8]
mov dword fs:[0], esp
sub esp, 0x14
test al, 1
push ebp
push esi
push edi
mov esi, ecx
jne 0x57405e
mov dl, al
push 0x574290
or dl, 1
mov byte [0x1d2e8c8], dl
call fcn.004a7cfa
add esp, 4
mov al, byte [0x1d2e8c8]
test al, 2
jne 0x57407f
mov dl, al
push 0x574280
or dl, 2
mov byte [0x1d2e8c8], dl
call fcn.004a7cfa
add esp, 4
mov eax, dword [0x1cd3de8]
mov dword [esp + 0xc], eax
mov ecx, dword [0x1d2e8b8]
mov eax, dword [0x1d2e8c0]
test ecx, ecx
mov dword [esp + 0x28], 0
jne 0x574119
test eax, eax
jne 0x574119
mov edx, dword [0x1d2e8bc]
test edx, edx
jne 0x574119
mov edx, dword [0x1d2e8c4]
test edx, edx
jne 0x574119
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.005c2699
mov edx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
push 0x1d2e8b8
push edx
mov edi, eax
call ebp
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
call ebp
mov edx, dword [0x1d2e8bc]
mov ecx, dword [0x1d2e8b8]
mov eax, dword [0x1d2e8c0]
mov dword [0x1d2e8ac], edx
mov edx, dword [0x1d2e8c4]
mov dword [0x1d2e8a8], ecx
mov dword [0x1d2e8b4], edx
mov edx, dword [esp + 0x14]
mov dword [0x1d2e8b0], eax
mov dword [0x1d2e8b4], edx
mov edx, dword [esp + 0x34]
push 6
test edx, edx
je 0x5741ab
mov edx, dword [0x1d2e8c4]
mov ebp, dword [0x1d2e8bc]
sub edx, ebp
sub eax, ecx
push edx
push eax
push 0
push 0
push 0x1d2dcb0
mov ecx, esi
call fcn.005c297a
push 0xa240
lea ecx, [esp + 0x10]
call fcn.005c42dc
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push eax
push 0x1cdaf78
push ecx
call fcn.005bdaed
push 0x1cdaf74
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x34], 1
call fcn.005bda79
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.005bd91d
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.005bd7e4
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x34]
jmp 0x574234
mov eax, dword [0x1d2e8b4]
mov edi, dword [0x1d2e8ac]
mov ecx, dword [0x1d2e8a8]
sub eax, edi
push eax
mov eax, dword [0x1d2e8b0]
sub eax, ecx
mov ecx, esi
push eax
push 0
push 0
push 0x1d2dcb0
call fcn.005c297a
push 0xa240
lea ecx, [esp + 0x10]
call fcn.005c42dc
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push eax
push 0x1cdaf78
push ecx
call fcn.005bdaed
push 0x1cdaf70
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x34], 3
call fcn.005bda79
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.005bd91d
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.005bd7e4
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x34]
call fcn.005bd7e4
mov ecx, esi
call fcn.005742a0
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
push 3
call fcn.005c2758
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005bd7e4
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x57b4d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f7088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x2c]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esi], 0x1c7fe24
mov dword [0x1d2e8d0], ebx
call fcn.005c5859
mov eax, dword [edi + 0x1a4]
push ebx
mov dword [esi + 4], eax
mov edi, dword [edi + 0x1a0]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov dword [esp + 0x30], 0
mov dword [esi + 8], edi
call fcn.0057b610
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c58cb
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x57bdd0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5f7168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push edi
mov eax, dword [esi]
lea edx, [esp + 0x14]
xor ebx, ebx
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], ebx
call dword [eax + 0x14c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x34], ebx
call fcn.005bd559
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], 1
cmp byte [eax], 0x40
jne 0x57be5e
mov eax, dword [eax - 8]
lea ecx, [esp + 0x1c]
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.005b9607
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.005bd91d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.005bd7e4
mov eax, dword [esp + 0x10]
mov al, byte [eax]
cmp al, 0x20
jle 0x57be68
mov byte [esp + 0x3c], al
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x130]
mov ebp, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x134]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x24], eax
call dword [edx + 0x164]
test eax, eax
mov eax, dword [esi]
mov ecx, esi
setne byte [esp + 0x3c]
call dword [eax + 0x148]
mov edx, dword [esp + 0x38]
mov cl, byte [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov byte [edx + 0x14], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
mov byte [edx + 0x15], bl
mov byte [edx + 0x16], bl
mov byte [edx + 0x17], 1
mov byte [edx + 0x18], bl
mov byte [edx + 0x19], bl
mov byte [edx + 0x1a], bl
mov byte [edx + 0x1b], bl
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0x1c]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x3c], esi
mov esi, edi
mov edi, dword [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x24]
and ecx, 3
mov byte [esp + 0x30], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov dword [edx], ebp
mov dword [edx + 4], ecx
lea ecx, [esp + 0x10]
mov dword [edx + 0x10], eax
call fcn.005bd7e4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.005bd7e4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x57bf40
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x57bfa2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret

Function at 0x57bfb0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push esi
push edi
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x57c08d
lea ecx, [esp + 8]
push ecx
push str..htm
push closesocket
call fcn.0057bf40
add esp, 0xc
test eax, eax
jne 0x57c08d
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push str._shellopencommand
push edx
call edi
lea eax, [esp + 8]
lea ecx, [esp + 8]
push eax
push ecx
push closesocket
call fcn.0057bf40
add esp, 0xc
test eax, eax
jne 0x57c08d
lea edx, [esp + 8]
push 0x1cd8528
push edx
call fcn.004a8200
mov esi, eax
add esp, 8
test esi, esi
jne 0x57c068
lea eax, [esp + 8]
push 0x1cd8524
push eax
call fcn.004a8180
mov esi, eax
add esp, 8
test esi, esi
jne 0x57c068
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 7]
jmp 0x57c06b
mov byte [esi], 0
push 0x1cd7e0c
push esi
call edi
mov edx, dword [esp + 0x214]
push edx
push esi
call edi
lea eax, [esp + 8]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
lea ecx, [esp + 0x214]
call fcn.005bd7e4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret