joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c760
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x5788a8]
push esi
xor esi, esi
test eax, eax
mov dword [esp + 4], esi
jne 0x42c7e0
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x24]
lea ecx, [eax - 1]
test eax, ecx
mov dword [0x5788a4], eax
jne 0x42c848
mov ecx, dword [esp + 0xc]
lea edx, [ecx - 1]
test ecx, edx
jne 0x42c848
mov dword [0x5788b0], eax
mov dword [0x5788ac], ecx
mov dword [0x5788b4], 0x40000
mov dword [0x5788b8], 0x200000
mov dword [0x5788bc], 5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, 0x55555550
and eax, 0xfffffff8
or eax, 8
mov dword [0x5788a8], eax
mov ecx, dword [esp + 0x34]
cmp ecx, 0xffffffc0
push ebx
push edi
jae 0x42c974
mov ebx, dword [esp + 0x38]
mov edi, dword [ebx + 0x18]
test edi, edi
je 0x42c974
mov eax, dword [ebx + 0xc]
add ecx, 0x28
cmp eax, ecx
push ebp
jbe 0x42c953
sub eax, ecx
mov ecx, dword [0x5788b0]
lea eax, [eax + ecx - 1]
xor edx, edx
div ecx
mov esi, eax
dec esi
imul esi, ecx
lea ecx, [ebx + 0x1c0]
mov eax, ecx
nop
lea esp, [esp]
mov edx, dword [eax]
cmp edi, edx
jb 0x42c83f
mov ebp, dword [eax + 4]
add ebp, edx
cmp edi, ebp
jb 0x42c84e
mov eax, dword [eax + 8]
test eax, eax
jne 0x42c830
jmp 0x42c856
jmp dword [sym.imp.MSVCRT.dll_abort]
mov edi, eax
mov dword [esp + 0x40], edi
jmp 0x42c862
mov dword [esp + 0x40], 0
mov edi, dword [esp + 0x40]
mov eax, dword [edi + 0xc]
test al, 8
jne 0x42c953
test al, 1
je 0x42c953
mov edx, dword [edi + 4]
cmp edx, esi
jb 0x42c953
mov eax, dword [edi]
cmp ecx, eax
jb 0x42c891
lea edi, [eax + edx]
cmp ecx, edi
jb 0x42c953
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x42c882
sub eax, esi
add eax, edx
test esi, esi
mov ebp, esi
mov edi, eax
je 0x42c8fc
push 0x1c
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42c953
cmp dword [esp + 0x14], edi
jne 0x42c953
cmp dword [esp + 0x18], edi
jne 0x42c953
cmp dword [esp + 0x24], 0x1000
jne 0x42c953
cmp dword [esp + 0x20], ebp
ja 0x42c953
push 0x8000
push 0
push edi
call fcn.0040e980
add esp, 0xc
test eax, eax
je 0x42c953
mov eax, dword [esp + 0x20]
add edi, eax
sub ebp, eax
jne 0x42c8a4
test esi, esi
mov dword [esp + 0x10], esi
je 0x42c953
mov eax, dword [esp + 0x40]
sub dword [eax + 4], esi
mov ebp, dword [ebx + 0x1b0]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
sub ebp, esi
mov edx, ecx
sub eax, esi
and edx, 7
mov dword [ebx + 0x1b0], ebp
jne 0x42c92c
xor edx, edx
jmp 0x42c931
neg edx
and edx, 7
sub eax, edx
add ecx, edx
mov edx, eax
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0xc], eax
or edx, 1
mov dword [ecx + 4], edx
mov dword [ecx + eax + 4], 0x28
mov eax, dword [0x5788b8]
mov dword [ebx + 0x1c], eax
push ebx
call fcn.0042c3a0
mov esi, dword [esp + 0x14]
add esp, 4
add esi, eax
pop ebp
jne 0x42c974
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebx + 0x1c]
jbe 0x42c974
mov dword [ebx + 0x1c], 0xffffffff
pop edi
xor eax, eax
test esi, esi
pop ebx
setne al
pop esi
add esp, 0x28
ret
Function at 0x42ebd0
Capabilities:
Clear file content

Disassembly:
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x6c], 2
push edi
jne 0x42ec68
mov eax, dword [esi + 0x74]
push 0
push 0
push eax
call fcn.004069c0
test eax, eax
jne 0x42ed51
mov eax, dword [esi + 0x70]
mov edx, dword [esi]
push eax
push esi
mov ecx, esi
call dword [edx + 0x34]
test al, al
je 0x42ed51
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0xc]
mov ecx, esi
call fcn.00406220
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
sub eax, ecx
je 0x42ec4d
mov edx, dword [esi + 0x78]
push eax
push ecx
push edx
call fcn.004176e0
add esp, 0xc
test al, al
je 0x42ec61
mov ecx, dword [esi + 0x80]
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], 0x40000
mov eax, dword [esi + 0x78]
push 0
push ebx
push edi
push eax
call fcn.004175f0
add esp, 0x10
test al, al
jne 0x42ec70
mov dword [esi + 0x6c], 0xffffffff
pop edi
pop esi
xor al, al
pop ebx
ret 8
mov eax, dword [esi + 0x70]
cmp edi, dword [eax + 0x1000]
jne 0x42ec87
cmp ebx, dword [eax + 0x1004]
je 0x42ed2b
mov edx, dword [esp + 0x14]
push 0
push edx
mov ecx, 0x576188
call fcn.0040c190
push 1
push str.__uFilePos:
mov ecx, 0x576188
call fcn.0040c190
push ebx
push edi
mov ecx, 0x576188
call fcn.0040bd40
mov edi, eax
push 1
push str.___uValidFileSize:
mov ecx, edi
call fcn.0040c190
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + 0x1004]
mov edx, dword [eax + 0x1000]
push 0x40b880
push ecx
push edx
mov ecx, edi
call fcn.0040bd40
mov ecx, eax
call fcn.0040ba90
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
sub eax, ecx
je 0x42ed21
mov edx, dword [esi + 0x78]
push eax
push ecx
push edx
call fcn.004176e0
add esp, 0xc
test al, al
je 0x42ed2b
mov eax, dword [esi + 0x80]
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], 0x40000
mov eax, dword [esi + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + 0x1008]
add dword [esi + 0x8c], ecx
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x40]
pop edi
mov dword [esi + 0x6c], 4
pop esi
mov al, 1
pop ebx
ret 8
cmp dword [esi + 0x6c], 5
je 0x42ec68
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0042edd0
pop edi
pop esi
pop ebx
ret 8
Function at 0x431b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44ecab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.0040b1b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
xor ebp, ebp
cmp eax, ebp
setne al
lea ebx, [edi + 4]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.0040b0f0
mov dword [esp + 0x1c], ebp
lea esi, [edi + 0x10]
call fcn.0040af80
mov dword [esi], eax
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
cmp dword [edi], ebp
je 0x431bd6
mov eax, dword [ebx]
cmp eax, ebp
je 0x431bd6
mov ecx, dword [esi]
cmp ecx, ebp
je 0x431bd6
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
mov dword [eax + 4], esi
mov dword [eax + 0xc], ebp
mov edx, dword [0x460d18]
mov dword [eax + 0x10], edx
je 0x431bd6
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x4322b0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4322db
test al, 1
je 0x4322db
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4322db
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x4322e0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44ed28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x4c]
mov byte [esp + 0xf], 1
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
mov byte [esp + 0x30], 0
mov eax, dword [0x45d0f4]
test eax, eax
mov dword [esp + 0x3c], 0
je 0x432337
call fcn.004101a0
mov al, byte [0x574448]
neg al
mov ecx, edi
sbb eax, eax
and eax, 0x574428
push eax
push 0x20000000
push 4
push 3
push 0xc0000000
lea eax, [esp + 0x24]
push eax
call fcn.00417760
test al, al
je 0x43237e
mov ecx, dword [esp + 0x48]
mov eax, dword [edi]
push 0
push ecx
push eax
call fcn.00417720
add esp, 0xc
test al, al
je 0x43237e
mov bl, 1
jmp 0x432380
xor bl, bl
mov al, byte [esp + 0x30]
test al, al
mov dword [esp + 0x3c], 0xffffffff
je 0x432399
lea ecx, [esp + 0x20]
call fcn.00411260
test bl, bl
jne 0x4323cd
mov al, byte [esp + 0xf]
test al, al
je 0x4323e1
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4323e1
test al, 1
je 0x4323e1
and eax, 0xfffffffe
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4323e1
mov byte [esp + 0xf], bl
jmp 0x432308
pop edi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
mov ecx, dword [esp + 0x34]
pop edi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x432400
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x44ed67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [esi + 0x24]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x20], 2
je 0x432469
lea edi, [esi + 8]
mov ecx, edi
call fcn.0040da80
mov dword [edi + 8], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x432454
cmp eax, 0xffffffff
je 0x432454
push eax
call ebp
mov dword [esi], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x432462
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x43248f
mov cl, byte [eax - 1]
cmp cl, bl
je 0x432483
cmp cl, 0xff
je 0x432483
dec cl
mov byte [eax - 1], cl
jmp 0x43248f
add eax, 0xfffffffe
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea edi, [esi + 8]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esp + 0x14], edi
mov ecx, edi
mov byte [esp + 0x20], 3
call fcn.0040da80
mov edi, dword [edi]
cmp edi, ebx
je 0x4324b9
cmp edi, 0xffffffff
je 0x4324b9
push edi
call ebp
mov esi, dword [esi]
cmp esi, ebx
je 0x4324c7
cmp esi, 0xffffffff
je 0x4324c7
push esi
call ebp
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x433500
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x44ee59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebx
push esi
push ecx
push 0x80
call dword [eax + 4]
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
mov dword [esp + 0x1c], esi
je 0x4335aa
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], ebx
mov dword [esi], 0x452f64
push 0xc
lea edi, [esi + 0x14]
push edi
lea ecx, [esi + 4]
mov byte [esp + 0x20], 1
call fcn.00411d50
mov ecx, edi
call fcn.004337f0
mov dl, byte [esp + 0x20]
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x34], 0xf001f
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov byte [esi + 0x44], dl
pop edi
mov byte [esi + 0x7c], bl
mov dword [esi], 0x454cf0
mov byte [esi + 0x25], 1
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x434390
Capabilities:
Set registry value

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
call fcn.00412710
test al, al
jne 0x4343aa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c
ret
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x43452f
mov edx, dword [esp + 0x18]
mov ecx, 0x13
mov esi, str.XXXXXXXX_KiwillaRestoreConsoleForceV2
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push 8
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.00412460
add esp, 0xc
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff6
mov edi, eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea ecx, [esp + 0x1c]
mov esi, eax
push ecx
push esi
call ebp
test eax, eax
je 0x434429
mov edx, dword [esp + 0x1c]
or edx, 0x200
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
test eax, eax
jne 0x434461
push 0xfffffffffffffff5
call ebx
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
call ebp
test eax, eax
je 0x43444e
mov ecx, dword [esp + 0x1c]
or ecx, 4
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
test eax, eax
jne 0x434461
test di, di
je 0x4344fa
mov dword [esp + 0x14], 1
jmp 0x434494
test di, di
je 0x434478
push edi
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x5c
ret
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
test ax, ax
je 0x43452f
mov dword [esp + 0x14], 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 2
push 1
push 0
push 0
push str.Console
push 0x80000001
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x434520
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push eax
push str.ForceV2
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x434520
test di, di
je 0x434504
push edi
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4344fa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x434513
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5c
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43452f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x5c
ret
Function at 0x434820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44efa2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov ebx, ecx
push esi
mov dword [esp + 0x14], ebx
call fcn.0043b010
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push ecx
xor edi, edi
push esi
lea ecx, [ebx + 0x1c]
mov dword [esp + 0x24], edi
mov dword [ebx + 0x18], eax
call fcn.00435bc0
lea esi, [ebx + 0xd4]
push 0x10000
push 7
push esi
lea ecx, [esi + 0x1c]
mov byte [esp + 0x28], 1
mov dword [esp + 0x30], esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 4], 0x4345d0
mov dword [esi + 8], 0x434600
mov dword [esi + 0xc], 0x4353e0
mov dword [esi + 0x18], 0x434620
call fcn.00410740
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
cmp dword [0x45d458], edi
mov byte [esp + 0x1c], 2
lea ebp, [esi + 0x58]
je 0x4348c4
call fcn.00417270
push 0x575fc4
mov ecx, ebp
call fcn.0040f0f0
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
lea esi, [ebx + 0x17c]
mov ecx, esi
mov byte [esp + 0x1c], 3
mov dword [esp + 0x24], esi
call fcn.004349e0
mov dword [esi], 0x453930
lea ebp, [esi + 0x2c]
mov dword [ebp], edi
mov dword [ebp + 4], edi
cmp dword [0x45c6e8], edi
mov byte [esp + 0x1c], 4
je 0x43491f
call fcn.00407620
mov dword [esi], 0x452f8c
mov dword [esi + 0x28], ebp
mov dword [ebp], esi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], 6
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dl, byte [esp + 0x24]
lea ecx, [esi + 0x50]
push edi
mov byte [esp + 0x20], 7
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi], 0x454440
mov dword [ebx + 0x1e8], edi
mov dword [ebx + 0x16c], edi
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x43b090
Capabilities:
Print debug messages

Disassembly:
push str.ZStdMallocExp_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 4]
push 4
add eax, 0xffff
push 0x1000
and eax, 0xffff0000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
ret

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

Disassembly:
xor edx, edx
push esi
mov eax, edx
mov ecx, 8
lea ebx, [ebx]
mov esi, eax
and esi, 1
neg esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec ecx
jne 0x43b1f0
mov dword [edx*4 + 0x57b7c0], eax
inc edx
cmp edx, 0x100
jb 0x43b1e3
mov ecx, 0x400
lea esp, [esp]
mov eax, dword [ecx + 0x57b3c0]
mov edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x57b7c0]
shr eax, 8
xor edx, eax
mov dword [ecx + 0x57b7c0], edx
add ecx, 4
cmp ecx, 0x2000
jb 0x43b220
mov eax, 0x44d180
mov esi, 0x44d0a0
mov dword [0x57d7c4], eax
mov dword [0x579798], eax
mov dword [0x57d7c0], esi
call fcn.0043b8b0
test eax, eax
jne 0x43b274
mov dword [0x579798], esi
pop esi
ret

Function at 0x43b640
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [eax]
mov eax, dword [esp + 0x10]
xor ebp, ebp
and esi, 7
cmp eax, 5
jae 0x43b65b
pop esi
xor eax, eax
pop ebp
ret
mov ecx, dword [esp + 0x14]
push ebx
push edi
mov edi, dword [esp + 0x14]
sub eax, 4
add ecx, 5
lea ebx, [edi + eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebx
lea edx, [edi + ebp]
cmp edx, ebx
jae 0x43b68f
lea ecx, [ecx]
mov cl, byte [edx]
and cl, 0xfe
cmp cl, 0xe8
je 0x43b68f
inc edx
cmp edx, ebx
jb 0x43b680
mov ecx, edx
sub ecx, ebp
mov eax, edx
sub eax, edi
sub ecx, edi
cmp edx, ebx
mov ebp, eax
jae 0x43b781
cmp ecx, 2
jbe 0x43b6ec
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x43b772
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0x1c]
lea edi, [ecx + ebp]
mov ecx, dword [esp + 0x24]
add ebp, 5
test ecx, ecx
je 0x43b716
add eax, edi
jmp 0x43b718
shr esi, cl
test esi, esi
je 0x43b6aa
cmp esi, 4
ja 0x43b70b
cmp esi, 3
je 0x43b70b
mov ecx, esi
shr ecx, 1
xor eax, eax
mov al, byte [ecx + edx + 1]
inc eax
test al, 0xfe
jne 0x43b6aa
or esi, 8
shr esi, 1
inc ebp
jmp 0x43b676
sub eax, edi
test esi, esi
je 0x43b74c
and esi, 6
shl esi, 2
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x43b746
mov ebx, 0x100
shl ebx, cl
mov ecx, dword [esp + 0x24]
dec ebx
xor eax, ebx
test ecx, ecx
je 0x43b744
add eax, edi
jmp 0x43b746
sub eax, edi
mov ebx, dword [esp + 0x18]
xor esi, esi
mov edi, dword [esp + 0x14]
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0x43b676
mov edi, dword [esp + 0x14]
or esi, 8
shr esi, 1
inc ebp
jmp 0x43b676
cmp ecx, 2
pop edi
pop ebx
jbe 0x43b795
mov edx, dword [esp + 0x18]
xor esi, esi
mov dword [edx], esi
pop esi
mov eax, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
shr esi, cl
mov eax, ebp
mov dword [edx], esi
pop esi
pop ebp
ret
Function at 0x43ec10
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esi + 0x20]
and edi, 0x3f
mov byte [edi + esi + 0x28], 0x80
inc edi
xor ebx, ebx
cmp edi, 0x38
je 0x43ec48
nop
lea esp, [esp]
and edi, 0x3f
jne 0x43ec3e
push esi
call fcn.0043e030
add esp, 4
mov byte [esi + edi + 0x28], bl
inc edi
cmp edi, 0x38
jne 0x43ec30
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
shld ecx, eax, 3
mov edx, ecx
shr edx, 0x18
mov byte [esi + 0x60], dl
mov edx, ecx
shr edx, 0x10
mov byte [esi + 0x61], dl
mov byte [esi + 0x63], cl
shl eax, 3
mov edx, ecx
shr edx, 8
mov byte [esi + 0x62], dl
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 0x64], cl
mov edx, eax
mov ecx, eax
shr edx, 0x10
shr ecx, 8
push esi
mov byte [esi + 0x65], dl
mov byte [esi + 0x66], cl
mov byte [esi + 0x67], al
call fcn.0043e030
mov ebp, dword [esp + 0x1c]
add esp, 4
xor edi, edi
lea eax, [ebp + 6]
lea ecx, [ecx]
mov edx, dword [esi + edi*4]
mov ecx, dword [esi + edi*4 + 4]
mov ebx, edx
shr ebx, 0x18
mov byte [ebp], bl
mov ebx, edx
mov byte [eax - 3], dl
shr ebx, 0x10
mov byte [eax - 5], bl
mov ebx, edx
shr ebx, 8
mov byte [eax - 4], bl
mov edx, ecx
shr edx, 0x18
mov byte [eax - 2], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax - 1], dl
mov edx, ecx
shr edx, 8
mov byte [eax], dl
mov byte [eax + 1], cl
add edi, 2
add ebp, 8
add eax, 8
cmp edi, 8
jb 0x43eca0
xor eax, eax
pop edi
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
pop esi
pop ebp
pop ebx
ret
Function at 0x44111f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4566d8
push 0x440f06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x57d7cc], 0xffffffff
or dword [0x57d7d0], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x579748]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x579744]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x57d7c8], eax
call fcn.0044125d
cmp dword [0x56f1f0], 0
jne 0x4411a2
push 0x44125a
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00441248
push 0x45c104
push 0x45c100
call sub.MSVCRT.dll__initterm
mov eax, dword [0x579740]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x57973c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___wgetmainargs]
push 0x45c0fc
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___winitenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.004286a0
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret