joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b6b0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4fe320]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
cmp esi, ebx
je 0x41b6fb
jmp 0x41b6d0
mov edi, dword [esi]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
shrd ecx, eax, 0x14
shr eax, 0x14
cmp ecx, edi
jle 0x41b6fb
add esi, 4
cmp esi, ebx
jne 0x41b6d0
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bce6c
mov esp, ebp
pop ebp
ret

Function at 0x41c280
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0c5e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4fe320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0041c5b0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.0041c5b0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
je 0x41c394
test dl, 0x10
jne 0x41c394
mov eax, 1
jmp 0x41c396
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.0041c430
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 0x1c
Function at 0x422b50
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 0x422b81
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x422b70
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x425900
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4fe320]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
cmp eax, 2
je 0x425967
cmp eax, 1
je 0x425967
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
jne 0x425a01
cmp ecx, 0x2200
ja 0x425a01
push eax
push ecx
call fcn.0044d650
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
jne 0x425a01
cmp ecx, 0x2200
ja 0x425a01
test eax, eax
jne 0x4259ee
cmp ecx, 0x1c00
ja 0x4259ee
test eax, eax
jne 0x4259db
cmp ecx, 0xe00
ja 0x4259db
test eax, eax
jne 0x4259c8
cmp ecx, 0xa00
ja 0x4259c8
mov eax, 0x300
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret
mov eax, 0x400
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret
mov eax, 0x800
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret
mov eax, 0xc00
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x1000
xor ecx, ebp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret
Function at 0x42a2c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2003
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4fe320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
push ecx
call fcn.00428d10
lea edx, [edi + 0x30]
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
mov dword [edx + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [edx], vtable.._AV___Func_impl_U___Callable_obj_V___Bind__0A_XV_lambda_bbc12383067bcba1b0c05b4b35d7943c______V_std___0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
mov eax, dword [eax]
mov dword [edx + 4], eax
mov dword [edx + 0x10], edx
mov dword [ebp - 4], 2
lea ebx, [edi + 0x48]
mov dword [edi], vtable.std::_Task_async_state_void__0_.0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebp - 4], 3
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
sub esp, 0x2c
mov esi, esp
sub esp, 8
mov ecx, esp
call fcn.00426cb0
mov ecx, esi
call fcn.00426760
lea ecx, [esi + 0xc]
call fcn.00426c70
mov dword [esi + 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x14], 0
push edi
mov word [esi + 0x28], 0
call fcn.0042a810
add esp, 0x30
cmp ebx, eax
je 0x42a3a0
push eax
mov ecx, ebx
call fcn.004289d0
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x42a3cc
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x42a3cc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x42a3cc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov byte [edi + 0x26], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret 4
Function at 0x42b020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c2248
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4fe320]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x4fe320]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
xorps xmm0, xmm0
push eax
movq qword [esp + 0x14], xmm0
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrCreate_void__]
push 0x4f9b2c
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0
push esi
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrCopyException_void___void_const___void_const__]
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrCopy_void___void_const__]
lea eax, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrDestroy_void__]
add esp, 0x1c
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret
Function at 0x42bca0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c244b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4fe320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0041a110
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x230]
push eax
push 0
mov dword [ebp - 0x230], 0
call esi
test eax, eax
je 0x42bcf9
cmp eax, 0x6f
jne 0x42bd28
push dword [ebp - 0x230]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x234], edi
test edi, edi
je 0x42bd28
lea eax, [ebp - 0x230]
push eax
push edi
call esi
test eax, eax
je 0x42bd46
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x42bd60
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x42bd7c
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x42be8b
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call sub.MSVCR120.dll_memset
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push 0x4dc5b4
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll__snwprintf_s]
xor eax, eax
mov dword [ebp - 0x238], 7
add esp, 0x34
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
cmp word [ebp - 0x22c], ax
je 0x42be21
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42be12
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00408780
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24c]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.0042bec0
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x42beae
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x238], 8
jb 0x42be8b
push dword [ebp - 0x24c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x42bd60
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x42bd2a
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x42d620
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4fe320]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x42d76a
test edx, edx
jle 0x42d76a
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.0042cd20
lea ecx, [ebp - 0x94]
call fcn.0042cdf0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.0042cec0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x42d6c8
mov eax, dword [esi]
jmp 0x42d6ca
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x42d717
cmp ecx, 0x10
jb 0x42d6da
mov edx, dword [esi]
jmp 0x42d6dc
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x42d717
cmp ecx, 0x10
jb 0x42d6f1
mov ecx, dword [esi]
jmp 0x42d6f3
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00426040
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x42d728
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.00426190
cmp dword [esi + 0x14], 0x10
jb 0x42d732
mov eax, dword [esi]
jmp 0x42d734
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x42d752
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004bce6c
mov esp, ebp
pop ebp
ret
Function at 0x42e460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c25b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4fe320]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4fe320]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x42e591
cmp byte [esi + 0x45], 0
je 0x42e591
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x42e4c0
xor al, al
jmp 0x42e593
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.0042e310
mov dword [esp + 0x40], 0
lea edi, [esi + 0x48]
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp ebx, 0x10
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
add eax, edx
push eax
push ecx
mov ecx, dword [esi + 0x40]
push edi
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x42e518
dec eax
je 0x42e51c
sub eax, 2
je 0x42e577
xor bl, bl
jmp 0x42e579
mov byte [esi + 0x45], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp ebx, 0x10
mov edi, dword [esp + 0x14]
cmovae eax, ecx
sub edi, eax
je 0x42e554
push dword [esi + 0x50]
cmp ebx, 0x10
lea eax, [esp + 0x1c]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x42e514
cmp byte [esi + 0x45], 0
je 0x42e577
test edi, edi
lea edi, [esi + 0x48]
jne 0x42e4d7
push 0
push 8
lea ecx, [esp + 0x20]
call fcn.0042e3b0
jmp 0x42e4d4
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x42e58d
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x42e593
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret
Function at 0x42e7f0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c25fc
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push esi
push edi
mov eax, dword [0x4fe320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push 0
mov dword [ebp - 0x18], 0
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
sar esi, 0x10
push edi
and esi, 0xfff
call ebx
test eax, eax
jne 0x42e845
push 1
push esi
call ebx
mov edi, eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
xorps xmm0, xmm0
push 0x10
movq qword [ebp - 0x14], xmm0
call esi
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
test ax, ax
mov edx, 4
push 0x11
cmovs ecx, edx
or ebx, ecx
call esi
xor ecx, ecx
mov edx, 2
test ax, ax
push 0x12
cmovs ecx, edx
or ebx, ecx
call esi
xor ecx, ecx
test ax, ax
sets cl
or ebx, ecx
cmp edi, 0x10
je 0x42e8c5
cmp edi, 0x11
je 0x42e8c5
cmp edi, 0x12
je 0x42e8c5
mov edx, edi
lea ecx, [ebp - 0xa0]
call fcn.0042e900
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x18], 1
call fcn.004722f0
test al, al
jne 0x42e8c5
mov word [ebp - 0x10], di
jmp 0x42e8cb
xor eax, eax
mov word [ebp - 0x10], ax
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x18], 1
je 0x42e8e3
lea ecx, [ebp - 0xa0]
call fcn.00471930
mov edx, dword [ebp - 0x10]
mov eax, ebx
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 0x42f4d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c293b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x4fe320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x828]
push eax
call fcn.0046c180
add esp, 4
push 0xd
push 0x4dc880
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.00419d10
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x4dc8d4
push str.overlapX
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x814], 8
jb 0x42f5a4
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret

Function at 0x42f5c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c293b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x4fe320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x828]
push eax
call fcn.0046c180
add esp, 4
push 0xd
push 0x4dc880
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.00419d10
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x4dc8d4
push str.overlapY
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x814], 8
jb 0x42f694
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret
Function at 0x43c050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c40c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4fe320]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x20], 7
push eax
push 0x4d48b8
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.00408780
lea eax, [esp + 0xc]
mov dword [esp + 0x30], 0
mov ecx, dword [esi + 0x34]
push eax
push 0xffffffffffffffff
call fcn.0043a6e0
cmp dword [esp + 0x20], 8
jb 0x43c0cd
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43e360
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c40c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4fe320]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x20], 7
push eax
push 0x4d48b8
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.00408780
mov dword [esp + 0x30], 0
lea edx, [esp + 0xc]
mov eax, dword [esi]
push edx
push 0xfffffffffffffffe
push 0xfffffffffffffffe
mov ecx, dword [eax + 0x44]
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [esp + 0x20], 8
jb 0x43e3e1
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x446a00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x511f40], ecx
inc eax
cmp eax, 0x100
jb 0x446a03
cmp eax, 0x800
jae 0x446ad3
nop
mov edx, dword [eax*4 + 0x511b40]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x511f40]
mov dword [eax*4 + 0x511f40], edx
inc eax
cmp eax, 0x800
jb 0x446ab0
mov dword [0x513f44], 0x4485d0
mov dword [0x513f40], 0x4485d0
mov dword [0x513f48], 0x448670
call fcn.00448880
mov ecx, dword [0x513f40]
test eax, eax
mov edx, 0x448670
cmove ecx, edx
mov dword [0x513f40], ecx
pop ecx
ret
Function at 0x44b890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 4], ebx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x44b8b6
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 8], 5
sub edx, 4
add edx, ebx
mov dword [ebp - 0xc], edx
lea eax, [edi + ebx]
cmp eax, edx
jae 0x44b8df
lea esp, [esp]
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x44b8df
inc eax
cmp eax, edx
jb 0x44b8d0
mov ecx, eax
sub ecx, edi
mov edi, eax
sub ecx, ebx
sub edi, ebx
cmp eax, edx
jae 0x44b9c2
cmp ecx, 2
jbe 0x44b982
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x44b9b4
movzx ecx, byte [eax + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
mov ecx, dword [ebp + 8]
add ecx, edi
add edi, 5
sub ebx, ecx
mov dword [ebp - 8], ecx
test esi, esi
je 0x44b95c
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x44b957
mov edx, 0x100
shl edx, cl
dec edx
xor ebx, edx
sub ebx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov byte [eax + 4], bl
mov ebx, dword [ebp - 4]
jmp 0x44b8c2
shr esi, cl
test esi, esi
je 0x44b8fc
cmp esi, 4
ja 0x44b9a9
cmp esi, 3
je 0x44b9a9
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x44b8fc
or esi, 8
shr esi, 1
inc edi
jmp 0x44b8c2
mov ebx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x44b8c2
cmp ecx, 2
jbe 0x44b9d7
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
shr esi, cl
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret