joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4734a7
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4936d0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [esp + 0xa8]
xor eax, eax
xor ebp, ebp
cmp byte [esp + 0xac], al
push 0x30
setne al
push ebp
mov ecx, ebx
add eax, 0x83
push eax
call fcn.00428672
push 0x4011e0
push 0x4011a0
push 0x18
push 8
lea ecx, [ebx + 0x88]
mov dword [esp + 0xb0], ebp
push ecx
mov dword [ebx], vtable.ButtonPage.0
call fcn.0043c52f
lea edx, [ebx + 0x15c]
push edx
mov byte [esp + 0xa4], 1
call fcn.00409cc0
push fcn.004012a0
push 0x401240
push 0x18
push 0x74
lea eax, [ebx + 0x174]
push eax
mov byte [esp + 0xb4], 2
call fcn.0043c52f
lea esi, [ebx + 0xc54]
mov byte [esp + 0xa0], 3
call fcn.00403ef0
mov byte [esp + 0xa0], 4
mov eax, edi
mov dword [ebx + 0x148], edi
mov dword [ebx + 0xd40], ebp
call fcn.0041bc10
cmp byte [0x4ce3b0], 0
mov ecx, dword [eax]
mov dword [ebx + 0x14c], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x150], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x154], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x158], edx
jne 0x4048b0
mov dword [esp + 0x14], 0x4ce714
mov edi, 0x495a58
movzx eax, word [edi]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0xa
push eax
push 0
call esi
test eax, eax
jne 0x4047b4
xor ebp, ebp
jmp 0x4047bf
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
movzx eax, word [edi]
push 0xa
push eax
push 0
call esi
test eax, eax
jne 0x4047d1
xor esi, esi
jmp 0x4047dc
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
lea eax, [esp + 0x18]
push eax
call fcn.004067b0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], vtable.ysl::storage::memory_streambuf.0
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebp
mov dword [ecx], esi
mov edx, dword [esp + 0x3c]
mov dword [edx], esi
mov ecx, dword [esp + 0x4c]
lea eax, [esi + ebp]
sub eax, esi
mov dword [ecx], eax
mov edx, dword [esp + 0x28]
mov dword [edx], esi
mov ecx, dword [esp + 0x38]
mov dword [ecx], esi
mov edx, dword [esp + 0x48]
mov dword [edx], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0xa8], 5
call fcn.004065d0
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x5c]
push edx
mov ecx, esi
mov byte [esp + 0xa4], 6
call fcn.00403a30
mov byte [esp + 0xa0], 5
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x64]
mov dword [esp + ecx + 0x5c], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push edx
mov dword [esp + 0x68], vtable.std::ios_base.0
call fcn.0045504e
mov byte [esp + 0xa4], 4
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], vtable.ysl::storage::memory_streambuf.0
call fcn.004068b0
add edi, 0xc
add esi, 0x3c
cmp edi, 0x495b78
mov dword [esp + 0x14], esi
jl 0x40479c
mov byte [0x4ce3b0], 1
mov ecx, ebx
call fcn.00426ffd
add eax, 4
and dword [eax], 0xffffffdf
mov eax, ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 8
Function at 0x4067b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4720bb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4936d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004554f8
push 4
mov dword [esp + 0x20], 0
call fcn.0041d503
mov edi, eax
add esp, 4
test edi, edi
je 0x40682e
call fcn.004552f9
mov dword [edi], eax
call fcn.00455127
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00455449
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406823
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00455471
jmp 0x406830
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40c280
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4732ab
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4936d0]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push esi
mov eax, dword [0x4936d0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x100
lea ecx, [esp + 0x50]
push ecx
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40c3ce
xor edx, edx
lea eax, [esp + 0x4c]
mov word [esp + 0x34], dx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c300
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
call fcn.00407580
mov ebx, 8
mov eax, esi
mov dword [esp + 0x260], 0
call fcn.0040d3c0
cmp eax, 0xffffffff
je 0x40c3bb
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebx
jae 0x40c34b
lea eax, [esp + 0x34]
add eax, 0x10
call fcn.0040eba0
mov ecx, dword [0x4ced14]
mov esi, eax
mov eax, dword [0x4ced18]
push 0
add esi, 0x3980000
push eax
mov edx, esi
push ecx
shr edx, 0x10
push edx
call fcn.004028c0
test eax, eax
je 0x40c381
push esi
call fcn.00402850
jmp 0x40c383
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00402c10
cmp dword [eax + 0x18], ebx
jb 0x40c399
mov eax, dword [eax + 4]
jmp 0x40c39c
add eax, 4
mov edx, dword [esp + 0x10]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esp + 0x2c], ebx
jb 0x40c3bb
mov eax, dword [esp + 0x18]
push eax
call fcn.0041d532
add esp, 4
cmp dword [esp + 0x48], ebx
jb 0x40c3ce
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0041d532
add esp, 4
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0043bb40
mov esp, ebp
pop ebp
ret
Function at 0x4109e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4720bb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4936d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004554f8
push 4
mov dword [esp + 0x20], 0
call fcn.0041d503
mov edi, eax
add esp, 4
test edi, edi
je 0x410a5e
call fcn.004552f9
mov dword [edi], eax
call fcn.00455127
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00455449
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x410a53
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00455471
jmp 0x410a60
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x414140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
cmp dword [0x4ce3bc], 0
push esi
jne 0x41417c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x41417c
push 0
push 0x4ce3bc
push 0
call sub.DSOUND.dll_DirectSoundCreate8
mov eax, dword [0x4ce3bc]
test eax, eax
je 0x41425a
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 2
push esi
push eax
call edx
push ebx
push ebp
push edi
push 0x4aacb8
mov dword [0x4aacb8], 0
call fcn.00457be0
mov eax, dword [0x4ce3bc]
push eax
call fcn.00456470
push 0
push 0
call fcn.00457b40
call fcn.00457180
push 3
call fcn.004564a0
push 1
call fcn.00456520
push 6
call fcn.00456490
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
add esp, 0x1c
push 0x486084
push 0xd2
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 0
mov dword [0x4aacb4], eax
call edi
mov ecx, dword [0x4aacb4]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
push ecx
push 0
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov dword [0x4aacc4], eax
call ebp
push 0x486084
push 0xd5
push 0
mov dword [0x4aacc0], eax
call esi
push eax
push 0
mov dword [0x4aacb4], eax
call edi
mov edx, dword [0x4aacb4]
push edx
push 0
call ebx
push eax
mov dword [0x4aacc4], eax
call ebp
push 0x231e4
push 0x4aacc8
push 2
mov dword [0x4aacbc], eax
call fcn.00457130
add esp, 0xc
pop edi
pop ebp
pop ebx
mov dword [0x4aacb0], eax
pop esi
ret
mov dword [0x4ce3b8], 1
pop esi
ret
Function at 0x415a50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
push ebx
push edi
push 0
push 0
push 0
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea edi, [esi + 0x10]
push edi
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax]
push 0x47ad64
push ebx
call ecx
test eax, eax
jne 0x415b03
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
shr eax, 2
lea edx, [eax + eax]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
lea eax, [eax + eax*2]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
lea edx, [esp + 0x10]
push edx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [eax]
push 4
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x415af7
lea ecx, [esp + 0xc]
push ecx
push ebx
push esi
push 0x4159f0
push ebx
push ebx
mov dword [esp + 0x24], ebx
mov byte [esi + 0xc], bl
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x415af7
mov al, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [edi], ebx
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4164c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
mov ebx, ecx
cmp dword [ebx + 0xd4], 0
push esi
push edi
je 0x41664a
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
mov dword [esp + 0x74], 0x1f40
mov dword [esp + 0x78], 0x2b11
mov dword [esp + 0x7c], 0x5622
mov dword [esp + 0x80], 0xac44
mov dword [esp + 0x84], 0xbb80
mov dword [esp + 0x88], 0x17700
call fcn.00417320
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov edi, dword [esp + eax*4 + 0x70]
cmp dword [ebx + 0x58], edi
ja 0x41662d
cmp edi, dword [ebx + 0x5c]
ja 0x41662d
mov eax, dword [ebx + 0x54]
test eax, 0x400
je 0x41658e
test eax, 0x100
je 0x41658e
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x44]
push eax
push esi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], edi
call fcn.00417140
mov eax, dword [ebx + 0x54]
test eax, 0x400
je 0x4165c3
test eax, 0x200
je 0x4165c3
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x50]
push edx
push esi
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 8
mov dword [esp + 0x30], edi
call fcn.00417140
mov eax, dword [ebx + 0x54]
test eax, 0x800
je 0x4165f8
test eax, 0x100
je 0x4165f8
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x5c]
push ecx
push esi
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0x10
mov dword [esp + 0x3c], edi
call fcn.00417140
mov eax, dword [ebx + 0x54]
test eax, 0x800
je 0x41662d
test eax, 0x200
je 0x41662d
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x68]
push eax
push esi
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], 0x10
mov dword [esp + 0x48], edi
call fcn.00417140
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 6
jb 0x416543
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41aef0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x204
mov eax, dword [0x4936d0]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
push ebp
mov ebp, dword [esp + 0x210]
push esi
push edi
xor ecx, ecx
lea edx, [esp + 0x10]
mov eax, ecx
shl eax, 8
movzx eax, ax
mov esi, 8
test eax, 0x8000
je 0x41af35
add eax, eax
xor eax, 0x1021
movzx eax, ax
jmp 0x41af37
add eax, eax
sub esi, 1
jne 0x41af22
mov word [edx], ax
inc ecx
mov eax, 0xff
add edx, 2
cmp cx, ax
jbe 0x41af15
movzx edi, word [ebp + 0xc]
xor eax, eax
xor ecx, ecx
mov word [ebp + 0xc], cx
lea ecx, [ebp + 2]
mov esi, 0x8e
movzx ebx, byte [ecx - 2]
mov edx, eax
shr edx, 8
movzx edx, dl
xor edx, ebx
movzx ebx, byte [ecx - 1]
shl eax, 8
xor ax, word [esp + edx*2 + 0x10]
add ecx, 6
movzx eax, ax
mov edx, eax
shr edx, 8
movzx edx, dl
xor edx, ebx
movzx ebx, byte [ecx - 6]
shl eax, 8
xor ax, word [esp + edx*2 + 0x10]
movzx eax, ax
mov edx, eax
shr edx, 8
movzx edx, dl
xor edx, ebx
movzx ebx, byte [ecx - 5]
shl eax, 8
xor ax, word [esp + edx*2 + 0x10]
movzx eax, ax
mov edx, eax
shr edx, 8
movzx edx, dl
xor edx, ebx
movzx ebx, byte [ecx - 4]
shl eax, 8
xor ax, word [esp + edx*2 + 0x10]
movzx eax, ax
mov edx, eax
shr edx, 8
movzx edx, dl
xor edx, ebx
movzx ebx, byte [ecx - 3]
shl eax, 8
xor ax, word [esp + edx*2 + 0x10]
movzx eax, ax
mov edx, eax
shr edx, 8
movzx edx, dl
shl eax, 8
xor edx, ebx
xor ax, word [esp + edx*2 + 0x10]
sub esi, 1
movzx eax, ax
jne 0x41af61
mov ecx, dword [esp + 0x210]
mov word [ebp + 0xc], di
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
not eax
call fcn.0043bb40
add esp, 0x204
ret 4
Function at 0x41b680
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x473148
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4936d0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4936d0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
lea edi, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.0041b5a0
push 0xc
push str.settings.dat
mov eax, edi
call fcn.0040d970
mov eax, dword [esp + 0x10]
mov edi, 0x10
cmp dword [esp + 0x24], edi
jae 0x41b6f7
lea eax, [esp + 0x10]
push 0x486938
push eax
call fcn.0043cba2
mov esi, eax
add esp, 8
test esi, esi
je 0x41b8b7
push esi
push 1
push 0x354
push 0x4ce3c0
call fcn.0043ce59
push esi
call fcn.0043d0d1
add esp, 0x14
cmp dword [0x4ce3c0], 0x46434557
jne 0x41b8b7
cmp dword [0x4ce3c4], 2
jne 0x41b8b7
cmp dword [0x4ce3c8], 0x354
jb 0x41b8b7
push 0x4ce3c0
call fcn.0041aef0
cmp word [0x4ce3cc], ax
jne 0x41b8b7
mov eax, dword [0x4ce4f4]
mov ecx, dword [0x4ce4f8]
mov edx, dword [0x4ce4fc]
mov dword [0x4cdec8], eax
mov eax, dword [0x4ce500]
mov dword [0x4cdecc], ecx
mov ecx, dword [0x4ce504]
mov dword [0x4cded0], edx
mov edx, dword [0x4ce508]
mov dword [0x4cded4], eax
mov eax, dword [0x4ce50c]
mov dword [0x4cded8], ecx
mov ecx, dword [0x4ce510]
mov dword [0x4cdedc], edx
mov edx, dword [0x4ce514]
mov dword [0x4cdee0], eax
mov eax, dword [0x4ce518]
mov dword [0x4cdee4], ecx
mov ecx, dword [0x4ce51c]
mov dword [0x4cdee8], edx
mov edx, dword [0x4ce520]
mov dword [0x4cdeec], eax
mov eax, dword [0x4ce524]
mov dword [0x4cdef0], ecx
mov ecx, dword [0x4ce528]
mov dword [0x4cdef4], edx
mov edx, dword [0x4ce52c]
mov dword [0x4cdef8], eax
mov eax, dword [0x4ce530]
mov dword [0x4cdefc], ecx
mov ecx, dword [0x4ce534]
mov dword [0x4cdf00], edx
mov edx, dword [0x4ce538]
mov dword [0x4cdf04], eax
mov eax, dword [0x4ce53c]
mov dword [0x4cdf08], ecx
mov ecx, dword [0x4ce540]
mov dword [0x4cdf0c], edx
mov edx, dword [0x4ce544]
mov dword [0x4cdf10], eax
mov eax, dword [0x4ce548]
mov dword [0x4cdf14], ecx
mov ecx, dword [0x4ce54c]
mov dword [0x4cdf18], edx
mov edx, dword [0x4ce550]
mov dword [0x4cdf1c], eax
mov eax, dword [0x495494]
mov dword [0x4cdf20], ecx
mov ecx, dword [0x495498]
mov dword [0x4cdf24], edx
mov edx, dword [0x49549c]
mov dword [0x4cdf28], eax
mov dword [0x4cdf2c], ecx
mov dword [0x4cdf30], edx
cmp dword [esp + 0x24], edi
jb 0x41b8b3
mov eax, dword [esp + 0x10]
push eax
call fcn.0041d532
add esp, 4
mov al, 1
jmp 0x41b8cc
cmp dword [esp + 0x24], edi
jb 0x41b8ca
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0041d532
add esp, 4
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0043bb40
add esp, 0x2c
ret
Function at 0x41b8f0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x473148
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4936d0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4936d0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
lea edi, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.0041b5a0
mov ecx, dword [esp + 0x10]
mov edi, 0x10
cmp dword [esp + 0x24], edi
jae 0x41b959
lea ecx, [esp + 0x10]
call fcn.0041b2d0
push 0xc
push str.settings.dat
lea eax, [esp + 0x14]
call fcn.0040d970
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], edi
jae 0x41b97c
lea eax, [esp + 0x10]
push 0x48693c
push eax
call fcn.0043cba2
mov esi, eax
add esp, 8
test esi, esi
je 0x41b9cf
push 0x4ce3c0
mov dword [0x4ce3c0], 0x46434557
mov dword [0x4ce3c8], 0x354
call fcn.0041aef0
push esi
push 1
push 0x354
push 0x4ce3c0
mov word [0x4ce3cc], ax
call fcn.0043cfd8
push esi
call fcn.0043d0d1
add esp, 0x14
cmp dword [esp + 0x24], edi
jb 0x41b9e2
mov eax, dword [esp + 0x10]
push eax
call fcn.0041d532
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0043bb40
add esp, 0x2c
ret
Function at 0x41c830
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x44
push str.GlobalMemoryStatusEx
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41c87b
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x40
call eax
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esi], edx
mov edx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
add esp, 0x44
ret
lea eax, [esp]
push eax
mov dword [esp + 4], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esi], ecx
mov dword [esi + 4], 0
mov dword [esi + 8], edx
mov dword [esi + 0xc], 0
add esp, 0x44
ret

Function at 0x41cf40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x318
mov eax, dword [0x4936d0]
xor eax, esp
mov dword [esp + 0x314], eax
push 0
push 0x4859e3
mov ecx, esi
call fcn.004072b0
lea eax, [esp + 4]
push eax
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x41cff7
lea ecx, [esp]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 4]
lea edx, [esp + 0x10c]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push 0
push 0
push 0x104
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x120]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x41cff7
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cfe1
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.004072b0
mov ecx, dword [esp + 0x314]
xor eax, eax
cmp eax, dword [esi + 0x14]
sbb eax, eax
xor ecx, esp
neg eax
call fcn.0043bb40
add esp, 0x318
ret

Function at 0x41d020
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4936d0]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x114
lea eax, [esp + 4]
push 0
push eax
call fcn.0043ec20
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x41d07a
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0043bb40
add esp, 0x118
ret
jne 0x41d09b
xor eax, eax
cmp dword [esp + 8], eax
setne al
inc eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0043bb40
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 3
call fcn.0043bb40
add esp, 0x118
ret

Function at 0x41d460
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x41f3bb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x41f3df
cmp dword [edi + 0x54], 0
jne 0x41f3df
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041fe6a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041f37c
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4263a6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4263ed
call fcn.0041fe6a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4263ed
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x426409
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00425f1e
mov esi, eax
test edi, edi
je 0x426407
test ebx, ebx
je 0x426407
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x426bb8
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x471b27
call fcn.0043f09a
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x426bdd
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x426c23
lea ecx, [ebp - 0x10]
call fcn.00401990
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041e9e1
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401040
mov eax, esi
call fcn.0043f172
ret 8