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

Disassembly:
push 0xffffffffffffffff
push 0x5b0edf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x614cb0]
push ebx
push esi
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x3c]
lea esi, [ecx + 0x1b0]
push 1
lea eax, [esp + 0x40]
mov bl, 6
push edi
push eax
mov ecx, esi
mov byte [esp + 0x3c], bl
call fcn.0056eb73
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 7
call fcn.00575c21
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.00575ae8
push 2
lea ecx, [esp + 0x40]
push edi
push ecx
mov ecx, esi
call fcn.0056eb73
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 8
call fcn.00575c21
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.00575ae8
push 3
lea edx, [esp + 0x40]
push edi
push edx
mov ecx, esi
call fcn.0056eb73
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 9
call fcn.00575c21
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.00575ae8
push 0
lea eax, [esp + 0x40]
push edi
push eax
mov ecx, esi
call fcn.0056eb73
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0xa
call fcn.00575c21
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.00575ae8
push 4
push edi
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.0056eb73
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0xb
call fcn.00575c21
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.00575ae8
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push str.__8s_9s__4s___12s_s
push ecx
call fcn.0056d732
mov esi, dword [esp + 0x54]
add esp, 0x1c
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.0057585d
mov dword [esp + 0x24], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 5
call fcn.00575ae8
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 4
call fcn.00575ae8
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call fcn.00575ae8
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.00575ae8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.00575ae8
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 0
call fcn.00575ae8
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x508d40
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b229e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push 1
mov dword [ebp - 0x28], esi
call fcn.00506600
test eax, eax
je 0x508fd7
lea ecx, [ebp - 0x3c]
call fcn.005760db
lea eax, [esi + 0x10]
push str..tmp
lea ecx, [ebp - 0x18]
xor ebx, ebx
push eax
push ecx
mov dword [ebp - 4], ebx
call fcn.00575d7d
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0057700b
mov edx, dword [ebp - 0x18]
push ebx
push 0x1001
push edx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.00576150
push ebx
push 0x1000
lea eax, [ebp - 0x3c]
push ebx
push eax
lea ecx, [ebp - 0x8c]
call fcn.00579d2d
mov eax, dword [0x614cb0]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push ecx
push edx
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00508ff0
xor edi, edi
mov ecx, dword [esi + 0x28]
lea eax, [ebp - 0x14]
push eax
call fcn.0057a2a9
cmp eax, ebx
je 0x508ea1
push 0x600f14
lea ecx, [ebp - 0x14]
call fcn.00575ec4
lea ecx, [ebp - 0x12c]
call fcn.0051d950
cmp edi, ebx
mov byte [ebp - 4], 7
jne 0x508e7e
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x12c]
push 0xffffffffffffffff
push ecx
push edx
mov ecx, esi
call fcn.00509810
cmp eax, ebx
je 0x508e7e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], 1
fld qword [eax + 8]
fcomp qword [ebp - 0x124]
fnstsw ax
test ah, 1
jne 0x508e58
mov dword [ebp - 0x24], ebx
fild dword [ebp - 0x24]
fabs
fcomp qword [0x5bb338]
fnstsw ax
test ah, 0x40
jne 0x508e7e
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.0057a1da
mov edi, 1
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 6
call fcn.0051da80
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x8c]
push edx
call fcn.0057a1da
jmp 0x508def
cmp edi, ebx
jne 0x508eb4
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x8c]
push eax
call fcn.0057a1da
lea ecx, [ebp - 0x8c]
call fcn.00579e91
lea ecx, [ebp - 0x3c]
call fcn.00576480
mov ecx, esi
call fcn.00506720
add esi, 0x10
push str..bak
lea ecx, [ebp - 0x20]
push esi
push ecx
call fcn.00575d7d
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x20]
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
push ecx
push eax
call edi
mov esi, dword [esi]
mov edx, dword [ebp - 0x18]
push esi
push edx
call edi
lea ecx, [ebp - 0x20]
call fcn.00575ae8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00575ae8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00575ae8
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
call fcn.00579e09
mov dword [ebp - 4], 1
call fcn.00577049
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00575ae8
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.0057610d
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 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 0x51d950
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b4fd5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x614cb0]
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], eax
mov ecx, dword [0x614cb0]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov edx, dword [0x614cb0]
mov dword [esi + 0x58], edx
mov eax, dword [0x614cb0]
mov dword [esi + 0x5c], eax
mov ecx, dword [0x614cb0]
mov dword [esi + 0x60], ecx
mov edx, dword [0x614cb0]
mov dword [esi + 0x64], edx
mov eax, dword [0x614cb0]
mov dword [esi + 0x68], eax
mov ecx, dword [0x614cb0]
mov dword [esi + 0x6c], ecx
mov edx, dword [0x614cb0]
mov dword [esi + 0x70], edx
mov eax, dword [0x614cb0]
mov dword [esi + 0x74], eax
mov ecx, dword [0x614cb0]
mov dword [esi + 0x78], ecx
mov edx, dword [0x614cb0]
mov dword [esi + 0x7c], edx
mov eax, dword [0x614cb0]
mov dword [esi + 0x80], eax
mov ecx, dword [0x614cb0]
mov dword [esi + 0x84], ecx
mov edx, dword [0x614cb0]
mov dword [esi + 0x88], edx
mov eax, dword [0x614cb0]
mov dword [esi + 0x8c], eax
mov ecx, dword [0x614cb0]
mov dword [esi + 0x90], ecx
mov edx, dword [0x614cb0]
mov dword [esi + 0x94], edx
mov ecx, esi
mov byte [esp + 0x10], 0x11
call fcn.0051dd50
mov eax, esi
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5299e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b5eb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 4], esi
call fcn.00529100
mov eax, dword [esp + 0x38]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x30], esi
call fcn.00529370
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0xc]
call fcn.005294f0
mov esi, dword [esp + 0x34]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.005291a0
lea ecx, [esp + 8]
call fcn.00529210
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x529a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b5ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 4], esi
call fcn.00529100
mov eax, dword [esp + 0x38]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x30], esi
call fcn.00529370
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0xc]
call fcn.00529600
mov esi, dword [esp + 0x34]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.005291a0
lea ecx, [esp + 8]
call fcn.00529210
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x529ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b5ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 4], esi
call fcn.00529100
mov eax, dword [esp + 0x38]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x30], esi
call fcn.00529280
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0xc]
call fcn.005294f0
mov esi, dword [esp + 0x34]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.005291a0
lea ecx, [esp + 8]
call fcn.00529210
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x529b60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b5f18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 4], esi
call fcn.00529100
mov eax, dword [esp + 0x38]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x30], esi
call fcn.00529370
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0xc]
call fcn.00529700
mov esi, dword [esp + 0x34]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.005291a0
lea ecx, [esp + 8]
call fcn.00529210
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x529be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b5f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 4], esi
call fcn.00529100
mov eax, dword [esp + 0x38]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x30], esi
call fcn.00529320
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0xc]
call fcn.005294f0
mov esi, dword [esp + 0x34]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.005291a0
lea ecx, [esp + 8]
call fcn.00529210
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x52dff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b6516
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, dword [edi + 8]
sub esp, 0x38
xor eax, eax
mov esi, esp
mov dword [esp + 0x48], esp
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], esi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov eax, dword [0x614cb0]
lea ecx, [esi + 0x14]
mov dword [ecx], eax
mov edx, dword [0x614cb0]
lea ebx, [esi + 0x18]
mov dword [ebx], edx
mov dword [esi], 0x5ce7bc
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x70]
mov byte [esp + 0x54], 3
push edx
mov dword [esi + 0x10], eax
call fcn.00575c21
lea eax, [esp + 0x74]
mov ecx, ebx
push eax
call fcn.00575c21
mov ecx, dword [esp + 0x78]
push ebp
mov dword [esi + 0x1c], ecx
mov edx, dword [esp + 0x80]
mov dword [esi + 0x20], edx
mov eax, dword [esp + 0x84]
mov dword [esi + 0x24], eax
mov ecx, dword [esp + 0x88]
mov dword [esi + 0x28], ecx
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x2c], edx
mov eax, dword [esp + 0x90]
mov dword [esi + 0x30], eax
mov ecx, dword [esp + 0x94]
mov dword [esi + 0x34], ecx
mov edx, dword [esp + 0x64]
mov ecx, edi
mov dword [esi + 4], edx
mov byte [esp + 0x58], 0
call fcn.0052e100
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0052d790
mov ecx, dword [esp + 0x14]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x38
Function at 0x531d10
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xca
jne 0x531d53
mov ecx, dword [ebp + 8]
push ecx
call fcn.0053960b
add esp, 4
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0x40]
test eax, eax
je 0x531d49
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0xcf
mov al, 1
jmp 0x531e6a
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcb
jne 0x531e2a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
xor eax, eax
mov al, byte [edx + 0x10]
test eax, eax
je 0x531e19
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x531d91
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call dword [ecx]
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x190]
call dword [ecx]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x531db3
xor al, al
jmp 0x531e6a
cmp dword [ebp - 4], 2
jne 0x531dbb
jmp 0x531e19
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x531e14
cmp dword [ebp - 4], 3
je 0x531dd0
cmp dword [ebp - 4], 1
jne 0x531e14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
add edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [eax + 4]
cmp eax, dword [edx + 8]
jl 0x531e14
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x11c]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov dword [ecx + 8], eax
jmp 0x531d79
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
mov dword [edx + 0x84], ecx
jmp 0x531e5e
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0xcc
je 0x531e5e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ecx + 0x14], 0x14
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
call dword [edx]
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.00531e6e
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x531e6e
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcc
je 0x531ea4
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x180]
call dword [eax]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
xor edx, edx
mov dl, byte [ecx + 8]
test edx, edx
je 0x531f6a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x78]
cmp edx, dword [ecx + 0x60]
jae 0x531f36
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x531efe
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
call dword [edx]
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 4], ecx
push 0
mov edx, dword [ebp + 8]
add edx, 0x78
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x184]
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
cmp ecx, dword [ebp - 4]
jne 0x531f34
xor al, al
jmp 0x531f86
jmp 0x531eba
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
call dword [ecx + 4]
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
call dword [ecx]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], 0
jmp 0x531ea4
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 0x41]
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 0xcd
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], ecx
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x563dc7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x617578
cmp edx, dword [eax]
je 0x563de9
add eax, 8
inc ecx
cmp eax, 0x617608
jl 0x563dda
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x617578]
jne 0x563f17
mov eax, dword [0x6b89ec]
cmp eax, 1
je 0x563ef1
test eax, eax
jne 0x563e1a
cmp dword [0x6162c8], 1
je 0x563ef1
cmp edx, 0xfc
je 0x563f17
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x563e51
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0055f140
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0055abc0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x563e94
lea eax, [ebp - 0x1a4]
push eax
call fcn.0055abc0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x60ff94
push edi
call fcn.00557550
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0055f140
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0055f150
lea eax, [ebp - 0xa0]
push 0x5d6500
push eax
call fcn.0055f150
push dword [esi + 0x61757c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0055f150
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00567080
add esp, 0x2c
pop edi
jmp 0x563f17
lea eax, [ebp + 8]
lea esi, [esi + 0x61757c]
push 0
push eax
push dword [esi]
call fcn.0055abc0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x56c850
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00557520
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x56c91b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x56c91b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x56c8ce
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x56c8d9
or bh, 8
and edi, 0x8000000
je 0x56c8f4
mov eax, dword [0x6ba19c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x56c91b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x56ccf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x56cd1b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x56cd3f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x56cd5a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20