joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov esi, esp
push eax
sub esp, 0xc
mov dword [esi + 8], esp
push eax
mov dword [esi + 4], esp
push eax
mov dword [esi + 0xc], esp
mov dword [esi + 0x10], 0xbf1052d
mov dword [esi + 0x14], 0xf9d0995
mov dword [esi + 0x18], 0x33e70d9a
mov dword [esi + 0x1c], 0x37f431a1
mov dword [esi + 0x20], 0x3bdb35a0
mov dword [esi + 0x24], 0x3fd339a0
mov dword [esi + 0x28], 0x233c3d15
lea edx, [esi + 0x2c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x33], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 0x26
ja 0x432510
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, dword [esi]
movzx ecx, byte [esi + ecx + 0x10]
lea edi, [eax + 0xd5]
and edi, ecx
add eax, ecx
add edi, edi
sub eax, edi
add eax, 0x3be257d5
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x38]
add al, 0x2d
mov ecx, dword [esi]
mov byte [esi + ecx + 0x10], al
mov eax, dword [esi]
mov ecx, eax
xor ecx, 1
and eax, 1
lea eax, [ecx + eax*2]
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, 0x27
jb 0x4324d0
lea eax, [esi + 0x38]
lea ebx, [esi + 0x10]
mov ecx, 7
mov edi, eax
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
lea edi, [esi + 0x54]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov ecx, esi
push ecx
push 8
lea edi, [esi + 0x10]
push edi
push 0xd
push eax
push 0
call dword [0x447260]
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x444a30]
mov ecx, 0x985187cc
xor ecx, dword [0x444a38]
add eax, ecx
inc eax
jmp eax
int3
sbb al, 0x38
dec ecx
cmp byte [esi + 0x38], bl
imul edi, dword [eax], 0x38b538aa
ljmp 0xa38
Function at 0x4345f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov edi, ecx
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0xead5d4d7
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x43466f
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx edx, byte [esp + ecx + 0x10]
lea ecx, [eax - 0x211663a3]
mov esi, ecx
and esi, edx
xor ecx, edx
add eax, 0x5d
and eax, edx
add eax, esi
sub ecx, eax
lea eax, [ecx + esi*2]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x75
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x434630
mov ebx, dword [esp + 0x10]
mov eax, dword [0x44826c]
test eax, eax
je 0x4346c6
xor ecx, ecx
mov edx, dword [0x448270]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xe4aa2089
je 0x4346a0
inc ecx
cmp eax, ecx
jne 0x434690
jmp 0x4346c6
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x4346c6
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 5
push 4
push dword [0x448274]
push eax
call fcn.00436280
add esp, 0x1c
mov ebx, eax
cmp ebx, 0xc0000004
jne 0x434818
mov dword [esp + 0x20], edi
push dword [esp + 8]
call fcn.00434430
add esp, 4
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0xead5d4d7
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 8
ja 0x434750
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx esi, byte [esp + edx + 0x10]
lea edx, [ecx - 0x211663a3]
mov edi, edx
and edi, esi
xor edx, esi
add ecx, 0x5d
and ecx, esi
add ecx, edi
sub edx, ecx
lea ecx, [edx + edi*2]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x75
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 9
jb 0x434710
mov ebx, dword [esp + 0x10]
mov ecx, dword [0x44826c]
test ecx, ecx
je 0x4347a4
xor edx, edx
mov esi, dword [0x448270]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xe4aa2089
je 0x434780
inc edx
cmp ecx, edx
jne 0x434770
jmp 0x4347a4
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, ebx
je 0x4347a4
push 0
push eax
push dword [esp + 0xc]
push 5
push 4
push dword [0x448274]
push ecx
call fcn.00436280
add esp, 0x1c
mov ebx, eax
test ebx, ebx
js 0x43480c
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 4]
mov esi, dword [ecx]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [ecx + esi + 0x3c]
add ecx, esi
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [edx + ebx]
movzx edi, word [eax + ebx]
test si, si
je 0x4347e5
add ebx, 2
cmp si, di
je 0x4347d0
cmp si, di
je 0x4347f7
mov esi, dword [ecx]
test esi, esi
jne 0x4347c0
mov ebx, 0xc0000225
jmp 0x43480c
mov eax, dword [ecx + 0x44]
mov edx, dword [esp + 0x20]
mov dword [edx + 4], eax
mov eax, dword [ecx + 0xdc]
mov dword [edx + 8], eax
xor ebx, ebx
push dword [esp + 4]
call fcn.004344d0
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x434850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov edx, dword [ecx + 4]
test edx, edx
je 0x434950
xor eax, eax
cmp dword [ecx], 0
jne 0x434955
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 8], 0xead5d4d7
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x43491f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx esi, byte [esp + edx + 8]
lea edx, [eax - 0x211663a3]
mov edi, edx
and edi, esi
xor edx, esi
add eax, 0x5d
and eax, esi
add eax, edi
sub edx, eax
lea eax, [edx + edi*2]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x75
mov edx, dword [esp]
mov byte [esp + edx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x4348e0
mov eax, dword [esp + 8]
mov esi, dword [0x44826c]
test esi, esi
je 0x434955
mov edx, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x448270]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x94b236a1
je 0x43495f
inc edi
cmp esi, edi
jne 0x434940
jmp 0x434955
mov eax, 0xc0000008
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x434955
lea eax, [esp + 0x1c]
lea edi, [esp + 0x24]
push eax
push edi
push edx
push ecx
push 4
push dword [0x448274]
push esi
call fcn.00436280
add esp, 0x1c
jmp 0x434955

Function at 0x434990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [ecx]
test eax, eax
je 0x434a67
mov esi, ecx
mov dword [esp + 8], 0xead5d4d7
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 8
ja 0x434a10
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edi, byte [esp + edx + 8]
lea edx, [ecx - 0x211663a3]
mov ebx, edx
and ebx, edi
xor edx, edi
add ecx, 0x5d
and ecx, edi
add ecx, ebx
sub edx, ecx
lea ecx, [edx + ebx*2]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0x75
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 9
jb 0x4349d0
mov ecx, dword [0x44826c]
test ecx, ecx
je 0x434a5a
mov edx, dword [esp + 8]
xor edi, edi
mov ebx, dword [0x448270]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x11081610
je 0x434a40
inc edi
cmp ecx, edi
jne 0x434a30
jmp 0x434a5a
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, edx
je 0x434a5a
push eax
push 1
push dword [0x448274]
push ecx
call fcn.00436280
add esp, 0x10
mov dword [esi], 0
mov dword [esi + 4], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x434a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov edi, 0xc0000008
cmp dword [ecx + 4], 0
je 0x434c90
mov eax, dword [ecx]
test eax, eax
je 0x434c90
mov dword [esp + 8], 0xead5d4d7
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 8
ja 0x434b00
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp]
mov edx, dword [esp]
movzx esi, byte [esp + edx + 8]
lea edx, [ebx - 0x211663a3]
mov edi, edx
and edi, esi
xor edx, esi
add ebx, 0x5d
and ebx, esi
add ebx, edi
sub edx, ebx
lea edx, [edx + edi*2]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x20]
add bl, 0x75
mov edx, dword [esp]
mov byte [esp + edx + 8], bl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 9
jb 0x434ac0
mov dword [esp + 0x1c], ecx
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov edi, dword [esp + 8]
mov edx, dword [0x44826c]
test edx, edx
je 0x434b55
xor ebx, ebx
mov ecx, dword [0x448270]
cmp dword [ecx + ebx*8], 0xac3673b8
je 0x434b33
inc ebx
cmp edx, ebx
jne 0x434b20
mov ebx, dword [ebp + 0xc]
jmp 0x434b55
mov ecx, dword [ecx + ebx*8 + 4]
cmp ecx, edi
mov ebx, dword [ebp + 0xc]
je 0x434b55
push dword [ebp + 8]
push eax
push 2
push dword [0x448274]
push ecx
call fcn.00436280
add esp, 0x14
mov edi, eax
cmp ebx, 1
mov eax, esi
sbb eax, 0
jl 0x434c83
cmp edi, 0xc000010a
jne 0x434c83
mov edi, esi
mov esi, ebx
and esi, 0xffffd8f0
mov eax, esi
xor eax, 0xffffd8f0
mov ecx, edi
not ecx
mov edx, ebx
and edx, 0x270f
imul ecx, edx
mul edx
mov dword [esp + 0x28], eax
add edx, ecx
mov ecx, edx
or ebx, 0xffffd8f0
imul edi, ebx
mov eax, ebx
mul esi
add edx, edi
sub edx, esi
add eax, dword [esp + 0x28]
adc edx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 8], 0xead5d4d7
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 8
ja 0x434c33
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx esi, byte [esp + edx + 8]
lea edx, [ecx - 0x211663a3]
mov edi, edx
and edi, esi
xor edx, esi
add ecx, 0x5d
and ecx, esi
add ecx, edi
sub edx, ecx
lea ecx, [edx + edi*2]
mov dword [esp], ecx
mov ecx, dword [esp]
add cl, 0x75
mov edx, dword [esp + 4]
mov byte [esp + edx + 8], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 9
jb 0x434bf0
mov edi, dword [esp + 8]
mov ecx, dword [0x44826c]
test ecx, ecx
je 0x434c83
xor edx, edx
mov esi, dword [0x448270]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xb33e16a3
je 0x434c60
inc edx
cmp ecx, edx
jne 0x434c50
jmp 0x434c83
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, edi
je 0x434c83
lea edx, [esp + 0x20]
push edx
push 0
push eax
push 3
push dword [0x448274]
push ecx
call fcn.00436280
add esp, 0x18
mov edi, eax
test edi, edi
js 0x434c90
mov ecx, dword [esp + 0x1c]
call fcn.00434990
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x434ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x434cb7
lea edx, [esp + 0x18]
mov ecx, dword [ecx]
mov dword [esp + 8], 0xead5d4d7
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x434d1f
nop
nop
nop
mov eax, dword [esp]
mov esi, dword [esp]
movzx edi, byte [esp + esi + 8]
lea esi, [eax - 0x211663a3]
mov ebx, esi
and ebx, edi
xor esi, edi
add eax, 0x5d
and eax, edi
add eax, ebx
sub esi, eax
lea eax, [esi + ebx*2]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x75
mov esi, dword [esp]
mov byte [esp + esi + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x434ce0
mov eax, dword [esp + 8]
mov esi, dword [0x44826c]
test esi, esi
je 0x434d74
xor edi, edi
mov ebx, dword [0x448270]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xc99a73c4
je 0x434d50
inc edi
cmp esi, edi
jne 0x434d40
jmp 0x434d74
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x434d74
push edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ecx
push 5
push dword [0x448274]
push esi
call fcn.00436280
add esp, 0x20
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x437dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0x20], 0x4b4a4d7c
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xe
ja 0x437e6b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov eax, dword [esp]
movzx esi, byte [esp + eax + 0x20]
lea eax, [edx + 0x14d25c4a]
lea ecx, [edx + esi]
add ecx, 0x14d25c4a
add edx, 0x4a
and edx, esi
and eax, esi
add eax, edx
mov edx, eax
xor edx, ecx
not eax
and eax, ecx
add eax, eax
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add al, 0xfa
mov ecx, dword [esp]
mov byte [esp + ecx + 0x20], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xf
jb 0x437e20
mov eax, dword [esp + 0x20]
mov eax, dword fs:[eax]
xor ecx, ecx
cmp dword [ebp + 8], 0
sete cl
mov ecx, dword [ecx*4 + 0x446454]
mov edx, 0xdcd4933a
xor edx, dword [str.Ma__bZ]
add ecx, edx
inc ecx
jmp ecx
Function at 0x10003ee6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10008a80]
jne 0x10003ef0
repz ret
jmp fcn.1000506d

Function at 0x10004d02
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10008a80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10001285
and dword [ebp - 0x14], 0
cmp dword [0x1000945c], 0
mov dword [ebp - 0x18], eax
jne 0x10004db5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10004e5d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10004e5d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000945c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10009460], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10009464], eax
call edi
push eax
call esi
mov dword [0x1000946c], eax
test eax, eax
je 0x10004db5
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10009468], eax
mov eax, dword [0x10009468]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10004e0e
cmp dword [0x1000946c], ecx
je 0x10004e0e
push eax
call esi
push dword [0x1000946c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10004e0e
test ebx, ebx
je 0x10004e0e
call edi
test eax, eax
je 0x10004e05
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10004e05
test byte [ebp - 8], 1
jne 0x10004e0e
or dword [ebp + 0x10], 0x200000
jmp 0x10004e41
mov eax, dword [0x10009460]
cmp eax, dword [ebp - 0x18]
je 0x10004e41
push eax
call esi
test eax, eax
je 0x10004e41
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10004e41
mov eax, dword [0x10009464]
cmp eax, dword [ebp - 0x18]
je 0x10004e41
push eax
call esi
test eax, eax
je 0x10004e41
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000945c]
call esi
test eax, eax
je 0x10004e5d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10004e5f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003ee6
leave
ret
Function at 0x401040
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x48
push ebx
push esi
xor ebx, ebx
lea eax, [esp + 0x18]
push 0x38
push str.1.3.1
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call fcn.0040a230
mov esi, eax
add esp, 0xc
test esi, esi
je 0x401094
mov eax, dword [esp + 0x58]
push esi
add eax, 0x12
push eax
push str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.00401e60
add esp, 0xc
or eax, 0xffffffff
pop esi
pop ebx
add esp, 0x48
ret
push 0x2000
call fcn.00412d93
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4010c8
mov eax, dword [esp + 0x58]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
push str.malloc
call fcn.00401e40
add esp, 0xc
jmp 0x4011ee
push 0x2000
call fcn.00412d93
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4010fa
mov ecx, dword [esp + 0x58]
add ecx, 0x12
push ecx
push str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
push str.malloc
call fcn.00401e40
add esp, 0xc
jmp 0x4011ee
mov eax, dword [esp + 0x58]
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0x60]
push edi
mov eax, dword [eax + 8]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jb 0x401129
ja 0x401122
cmp eax, 0x2000
jbe 0x401129
mov esi, 0x2000
jmp 0x40112b
mov esi, eax
push dword [esp + 0x5c]
push esi
push 1
push dword [esp + 0x24]
call fcn.0040e1e2
add esp, 0x10
cmp eax, esi
jne 0x4011e9
push dword [esp + 0x5c]
call fcn.0040dfdd
add esp, 4
test eax, eax
jne 0x4011e9
sub dword [esp + 0x10], esi
mov dword [esp + 0x24], esi
sbb dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
nop
lea eax, [esp + 0x20]
mov dword [esp + 0x30], 0x2000
push 0
push eax
mov dword [esp + 0x34], ebx
call fcn.00408760
add esp, 8
mov dword [esp + 0x1c], eax
lea ecx, [eax + 4]
cmp ecx, 6
ja case.0x40119e.1
movzx ecx, byte [ecx + 0x401274]
jmp dword [ecx*4 + 0x401268]
mov esi, 0x2000
sub esi, dword [esp + 0x30]
test ebp, ebp
je 0x401212
push ebp
push esi
push 1
push ebx
call fcn.0040e905
add esp, 0x10
cmp eax, esi
jne 0x4011d0
push ebp
call fcn.0040dfdd
add esp, 4
test eax, eax
je 0x401223
or eax, 0xffffffff
push eax
mov eax, dword [esp + 0x64]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_decompression_resulted_in_return_code__d__n
call fcn.00401e60
add esp, 0xc
or esi, 0xffffffff
pop edi
pop ebp
lea eax, [esp + 0x18]
push eax
call fcn.0040a020
push dword [esp + 0x14]
call fcn.00412d78
push ebx
call fcn.00412d78
add esp, 0xc
mov eax, esi
pop esi
pop ebx
add esp, 0x48
ret
test edi, edi
je 0x401227
push esi
push ebx
push edi
call fcn.0040b6c0
add esp, 0xc
add edi, esi
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], 0
je 0x401170
cmp eax, 1
je 0x401261
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x401245
cmp dword [esp + 0x10], ecx
jbe 0x4011d3
mov eax, dword [esp + 0x10]
jmp 0x401115
mov eax, 0xfffffffd
jmp 0x4011d3
cmp eax, 1
jne 0x4011d3
xor esi, esi
jmp 0x4011ec
Function at 0x401280
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x101c
call fcn.0040aa60
mov eax, dword [0x436040]
xor eax, esp
mov dword [esp + 0x1018], eax
push ebx
mov ebx, dword [esp + 0x1028]
push ebp
push esi
mov esi, dword [esp + 0x102c]
push edi
push 0x428520
mov dword [esp + 0x20], esi
lea eax, [esi + 0x68]
mov dword [esp + 0x24], 0xffffffff
push eax
call fcn.00402fc0
mov ebp, eax
add esp, 8
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x4012e4
lea eax, [ebx + 0x12]
push eax
push str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.00401e60
jmp 0x401460
mov ecx, dword [ebx + 4]
xor eax, eax
add ecx, dword [esi]
push 0
adc eax, dword [esi + 4]
push eax
push ecx
push ebp
call fcn.0040e606
add esp, 0x10
test eax, eax
jns 0x401320
lea eax, [ebx + 0x12]
push eax
push str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
push str.fseek
call fcn.00401e40
push ebp
call fcn.0040df81
add esp, 0x10
jmp 0x401463
push dword [ebx + 0xc]
call fcn.00412d93
add esp, 4
mov dword [esp + 0x14], eax
mov edi, eax
mov dword [esp + 0x24], edi
test eax, eax
jne 0x40135d
push dword [ebx + 0xc]
lea eax, [ebx + 0x12]
push eax
push str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
push str.malloc
call fcn.00401e40
push ebp
call fcn.0040df81
add esp, 0x14
jmp 0x401465
cmp byte [ebx + 0x10], 1
jne 0x40137e
push eax
push 0
push ebx
push ebp
call fcn.00401040
add esp, 0x10
test eax, eax
jne 0x401451
mov dword [esp + 0x14], edi
jmp 0x4013e1
mov edi, dword [ebx + 0xc]
xor ebp, ebp
mov dword [esp + 0x18], eax
test edi, edi
je 0x4013d9
nop dword [eax + eax]
test ebp, ebp
jb 0x4013a5
ja 0x40139e
cmp edi, 0x2000
jbe 0x4013a5
mov esi, 0x2000
jmp 0x4013a7
mov esi, edi
push dword [esp + 0x10]
push 1
push esi
push eax
call fcn.0040e1e2
add esp, 0x10
cmp eax, 1
jb 0x401437
mov eax, dword [esp + 0x18]
sub edi, esi
sbb ebp, 0
add eax, esi
mov dword [esp + 0x18], eax
test ebp, ebp
ja 0x40139e
jb 0x4013d5
test edi, edi
jne 0x401390
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
push ebp
add ebx, 0x12
call fcn.0040df81
add esi, 0x3068
push ebx
push esi
call fcn.004067e0
add esp, 0xc
test eax, eax
js 0x401465
push ebx
push 0x5c
push esi
push str._s_c_s
lea eax, [esp + 0x38]
push 0x1000
push eax
call fcn.00401db0
add esp, 0x18
cmp eax, 0x1000
jge 0x401465
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
call fcn.00403130
add esp, 8
mov dword [esp + 0x20], eax
jmp 0x401465
lea eax, [ebx + 0x12]
push eax
push str.Failed_to_extract__s:_failed_to_read_data_chunk__n
push str.fread
call fcn.00401e40
mov ebp, dword [esp + 0x1c]
add esp, 0xc
push dword [esp + 0x14]
call fcn.00412d78
push ebp
call fcn.0040df81
add esp, 8
xor edi, edi
push edi
call fcn.00412d78
mov ecx, dword [esp + 0x102c]
add esp, 4
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040aa47
add esp, 0x101c
ret
Function at 0x401510
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push 0x428520
xor edi, edi
lea eax, [esi + 0x68]
push eax
call fcn.00402fc0
mov ebp, eax
add esp, 8
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x401555
mov eax, dword [esp + 0x1c]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.00401e60
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 8
ret
push ebx
mov ebx, dword [esp + 0x20]
xor eax, eax
push 0
mov ecx, dword [ebx + 4]
add ecx, dword [esi]
adc eax, dword [esi + 4]
push eax
push ecx
push ebp
call fcn.0040e606
add esp, 0x10
test eax, eax
jns 0x40158d
lea eax, [ebx + 0x12]
push eax
push str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
push str.fseek
call fcn.00401e40
add esp, 0xc
jmp 0x4015bd
push dword [ebx + 0xc]
call fcn.00412d93
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4015d3
push dword [ebx + 0xc]
lea ecx, [ebx + 0x12]
push ecx
push str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
push str.malloc
call fcn.00401e40
add esp, 0x10
mov edi, dword [esp + 0x10]
push dword [esp + 0x14]
call fcn.0040df81
add esp, 4
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
add esp, 8
ret
cmp byte [ebx + 0x10], 1
jne 0x4015fb
push eax
push 0
push ebx
push ebp
call fcn.00401040
add esp, 0x10
test eax, eax
je 0x4015b9
mov edi, dword [esp + 0x10]
push edi
call fcn.00412d78
add esp, 4
xor edi, edi
jmp 0x4015bd
mov esi, dword [ebx + 0xc]
mov ebp, eax
xor ebx, ebx
test esi, esi
je 0x40167a
test ebx, ebx
jb 0x40161b
ja 0x401614
cmp esi, 0x2000
jbe 0x40161b
mov edi, 0x2000
jmp 0x40161d
mov edi, esi
push dword [esp + 0x14]
push 1
push edi
push ebp
call fcn.0040e1e2
add esp, 0x10
cmp eax, 1
jb 0x40164c
sub esi, edi
sbb ebx, 0
add ebp, edi
test ebx, ebx
ja 0x401614
jb 0x4015b9
test esi, esi
jne 0x401606
jmp 0x4015b9
mov eax, dword [esp + 0x20]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_failed_to_read_data_chunk__n
push str.fread
call fcn.00401e40
mov edi, dword [esp + 0x1c]
add esp, 0xc
push edi
call fcn.00412d78
add esp, 4
xor edi, edi
jmp 0x4015bd
mov edi, eax
jmp 0x4015bd