joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494760
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x590288]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49494a
sub esp, 0x48
mov eax, dword [0x56d714]
mov ecx, dword [esp + 0x50]
movzx edx, word [ecx + 2]
movzx ebx, word [ecx + 8]
movzx ebp, word [ecx + 0xa]
movzx esi, word [ecx + 0xc]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call fcn.00491470
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.0046c5de
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.0046c5de
call fcn.004910f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
call fcn.0045f150
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
mov eax, ebp
sar ebp, 0x1f
add eax, edx
sar eax, 0x10
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x494837
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x494851
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x4948c8
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x49489e
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x49489a
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x494893
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x4948a0
mov ebx, 0x1d
jmp 0x4948be
mov ebp, eax
jmp 0x4948a0
mov ebp, eax
cmp ebp, 0xd
jae 0x49493d
lea eax, [ebp - 1]
lea edx, [0x5686a0]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x494933
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x4948c8
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x4948fa
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x494902
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
mov dword [esp + 0x54], eax
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
add esp, 0x48
ret
mov ecx, 0xd
call fcn.0046bf60
mov eax, ebp
mov ecx, 0xd
call fcn.0046bf60
nop
call fcn.0046aae0
jmp fcn.00494760
Function at 0xf813f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5c7000]
push edi
or ebp, 0xffffffff
jmp 0xf81412
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xf81419
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf81408
mov eax, 1
add ebx, ebx
jne 0xf8142b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xf8143c
jne 0xf8145b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf8145b
dec eax
add ebx, ebx
jne 0xf81448
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xf81420
add ebx, ebx
jne 0xf81457
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xf814ad
xor ecx, ecx
sub eax, 3
jb 0xf81473
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xf814e2
sar eax, 1
mov ebp, eax
jmp 0xf8147e
add ebx, ebx
jne 0xf8147e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf8144c
inc ecx
add ebx, ebx
jne 0xf8148c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf8144c
add ebx, ebx
jne 0xf81499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xf8148e
jne 0xf814aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xf8148e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xf814cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xf814be
jmp 0xf8140e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xf814cc
add edi, ecx
jmp 0xf8140e
pop esi
mov edi, esi
mov ecx, 0xf34d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xf814ea
cmp byte [edi], 0x5b
jne 0xf814ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xf814ef
lea edi, [esi + 0x736000]
mov eax, dword [edi]
or eax, eax
je 0xf8155e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x755804]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7558cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xf8151c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7558d0]
or eax, eax
je 0xf81558
mov dword [ebx], eax
add ebx, 4
jmp 0xf81539
call dword [esi + 0x7558e0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xf8158f
cmp al, 0xef
ja 0xf81582
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xf81564
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xf81571
mov ebp, dword [esi + 0x7558d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xf815c3
sub esp, 0xffffff80
jmp 0xca9d4a
Function at 0x411a60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4727
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fd43c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 1
cmp dword [ebp + 0x18], 0
mov edi, dword [esi]
jne 0x411acc
mov esi, dword [edi + 0x558]
test esi, esi
je 0x411bd4
push str.maintab
lea ecx, [esi + 0x2c]
call fcn.00456100
push 1
push 1
mov ecx, eax
call fcn.0045c700
lea ecx, [esi + 0x550]
call fcn.00436db0
jmp 0x411bd4
mov ecx, dword [edi + 0x558]
test ecx, ecx
je 0x411adf
push 1
call fcn.0045dd30
mov edi, dword [esi]
mov ecx, dword [edi + 0x55c]
test ecx, ecx
jne 0x411b8f
push 0x558
call fcn.004a187d
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x558
push 0
push esi
mov byte [ebp - 4], 2
call fcn.004a3c10
add esp, 0x10
mov ecx, esi
call fcn.00404590
mov dword [esi], vtable.LDYunUpdateFrame.1.0
lea ecx, [esi + 0x528]
mov dword [esi + 0x10], vtable.LDYunUpdateFrame.2.0
lea eax, [ebp - 0x10]
mov dword [esi + 0x20], vtable.LDYunUpdateFrame.4.0
mov dword [esi + 0x24], vtable.LDYunUpdateFrame.3.0
mov dword [esi + 0x28], vtable.LDYunUpdateFrame.0
mov dword [ecx + 0x24], 0
mov byte [ebp - 4], 1
mov byte [esi + 0x550], 0
push eax
mov dword [edi + 0x55c], esi
mov dword [ebp - 0x10], edi
call fcn.00413020
mov esi, dword [edi + 0x55c]
mov ecx, edi
call fcn.0045d3f0
push 0
push 0
push 0
push eax
mov ecx, esi
call fcn.0045de00
mov ecx, dword [edi + 0x55c]
call fcn.0045dbe0
mov ecx, dword [edi + 0x55c]
push dword [ebp + 0x38]
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00433cc0
cmp byte [ebp + 0x38], 0
mov ecx, dword [edi + 0x55c]
je 0x411bb2
call fcn.0045e3a0
jmp 0x411bbb
push 1
push 1
call fcn.0045e490
cmp byte [0x504768], 0
jne 0x411bd4
push 0
mov ecx, edi
call fcn.0045d3f0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x411c0a
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411c00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c67
push edx
push ecx
call fcn.004a1afe
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x411c54
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411c4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c67
push edx
push ecx
call fcn.004a1afe
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x34
call fcn.004a670d
int3
Function at 0x427580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x427668
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x427657
jg 0x4275c0
test edx, edx
je 0x427657
nop dword [eax]
call fcn.00429070
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x427614
jg 0x4275d7
test esi, esi
je 0x427614
cmp ebx, eax
jg 0x4275e7
jl 0x4275e1
cmp edi, esi
jae 0x4275e7
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.004a3690
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x42763b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x427651
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x4275c0
jl 0x427651
test edi, edi
jne 0x4275c0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x42768a
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x42768c
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x42770a
jg 0x42769f
test esi, esi
je 0x42770a
test eax, eax
jl 0x4276ee
jg 0x4276a9
test ebx, ebx
je 0x4276ee
cmp edi, eax
jg 0x4276b9
jl 0x4276b3
cmp esi, ebx
jae 0x4276b9
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.004a3690
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x42770a
jg 0x4276f1
test esi, esi
je 0x42770a
jmp 0x4276f1
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x42770a
push eax
push esi
push 1
push edx
call fcn.004aa940
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x427720
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x427752
jl 0x427745
test ecx, ecx
jne 0x427752
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x427812
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00429090
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x4277be
jg 0x42777d
test esi, esi
je 0x4277be
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x427795
mov eax, dword [esp + 0x10]
jl 0x42778f
cmp eax, esi
jae 0x427795
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.004a3690
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x4277df
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x4277fb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x427764
jl 0x4277fb
test ecx, ecx
jne 0x427764
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x427851
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x427851
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.004a3690
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x4278c0
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x427877
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x4278a9
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.004aaf39
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x4278d4
cmp edi, eax
ja 0x427885
test ecx, ecx
je 0x4278c0
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.004aaf39
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x427c50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4fd43c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x427c80
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x427cbc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x427cbc
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x427da6
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x427ce4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x427d17
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.004a9e5e
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x25], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x427d79
sub eax, 1
je 0x427d79
sub eax, 2
jne 0x427da6
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.004a9e5e
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x427d96
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004aa940
add esp, 0x10
cmp edi, eax
jne 0x427da6
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x427ca7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a186f
mov esp, ebp
pop ebp
ret 4
Function at 0x428400
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6930
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fd43c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004a187d
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004a047d
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x428da0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4fd43c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x428e5c
cmp byte [esi + 0x3d], 0
je 0x428e5c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x428e4a
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x428e12
sub eax, 1
je 0x428e16
sub eax, 2
jne 0x428e4a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x428e33
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004aa940
add esp, 0x10
cmp edi, eax
jne 0x428e4a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004a186f
mov esp, ebp
pop ebp
ret
Function at 0x42d4c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c720d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
push edi
mov eax, dword [0x4fd43c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], eax
lea eax, [esi + 0xc]
push eax
mov dword [esi], vtable.std::_Associated_state_int_.0
mov dword [esi + 4], 1
call fcn.0049f9c3
lea eax, [esi + 0x14]
push 2
push eax
call fcn.004a0c6e
lea eax, [esi + 0x44]
push eax
call fcn.004a0076
mov byte [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov word [esi + 0x74], 0
mov byte [esi + 0x76], 0
mov dword [esi + 0x78], 0
mov dword [ebp - 4], 0
lea edx, [esi + 0x80]
mov ecx, dword [ebp - 0x14]
mov dword [esi], vtable.std::_Packaged_state_void____cdecl___void__.0
mov dword [ebp - 0x24], edx
movups xmm0, xmmword [ecx + 0x18]
mov eax, dword [ecx]
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ecx + 0x14]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x68], eax
movq xmm0, qword [ecx + 0x28]
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0xf
mov byte [ecx + 0x18], 0
mov al, byte [ecx + 0x30]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x6c], edi
movq qword [ebp - 0x2c], xmm0
movq qword [ebp - 0x54], xmm0
mov byte [ebp - 0xd], al
mov byte [ebp - 0x4c], al
mov dword [edx + 0x24], 0
push 0x48
mov byte [ebp - 4], 2
call fcn.004a187d
mov ecx, dword [ebp - 0x14]
add esp, 0x14
movups xmm0, xmmword [ebp - 0x3c]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_std::_Fake_no_copy_callable_adapter_class__lambda_22cfbffe0ddd30a54984ea75e5b51e98____void___.0
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x1c], ecx
mov cl, byte [ebp - 0xd]
mov dword [eax + 0x10], esi
mov dword [eax + 0x18], edi
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
movups xmmword [eax + 0x20], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [eax + 0x30], xmm0
mov byte [eax + 0x38], cl
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xa4], eax
mov eax, ecx
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 0x42fea0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4fd43c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x42ff96
lea eax, [ebp - 0x108]
mov dword [ebp - 0x14], 0x39363231
push eax
push 0x80
push str._ldspace20160302_
mov dword [ebp - 0x10], 0x35313735
mov dword [ebp - 0xc], 0x32333936
mov dword [ebp - 8], 0x31323031
call dword [sym.imp.LIBEAY32.dll_Ordinal_3106]
add esp, 0xc
test eax, eax
jns 0x42ff27
push str.set_key_error
push 0x35
push str.AESUtils::aes_decrypt
call fcn.00436bb0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret
push 0
push edi
mov ecx, esi
call fcn.0042ffd0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x42ff3b
mov eax, dword [esi]
push 0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x108]
push ecx
push edi
push eax
push ebx
call dword [sym.imp.LIBEAY32.dll_Ordinal_3171]
add esp, 0x18
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x42ff5e
mov eax, dword [esi]
movsx edx, byte [edi + eax - 1]
lea eax, [edx - 1]
cmp eax, 0xf
ja 0x42ffb5
mov ebx, edi
sub ebx, edx
mov ecx, ebx
cmp ebx, edi
jge 0x42ff8c
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x42ff7f
mov eax, dword [esi]
movsx eax, byte [eax + ecx]
cmp eax, edx
jne 0x42ffa9
inc ecx
cmp ecx, edi
jl 0x42ff75
push 0
push ebx
mov ecx, esi
call fcn.0042ffd0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a186f
mov esp, ebp
pop ebp
ret
push str.bad_padding
push 0x46
jmp 0x42ff06
push str.bad_padding_byte
push 0x3f
jmp 0x42ff06