joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45aec0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fc8ab
mov eax, dword fs:[0]
push eax
sub esp, 0xc28
mov eax, dword [0x548280]
xor eax, esp
mov dword [esp + 0xc20], eax
push ebx
push esi
push edi
mov eax, dword [0x548280]
xor eax, esp
push eax
lea eax, [esp + 0xc38]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test esi, esi
je 0x45b05a
test ebx, ebx
je 0x45b05a
lea edi, [ebx + 0x4e]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45af22
sub ecx, edx
sar ecx, 1
je 0x45b05a
lea ecx, [ebx + 0x84e]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45af40
sub ecx, edx
sar ecx, 1
jne 0x45af75
lea ecx, [ebx + 0xe4e]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45af60
sub ecx, edx
sar ecx, 1
je 0x45b05a
xor eax, eax
push 0x3fe
push eax
mov word [esp + 0x834], ax
lea eax, [esp + 0x836]
push eax
call fcn.0046f380
lea ecx, [esp + 0x838]
add esp, 0xc
sub ecx, esi
mov edi, edi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x45afa0
lea ecx, [esp + 0x82c]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45afc0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
cmp word [esp + eax + 0x82a], 0x5c
je 0x45b000
mov edx, 0x5c
mov word [esp + eax + 0x82a], dx
cmp eax, 0x400
jae 0x45b082
xor edx, edx
inc ecx
mov word [esp + eax + 0x82c], dx
lea ecx, [esp + ecx*2 + 0x82c]
sub ecx, edi
lea esp, [esp]
movzx eax, word [edi]
lea edi, [edi + 2]
mov word [ecx + edi - 2], ax
test ax, ax
jne 0x45b010
mov dword [esp + 0x10], vtable.IDownloaderPtr.0
call fcn.00485f00
mov esi, eax
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x18]
mov ecx, eax
mov dword [esp + 0xc40], 0
push ebx
push esi
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
call edx
test al, al
jne 0x45b087
lea ecx, [esp + 0x10]
call fcn.00441d60
xor al, al
mov ecx, dword [esp + 0xc38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc20]
xor ecx, esp
call fcn.004632a9
mov esp, ebp
pop ebp
ret 8
call fcn.00463e68
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
push eax
lea eax, [esp + 0x834]
push eax
call fcn.0047fa20
add esp, 0xc
test al, al
jne 0x45b127
lea eax, [esp + 0x20]
mov dword [esp + 0x824], 0
mov dword [esp + 0x1c], eax
xor eax, eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x82c]
push str._bak
push eax
lea eax, [esp + 0x24]
push 0x5379d0
push eax
call fcn.00445f30
add esp, 0x10
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x830]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x45b051
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
push eax
lea eax, [esp + 0x834]
push eax
call fcn.0047fa20
add esp, 0xc
test al, al
je 0x45b051
lea ecx, [esp + 0x10]
call fcn.00441d60
mov al, 1
jmp 0x45b05c
Function at 0x45b9c0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc907
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x548280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x540ff8
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.0045c760
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.0045cec0
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x563314]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x50], 0
mov dword [esi + 0x40], 0
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 0x45cb90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fc9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x548280]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x548280]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x45cce4
cmp byte [ebx + 0x45], 0
je 0x45cce4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x45cbf0
xor al, al
jmp 0x45cce6
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x45cc30
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x45cc71
dec eax
je 0x45cc75
sub eax, 2
je 0x45cccb
xor bl, bl
jmp 0x45cccd
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x45ccac
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00466481
add esp, 0x10
cmp esi, eax
jne 0x45cc6d
cmp byte [ebx + 0x45], 0
je 0x45cccb
test esi, esi
jne 0x45cc30
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0045c620
jmp 0x45cc30
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x45cce0
push dword [esp + 0x18]
call fcn.00463d2b
add esp, 4
mov al, bl
jmp 0x45cce6
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004632a9
mov esp, ebp
pop ebp
ret

Function at 0x45df30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x548280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0047d9c0
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.0047da70
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov bl, al
call fcn.0047d9e0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45dfc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x548280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0047d9c0
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.0047dab0
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov bl, al
call fcn.0047d9e0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45e1a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x548280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0047d9c0
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.0047da70
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov bl, al
call fcn.0047d9e0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45e230
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x548280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0047d9c0
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.0047dab0
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov bl, al
call fcn.0047d9e0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45e340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x548280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 8], ecx
lea ecx, [esp + 0xc]
call fcn.0047d9c0
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push dword [ebp + 0x10]
mov dword [esp + 0x30], 0
push ebx
push 0
push 0
call fcn.0047e6f0
add esp, 0x14
test eax, eax
jne 0x45e39d
xor bl, bl
jmp 0x45e3e0
push 1
inc eax
lea ecx, [esp + 0x10]
push eax
call fcn.0047da20
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push ebx
push dword [esp + 0x1c]
push dword [esp + 0x28]
call fcn.0047e6f0
add esp, 0x14
lea ecx, [esp + 0xc]
push eax
call fcn.0047dc40
mov ecx, dword [esp + 8]
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov bl, al
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0047d9e0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45e410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x548280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0047d9c0
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.0047da70
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov bl, al
call fcn.0047d9e0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45e4a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x548280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0047d9c0
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.0047dab0
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov bl, al
call fcn.0047d9e0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45e5a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x45e656
cmp dword [ebp + 8], 0
je 0x45e656
push edi
call fcn.0045e7e0
mov edi, eax
test edi, edi
jne 0x45e5d3
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov edx, dword [esi + 4]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov byte [ebp - 1], 0
push eax
push dword [esi + 8]
mov ecx, edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call fcn.00461700
add esp, 0x10
test al, al
je 0x45e63b
cmp dword [ebp - 8], 0
je 0x45e642
push 0x54119c
push dword [ebp + 8]
call fcn.00466789
mov esi, eax
add esp, 8
test esi, esi
je 0x45e63b
push esi
push dword [ebp - 0xc]
push 1
push dword [ebp - 8]
call fcn.00466481
push esi
call fcn.0046656f
add esp, 0x14
mov byte [ebp - 1], 1
mov dword [ebp - 8], 0
push edi
call fcn.00463d2b
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x45e660
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x45e716
cmp dword [ebp + 8], 0
je 0x45e716
push edi
call fcn.0045e7e0
mov edi, eax
test edi, edi
jne 0x45e693
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov edx, dword [esi + 4]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov byte [ebp - 1], 0
push eax
push dword [esi + 8]
mov ecx, edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call fcn.00461700
add esp, 0x10
test al, al
je 0x45e6fb
cmp dword [ebp - 8], 0
je 0x45e702
push 0x5411a0
push dword [ebp + 8]
call fcn.004665e6
mov esi, eax
add esp, 8
test esi, esi
je 0x45e6fb
push esi
push dword [ebp - 0xc]
push 1
push dword [ebp - 8]
call fcn.00466481
push esi
call fcn.0046656f
add esp, 0x14
mov byte [ebp - 1], 1
mov dword [ebp - 8], 0
push edi
call fcn.00463d2b
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x45f170
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push 0
push 0
push 0
push 0
mov dword [esi], vtable.swC60055.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x10], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x45f280
push 0
push 0
call fcn.0046679e
add esp, 0x18
mov dword [esi + 0xc], eax
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45f210
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
mov dword [esi], vtable.swC60055.0
je 0x45f258
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45f248
push 0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45f26d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop esi
ret

Function at 0x45f670
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fcb92
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x548280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x814], 0
push 0x11
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push str._Unknown_Process_
mov dword [ebp - 0x818], edi
mov word [edi], ax
call fcn.00449460
xor eax, eax
mov dword [ebp - 4], 0
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov dword [ebp - 0x814], 1
call fcn.0046f380
add esp, 0xc
push esi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x45f76e
push 0x3ff
lea eax, [ebp - 0x810]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [ebp - 0x810], 0
jne 0x45f742
xor eax, eax
jmp 0x45f75f
lea eax, [ebp - 0x810]
lea edx, [eax + 2]
jmp 0x45f750
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45f750
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
call fcn.00449460
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004632a9
mov esp, ebp
pop ebp
ret
Function at 0x472889
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x548280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00468998
mov dword [ebp - 0x14], eax
cmp dword [0x55ae98], esi
jne 0x47297c
push 0x800
push esi
push 0x50385c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x472909
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x472a5c
push esi
push esi
push 0x50385c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x472a5c
push 0x503874
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x472a5c
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x55ae98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x55ae9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5038a4
push edi
mov dword [0x55aea0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x55aea8], eax
test eax, eax
je 0x472979
push 0x5038c0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x55aea4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4729a1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x472994
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4729b6
push 4
pop eax
jmp 0x472a5e
cmp dword [ebp - 0x14], esi
je 0x4729b6
push dword [0x55ae98]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x47299b
mov eax, dword [0x55aea4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x472a14
cmp dword [0x55aea8], edi
je 0x472a14
push eax
call ebx
push dword [0x55aea8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x472a14
test eax, eax
je 0x472a14
call ecx
test eax, eax
je 0x472a09
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x472a09
test byte [ebp - 8], 1
jne 0x472a14
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x472a44
mov eax, dword [0x55ae9c]
cmp eax, edi
je 0x472a41
push eax
call ebx
test eax, eax
je 0x472a41
call eax
mov esi, eax
test esi, esi
je 0x472a41
mov eax, dword [0x55aea0]
cmp eax, edi
je 0x472a41
push eax
call ebx
test eax, eax
je 0x472a41
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x55ae98]
call ebx
test eax, eax
je 0x472a5c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x472a5e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004632a9
mov esp, ebp
pop ebp
ret
Function at 0x47d0a0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
je 0x47d225
cmp dword [ebp + 0xc], 0
je 0x47d225
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x47d225
mov eax, dword [ebp + 0x14]
test al, 3
jne 0x47d225
push edi
xor edi, edi
test eax, eax
jle 0x47d21f
add esi, 2
push ebx
lea ecx, [ecx]
mov cl, byte [esi - 2]
lea ebx, [ecx - 0x41]
cmp bl, 0x19
jbe 0x47d119
mov al, cl
sub al, 0x61
cmp al, 0x19
ja 0x47d0f8
lea ebx, [ecx - 0x47]
jmp 0x47d119
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x47d105
lea ebx, [ecx + 4]
jmp 0x47d119
cmp cl, 0x2b
je 0x47d117
cmp cl, 0x2f
je 0x47d113
xor bl, bl
jmp 0x47d119
mov bl, 0x3f
jmp 0x47d119
mov bl, 0x3e
mov cl, byte [esi - 1]
lea edx, [ecx - 0x41]
cmp dl, 0x19
jbe 0x47d152
mov al, cl
sub al, 0x61
cmp al, 0x19
ja 0x47d131
lea edx, [ecx - 0x47]
jmp 0x47d152
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x47d13e
lea edx, [ecx + 4]
jmp 0x47d152
cmp cl, 0x2b
je 0x47d150
cmp cl, 0x2f
je 0x47d14c
xor dl, dl
jmp 0x47d152
mov dl, 0x3f
jmp 0x47d152
mov dl, 0x3e
mov cl, byte [esi]
mov al, cl
sub al, 0x41
cmp al, 0x19
jbe 0x47d18a
mov al, cl
sub al, 0x61
cmp al, 0x19
mov al, cl
ja 0x47d16a
sub al, 0x47
jmp 0x47d18a
sub al, 0x30
cmp al, 9
ja 0x47d176
mov al, cl
add al, 4
jmp 0x47d18a
cmp cl, 0x2b
je 0x47d188
cmp cl, 0x2f
je 0x47d184
xor al, al
jmp 0x47d18a
mov al, 0x3f
jmp 0x47d18a
mov al, 0x3e
mov ch, byte [esi + 1]
mov ah, ch
sub ah, 0x41
cmp ah, 0x19
jbe 0x47d1cd
mov cl, ch
sub cl, 0x61
cmp cl, 0x19
ja 0x47d1a8
mov ah, ch
sub ah, 0x47
jmp 0x47d1cd
mov cl, ch
sub cl, 0x30
cmp cl, 9
ja 0x47d1b9
mov ah, ch
add ah, 4
jmp 0x47d1cd
cmp ch, 0x2b
je 0x47d1cb
cmp ch, 0x2f
je 0x47d1c7
xor ah, ah
jmp 0x47d1cd
mov ah, 0x3f
jmp 0x47d1cd
mov ah, 0x3e
mov cl, dl
shl bl, 2
shr cl, 4
inc edi
or cl, bl
shl dl, 4
mov ebx, dword [ebp + 8]
mov byte [ebx], cl
mov cl, al
shr cl, 2
or cl, dl
mov byte [ebx + 1], cl
cmp byte [esi], 0x3d
je 0x47d21e
shl al, 6
inc edi
or al, ah
mov byte [ebx + 2], al
add ebx, 3
cmp byte [esi + 1], 0x3d
mov dword [ebp + 8], ebx
je 0x47d21e
mov eax, dword [ebp + 0x14]
inc edi
sub eax, 4
add esi, 4
mov dword [ebp + 0x14], eax
cmp edi, dword [ebp + 0xc]
jae 0x47d21e
test eax, eax
jg 0x47d0e0
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret