joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440b56
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 8
call fcn.0043ebca
xor esi, esi
inc esi
cmp dword [0xcc4f08], esi
pop ecx
jne 0x440b7e
push dword [ebp + 8]
daa
call sub.kernel32.dll_GetCurrentProcess
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0xcc4f04], esi
mov byte [0xcc4f00], al
jne 0x440be4
mov ecx, dword [0xefeee8]
test ecx, ecx
je 0x440bc5
mov eax, dword [0xefeee4]
sub eax, 4
cmp eax, ecx
jmp 0x440bbe
mov eax, dword [eax]
test eax, eax
je 0x440bb0
call eax
mov eax, dword [0xefeee4]
sub eax, 4
cmp eax, dword [0xefeee8]
mov dword [0xefeee4], eax
jae 0x440ba8
mov eax, 0x8e5084
mov esi, 0x8e508c
cmp eax, esi
mov edi, eax
jae 0x440be4
mov eax, dword [edi]
test eax, eax
je 0x440bdd
call eax
add edi, 4
cmp edi, esi
jb 0x440bd5
mov eax, 0x8e5090
mov esi, 0x8e5098
cmp eax, esi
mov edi, eax
jae 0x440c03
mov eax, dword [edi]
test eax, eax
je 0x440bfc
call eax
add edi, 4
cmp edi, esi
jb 0x440bf4
cmp dword [ebp + 0x10], 0
pop edi
pop esi
je 0x440c14
push 8
call fcn.0043eb36
jmp 0x440c26
push dword [ebp + 8]
mov dword [0xcc4f08], 1
call fcn.00440aaf
pop ecx
pop ebp
ret

Function at 0x440c69
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x8eb7cc]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x8eb3b8]
je 0x440c96
inc eax
cmp eax, 0x12
jb 0x440c87
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x8eb3b8]
jne 0x440dca
mov eax, dword [0xcc4d64]
cmp eax, 1
je 0x440da5
cmp eax, edx
jne 0x440cc6
cmp dword [0x8eb0ec], 1
je 0x440da5
cmp ecx, 0xfc
je 0x440dca
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call sub.kernel32.dll_GetModuleFileNameA
stc
test eax, eax
jne 0x440cff
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.0043e9a0
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.0043db50
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x440d41
lea eax, [ebp - 0x10c]
push eax
call fcn.0043db50
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x875b90
push edi
call fcn.0043d690
add esp, 0x10
push edi
call fcn.0043db50
push dword [esi + 0x8eb3bc]
mov ebx, eax
call fcn.0043db50
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0043cba0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.0043e9a0
push edi
push ebx
call fcn.0043e9b0
push 0x875b70
push ebx
call fcn.0043e9b0
push dword [esi + 0x8eb3bc]
push ebx
call fcn.0043e9b0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00448155
add esp, 0x2c
jmp 0x440dca
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x8eb3bc]
push dword [esi]
call fcn.0043db50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.00442f57
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443e97
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x8eb7cc]
xor eax, dword [ebp + 4]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
jne 0x443ec0
xor eax, eax
jmp 0x44402e
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0xefede0]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x443ef3
push 2
push edi
push edi
push dword [ebp + 8]
call fcn.0044aca5
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x443fc5
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edi
jbe 0x444000
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x420]
mov dword [ebp - 0xc], edi
cmp ecx, dword [ebp + 0x10]
jae 0x443f4e
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x443f3f
inc dword [ebp - 0x18]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0xc]
mov byte [eax], dl
inc eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x400
jl 0x443f22
mov edi, eax
lea eax, [ebp - 0x420]
sub edi, eax
push 0
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call sub.kernel32.dll_WriteFile
cmc
test eax, eax
je 0x443f8e
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
cmp eax, edi
jl 0x443f97
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, dword [ebp + 0x10]
jb 0x443f13
jmp 0x443f99
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 8], eax
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0x444029
cmp dword [ebp - 8], edi
je 0x444000
push 5
pop esi
cmp dword [ebp - 8], esi
jne 0x443ff2
call fcn.00442ea1
mov dword [eax], 9
call fcn.00442eaa
mov dword [eax], esi
jmp 0x443ffb
push edi
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call sub.kernel32.dll_WriteFile
stc
test eax, eax
je 0x443fe7
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
jmp 0x443f99
inc eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x443f99
push dword [ebp - 8]
call fcn.00442eb3
pop ecx
or eax, 0xffffffff
jmp 0x44402c
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x444015
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x444015
xor eax, eax
jmp 0x44402c
call fcn.00442ea1
mov dword [eax], 0x1c
call fcn.00442eaa
mov dword [eax], edi
jmp 0x443ffb
sub eax, dword [ebp - 0x18]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
call fcn.00442f57
leave
ret
Function at 0x446854
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x446a1a
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0xefede0]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x446a1a
test cl, 0x48
je 0x4468ba
mov al, byte [eax + 5]
cmp al, 0xa
je 0x4468ba
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x44690c
call dword [sym.imp.kernel32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x4468f4
call fcn.00442ea1
mov dword [eax], 9
call fcn.00442eaa
mov dword [eax], esi
jmp 0x446904
cmp eax, 0x6d
je 0x446a1a
push eax
call fcn.00442eb3
pop ecx
or eax, 0xffffffff
jmp 0x446a1c
mov eax, dword [edi]
mov edx, dword [ebp - 0xc]
add dword [ebp - 8], edx
lea ecx, [eax + esi + 4]
mov al, byte [ecx]
test al, al
jns 0x446a15
test edx, edx
je 0x44692f
cmp byte [ebx], 0xa
jne 0x44692f
or al, 4
jmp 0x446931
and al, 0xfb
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x446a0f
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x4469ff
cmp al, 0xd
je 0x446965
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x4469f1
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x44697f
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x44697a
add dword [ebp + 0x10], 2
jmp 0x4469d3
mov dword [ebp + 0x10], eax
jmp 0x4469ed
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x4469a7
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x4469ed
cmp dword [ebp - 0xc], 0
je 0x4469ed
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x4469c8
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x4469d3
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x4469f0
cmp ebx, dword [ebp + 0xc]
jne 0x4469d8
cmp byte [ebp - 1], 0xa
jne 0x4469d8
mov byte [ebx], 0xa
jmp 0x4469f0
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00447ea4
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x4469f1
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x446949
jmp 0x446a0f
mov eax, dword [edi]
lea esi, [eax + esi + 4]
mov al, byte [esi]
test al, 0x40
jne 0x446a0f
or al, 2
mov byte [esi], al
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x446a1c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44785d
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.0043cba0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x4478f2
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0xcc4ec8]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x4478f2
cmp eax, 1
je 0x44790a
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x4478f2
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x4478c7
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x4478ee
xor eax, eax
inc eax
jmp 0x447926
cmp esi, ebx
jae 0x4478f6
xor eax, eax
jmp 0x447926
push 4
push edi
push dword [ebp - 4]
push ebx
daa
call sub.kernel32.dll_VirtualAlloc
mov eax, dword [0xcc4ec8]
jmp 0x44790c
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.kernel32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x448155
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0xcc505c], ebx
push esi
push edi
jne 0x4481d5
push 0x879e70
daa
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
cmp edi, ebx
je 0x448210
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x879e64
push edi
call esi
test eax, eax
mov dword [0xcc505c], eax
je 0x448210
push 0x879e54
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0xcc5060], eax
call esi
cmp dword [0xcc4ec8], 2
mov dword [0xcc5064], eax
jne 0x4481d5
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0xcc506c], eax
je 0x4481d5
push str.GetProcessWindowStation
push edi
call esi
mov dword [0xcc5068], eax
mov eax, dword [0xcc5068]
test eax, eax
je 0x44821a
call eax
test eax, eax
je 0x448201
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0xcc506c]
test eax, eax
je 0x448201
test byte [ebp - 8], 1
jne 0x44821a
cmp dword [0xcc4ed4], 4
jb 0x448214
or byte [ebp + 0x12], 0x20
jmp 0x448239
xor eax, eax
jmp 0x448249
or byte [ebp + 0x12], 4
jmp 0x448239
mov eax, dword [0xcc5060]
test eax, eax
je 0x448239
call eax
mov ebx, eax
test ebx, ebx
je 0x448239
mov eax, dword [0xcc5064]
test eax, eax
je 0x448239
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0xcc505c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44c6ec
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0043cba0
mov eax, dword [0x8eb7cc]
xor eax, dword [ebp + 4]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.00447ea4
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x44c816
push 2
push esi
push dword [ebp + 8]
call fcn.00447ea4
add esp, 0xc
cmp eax, ebx
je 0x44c816
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x44c7b9
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x100c]
push esi
push eax
call fcn.004474f0
push 0x8000
push dword [ebp + 8]
call fcn.0044ce41
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp edi, ebx
mov eax, ebx
jge 0x44c772
mov eax, edi
push eax
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.00443e97
add esp, 0xc
cmp eax, 0xffffffff
je 0x44c792
sub edi, eax
test edi, edi
jg 0x44c76a
jmp 0x44c7aa
call fcn.00442eaa
cmp dword [eax], 5
jne 0x44c7a7
call fcn.00442ea1
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.0044ce41
pop ecx
pop ecx
jmp 0x44c801
jge 0x44c801
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00447ea4
push dword [ebp + 8]
call fcn.0044a92b
add esp, 0x10
push eax
call dword [sym.imp.kernel32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x44c801
call fcn.00442ea1
mov dword [eax], 0xd
call fcn.00442eaa
mov edi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00447ea4
add esp, 0xc
mov eax, esi
pop edi
jmp 0x44c818
mov eax, ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.00442f57
leave
ret
Function at 0x44cb6c
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x87b050
call fcn.004416d0
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0xcc51a4], edi
jne 0x44cbb0
push edi
push edi
push ebx
push edi
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
test eax, eax
je 0x44cb9b
mov dword [0xcc51a4], ebx
jmp 0x44cbb0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x78
jne 0x44cbb0
mov dword [0xcc51a4], 2
mov eax, dword [0xcc51a4]
cmp eax, ebx
jne 0x44cbd0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
daa
call sub.kernel32.dll_GetLocaleInfoW
jmp 0x44cc93
cmp eax, 2
je 0x44cbd9
cmp eax, edi
jne 0x44cc01
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
cmp dword [ebp + 0x18], edi
jne 0x44cbec
mov eax, dword [0xcc504c]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
mov dword [ebp - 0x24], eax
cmp eax, edi
jne 0x44cc08
xor eax, eax
jmp 0x44cc93
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.0043cba0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x44cc3b
cmp esi, edi
jne 0x44cc51
push dword [ebp - 0x24]
call fcn.0043ca12
pop ecx
mov esi, eax
cmp esi, edi
je 0x44cc01
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x24]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
test eax, eax
je 0x44cc84
cmp dword [ebp + 0x14], edi
jne 0x44cc6e
push edi
push edi
jmp 0x44cc74
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], edi
je 0x44cc90
push esi
call fcn.0043c8f1
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.0044170b
ret
Function at 0x44cc9c
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x87b060
call fcn.004416d0
xor esi, esi
cmp dword [0xcc51a8], esi
jne 0x44cce0
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
test eax, eax
je 0x44cccb
mov dword [0xcc51a8], edi
jmp 0x44cce0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x78
jne 0x44cce0
mov dword [0xcc51a8], 2
mov eax, dword [0xcc51a8]
cmp eax, 2
je 0x44cdc1
cmp eax, esi
je 0x44cdc1
cmp eax, 1
jne 0x44cd25
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x44cd0e
mov eax, dword [0xcc504c]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x44cd2c
xor eax, eax
jmp 0x44cdd3
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.0043cba0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x44cd62
cmp edi, esi
jne 0x44cd7d
lea eax, [ebx + ebx]
push eax
call fcn.0043ca12
pop ecx
mov edi, eax
cmp edi, esi
je 0x44cd25
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
daa
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
je 0x44cdb0
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x44cd9a
push esi
push esi
jmp 0x44cda0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x44cdbc
push edi
call fcn.0043c8f1
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x44cdd3
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.kernel32.dll_GetLocaleInfoA
clc
lea esp, [ebp - 0x34]
call fcn.0044170b
ret
Function at 0x44d3b0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ebx
je 0x44d41b
push 0x3d
push dword [ebp + 8]
call fcn.0044d590
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], esi
je 0x44d41b
cmp dword [ebp + 8], esi
je 0x44d41b
xor eax, eax
cmp byte [esi + 1], al
sete al
mov dword [ebp - 4], eax
mov eax, dword [0xcc4ee8]
cmp eax, dword [0xcc4eec]
jne 0x44d401
mov edi, eax
call fcn.0044d34f
mov dword [0xcc4ee8], eax
cmp eax, ebx
jne 0x44d45a
cmp dword [ebp + 0xc], ebx
je 0x44d423
cmp dword [0xcc4ef0], ebx
je 0x44d423
call fcn.0044cef1
test eax, eax
je 0x44d45a
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
jne 0x44d55e
push 4
call fcn.0043ca12
cmp eax, ebx
pop ecx
mov dword [0xcc4ee8], eax
je 0x44d41b
mov dword [eax], ebx
cmp dword [0xcc4ef0], ebx
jne 0x44d45a
push 4
call fcn.0043ca12
cmp eax, ebx
pop ecx
mov dword [0xcc4ef0], eax
je 0x44d41b
mov dword [eax], ebx
mov ebx, dword [0xcc4ee8]
mov edi, esi
mov esi, dword [ebp + 8]
sub edi, esi
push esi
call fcn.0044d302
mov edi, eax
test edi, edi
pop ecx
jl 0x44d4b3
cmp dword [ebx], 0
je 0x44d4b3
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.0043c8f1
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x44d49b
mov eax, dword [ebp + 8]
mov dword [esi], eax
jmp 0x44d4e9
mov ecx, dword [esi + 4]
mov dword [esi], ecx
inc edi
add esi, 4
cmp dword [esi], eax
jne 0x44d492
mov eax, edi
shl eax, 2
push eax
push ebx
call fcn.0043c211
test eax, eax
pop ecx
pop ecx
je 0x44d4e9
jmp 0x44d4e4
cmp dword [ebp - 4], 0
jne 0x44d557
test edi, edi
jge 0x44d4c3
neg edi
lea eax, [edi*4 + 8]
push eax
push ebx
call fcn.0043c211
test eax, eax
pop ecx
pop ecx
je 0x44d41b
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov dword [0xcc4ee8], eax
cmp dword [ebp + 0xc], 0
je 0x44d540
push dword [ebp + 8]
call fcn.0043db50
inc eax
inc eax
push eax
call fcn.0043ca12
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x44d540
push dword [ebp + 8]
push esi
call fcn.0043e9a0
mov eax, esi
sub eax, dword [ebp + 8]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
and byte [eax], 0
mov ecx, dword [ebp - 4]
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x44d539
or dword [ebp - 8], 0xffffffff
push esi
call fcn.0043c8f1
pop ecx
cmp dword [ebp - 4], 0
je 0x44d54f
push dword [ebp + 8]
call fcn.0043c8f1
pop ecx
mov eax, dword [ebp - 8]
jmp 0x44d41e
push esi
call fcn.0043c8f1
pop ecx
xor eax, eax
jmp 0x44d41e
Function at 0x44eda2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x18], eax
jae 0x44eec3
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jae 0x44eea7
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 0xc], edi
shr edi, 2
and edi, esi
mov dword [ebp - 4], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 0xc]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp - 4]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 0xc]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x10]
add ecx, 8
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov esi, 0xffc03fc0
jne 0x44edf9
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], edx
jb 0x44edd7
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x44f18f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x105c]
push edi
mov edi, dword [esi + 0x1050]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x44f2d6
mov edx, 0xf81f
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x44f2b1
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff07e0
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x1002]
mov ebp, eax
and ebp, 0xffff07e0
add ebp, ecx
mov ecx, edi
and ecx, 0xffff07e0
add ebp, ecx
mov ecx, esi
and ecx, 0xffff07e0
shr ebx, 2
lea ecx, [ecx + ebp + 0x40]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff07e0
lea eax, [eax + esi + 0x1002]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x44f1f8
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x44f1cf
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret