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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4537e6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x46f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0042421b
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00421eeb
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x419a10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
mov ecx, dword [esi + 0x18]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
imul eax, edx, 0x1000193
mov edx, dword [esi + 0xc]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
nop dword [eax + eax]
cmp ebx, esi
jne 0x419a58
mov ecx, esi
jmp 0x419a5d
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x419a86
mov cx, word [eax + 8]
cmp cx, word [edi]
je 0x419a6e
mov eax, dword [eax]
jmp 0x419a50
mov cx, word [edi]
cmp cx, word [eax + 8]
mov ecx, dword [ebp + 8]
cmovne eax, esi
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41a200
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45457b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x46f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov dword [esi + 8], 0x4723d4
mov dword [esi + 0xc], 0
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 0
push dword [esi]
mov edx, dword [esi + 8]
push dword [esi + 0xc]
push dword [esi + 4]
push dword [esi]
call fcn.0041aed0
add esp, 0x10
test al, al
mov eax, esi
jne 0x41a2c3
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41a9a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x41a9d1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x41a9c0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x41f360
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x41f583
nop dword [eax + eax]
cmp eax, 0x7c
je 0x41f583
cmp eax, 0x29
jne 0x41f3a5
cmp dword [esi + 0x10], 0
jne 0x41f583
test dword [esi + 0x50], 0x10000000
je 0x41f58b
cmp eax, 0x2e
jne 0x41f452
push 0x14
call fcn.0042421b
mov ecx, eax
add esp, 4
mov dword [ebp - 4], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx], vtable.std::_Node_base.0
mov dword [ecx + 4], 5
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41f3fb
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x28], ecx
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x41f446
cmp word [eax], 0x5c
jne 0x41f443
add eax, 2
cmp eax, ecx
je 0x41f443
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x41f42f
movzx edx, word [eax]
cmp edx, 0x28
je 0x41f441
cmp edx, 0x29
je 0x41f441
test cl, 0x10
jne 0x41f443
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x41f441
cmp ecx, 0x7d
jne 0x41f443
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.0041e3c0
jmp 0x41f56e
cmp eax, 0x5c
jne 0x41f4b5
mov ecx, esi
call fcn.0041f310
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x41f483
cmp word [esi + 0x48], 0x62
jne 0x41f483
lea ecx, [esi + 0x24]
call fcn.0041fe30
mov ecx, esi
call fcn.0041f310
jmp 0x41f575
test eax, eax
je 0x41f4a9
cmp word [esi + 0x48], 0x42
jne 0x41f4a9
lea ecx, [esi + 0x24]
call fcn.0041fe30
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0041f310
jmp 0x41f575
mov ecx, esi
call fcn.0041fa70
jmp 0x41f56e
cmp eax, 0x5b
jne 0x41f4d8
mov ecx, esi
call fcn.0041f310
mov ecx, esi
call fcn.0041f9e0
push 4
push 0x5d
mov ecx, esi
call fcn.0041f970
jmp 0x41f56e
cmp eax, 0x28
jne 0x41f4fe
mov ecx, esi
call fcn.0041f310
mov ecx, esi
call fcn.0041fb40
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.0041f970
test bl, bl
je 0x41f575
jmp 0x41f56e
cmp eax, 0x5e
jne 0x41f514
lea ecx, [esi + 0x24]
call fcn.0041fd50
mov ecx, esi
call fcn.0041f310
jmp 0x41f575
cmp eax, 0x24
jne 0x41f52a
lea ecx, [esi + 0x24]
call fcn.0041fdc0
mov ecx, esi
call fcn.0041f310
jmp 0x41f575
cmp eax, 0x2a
je 0x41f5a0
cmp eax, 0x2b
je 0x41f5a0
cmp eax, 0x3f
je 0x41f5a0
cmp eax, 0x7b
je 0x41f5a0
cmp eax, 0x7d
jne 0x41f54c
test dword [esi + 0x50], 0x10000000
je 0x41f592
cmp eax, 0x5d
jne 0x41f55a
test dword [esi + 0x50], 0x10000000
je 0x41f599
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0041fea0
mov ecx, esi
call fcn.0041f310
mov ecx, esi
call fcn.0041fc20
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x41f380
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 5
call fcn.00421ca7
push 6
call fcn.00421ca7
push 4
call fcn.00421ca7
push 0xa
call fcn.00421ca7
int3
Function at 0x42247c
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x454a3e
call fcn.00424bde
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x422599
cmp byte [ebx + 0x3e], 0
je 0x422599
mov eax, dword [ebx]
mov edi, 0xffff
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call fcn.00424b7e
mov ecx, ebx
call esi
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x4224c8
xor al, al
jmp 0x42259b
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00413fd0
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x4224f8
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x40]
mov ecx, dword [esi + 0x20]
push eax
call fcn.00424b7e
mov ecx, edi
call dword [esi + 0x20]
sub eax, 0
je 0x42252d
sub eax, 1
je 0x422531
dec eax
sub eax, 1
je 0x422587
xor bl, bl
jmp 0x422589
mov byte [ebx + 0x3e], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x422541
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
sub esi, edx
je 0x422569
cmp eax, 0x10
jae 0x422550
lea ecx, [ebp - 0x28]
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00431c83
add esp, 0x10
cmp esi, eax
jne 0x422529
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp byte [ebx + 0x3e], 0
je 0x422587
test esi, esi
jne 0x4224ec
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004164d0
jmp 0x4224e6
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040b960
mov al, bl
jmp 0x42259b
mov al, 1
call fcn.00424b99
ret

Function at 0x43ab6e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043a831

Function at 0x43ab79
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043a9b2

Function at 0x43ddc5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043da85

Function at 0x444fa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
sub esp, 8
cmp byte [ecx + 0xe], al
je 0x445006
mov edx, dword [ecx + 0x18]
cmp edx, 4
jne 0x444fdd
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 2
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xfeff
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
neg eax
sbb eax, eax
and eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
cmp edx, 3
jne 0x445006
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xbfbbef
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
neg eax
sbb eax, eax
and eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x445010
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
mov esi, ecx
push edi
cmp byte [esi + 0xd], 0
mov dword [esi + 0x18], 1
je 0x4450fe
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
test eax, eax
je 0x445052
push 0
push 0
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push eax
call edi
cmp byte [esi + 0xd], 0
je 0x4450e0
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4450e0
cmp dword [esp + 8], 4
jne 0x4450e0
mov eax, dword [esp + 0x10]
cmp al, 0xff
jne 0x4450b0
cmp ah, 0xfe
jne 0x4450d9
mov eax, dword [esi]
mov dword [esi + 0x18], 4
test eax, eax
je 0x4450fe
push 0
push 0
push 0
push 2
push eax
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp al, 0xef
jne 0x4450d9
cmp ah, 0xbb
jne 0x4450d9
cmp byte [esp + 0x12], 0xbf
jne 0x4450d9
push ecx
push 0
push 3
mov ecx, esi
mov dword [esi + 0x18], 3
call fcn.00445e80
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x18], 1
mov eax, dword [esi]
test eax, eax
je 0x4450fe
push 0
push 0
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
push dword [esp + 0x14]
push dword [esp + 0x14]
push eax
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x445110
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp byte [0x472342], 0
push esi
jne 0x44512c
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x47234c]
dec eax
mov dword [esp + 4], 0
cmp eax, 3
ja case.default.0x445143
jmp dword [eax*4 + 0x4451ec]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x44515a
mov ecx, dword [ecx]
push 0
lea edx, [esp + 8]
add eax, eax
push edx
push eax
push ecx
push dword [0x472334]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esp + 4]
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [esp + 8]
push 0xfde9
push eax
call fcn.0044fb10
mov edx, dword [esp + 8]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445197
jmp 0x4451bf
mov ecx, dword [ebp + 8]
lea eax, [esp + 8]
push 0
push eax
call fcn.0044fb10
mov edx, dword [esp + 8]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4451b8
push 0
lea eax, [esp + 8]
sub ecx, esi
push eax
push ecx
push edx
push dword [0x472334]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
lea ecx, [esp + 8]
call fcn.004090b0
mov eax, dword [esp + 4]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x445a10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454c76
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x46f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x463f28
lea ecx, [ebp - 0x14]
call fcn.0044fee0
push ecx
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0044f510
mov eax, dword [eax]
cmp dword [eax + 0x14], 8
jb 0x445a6a
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x445aa3
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x445aa3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x445aa3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x445acf
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x445acf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x445acf
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x445af0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454ca5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x46f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x463f28
lea ecx, [ebp - 0x14]
call fcn.0044fee0
push ecx
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0044f510
mov eax, dword [eax]
cmp dword [eax + 0x14], 8
jb 0x445b4a
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x445b83
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x445b83
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x445b83
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x445baf
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x445baf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x445baf
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445da0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
cmp byte [edi + 0xd], 0
jne 0x445df2
push 0x18
call fcn.0042421b
mov esi, dword [ebp + 8]
xor ecx, ecx
add esp, 4
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov word [eax], cx
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov ecx, esi
push eax
call fcn.0040a440
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
test eax, eax
je 0x445e1e
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
je 0x445e1e
mov esi, dword [esp + 0x10]
jmp 0x445e25
or esi, 0xffffffff
mov dword [esp + 0x24], esi
mov eax, dword [edi]
test eax, eax
je 0x445e53
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push ecx
push 0
push 0
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
mov ecx, dword [esp + 0x18]
jmp 0x445e60
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x20]
sub esi, ecx
mov ecx, edi
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00445200
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x445ee0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454d24
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x46f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax + 0x14], 8
jb 0x445f17
mov eax, dword [eax]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push 0
push 0
push ebx
push 0
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x445fc8
mov eax, dword [ebp + 8]
xor bl, bl
push 1
mov dword [esi], 0
mov word [esi + 0xd], 0
mov byte [esi + 0xc], 0
push dword [eax + 4]
push dword [eax]
sub esp, 8
mov ecx, esp
push str.FileStream::Open___failed._Reason:_could_not_open__0:String_.
call fcn.0044fee0
lea eax, [ebp - 0x20]
push eax
call fcn.0044fce0
add esp, 0x14
mov dl, bl
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.00446870
add esp, 4
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x445fb2
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x445fb2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x445fb2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push dword [ebp + 8]
lea ecx, [esi + 4]
mov byte [esi + 0xc], 1
call fcn.00401440
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], 0
cmp edi, 0x80000000
je 0x44600a
cmp edi, 0xc0000000
je 0x446002
cmp edi, 0x40000000
jne 0x44600e
mov byte [esi + 0xe], 1
jmp 0x44600e
mov word [esi + 0xd], 0x101
jmp 0x44600e
mov byte [esi + 0xd], 1
cmp ebx, 3
sete al
mov byte [ebp + 0xb], al
cmp ebx, 4
jne 0x446059
mov ecx, dword [esi]
test ecx, ecx
je 0x44604a
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push ecx
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
mov al, byte [ebp + 0xb]
je 0x44604a
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
jmp 0x44604f
or ecx, 0xffffffff
or edx, ecx
test edx, edx
jg 0x44605d
jl 0x446059
test ecx, ecx
jne 0x44605d
test al, al
je 0x446066
mov ecx, esi
call fcn.00445010
jmp 0x44606d
mov ecx, esi
call fcn.00444fa0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4474f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454f6f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x46f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea esi, [eax + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004246b8
add esp, 4
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push dword [ebp - 0x10]
push eax
call fcn.0040bd80
push esi
mov dword [ebp - 4], 0
push dword [ebp - 0x14]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0044efd0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x4c]
call fcn.00401440
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4475b3
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4475b3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4475b3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x4475df
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4475df
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4475df
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x447850
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454ff0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x46f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [0x472298]
inc eax
mov dword [ebx], vtable.Core::Control.0
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
mov dword [0x472298], eax
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebp - 4], 0
lea esi, [ebx + 0x44]
push 0x18
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xffffff
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov byte [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebp - 0x14], esi
call fcn.0042421b
add esp, 4
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x447923
mov ecx, dword [eax]
jmp 0x447925
mov ecx, eax
xor edx, edx
mov word [ecx], dx
mov ecx, esi
push eax
mov dword [esi], edx
mov dword [esi + 4], edx
call fcn.0040a440
mov byte [ebp - 4], 1
lea esi, [ebx + 0x4c]
push 0x18
mov dword [ebp - 0x14], esi
call fcn.0042421b
add esp, 4
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x447963
mov ecx, dword [eax]
jmp 0x447965
mov ecx, eax
xor edx, edx
mov word [ecx], dx
mov ecx, esi
push eax
mov dword [esi], edx
mov dword [esi + 4], edx
call fcn.0040a440
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov byte [ebp - 4], 3
lea edi, [ebx + 0x98]
mov dword [ebp - 0x14], edi
lea esi, [edi + 4]
push 0
mov dword [edi], 0
push 0
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040b590
mov dword [esi], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 5
mov ecx, edi
push 8
mov dword [edi], 0x3f800000
call fcn.0040b0b0
mov dword [ebx + 0xb8], 0
mov eax, ebx
mov dword [ebx + 0xbc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret