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

Disassembly:
push 0xffffffffffffffff
push 0x5d8658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [esp + 0x30]
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
cmp dword [esi + 8], ebx
jne 0x541cc4
mov al, byte [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x34]
push ebx
mov ecx, ebp
mov byte [ebp], al
call fcn.00402850
mov edi, 0x5f23d4
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00402980
test al, al
je 0x541caf
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, 0x5f23d4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [eax + ebx], 0
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov cl, byte [esp + 0x30]
push ebx
mov byte [esp + 0x14], cl
lea ecx, [esp + 0x14]
call fcn.00402850
mov edx, dword [0x5da354]
lea ecx, [esp + 0x10]
push edx
push ebx
push esi
mov dword [esp + 0x34], ebx
call fcn.00403f40
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x541d1e
mov al, byte [edi - 1]
test al, al
je 0x541d12
cmp al, 0xff
je 0x541d12
mov eax, dword [esp + 0x18]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.00402980
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x541d1e
mov byte [edi - 1], 0xff
mov edi, dword [esp + 0x14]
xor esi, esi
mov edx, edi
xor cl, cl
mov bl, 4
mov al, byte [edx]
test al, al
je 0x541d59
test cl, cl
je 0x541d35
xor cl, cl
inc edx
jmp 0x541d26
mov ecx, eax
and ecx, 0xff
test byte [ecx + 0xa59841], bl
je 0x541d4a
mov cl, 1
inc edx
jmp 0x541d26
xor cl, cl
cmp al, 0x5c
je 0x541d54
cmp al, 0x2f
jne 0x541d56
mov esi, edx
inc edx
jmp 0x541d26
xor ebx, ebx
cmp esi, ebx
je 0x541dbc
cmp edi, ebx
je 0x541d8d
mov al, byte [edi - 1]
test al, al
je 0x541d81
cmp al, 0xff
je 0x541d81
mov edx, dword [esp + 0x18]
push ebx
push edx
lea ecx, [esp + 0x18]
call fcn.00402980
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x541d8d
mov byte [edi - 1], 0xff
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x10]
inc esi
call fcn.0044ee30
cmp edi, ebx
jne 0x541d9f
xor eax, eax
jmp 0x541da7
mov ecx, dword [esp + 0x14]
mov eax, edi
sub eax, ecx
cmp esi, ebx
jne 0x541daf
xor esi, esi
jmp 0x541db1
sub esi, edi
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00412bb0
mov esi, dword [esp + 0x30]
mov al, byte [esp + 0x10]
lea edx, [esp + 0x10]
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [0x5da354]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.00403f40
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x541e19
mov al, byte [ecx - 1]
test al, al
je 0x541e0f
cmp al, 0xff
je 0x541e0f
dec al
pop edi
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
dec ecx
push ecx
call fcn.0054a2d0
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x544940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5d8846
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov byte [esi + 4], al
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov cl, byte [esp + 0xb]
mov dword [esp + 0x18], edi
mov byte [esi + 0x28], cl
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
push 0x10
mov ecx, esi
mov byte [esp + 0x1c], 1
mov dword [esi], 0x5dc8b0
call fcn.00544b20
push 0x14
mov ecx, esi
call fcn.00544b60
push edi
mov ecx, esi
call fcn.00544b80
push 0xffffff
mov ecx, esi
call fcn.00544b30
push 0x808080
mov ecx, esi
call fcn.00544b40
push 0xffffffffffffffff
mov ecx, esi
call fcn.00544b50
push 2
mov ecx, esi
call fcn.00544ac0
push 0x12c
mov ecx, esi
call fcn.00544b70
push edi
mov ecx, esi
call fcn.005451b0
push edi
mov ecx, esi
call fcn.005451c0
push edi
mov ecx, esi
call fcn.005451d0
push 2
push 2
mov ecx, esi
call fcn.005451e0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x549520
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5d8b62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 0xc], 0x5dc0e8
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
mov eax, 0x5dbd20
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], bl
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ebx
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], 0x5dca4c
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], bl
mov dword [esi + 0x3c], 0x5dca48
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], bl
lea edi, [esi + 0x4c]
mov dword [edi + 4], ebx
mov dword [edi], 0x5da558
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
push 4
mov byte [esp + 0x20], 5
mov dword [esi], fcn.005498b0
mov dword [esi + 4], ebx
mov byte [esi + 0x48], 1
call fcn.0054a1d0
add esp, 4
cmp eax, ebx
je 0x5495c0
mov dword [eax], 0x5dc9f4
mov ebp, eax
jmp 0x5495c2
xor ebp, ebp
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp ebp, ebx
je 0x5495d6
mov dword [edi + 4], ebp
mov dword [edi + 0xc], edi
mov dword [edi + 8], edi
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x54d460
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d8ee8
push eax
mov dword fs:[0], esp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], 0
call fcn.0054d550
mov esi, dword [esp + 0x1c]
mov eax, 0x5da40c
test esi, esi
je 0x54d495
mov eax, esi
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x54d4fe
test esi, esi
je 0x54d4e6
mov al, byte [esi - 1]
test al, al
je 0x54d4dc
cmp al, 0xff
je 0x54d4dc
dec al
mov byte [esi - 1], al
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 0x10
dec esi
push esi
call fcn.0054a2d0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 0x10
test esi, esi
je 0x54d51e
mov al, byte [esi - 1]
test al, al
je 0x54d514
cmp al, 0xff
je 0x54d514
dec al
mov byte [esi - 1], al
jmp 0x54d51e
dec esi
push esi
call fcn.0054a2d0
add esp, 4
mov ecx, dword [esp + 8]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x10

Function at 0x54d940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d8f67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
call fcn.0054d760
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x5da700
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov edx, dword [esi]
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x30], 1
call dword [edx + 0x38]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
push 0
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
push eax
call dword [edx + 0x68]
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
mov edx, dword [ecx]
push 0
push 0
push esi
call dword [edx + 0xc]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esi], 0x5da700
je 0x54d9f3
lea eax, [esp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
mov dword [eax + 8], esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
jmp 0x54da01
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], 1
mov dword [esi + 4], ecx
mov dword [esp + 0x10], 0x5da700
test eax, eax
mov dword [esp + 0x28], 2
je 0x54da5c
lea edx, [esp + 0x10]
cmp eax, edx
jne 0x54da4a
test ecx, ecx
je 0x54da5c
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x55c140
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x9c4]
cmp eax, 0x270
jl 0x55c215
cmp eax, 0x271
jne 0x55c165
push 0x1105
call fcn.0055c0e0
push ebx
lea ebx, [esi + 4]
push edi
mov ecx, ebx
mov edi, 0xe3
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
xor eax, edx
add ecx, 4
and eax, 0x7fffffff
xor eax, edx
mov edx, eax
and edx, 1
shr eax, 1
mov edx, dword [edx*4 + 0x5ece9c]
xor edx, eax
mov eax, dword [ecx + 0x630]
xor edx, eax
dec edi
mov dword [ecx - 4], edx
jne 0x55c171
lea ecx, [esi + 0x390]
mov edi, 0x18c
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
xor eax, edx
add ecx, 4
and eax, 0x7fffffff
xor eax, edx
mov edx, eax
and edx, 1
shr eax, 1
mov edx, dword [edx*4 + 0x5ece9c]
xor edx, eax
mov eax, dword [ecx - 0x390]
xor edx, eax
dec edi
mov dword [ecx - 4], edx
jne 0x55c1ab
mov ecx, dword [esi + 0x9c0]
mov eax, dword [ebx]
xor eax, ecx
mov ebx, dword [esi + 0x634]
and eax, 0x7fffffff
pop edi
xor eax, ecx
mov ecx, eax
and ecx, 1
shr eax, 1
mov edx, dword [ecx*4 + 0x5ece9c]
mov dword [esi + 0x9c4], 0
xor edx, ebx
pop ebx
xor edx, eax
mov dword [esi + 0x9c0], edx
mov eax, dword [esi + 0x9c4]
inc eax
mov ecx, dword [esi + eax*4]
mov dword [esi + 0x9c4], eax
mov eax, ecx
pop esi
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x55c4a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5d8fc9
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
lea edi, [esi + 4]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [edi + 4], ebx
mov dword [edi], 0x5da670
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
or eax, 0xffffffff
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], 0x5da678
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov cl, byte [esp + 0x20]
mov byte [esi + 0x30], cl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
lea edx, [esp + 0x20]
mov byte [esp + 0x18], 3
cmp edi, edx
mov dword [esi], 0x5dccbc
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
je 0x55c55f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [esp + 0x28]
cmp edx, ebx
je 0x55c556
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
mov dword [eax + 8], edi
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
jmp 0x55c563
mov edx, dword [esp + 0x28]
mov ecx, 0x10
xor eax, eax
lea edi, [esi + 0x60]
cmp edx, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], 0x5da670
je 0x55c5a4
lea ecx, [esp + 0x20]
cmp edx, ecx
jne 0x55c592
mov edx, dword [esp + 0x24]
push edx
call fcn.0054a2d0
add esp, 4
jmp 0x55c5a4
mov eax, dword [esp + 0x2c]
mov dword [edx + 0xc], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x563159
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d9564
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 0xc]
call fcn.00562ff0
xor ebx, ebx
lea ecx, [esi + 0x7c]
mov dword [esp + 0x1c], ebx
call fcn.00562ff0
mov al, byte [esp + 0xf]
mov dword [esi + 0xf0], ebx
mov byte [esi + 0xec], al
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
push fcn.0045b9f0
push 0x4597b0
push 0x10
lea ecx, [esi + 0xfc]
push 0x10
push ecx
mov byte [esp + 0x30], 2
call fcn.005c3e67
mov dl, byte [esp + 0xf]
mov al, byte [esp + 0xf]
mov cl, byte [esp + 0xf]
mov byte [esi + 0x1fc], dl
mov dword [esi + 0x200], ebx
mov dword [esi + 0x204], ebx
mov dword [esi + 0x208], ebx
mov byte [esi + 0x354], al
mov dword [esi + 0x358], ebx
mov dword [esi + 0x35c], ebx
mov dword [esi + 0x360], ebx
mov byte [esi + 0x364], cl
mov dword [esi + 0x368], ebx
mov dword [esi + 0x36c], ebx
mov dword [esi + 0x370], ebx
mov dword [esi + 0x390], ebx
mov dword [esi + 0x38c], 0x5db480
mov dword [esi + 0x398], ebx
mov dword [esi + 0x394], ebx
mov dword [esi + 0x3a4], ebx
mov dword [esi + 0x3a0], 0x5db478
mov dword [esi + 0x3ac], ebx
mov dword [esi + 0x3a8], ebx
mov dword [esi + 0x3b8], ebx
mov dword [esi + 0x3b4], 0x5db470
mov dword [esi + 0x3c0], ebx
mov dword [esi + 0x3bc], ebx
mov ecx, 0x10
xor eax, eax
lea edi, [esi + 0x314]
mov dword [esi], 0x5dcdb4
mov byte [esi + 0x20c], bl
mov byte [esi + 0x30c], 1
mov dword [esi + 0x374], ebx
mov dword [esi + 0x378], ebx
mov byte [esi + 0x380], bl
mov dword [esi + 0x384], 0x808080
mov dword [esi + 0x388], 0xffffffff
mov dword [esi + 0x39c], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
mov byte [esi + 0x3b0], bl
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x564900
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d96d0
push eax
mov dword fs:[0], esp
sub esp, 0x70
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x3c]
test al, al
jne 0x564994
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
push edx
lea ecx, [esi + 0x80]
call fcn.00545350
mov eax, dword [esp + 4]
test eax, eax
je 0x564949
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x564958
mov ecx, 1
mov eax, ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dl, byte [esi + 0xd4]
test dl, dl
je 0x564970
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov edx, dword [esi]
push 0
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
test eax, eax
je 0x564994
mov eax, 1
pop esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret
lea ecx, [esp + 0x10]
call fcn.00560e50
mov eax, dword [0x5da354]
lea ecx, [esi + 0x84]
push eax
push 0
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x88], 0
call fcn.00403f40
mov edx, dword [esi + 0x94]
mov ecx, dword [esi + 0x9c]
mov eax, dword [esi + 0x98]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0xa0]
mov dword [esp + 0x38], ecx
mov ecx, dword [0x5da354]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0xa4]
push ecx
lea edx, [esi + 0xa8]
push 0
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], eax
call fcn.00403f40
mov ecx, dword [esi + 0xbc]
mov eax, dword [esi + 0xb8]
mov dl, byte [esi + 0xc0]
mov dword [esp + 0x58], ecx
mov cl, byte [esi + 0xc2]
mov dword [esp + 0x54], eax
mov al, byte [esi + 0xc1]
mov byte [esp + 0x5e], cl
mov ecx, dword [esi + 0xcc]
mov byte [esp + 0x5c], dl
mov edx, dword [esi + 0xc4]
mov dword [esp + 0x68], ecx
mov cl, byte [esi + 0xd4]
mov byte [esp + 0x5d], al
mov eax, dword [esi + 0xc8]
mov byte [esp + 0xc], cl
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xd0]
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], eax
call fcn.00560ec0
lea ecx, [esp + 0x10]
call fcn.00560ed0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push 0
push eax
mov ecx, esi
call fcn.004b3170
mov dword [esi + 0xd8], 1
mov dword [esp + 0x10], 0x5db48c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7c], 1
call fcn.00544a40
lea ecx, [esp + 0x10]
mov dword [esp + 0x7c], 0xffffffff
call fcn.004969f0
mov ecx, dword [esp + 0x74]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x7c
ret
Function at 0x566d50
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [0xa5374c]
sub esp, 0x18
push esi
mov esi, ecx
cmp byte [esi + 0xc], al
jne 0x566d6b
mov cl, byte [esi + 0x67]
test cl, cl
je 0x566e70
test al, al
mov byte [esi + 0xc], al
mov byte [esi + 0x67], 0
jne 0x566e39
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.00566c70
mov edx, dword [esi + 0x30]
mov eax, dword [esp + 0x14]
mov edi, dword [esi + 0x34]
mov ecx, dword [esp + 0x10]
sub eax, edx
sub ecx, edi
sar eax, 1
add edx, eax
add esp, 8
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
sar ecx, 1
mov dword [esp + 0xc], eax
lea edx, [esi + 0x10]
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ecx
add edi, ecx
mov dword [esp + 8], ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x24], edi
call fcn.00566e80
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 8]
sub ecx, edi
push 4
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 8]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_GetMenu]
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, dword [esi + 8]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00547610
pop edi
pop esi
add esp, 0x18
ret
mov edx, dword [esi + 8]
push 0x80000000
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetMenu]
mov edx, dword [esi + 8]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00547640
pop esi
add esp, 0x18
ret
Function at 0x5be880
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.005be820
and esi, 0xffff
add esp, 4
mov ax, word [esi*2 + 0xa53ccc]
lea ecx, [esi*2 + 0xa53ccc]
mov si, word [esp + 0xc]
mov dl, al
and edx, 0xff
cmp dx, si
jae 0x5be8dc
lea edx, [eax + 1]
xor dl, al
and edx, 0xff
xor edx, eax
mov word [ecx], dx
inc word [0xa53cca]
mov ax, word [ecx]
mov dl, al
and edx, 0xff
cmp dx, si
jb 0x5be8b5
pop esi
ret

Function at 0x5ccc59
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5f1f50
cmp edx, dword [eax]
je 0x5ccc7b
add eax, 8
inc ecx
cmp eax, 0x5f1fe0
jl 0x5ccc6c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5f1f50]
jne 0x5ccda9
mov eax, dword [0xa53928]
cmp eax, 1
je 0x5ccd83
test eax, eax
jne 0x5cccac
cmp dword [0x5f0ee4], 1
je 0x5ccd83
cmp edx, 0xfc
je 0x5ccda9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5ccce3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.005c91b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.005c6070
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x5ccd26
lea eax, [ebp - 0x1a4]
push eax
call fcn.005c6070
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x5de890
push edi
call fcn.005c3700
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.005c91b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.005c91c0
lea eax, [ebp - 0xa0]
push 0x5de870
push eax
call fcn.005c91c0
push dword [esi + 0x5f1f54]
lea eax, [ebp - 0xa0]
push eax
call fcn.005c91c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.005ce62f
add esp, 0x2c
pop edi
jmp 0x5ccda9
lea eax, [ebp + 8]
lea esi, [esi + 0x5f1f54]
push 0
push eax
push dword [esi]
call fcn.005c6070
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 0x457ba0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6d33
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x645624]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x64cec0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx], 0x64cec0
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x6090cf
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00456200
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret