joyce8/EMBER2024-capa huggingface dataset:
Function at 0x518100
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], ecx
mov byte [ebp - 0x44], 0x4d
mov byte [ebp - 0x43], 0x6f
mov byte [ebp - 0x42], 0x7a
mov byte [ebp - 0x41], 0x69
mov byte [ebp - 0x40], 0x6c
mov byte [ebp - 0x3f], 0x6c
mov byte [ebp - 0x3e], 0x61
mov byte [ebp - 0x3d], 0x2f
mov byte [ebp - 0x3c], 0x35
mov byte [ebp - 0x3b], 0x2e
mov byte [ebp - 0x3a], 0x30
mov byte [ebp - 0x39], 0x20
mov byte [ebp - 0x38], 0x28
mov byte [ebp - 0x37], 0x57
mov byte [ebp - 0x36], 0x69
mov byte [ebp - 0x35], 0x6e
mov byte [ebp - 0x34], 0x64
mov byte [ebp - 0x33], 0x6f
mov byte [ebp - 0x32], 0x77
mov byte [ebp - 0x31], 0x73
mov byte [ebp - 0x30], 0x20
mov byte [ebp - 0x2f], 0x4e
mov byte [ebp - 0x2e], 0x54
mov byte [ebp - 0x2d], 0x20
mov byte [ebp - 0x2c], 0x31
mov byte [ebp - 0x2b], 0x30
mov byte [ebp - 0x2a], 0x2e
mov byte [ebp - 0x29], 0x30
mov byte [ebp - 0x28], 0x3b
mov byte [ebp - 0x27], 0x54
mov byte [ebp - 0x26], 0x72
mov byte [ebp - 0x25], 0x69
mov byte [ebp - 0x24], 0x64
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x6e
mov byte [ebp - 0x21], 0x74
mov byte [ebp - 0x20], 0x2f
mov byte [ebp - 0x1f], 0x37
mov byte [ebp - 0x1e], 0x2e
mov byte [ebp - 0x1d], 0x30
mov byte [ebp - 0x1c], 0x3b
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x76
mov byte [ebp - 0x19], 0x3a
mov byte [ebp - 0x18], 0x31
mov byte [ebp - 0x17], 0x31
mov byte [ebp - 0x16], 0x2e
mov byte [ebp - 0x15], 0x30
mov byte [ebp - 0x14], 0x29
mov byte [ebp - 0x13], 0x20
mov byte [ebp - 0x12], 0x6c
mov byte [ebp - 0x11], 0x69
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x20
mov byte [ebp - 0xd], 0x47
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x63
mov byte [ebp - 0xa], 0x6b
mov byte [ebp - 9], 0x6f
mov byte [ebp - 8], 0
lea eax, [ebp - 0x44]
push eax
push 0x3d
push 0x687198
call fcn.0051bcc0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret
Function at 0x518490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x3c], 0x4d
mov byte [ebp - 0x3b], 0x6f
mov byte [ebp - 0x3a], 0x7a
mov byte [ebp - 0x39], 0x69
mov byte [ebp - 0x38], 0x6c
mov byte [ebp - 0x37], 0x6c
mov byte [ebp - 0x36], 0x61
mov byte [ebp - 0x35], 0x2f
mov byte [ebp - 0x34], 0x34
mov byte [ebp - 0x33], 0x2e
mov byte [ebp - 0x32], 0x30
mov byte [ebp - 0x31], 0x20
mov byte [ebp - 0x30], 0x28
mov byte [ebp - 0x2f], 0x63
mov byte [ebp - 0x2e], 0x6f
mov byte [ebp - 0x2d], 0x6d
mov byte [ebp - 0x2c], 0x70
mov byte [ebp - 0x2b], 0x61
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x69
mov byte [ebp - 0x28], 0x62
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x3b
mov byte [ebp - 0x24], 0x20
mov byte [ebp - 0x23], 0x4d
mov byte [ebp - 0x22], 0x53
mov byte [ebp - 0x21], 0x49
mov byte [ebp - 0x20], 0x45
mov byte [ebp - 0x1f], 0x20
mov byte [ebp - 0x1e], 0x36
mov byte [ebp - 0x1d], 0x2e
mov byte [ebp - 0x1c], 0x30
mov byte [ebp - 0x1b], 0x3b
mov byte [ebp - 0x1a], 0x20
mov byte [ebp - 0x19], 0x57
mov byte [ebp - 0x18], 0x69
mov byte [ebp - 0x17], 0x6e
mov byte [ebp - 0x16], 0x64
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x77
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x20
mov byte [ebp - 0x11], 0x4e
mov byte [ebp - 0x10], 0x54
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x35
mov byte [ebp - 0xd], 0x2e
mov byte [ebp - 0xc], 0x31
mov byte [ebp - 0xb], 0x3b
mov byte [ebp - 0xa], 0x20
mov byte [ebp - 9], 0x53
mov byte [ebp - 8], 0x4d
mov byte [ebp - 7], 0x54
mov byte [ebp - 6], 0x29
mov byte [ebp - 5], 0
lea eax, [ebp - 0x3c]
push eax
push 0x38
push 0x687320
call fcn.0051bcc0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret
Function at 0x51ba70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e80b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x238], 0
xor eax, eax
mov byte [ebp - 0x231], al
lea ecx, [ebp - 0x231]
call fcn.00515880
push eax
lea ecx, [ebp - 0x230]
call fcn.0040ec80
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004b7f70
lea edx, [ebp - 0x238]
push edx
lea ecx, [ebp - 0x230]
call fcn.0040e9d0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x51bb7e
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0058a9f0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x51bb7e
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
mov ecx, dword [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x51bb7e
mov dword [ebp - 0x240], 1
cmp dword [ebp - 0x238], 0
je 0x51bb94
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x244], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0040ebb0
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 8
Function at 0x51deb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0x17
jne 0x51dee6
mov ecx, dword [ebp - 4]
call fcn.0051e230
movzx ecx, ax
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x51e011
mov edx, dword [ebp + 8]
cmp dword [edx], 0xd
jne 0x51df73
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ecx + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x51df69
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x34]
call edx
mov ecx, dword [ebp - 4]
add ecx, 0x568
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x560], edx
mov dword [ecx + 0x564], eax
mov edx, dword [ebp - 4]
mov byte [edx + 0x578], 1
jmp 0x51e011
mov eax, dword [ebp + 8]
cmp dword [eax], 0xe
jne 0x51dfae
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x578], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 0x558], 0
je 0x51dfaa
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x558]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x558]
mov edx, dword [eax + 8]
call edx
jmp 0x51e011
mov eax, dword [ebp + 8]
cmp dword [eax], 9
jne 0x51e005
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x558], 0
je 0x51e003
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x578]
test eax, eax
je 0x51e003
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x51e003
mov edx, dword [ebp + 8]
add edx, 0xc
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x558]
mov eax, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [eax + 0x558]
mov eax, dword [edx + 4]
call eax
jmp 0x51e011
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0046d6b0
mov esp, ebp
pop ebp
ret 4
Function at 0x51e020
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0xd
jne 0x51e097
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ecx + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x51e08d
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0xc]
sub ecx, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x55c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x10]
sub edx, dword [ecx + 4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x560], edx
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x564], 1
jmp 0x51e130
mov edx, dword [ebp + 8]
cmp dword [edx], 0xe
jne 0x51e0d2
mov eax, dword [ebp - 4]
mov byte [eax + 0x564], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x558], 0
je 0x51e0ce
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x558]
mov ecx, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x558]
mov eax, dword [edx + 8]
call eax
jmp 0x51e130
mov ecx, dword [ebp + 8]
cmp dword [ecx], 9
jne 0x51e124
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x51e124
mov eax, dword [ebp - 4]
cmp dword [eax + 0x558], 0
je 0x51e122
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x564]
test edx, edx
je 0x51e122
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x558]
mov eax, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [eax + 0x558]
mov eax, dword [edx]
call eax
jmp 0x51e130
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0046d6b0
mov esp, ebp
pop ebp
ret 4
Function at 0x531a90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x67e4d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x20]
test ecx, ecx
jne 0x531aca
xor eax, eax
jmp 0x531bbd
mov ecx, dword [ebp - 0x10]
call fcn.00531fb0
test eax, eax
je 0x531b18
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x532840
push 0
push 0
call fcn.005a82d8
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0
jne 0x531b09
xor eax, eax
jmp 0x531bbd
mov eax, 1
jmp 0x531bbd
mov eax, dword [ebp - 0x10]
add eax, 0x60
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x44]
push edx
lea ecx, [ebp - 0x24]
call fcn.00472570
mov dword [ebp - 4], 0
push 0xff
push 0xff
push 0xff
push 0xff
lea ecx, [ebp - 0x14]
call fcn.00472330
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.0049f5e0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x24]
call fcn.00528680
mov eax, dword [ebp - 0x10]
add eax, 0x60
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00531f90
mov ecx, dword [ebp - 0x10]
call fcn.005325b0
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00472a40
mov eax, dword [ebp - 0x18]
jmp 0x531bbd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x53a8a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 0x208
push eax
mov word [ebp - 0x224], ax
mov byte [ebp - 0x2c2], al
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 7
mov dword [ebp - 0x2cc], 1
mov dword [ebp - 0x2c8], 0x104
call fcn.0058a9f0
add esp, 0xc
lea eax, [ebp - 0x2c8]
lea ecx, [ebp - 0x2c1]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.00539e60
push eax
lea ecx, [ebp - 0x2c1]
call fcn.00539c20
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x53a946
sub ecx, edx
sar ecx, 1
cmp ecx, 0x10
jb 0x53a96f
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040ea50
jmp 0x53a9cd
lea eax, [ebp - 0x23c]
push eax
call fcn.005df700
mov esi, eax
add esp, 4
lea eax, [ebp - 0x224]
cmp eax, esi
je 0x53a9bb
mov ecx, eax
call fcn.0040fa10
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x224], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x214], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x23c]
call fcn.0040ebb0
mov byte [ebp - 0x2c2], 1
cmp dword [ebp - 0x210], 8
lea eax, [ebp - 0x224]
push 0xfde9
cmovae eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x2c0]
push eax
call fcn.005398f0
push dword [ebp - 0x2c0]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
lea esi, [eax + 1]
test ebx, ebx
je 0x53aa80
push dword [ebp - 0x2c0]
call edi
mov edi, dword [ebp + 0xc]
inc eax
cmp eax, edi
jle 0x53aa1b
xor esi, esi
jmp 0x53aa80
push edi
push 0
push ebx
call fcn.0058a9f0
add esp, 0xc
push dword [ebp - 0x2c0]
push edi
push ebx
call fcn.0051bcc0
cmp byte [ebp - 0x2c2], 0
je 0x53aa80
cmp dword [ebp - 0x210], 8
lea ecx, [ebp - 0x224]
mov eax, dword [ebp - 0x214]
cmovae ecx, dword [ebp - 0x224]
add eax, eax
push eax
push ecx
push 1
lea ecx, [ebp - 0x2c1]
call fcn.0053a0a0
push eax
lea ecx, [ebp - 0x2c1]
call fcn.00539d40
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x2bc]
cmp eax, ecx
je 0x53aa99
push eax
call fcn.005a6762
add esp, 4
mov edx, dword [ebp - 0x210]
cmp edx, 8
jb 0x53aad5
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x53aacb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53aaea
push edx
push ecx
call fcn.00536dc0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00536569
mov esp, ebp
pop ebp
ret 8
call fcn.005a6a4b
int3
Function at 0x53c650
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x53c6f3
cmp byte [esi + 0x3d], 0
je 0x53c6f3
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x53c6a9
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x53c6bb
sub eax, 1
je 0x53c6bf
sub eax, 2
je 0x53c6f3
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x53c6dc
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005c4724
add esp, 0x10
cmp edi, eax
jne 0x53c6a9
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00536569
mov esp, ebp
pop ebp
ret
Function at 0x53d770
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x53d7a0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x53d7dc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x53d7dc
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x53d8c3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x53d804
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x53d837
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.005c3cca
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x28], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x53d8c3
cmp eax, 1
jle 0x53d896
cmp eax, 3
jne 0x53d8c3
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.0053ad20
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x53d8b3
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005c4724
add esp, 0x10
cmp edi, eax
jne 0x53d8c3
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x53d7c7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00536569
mov esp, ebp
pop ebp
ret 4
Function at 0x53ef50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x53f024
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test esi, esi
jl 0x53f013
jg 0x53ef88
test edx, edx
je 0x53f013
call fcn.0053c710
mov esi, eax
mov eax, edx
mov dword [ebp - 8], eax
test eax, eax
jl 0x53efd8
jg 0x53ef9e
test esi, esi
je 0x53efd8
cmp ebx, eax
jg 0x53efad
jl 0x53efa8
cmp edi, esi
jae 0x53efad
mov esi, edi
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
push esi
mov eax, dword [eax + 0x1c]
push dword [eax]
push dword [ebp + 8]
call fcn.0058a470
mov ecx, dword [ebp - 4]
add esp, 0xc
sub edi, esi
sbb ebx, dword [ebp - 8]
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov eax, dword [ebp + 8]
jmp 0x53effa
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x53f00d
mov eax, dword [ebp + 8]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
mov byte [eax], cl
mov ecx, dword [ebp - 4]
add eax, esi
mov dword [ebp + 8], eax
test ebx, ebx
jg 0x53ef88
jl 0x53f00d
test edi, edi
jne 0x53ef88
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
pop edi
sbb esi, ebx
mov eax, edx
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x1c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov eax, dword [eax]
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x53f043
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax]
jmp 0x53f045
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [ebp + 0x10], eax
test edi, edi
jl 0x53f0ed
jg 0x53f05f
test esi, esi
je 0x53f0ed
test eax, eax
jl 0x53f09e
jg 0x53f069
test ebx, ebx
je 0x53f09e
cmp edi, eax
jg 0x53f078
jl 0x53f073
cmp esi, ebx
jae 0x53f078
mov ebx, esi
mov dword [ebp + 0x10], edi
push ebx
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0058a470
mov ecx, dword [ebp - 4]
add esp, 0xc
add dword [ebp + 8], ebx
sub esi, ebx
sbb edi, dword [ebp + 0x10]
mov eax, dword [ecx + 0x2c]
sub dword [eax], ebx
mov eax, dword [ecx + 0x1c]
add dword [eax], ebx
jmp 0x53f0a4
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test edi, edi
jl 0x53f0ed
jg 0x53f0ae
test esi, esi
je 0x53f0ed
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x53f0ed
mov ebx, dword [ecx + 0xc]
lea eax, [ecx + 0x3c]
cmp dword [ebx], eax
jne 0x53f0d9
mov edx, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov edx, dword [ebx + 0x4c]
push edx
push esi
push 1
push dword [ebp + 8]
call fcn.005c3ff5
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x53f1d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x53f29e
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test esi, esi
jl 0x53f28d
jg 0x53f208
test edx, edx
je 0x53f28d
call fcn.0053cad0
mov esi, eax
mov eax, edx
mov dword [ebp - 8], eax
test eax, eax
jl 0x53f256
jg 0x53f21e
test esi, esi
je 0x53f256
cmp ebx, eax
jg 0x53f22d
jl 0x53f228
cmp edi, esi
jae 0x53f22d
mov esi, edi
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.0058a470
mov ecx, dword [ebp - 4]
add esp, 0xc
sub edi, esi
sbb ebx, dword [ebp - 8]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x53f27a
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x53f287
mov ecx, dword [ebp - 4]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [ebp + 8], esi
test ebx, ebx
jg 0x53f208
jl 0x53f287
test edi, edi
jne 0x53f208
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
pop edi
sbb esi, ebx
mov eax, edx
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov eax, dword [eax]
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x53f2bd
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x53f2bf
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [ebp + 0x10], eax
test edi, edi
jl 0x53f338
jg 0x53f2d1
test esi, esi
je 0x53f338
test eax, eax
jl 0x53f312
jg 0x53f2db
test ebx, ebx
je 0x53f312
cmp edi, eax
jg 0x53f2ea
jl 0x53f2e5
cmp esi, ebx
jae 0x53f2ea
mov ebx, esi
mov dword [ebp + 0x10], edi
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.0058a470
mov ecx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov eax, dword [ecx + 0x30]
sbb edi, dword [ebp + 0x10]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
jmp 0x53f315
mov edx, dword [ebp + 8]
test edi, edi
jl 0x53f338
jg 0x53f31f
test esi, esi
je 0x53f338
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x53f338
push eax
push esi
push 1
push edx
call fcn.005c4724
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc