joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457300
Capabilities:
Inspect load icon resource

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60b0f8
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov bl, byte [esp + 0x1c]
push esi
mov esi, ecx
push edi
mov byte [esi + 0x1518], bl
call fcn.00457120
push 0
mov ecx, esi
call fcn.005dce3f
call fcn.005f45a4
neg bl
mov eax, dword [eax + 0xc]
sbb ebx, ebx
and bl, 0x76
add ebx, 0x533
and ebx, 0xffff
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edi, eax
mov eax, dword [esi + 0x1480]
test eax, eax
je 0x45738d
add esi, 0x1444
mov ecx, esi
call fcn.004dd610
push edi
mov ecx, esi
call fcn.004dd640
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
lea eax, [esp + 0x10]
push 0x65
push eax
mov ecx, 0x6bb390
call fcn.0043e6f0
mov ebx, eax
lea ecx, [esp + 0xc]
push 0x64
push ecx
mov ecx, 0x6bb390
mov dword [esp + 0x24], 0
call fcn.0043e6f0
mov edx, dword [0x6abf00]
mov dword [esp + 0x24], edx
mov ecx, dword [ebx]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x2c]
push str._s__s
push eax
mov byte [esp + 0x2c], 2
call fcn.004f59f0
mov eax, dword [eax]
add esp, 0x10
lea ecx, [esi + 0x1444]
push 0x47b
push edi
push eax
push 0x40a
push 0
call fcn.004dd460
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call fcn.005dd1b0
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.005dd1b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005dd1b0
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x458320
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x60b383
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.005f47e4
mov dword [esi], method.CWinThread.virtual_0
lea edi, [esi + 0x68]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], edi
call fcn.004587c0
lea ecx, [edi + 0x30]
mov byte [esp + 0x20], 1
call fcn.004587c0
lea eax, [esp + 0xf]
lea ecx, [edi + 0x60]
push eax
mov byte [esp + 0x24], 3
call fcn.0045cb90
lea ecx, [edi + 0x64]
mov byte [esp + 0x20], 5
call fcn.0045c750
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], ebx
lea ecx, [esi + 0xe8]
mov byte [esp + 0x20], 6
call fcn.00459740
lea ecx, [esi + 0x128]
mov byte [esp + 0x20], 7
call fcn.004597b0
lea edi, [esi + 0x148]
mov byte [esp + 0x20], 8
mov ecx, edi
call fcn.0045d7f0
mov dword [edi], method.CGopherLocator.virtual_0
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x178], ebx
mov dword [esi + 0x17c], ebx
mov dword [esi + 0x180], 0xffffffff
mov word [esi + 0x184], bx
push 0x6994d0
lea ecx, [esi + 0x74]
mov byte [esp + 0x24], 9
mov dword [0x6bb7d8], esi
call fcn.005dd2ed
push str.Localhost
lea ecx, [esi + 0x78]
call fcn.005dd2ed
push 0x6994d0
lea ecx, [esi + 0xa4]
call fcn.005dd2ed
push 0x6b3df8
lea ecx, [esi + 0xa8]
call fcn.005dd2ed
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x188], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x458900
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x60b5c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x14]
mov ecx, 0x6bb390
push eax
mov dword [esp + 0x30], 4
call fcn.0041a0b0
push str.ipspace.dat
lea ecx, [esp + 0x14]
mov bl, 5
push eax
push ecx
mov byte [esp + 0x38], bl
call fcn.005dd3f9
mov eax, dword [eax]
lea ecx, [ebp + 0x68]
push eax
mov byte [esp + 0x30], 6
call fcn.00458cc0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], bl
call fcn.005dd1b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.005dd1b0
lea edi, [ebp + 0x148]
mov dword [esp + 0x1c], edi
mov dword [edi], method.CGopherLocator.virtual_0
mov eax, dword [edi + 4]
mov byte [esp + 0x2c], 7
test eax, eax
je 0x4589c0
mov ecx, dword [edi + 8]
mov ebx, eax
mov edx, ecx
dec ecx
test edx, edx
je 0x4589b4
lea esi, [ecx + 1]
push 0
mov ecx, ebx
call fcn.0045f020
add ebx, 8
dec esi
jne 0x4589a5
mov edi, dword [edi + 4]
push edi
call fcn.005dd7a4
add esp, 4
lea edi, [ebp + 0x128]
mov dword [esp + 0x1c], edi
lea ecx, [edi + 0x14]
mov byte [esp + 0x2c], 8
call fcn.004f9ba0
mov dword [edi], method.CGopherLocator.virtual_0
mov ebx, dword [edi + 4]
mov byte [esp + 0x2c], 9
test ebx, ebx
je 0x458a11
mov eax, dword [edi + 8]
mov ecx, eax
dec eax
test ecx, ecx
je 0x458a05
lea esi, [eax + 1]
push 0
mov ecx, ebx
call fcn.0045f020
add ebx, 0xc
dec esi
jne 0x4589f6
mov edi, dword [edi + 4]
push edi
call fcn.005dd7a4
add esp, 4
lea ebx, [ebp + 0xe8]
mov dword [esp + 0x1c], ebx
lea ecx, [ebx + 0x30]
mov byte [esp + 0x2c], 0xa
call fcn.004f9ba0
mov dword [ebx], method.CGopherLocator.virtual_0
mov edi, dword [ebx + 4]
mov byte [esp + 0x2c], 0xb
test edi, edi
je 0x458a62
mov eax, dword [ebx + 8]
mov edx, eax
dec eax
test edx, edx
je 0x458a56
lea esi, [eax + 1]
push 0
mov ecx, edi
call fcn.0045f000
add edi, 0x30
dec esi
jne 0x458a47
mov ebx, dword [ebx + 4]
push ebx
call fcn.005dd7a4
add esp, 4
lea esi, [ebp + 0x68]
mov dword [esp + 0x1c], esi
lea ecx, [esi + 0x64]
mov byte [esp + 0x2c], 0xe
call fcn.0045c810
lea ecx, [esi + 0x60]
mov byte [esp + 0x2c], 0xd
call fcn.0045cbe0
lea edi, [esi + 0x30]
mov dword [esp + 0x20], edi
lea ecx, [edi + 0x20]
mov byte [esp + 0x2c], 0x11
call fcn.004450f0
lea ecx, [edi + 0x14]
mov byte [esp + 0x2c], 0x10
call fcn.005dd1b0
lea ecx, [edi + 0x10]
mov byte [esp + 0x2c], 0xf
call fcn.005dd1b0
lea ecx, [edi + 0xc]
mov byte [esp + 0x2c], 0xc
call fcn.005dd1b0
lea ecx, [esi + 0x20]
mov byte [esp + 0x2c], 0x14
call fcn.004450f0
lea ecx, [esi + 0x14]
mov byte [esp + 0x2c], 0x13
call fcn.005dd1b0
lea ecx, [esi + 0x10]
mov byte [esp + 0x2c], 0x12
call fcn.005dd1b0
lea ecx, [esi + 0xc]
mov byte [esp + 0x2c], 0
call fcn.005dd1b0
mov ecx, ebp
mov dword [esp + 0x2c], 0xffffffff
call fcn.005fcbe0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x459740
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x60b678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 8], esi
mov dword [esi + 4], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi], method.CGopherLocator.virtual_0
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
push 0xb
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x24], ebx
call fcn.004f9b10
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x28], ebx
mov byte [esi + 0x2c], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x459b80
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
mov al, byte [esi]
mov byte [esi + edi], al
mov cl, byte [esi + 1]
inc edi
mov byte [esi + edi], cl
inc edi
mov byte [esi], 1
call fcn.00511859
lea ecx, [edi - 1]
mov byte [esi + 1], al
cmp ecx, 1
jbe 0x459bc7
push ebx
push ebp
or ebp, 0xffffffff
lea eax, [esi + 2]
sub ebp, esi
mov dl, byte [eax - 1]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [eax + ebp]
cmp edx, ecx
jb 0x459bb4
pop ebp
pop ebx
push edi
push esi
mov ecx, 0x6bb390
call fcn.0043c110
pop edi
pop esi
ret 8
Function at 0x459be0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [0x6bb7d0]
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov ebp, ecx
mov edx, dword [esi]
cmp eax, edx
jne 0x459c5a
mov ax, word [0x6bb7d4]
cmp ax, word [esi + 4]
jne 0x459c5a
mov eax, dword [esp + 0x18]
cmp byte [eax], 1
je 0x459c17
pop edi
pop esi
mov al, 1
pop ebp
add esp, 8
ret 0xc
mov esi, dword [esp + 0x1c]
lea ecx, [esi - 2]
cmp ecx, 1
jb 0x459c38
push ebx
mov dl, byte [eax + ecx]
mov bl, byte [eax + ecx + 1]
xor bl, dl
mov byte [eax + ecx + 1], bl
dec ecx
cmp ecx, 1
jae 0x459c24
pop ebx
mov cl, byte [eax + esi - 1]
dec esi
dec esi
mov byte [eax + 1], cl
push esi
push eax
mov dl, byte [eax + esi]
mov ecx, ebp
mov byte [eax], dl
call fcn.00459d50
pop edi
pop esi
mov al, 1
pop ebp
add esp, 8
ret 0xc
xor ecx, ecx
mov eax, 0x6bb7b8
cmp dword [eax], edx
jne 0x459c6f
mov di, word [eax + 4]
cmp di, word [esi + 4]
je 0x459c7a
add eax, 8
inc ecx
cmp eax, 0x6bb7d0
jl 0x459c61
cmp ecx, 3
je 0x459d0e
cmp dword [esp + 0x1c], 0xc
jne 0x459d03
mov eax, dword [esp + 0x18]
mov ecx, 3
mov edi, 0x6994f8
mov esi, eax
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x459d03
mov ecx, dword [eax + 8]
mov dword [ebp + 0x180], ecx
mov dx, word [eax + 6]
push edx
call sub.WS2_32.dll_htons
mov word [ebp + 0x184], ax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
push 0xa
push ecx
push edx
call fcn.00510160
push 0
push 0x3e8
push edx
push eax
call fcn.00510160
mov dword [ebp + 0x170], eax
mov dword [ebp + 0x174], edx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 8
ret 0xc
pop edi
pop esi
xor al, al
pop ebp
add esp, 8
ret 0xc
Function at 0x45b280
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x60b97f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
sub esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], esp
mov esi, esp
call fcn.0041a0a0
mov eax, dword [eax]
push str.AutoUpdateLastVersion
push str.View
mov dword [esp + 0x28], 1
mov ecx, dword [eax - 8]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov esi, dword [esp + 0x30]
push esi
mov ecx, edi
call fcn.00405230
mov dword [esp + 8], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.005dd1b0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 4

Function at 0x45b980
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
mov ecx, dword [esi]
cmp eax, edx
je 0x45b99e
test eax, eax
je 0x45b999
mov cl, byte [ecx]
mov byte [eax], cl
inc dword [esi + 4]
jmp 0x45b9b0
push 1
lea edx, [esp + 0xc]
push 1
push edx
push ecx
push eax
mov ecx, esi
call fcn.0045cd10
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
inc eax
cmp ecx, edx
je 0x45b9ca
test ecx, ecx
je 0x45b9c5
mov al, byte [eax]
mov byte [ecx], al
inc dword [esi + 4]
jmp 0x45b9dc
push 1
lea edx, [esp + 0xc]
push 1
push edx
push eax
push ecx
mov ecx, esi
call fcn.0045cd10
mov eax, dword [esi]
push edi
mov byte [eax], 1
mov edi, dword [esi]
call fcn.00511859
mov byte [edi + 1], al
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov ecx, 1
sub edx, eax
pop edi
dec edx
cmp edx, ecx
jbe 0x45ba1e
push ebx
mov dl, byte [eax + ecx]
mov bl, byte [eax + ecx + 1]
xor bl, dl
mov byte [eax + ecx + 1], bl
mov eax, dword [esi]
mov edx, dword [esi + 4]
inc ecx
sub edx, eax
dec edx
cmp ecx, edx
jb 0x45b9ff
pop ebx
mov al, 1
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x45ba30
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push ebx
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
sub eax, edx
cmp eax, 2
jae 0x45ba45
xor al, al
pop ebx
ret
cmp byte [edx], 1
je 0x45ba4e
xor al, al
pop ebx
ret
add eax, 0xfffffffe
cmp eax, 1
jb 0x45ba6d
push esi
mov esi, dword [ecx]
mov dl, byte [esi + eax]
mov bl, byte [esi + eax + 1]
xor bl, dl
mov byte [esi + eax + 1], bl
dec eax
cmp eax, 1
jae 0x45ba57
pop esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
pop ebx
mov al, byte [eax - 1]
mov byte [edx + 1], al
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
mov dword [ecx + 4], edx
mov edx, dword [ecx]
mov al, byte [eax - 1]
mov byte [edx], al
mov eax, dword [ecx + 4]
dec eax
mov dword [ecx + 4], eax
mov al, 1
ret
Function at 0x45e4f0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x60c16e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
lea edx, [esp + 0x13]
mov dword [esp + 0x14], esi
mov dword [esi], 0xffffffff
mov eax, dword [edi]
mov dword [esi], eax
mov cx, word [edi + 4]
lea ebp, [edi + 8]
mov word [esi + 4], cx
lea ebx, [esi + 8]
push edx
mov ecx, ebp
mov dword [esp + 0x1c], ebx
call fcn.004927f0
push 0
push eax
lea ecx, [ebx + 8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.00492050
mov eax, dword [ebp + 4]
mov cl, byte [esp + 0x2c]
mov ebp, dword [ebp]
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x30], cl
push eax
push ebp
mov ecx, ebx
mov dword [esp + 0x30], 0
call fcn.004372a0
mov eax, dword [edi + 0x14]
lea ecx, [esp + 0x13]
lea ebp, [edi + 0x18]
lea ebx, [esi + 0x18]
push ecx
mov ecx, ebp
mov dword [esp + 0x28], 1
mov dword [esi + 0x14], eax
mov dword [esp + 0x1c], ebx
call fcn.004927f0
push 0
push eax
lea ecx, [ebx + 8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.00492050
mov eax, dword [ebp + 4]
mov ebp, dword [ebp]
mov dl, byte [esp + 0x2c]
lea ecx, [esp + 0x2c]
push ecx
push eax
push ebp
mov ecx, ebx
mov byte [esp + 0x30], 2
mov byte [esp + 0x38], dl
call fcn.004372a0
lea ebx, [edi + 0x24]
lea edx, [esp + 0x2c]
lea edi, [esi + 0x24]
push edx
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.004927f0
push 0
push eax
lea ecx, [edi + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00492050
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x2c], 4
call fcn.00434950
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x467490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60d89f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push esi
push edi
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x14], 0
call fcn.00420da0
add esp, 0xc
mov edi, eax
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
mov dword [esp + 0x24], 1
call fcn.004927f0
mov esi, dword [esp + 0x28]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [edi + 4]
mov cl, byte [esp + 0x30]
mov edi, dword [edi]
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x34], cl
push eax
push edi
mov ecx, esi
mov byte [esp + 0x2c], 2
call fcn.004372a0
mov dword [esp + 8], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
sub eax, ecx
mov dword [esp + 0x20], 3
test ecx, ecx
je 0x467562
cmp eax, 0x80
jbe 0x467558
push ecx
call fcn.005dd7a4
add esp, 4
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push eax
push ecx
call fcn.0050d4e0
add esp, 8
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x467580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60d8e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push ebp
push esi
push edi
push eax
lea edx, [esp + 0x14]
xor ebp, ebp
push ecx
push edx
mov dword [esp + 0x18], ebp
call fcn.004688c0
add esp, 0xc
mov edi, eax
lea eax, [esp + 0x30]
mov ecx, edi
push eax
mov dword [esp + 0x28], 1
call fcn.004927f0
mov esi, dword [esp + 0x2c]
push ebp
push eax
mov byte [esp + 0x2c], 2
lea ecx, [esi + 8]
mov dword [esi], ebp
mov dword [esi + 4], ebp
call fcn.00492050
mov ebp, dword [edi + 4]
mov edi, dword [edi]
mov eax, ebp
mov ecx, esi
sub eax, edi
mov byte [esp + 0x24], 4
inc eax
push eax
call fcn.00421310
mov eax, dword [esi]
mov cl, byte [esp + 0x34]
lea edx, [esp + 0x34]
mov byte [esp + 0x34], cl
push edx
push eax
push ebp
push edi
call fcn.004934f0
mov dword [esi + 4], eax
add esp, 0x10
mov byte [eax], 0
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], 5
test eax, eax
je 0x467645
mov ecx, dword [esp + 0x18]
sub ecx, eax
push ecx
push eax
call fcn.00401ce0
add esp, 8
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x469a90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
lea ebx, [eax + 1]
push edi
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, dword [esp + 0x14]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebx
mov edi, eax
mov edx, ecx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x469af3
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x469af3
push ebp
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x469af3
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x469b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed___d__X_
push 0
push 0x6bb390
call fcn.0043be10
add esp, 0x10
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x469dc0
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor edi, edi
xor bl, bl
push edi
call dword [sym.imp.USER32.dll_GetTopWindow]
mov esi, eax
cmp esi, edi
je 0x469e10
mov ebp, dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jne 0x469e01
push edi
push edi
push 0x12
push esi
mov bl, 1
call ebp
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
cmp esi, edi
jne 0x469ddc
mov ebp, dword [esp + 0x1c]
cmp ebp, edi
je 0x469e7e
mov edx, dword [esp + 0x18]
push edx
push edi
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
jne 0x469e37
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
add ebp, eax
call edi
cmp ebp, eax
jb 0x469e69
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [esp + 0x18]
push eax
push esi
call ebx
test eax, eax
je 0x469e86
cmp dword [esp + 0x18], 0x103
jne 0x469e86
call edi
cmp ebp, eax
jae 0x469e4d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret

Function at 0x469f20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
lea eax, [esp + 4]
push esi
push eax
push 0x104
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, dword [esp + 0x114]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.005dd21e
mov eax, esi
pop esi
add esp, 0x10c
ret
Function at 0x46e630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60e97c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push esi
push edi
mov esi, ecx
push 1
call fcn.005dc0ed
mov eax, dword [0x6c396c]
lea ecx, [esp + 0x10]
lea edi, [eax + 8]
call fcn.0041a0a0
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0xa8], ebx
call fcn.004023b0
lea ecx, [esp + 0x30]
mov byte [esp + 0xa8], 1
call fcn.0041a0a0
lea ecx, [esp + 0x40]
mov byte [esp + 0xa8], 2
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00402420
lea ecx, [esp + 0x74]
mov byte [esp + 0xa8], 3
call fcn.0041a0a0
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 4
call fcn.0048f6e0
lea ecx, [esp + 0x80]
mov dword [esp + 0xa8], 5
call fcn.00402280
mov word [esp + 0x90], bx
mov cx, word [edi + 0x84]
push edi
add edi, 0x70
push ecx
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 6
call fcn.00413950
mov eax, dword [esi + 0xcc]
mov dword [esp + 0xa8], 7
cmp eax, ebx
je 0x46e71e
mov dword [esi + 0xd8], ebx
lea edx, [esi + 0xd4]
lea ecx, [esp + 0x10]
push edx
call fcn.005dd29d
mov eax, dword [esi + 0xcc]
mov ecx, dword [esi + 0xd0]
mov edx, dword [esi + 0xd8]
cmp esi, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
je 0x46e758
lea eax, [esi + 0x88]
jmp 0x46e75a
xor eax, eax
mov ecx, dword [0x6c396c]
push eax
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004957c0
push ebx
mov ecx, esi
call fcn.005dc0ed
lea ecx, [esp + 0x80]
mov dword [esp + 0xa8], 8
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
sub eax, ecx
lea edx, [esp + 0x88]
push eax
push ecx
push ebx
push edx
mov byte [esp + 0xb8], 9
call fcn.004ef010
add esp, 8
mov ecx, eax
call fcn.00402b70
lea ecx, [esp + 0x74]
mov dword [esp + 0xa8], 0xd
call fcn.005dd1b0
lea eax, [esp + 0x40]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 0xe
call fcn.005dd1b0
lea ecx, [esp + 0x50]
mov byte [esp + 0xa8], 0xf
call fcn.00402d60
lea ecx, [esp + 0x40]
mov byte [esp + 0xa8], 0xc
call fcn.005dd1b0
lea ecx, [esp + 0x30]
mov byte [esp + 0xa8], 0xb
call fcn.005dd1b0
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xa8], 0x10
call fcn.005dd1b0
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 0xa
call fcn.005dd1b0
lea ecx, [esp + 0x10]
mov dword [esp + 0xa8], 0xffffffff
call fcn.005dd1b0
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret
Function at 0x46ec60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60e9f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x5c]
call fcn.005e1202
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0xbc], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x10]
push edx
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [esi + 0x60]
lea ecx, [esp + 0x60]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.004f3590
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub esp, 0x10
mov byte [esp + 0xd0], 1
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x3c]
push eax
call fcn.0046ea30
add esp, 0x20
mov dword [esp + 0x20], 0x62db80
mov eax, dword [esp + 0x50]
mov byte [esp + 0xb4], 3
cmp eax, ebx
je 0x46ed7f
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x20]
sub ecx, esi
sub edx, edi
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebp
push esi
push edi
push eax
push ecx
mov ecx, dword [esp + 0x50]
push edx
push esi
mov edx, dword [ecx + 4]
push edi
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x46ed6f
xor eax, eax
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.005e0933
jmp 0x46ed87
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.005e0933
jmp 0x46ed87
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], vtable.CGdiObject.0
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 4
call fcn.005e1399
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], bl
call fcn.005e0870
lea ecx, [esp + 0x58]
mov dword [esp + 0xb4], 0xffffffff
call fcn.005e1274
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa8
ret