joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450320
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c348
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4c21d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [esi + 0xc4], bl
je 0x4503b6
lea eax, [ebp - 0x28]
mov byte [esi + 0xc4], bl
mov dword [ebp - 0x28], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0x9d361a44___0A__tr1_std__X_tr1_std__.0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x4cca0c]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.00402590
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4503a5
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp - 0x28]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
xor eax, eax
test bl, bl
setne al
lea eax, [eax + eax + 1]
mov dword [esi + 0xc8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c455
mov esp, ebp
pop ebp
ret
Function at 0x450f40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48c2c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c21d0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4c21d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x24], 0
fld dword [esi + 0x3c]
jne 0x45101a
fadd qword [0x4aca70]
mov byte [esi + 0x26], 0
fstp dword [esp + 8]
fld dword [esp + 8]
fst dword [esi + 0x3c]
fld dword [esi + 0x30]
fcompp
fnstsw ax
test ah, 0x41
jp 0x450faf
fld dword [esi + 0x30]
mov byte [esi + 0x26], 1
fstp dword [esi + 0x3c]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
call edx
cmp byte [esi + 0x26], 0
je 0x451079
lea eax, [esp + 0xc]
mov dword [esp + 0xc], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0x6781d855___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0
mov ecx, dword [0x4cca0c]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0xc]
mov ecx, eax
call fcn.00402590
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x451079
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
jmp 0x451079
cmp byte [esi + 0x25], 0
jne 0x451049
fadd qword [0x4aca70]
fstp dword [esp + 8]
fld dword [esp + 8]
fst dword [esi + 0x3c]
fld dword [esi + 0x30]
fcompp
fnstsw ax
test ah, 0x41
jp 0x451072
fld dword [esi + 0x30]
mov byte [esi + 0x25], 1
fstp dword [esi + 0x3c]
jmp 0x451072
fsub qword [0x4aca70]
fstp dword [esp + 8]
fld dword [esp + 8]
fst dword [esi + 0x3c]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x451070
fstp dword [esi + 0x3c]
mov byte [esi + 0x25], 0
jmp 0x451072
fstp st(0)
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
call edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0046c455
mov esp, ebp
pop ebp
ret
Function at 0x451120
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x494dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4c21d0]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
mov eax, dword [0x4c21d0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x38]
fld dword [ecx + eax*4]
mov edi, dword [esi + 0xc]
fstp dword [esp + 0x10]
push ecx
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.00451930
cmp byte [esi + 0x24], 0
jne 0x4511f2
mov ecx, 1
add dword [esi + 0x38], ecx
mov edx, dword [esi + 0x2c]
sub edx, dword [esi + 0x28]
sar edx, 2
cmp dword [esi + 0x38], edx
jb 0x451226
lea eax, [esp + 0x14]
mov byte [esi + 0x26], cl
mov dword [esp + 0x14], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda1___A0x6781d855___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], 0
mov ecx, dword [0x4cca0c]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0x14]
mov ecx, eax
call fcn.00402590
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x451226
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
jmp 0x451226
cmp byte [esi + 0x25], 0
jne 0x451216
mov ecx, 1
add dword [esi + 0x38], ecx
mov edx, dword [esi + 0x2c]
sub edx, dword [esi + 0x28]
mov eax, dword [esi + 0x38]
sar edx, 2
cmp eax, edx
jb 0x451226
dec eax
mov byte [esi + 0x25], cl
jmp 0x451223
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
jns 0x451226
inc eax
mov byte [esi + 0x25], 0
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0046c455
mov esp, ebp
pop ebp
ret
Function at 0x451250
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cb9b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x4c21d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], vtable.CFpAnimationManager.0
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
push 0x18
mov dword [esi + 0x30], ebx
call fcn.0046c76e
add esp, 4
cmp eax, ebx
je 0x4512f2
mov dword [esi + 0x2c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x2c]
mov al, 1
mov byte [ecx + 0x14], al
mov edx, dword [esi + 0x2c]
mov byte [edx + 0x15], al
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov word [esi + 0x6c], 0x101
mov byte [esi + 0x6e], bl
mov dword [esi + 0x38], vtable.RepeatingTimer_class_CFpAnimation_.0
mov byte [esi + 0x70], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0046ca55
push 0x4b3e44
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0046fe50
int3
Function at 0x455670
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4c21d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
xor eax, eax
cmp dword [ebx + 0x44], edi
je 0x4556b5
movzx eax, word [ebx + 0x44]
mov ecx, dword [ebx + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov edx, dword [ebx + 0x24]
xor ecx, ecx
push 0x7f00
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
push edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x50], 0xb
mov dword [ebp - 0x4c], 0x455800
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
cmp dword [ebx + 0x64], 8
lea esi, [ebx + 0x50]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
jb 0x455714
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
jmp 0x455717
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x45572d
xor al, al
jmp 0x4557dc
lea eax, [ebx + 0x6c]
mov ecx, 8
cmp dword [eax + 0x14], ecx
jb 0x45573c
mov eax, dword [eax]
cmp dword [esi + 0x14], ecx
jb 0x455743
mov esi, dword [esi]
mov edx, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x28]
push ebx
push edx
mov edx, dword [ebx + 0x3c]
push edi
push ecx
mov ecx, dword [ebx + 0x38]
push edx
mov edx, dword [ebx + 0x34]
push ecx
mov ecx, dword [ebx + 0x30]
push edx
mov edx, dword [ebx + 0x4c]
push ecx
push edx
push eax
mov eax, dword [ebx + 0x48]
push esi
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 0x2c], eax
cmp eax, edi
je 0x4557da
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x455790
call fcn.00455960
mov ecx, dword [ebx + 0x2c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0xb78b86b6___0A__tr1_std__X_tr1_std__.0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edi
mov eax, dword [0x4cca0c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.00402590
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, edi
je 0x4557da
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp - 0x28]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c455
mov esp, ebp
pop ebp
ret
Function at 0x457f80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x4c21d0]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
mov dword [eax], edi
cmp esi, edi
je 0x457fa6
lea ebx, [esi + 0x24]
jmp 0x457fa8
xor ebx, ebx
mov eax, dword [0x4cca0c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push ebx
call fcn.004028a0
mov edx, dword [esi + 4]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x3e9
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [eax], ecx
mov edx, dword [esi + 4]
push edx
lea edi, [esi + 0x38]
call fcn.004580c0
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x3c]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x3c]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x1c]
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0046c455
mov esp, ebp
pop ebp
ret 4

Function at 0x458030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494d18
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4c21d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
push esi
mov dword [eax], 0
call fcn.00457e00
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov edi, dword [esi + 0x30]
push edx
call fcn.00458270
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4580a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x458ca0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
test esi, esi
jns 0x458cbb
push 0x80070057
call fcn.00401a60
mov eax, dword [edi]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x458cd6
push esi
mov ecx, edi
call fcn.004019c0
mov eax, dword [edi]
push esi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x458cfd
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x458d01
push ecx
push eax
call fcn.0046e90b
add esp, 8
test eax, eax
js 0x458cb1
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x458cb1
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, esi
pop esi
ret
Function at 0x458ea0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c188
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c21d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
mov byte [esi + 0x36], 1
call fcn.0046c76e
add esp, 4
test eax, eax
je 0x458ede
mov dword [eax], esi
jmp 0x458ee0
xor eax, eax
mov dword [esi + 8], eax
mov eax, dword [0x4cca0c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x458f40
mov ecx, dword [esi + 8]
mov dword [ebp - 0x24], ecx
mov edx, 0x458d70
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V___Bind_XXV___Bind1_U___Callable_pmf_Q8BaseTimerTaskInternal__AEXXZV1__0A__tr1_std__PAVBaseTimerTaskInternal___tr1_std___tr1_std___0A__tr1_std__X_tr1_std__.0
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
push eax
call fcn.00402650
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x458f40
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x2c]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
call fcn.0046ceb1
add eax, dword [ebp + 8]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
cmp dword [esi + 0x30], 0
jne 0x458f5d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046c455
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cab3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4c21d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
or ecx, 0xffffffff
mov dword [ebx + 8], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x20], 0x4cc99c
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebp - 4], eax
lea edi, [ebx + 0x34]
mov dword [ebx], vtable.TiXmlDocument.0
mov dword [edi], 0x4cc99c
mov byte [ebp - 4], 1
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x3c], ecx
push 0x4a863a
xor esi, esi
mov dword [ebx + 0x38], 4
mov byte [ebx + 0x44], al
mov byte [ebx + 0x2c], al
mov dword [ebx + 0x30], eax
call fcn.0045ad60
xor eax, eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], eax
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 4
Function at 0x45a110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x45a167
cmp byte [ebx + 0x2c], 0
jne 0x45a15d
mov byte [ebx + 0x2c], 1
mov dword [ebx + 0x30], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45a140
sub eax, esi
push edx
lea edi, [ebx + 0x34]
mov esi, eax
call fcn.0045ad60
or eax, 0xffffffff
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], eax
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x45a181
mov edi, edi
mov ecx, esi
mov eax, dword [ecx]
mov edx, dword [eax]
mov esi, dword [esi + 0x28]
push 1
call edx
test esi, esi
jne 0x45a170
xor ecx, ecx
push 2
or eax, 0xffffffff
push ecx
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], ecx
push edi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.0046f544
push edi
call fcn.0046f754
push 0
mov esi, eax
push 0
push edi
mov dword [ebp - 4], esi
call fcn.0046f544
add esp, 0x1c
test esi, esi
jg 0x45a1df
cmp byte [ebx + 0x2c], 0
jne 0x45a15d
mov byte [ebx + 0x2c], 1
mov dword [ebx + 0x30], 0xc
mov edx, dword [str.Error_document_empty.]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45a1d3
jmp 0x45a147
lea eax, [esi + 1]
push eax
call fcn.0046c76e
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edi, eax
push esi
push edi
mov byte [edi], 0
call fcn.00488e28
add esp, 0x14
cmp eax, 1
je 0x45a23c
push edi
call fcn.0046c44a
add esp, 4
cmp byte [ebx + 0x2c], 0
jne 0x45a15d
mov byte [ebx + 0x2c], 1
mov dword [ebx + 0x30], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea esi, [eax + 1]
jmp 0x45a230
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45a230
jmp 0x45a147
mov edx, dword [ebp - 4]
mov byte [edi + edx], 0
cmp byte [edi], 0
mov eax, edi
mov esi, edi
je 0x45a26c
lea esp, [esp]
mov cl, byte [eax]
cmp cl, 0xd
jne 0x45a263
mov byte [esi], 0xa
inc eax
inc esi
cmp byte [eax], 0xa
jne 0x45a267
jmp 0x45a266
mov byte [esi], cl
inc esi
inc eax
cmp byte [eax], 0
jne 0x45a250
push 0
mov byte [esi], 0
mov eax, dword [ebx]
mov edx, dword [eax + 8]
push 0
push edi
mov ecx, ebx
call edx
push edi
call fcn.0046c44a
add esp, 4
xor eax, eax
cmp byte [ebx + 0x2c], al
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x45cef0
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x4c21d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x107]
mov ebx, ecx
mov esi, dword [ebx + 0x28]
push 0
push eax
mov edi, edx
mov byte [ebp - 0x108], 0
call fcn.0046ff60
push edi
lea ecx, [ebp - 0x108]
push 0x104
push ecx
call fcn.00476a20
push 0x4ac30c
lea edx, [ebp - 0x108]
push 0x104
push edx
call fcn.0047d6a3
push esi
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0047d6a3
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x30e]
push edx
mov word [ebp - 0x310], cx
call fcn.0046ff60
add esp, 0x3c
push 0x104
lea eax, [ebp - 0x310]
push eax
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [ebp - 0x310]
push edx
xor edi, edi
call esi
test eax, eax
je 0x45d005
lea esp, [esp]
movzx eax, word [ebp + edi*2 - 0x310]
cmp eax, 0x5c
je 0x45cfd2
cmp eax, 0x2f
jne 0x45cff7
xor eax, eax
push eax
lea ecx, [ebp - 0x310]
push ecx
mov word [ebp + edi*2 - 0x310], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 0x5c
mov word [ebp + edi*2 - 0x310], dx
lea eax, [ebp - 0x310]
push eax
inc edi
call esi
cmp edi, eax
jne 0x45cfc0
mov edi, dword [ebx + 0x38]
lea ecx, [ebp - 0x318]
push ecx
mov esi, ebx
mov dword [ebp - 0x314], 0x23
mov dword [ebp - 0x318], 0
call fcn.0045eda0
test eax, eax
jne 0x45d095
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea edx, [ebp - 0x310]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45d067
pop edi
pop esi
lea eax, [ebx + 0x23]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c455
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x318]
push ebx
lea eax, [ebp - 0x31c]
push eax
push edi
push ecx
push esi
mov dword [ebp - 0x31c], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45d08e
mov dword [ebp - 0x314], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x314]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046c455
mov esp, ebp
pop ebp
ret

Function at 0x45d8c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push eax
push esi
push 1
push ecx
call fcn.00488e28
sub esi, eax
add esp, 0x10
neg esi
sbb eax, eax
and eax, str._read_write_error
pop esi
pop ebp
ret 8
Function at 0x45fe30
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x4c57cc]
test eax, eax
je 0x460010
push ebx
xor edx, edx
mov dword [0x4c57cc], 0
xor eax, eax
push edi
lea ecx, [ecx]
movzx edi, byte [eax + 0x4a2569]
movzx ebx, byte [eax + 0x4a2568]
mov ecx, 0x1f
sub ecx, edi
mov edi, 1
shl edi, cl
mov ecx, 0x1f
sub ecx, ebx
mov ebx, 1
shl ebx, cl
add eax, 2
or edi, ebx
or edx, edi
cmp eax, 0xe
jb 0x45fe50
xor ecx, ecx
mov eax, ecx
shr eax, 1
test cl, 1
je 0x45fe93
xor eax, edx
test al, 1
je 0x45fe9d
shr eax, 1
xor eax, edx
jmp 0x45fe9f
shr eax, 1
test al, 1
je 0x45fea9
shr eax, 1
xor eax, edx
jmp 0x45feab
shr eax, 1
test al, 1
je 0x45feb5
shr eax, 1
xor eax, edx
jmp 0x45feb7
shr eax, 1
test al, 1
je 0x45fec1
shr eax, 1
xor eax, edx
jmp 0x45fec3
shr eax, 1
test al, 1
je 0x45fecd
shr eax, 1
xor eax, edx
jmp 0x45fecf
shr eax, 1
test al, 1
je 0x45fed9
shr eax, 1
xor eax, edx
jmp 0x45fedb
shr eax, 1
test al, 1
je 0x45fee5
shr eax, 1
xor eax, edx
jmp 0x45fee7
shr eax, 1
mov dword [ecx*4 + 0x4ca8c8], eax
inc ecx
cmp ecx, 0x100
jl 0x45fe88
mov ecx, 0x4cbcc8
lea esp, [esp]
mov eax, dword [ecx - 0x1400]
mov edi, eax
and edi, 0xff00
mov ebx, eax
shl ebx, 0x10
add edi, ebx
shl edi, 8
mov edx, eax
shr edx, 8
mov ebx, edx
and ebx, 0xff00
add edi, ebx
mov ebx, eax
shr ebx, 0x18
add edi, ebx
mov dword [ecx - 0x400], edi
and eax, 0xff
mov eax, dword [eax*4 + 0x4ca8c8]
xor eax, edx
mov edi, eax
and edi, 0xff00
mov ebx, eax
shl ebx, 0x10
add edi, ebx
mov edx, eax
shr edx, 8
shl edi, 8
mov ebx, edx
and ebx, 0xff00
add edi, ebx
mov ebx, eax
shr ebx, 0x18
add edi, ebx
mov dword [ecx], edi
mov dword [ecx - 0x1000], eax
and eax, 0xff
mov eax, dword [eax*4 + 0x4ca8c8]
xor eax, edx
mov edi, eax
and edi, 0xff00
mov ebx, eax
mov edx, eax
shr edx, 8
shl ebx, 0x10
add edi, ebx
mov ebx, edx
shl edi, 8
and ebx, 0xff00
add edi, ebx
mov ebx, eax
mov dword [ecx - 0xc00], eax
shr ebx, 0x18
add edi, ebx
mov dword [ecx + 0x400], edi
and eax, 0xff
mov eax, dword [eax*4 + 0x4ca8c8]
xor eax, edx
mov edx, eax
and edx, 0xff00
mov edi, eax
shl edi, 0x10
add edx, edi
mov edi, eax
shr edi, 8
shl edx, 8
and edi, 0xff00
mov dword [ecx - 0x800], eax
add edx, edi
shr eax, 0x18
add edx, eax
mov dword [ecx + 0x800], edx
add ecx, 4
cmp ecx, 0x4cc0c8
jl 0x45ff00
pop edi
mov dword [0x4c57c8], 0
pop ebx
ret
mov eax, dword [0x4c57c8]
test eax, eax
jne 0x460010
ret
Function at 0x463100
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4ce4c0], ecx
inc edx
cmp edx, 0x100
jb 0x463102
ret

Function at 0x4631b0
Capabilities:
Encode data using xor

Disassembly:
or eax, 0xffffffff
test ecx, ecx
je 0x4631da
push esi
jmp 0x4631c0
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ce4c0]
inc edx
dec ecx
jne 0x4631c0
pop esi
ret