joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458307
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47f468]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x45834a
cmp word [esi], dx
jne 0x45834a
or byte [edi + eax + 0x28], 4
jmp 0x45834f
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x458488
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x458468
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x458391
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4583c7
cmp eax, edx
jae 0x4583d3
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x458369
jmp 0x458488
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x458464
cmp dword [ebp - 0x14], 0
je 0x458464
mov eax, dword [ebx*4 + 0x47f468]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x45843c
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x458482
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47f468]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x47f468]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47f468]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x458485
pop ebx
cmp word [ebp - 4], bx
jne 0x45844d
cmp esi, dword [ebp + 0xc]
jne 0x45844d
mov word [esi], bx
jmp 0x458485
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00458d21
add esp, 0x10
cmp word [ebp - 4], bx
je 0x458488
push 0xd
jmp 0x458481
mov ecx, dword [ebx*4 + 0x47f468]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x45847f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x458488
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x45b60f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x45b6ac
push ebx
push esi
call fcn.0045b5d8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0045a25d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x45b659
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x45b6ab
push edi
push eax
call fcn.004555bf
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x45b679
call fcn.004551db
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x45b6aa
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0045a25d
add esp, 0x20
test eax, eax
jne 0x45b698
push edi
call fcn.004551db
jmp 0x45b6a0
push ebx
call fcn.004551db
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x462625
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004625a1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x46279d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x46279d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x46274c
jg 0x46267e
test eax, eax
je 0x462742
push 1
push 0x1000
call fcn.00454306
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4626a4
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x462739
push 0x8000
push ebx
call fcn.00451768
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4626d0
jg 0x4626cb
cmp ecx, 0x1000
jb 0x4626d0
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00454dde
add esp, 0x10
cmp eax, 0xffffffff
je 0x462715
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4626cb
jl 0x4626fc
test ecx, ecx
jne 0x4626bd
push dword [ebp - 0xc]
push ebx
call fcn.00451768
push esi
call fcn.004551db
add esp, 0xc
xor edi, edi
jmp 0x4627ae
cmp byte [edi + 0x24], 0
je 0x46272c
cmp dword [edi + 0x20], 5
jne 0x46272c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x462737
mov edi, dword [edi + 0x18]
jmp 0x462739
xor edi, edi
push esi
call fcn.004551db
pop ecx
jmp 0x4627ae
test ecx, ecx
jg 0x46270e
jl 0x46274c
test eax, eax
jae 0x46270e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00458d21
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x46276f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x46270e
jmp 0x4627a6
push ebx
call fcn.0045be01
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x46270e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x4627ae
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4627ab
mov edi, dword [edi + 0x18]
jmp 0x4627ae
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00458d21
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x463b00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x463b2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x463b2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100192ba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x100192c9
pop dword [ebp - 0x28]
mov eax, 0xd6e6e803
add eax, 0x391aaac6
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xb51043c8
sub dword [ebp - 0x38], 0x66bdfe7d
mov dword [ebp - 0x34], 0xb79c8891
sub dword [ebp - 0x34], 0x85693c4c
mov dword [ebp - 0x30], 0xede4e664
add dword [ebp - 0x30], 0x5e675dca
mov dword [ebp - 0x2c], 0xc3329aa2
add dword [ebp - 0x2c], 0x3ccd655e
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x6b54c262
sub dword [ebp - 0x38], 0xf6e2590c
mov dword [ebp - 0x34], 0x1b3d1db2
sub dword [ebp - 0x34], 0xd9d0bc3d
mov dword [ebp - 0x30], 0x4aa40a90
add dword [ebp - 0x30], 0x18cb61dc
mov dword [ebp - 0x2c], 0xc3f03197
sub dword [ebp - 0x2c], 0xc3f03197
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x9d8685ac
add eax, 0x727b1a60
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3731b
push 0
call eax
mov ecx, 0x3bb7
xor edx, edx
add edx, eax
mov esi, 0xdb1de548
sub esi, 0xcb1b9b48
add esi, dword [ebp - 0x28]
mov ebx, 0x96b566e3
sub dword [ebp - 0xc], esi
mov edi, dword [esi]
sub dword [ebp - 0x10], edx
xor edi, ebx
add dword [ebp - 0x1c], 0xf34540cf
mov dword [edx], edi
xor dword [ebp - 0x18], 0xff90f208
add edx, 4
add esi, 0xa6f1faeb
add esi, 0x590e0519
loop 0x100193dc
add eax, 0xe105b099
add eax, 0x1efb3116
mov ebx, eax
add eax, 0x717a205f
sub eax, 0x717a205a
mov ecx, 0x55867edc
sub ecx, 0x45867edc
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40942f
pop dword [ebp - 0x38]
mov eax, 0xc0c926a7
add eax, 0x3f776d88
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xd788679
sub dword [ebp - 0x48], 0xbf26412e
mov dword [ebp - 0x44], 0x780d07fc
sub dword [ebp - 0x44], 0x45d9bbb7
mov dword [ebp - 0x40], 0xef2aeb16
add dword [ebp - 0x40], 0x5d215918
mov dword [ebp - 0x3c], 0x1c5abc84
sub dword [ebp - 0x3c], 0x1c5abc84
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x9698660b
add dword [ebp - 0x48], 0xddda034b
mov dword [ebp - 0x44], 0xeac201e7
sub dword [ebp - 0x44], 0xa955a072
mov dword [ebp - 0x40], 0x1479cae5
add dword [ebp - 0x40], 0x4ef5a187
mov dword [ebp - 0x3c], 0x944e6dec
add dword [ebp - 0x3c], 0x6bb19214
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xcb791a3
sub eax, 0xc76c157
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3a48a
push 0
call eax
mov ecx, 0x78da4d09
sub ecx, 0x78da020e
mov esi, eax
mov edi, 0x4967a24
sub edi, 0x454ca24
add edi, dword [ebp - 0x38]
mov ebx, 0x6e88a197
add ebx, 0xc53b1066
sub dword [ebp - 0x34], esi
mov edx, dword [edi]
sub dword [ebp - 0x10], 0xe2d34b53
sub edx, ebx
xor dword [ebp - 0x34], eax
mov dword [esi], edx
add dword [ebp - 4], 0xbc5c57ce
add esi, 4
add edi, 0x7be2e303
add edi, 0x841d1d01
loop 0x40954c
add eax, 0x529fc392
sub eax, 0x529ea4d3
xor ebx, ebx
add ebx, eax
add eax, 0x80a1756d
sub eax, 0x80a17568
mov ecx, 0xb6256702
sub ecx, 0xb5e56702
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x401049
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
pushal
call dword [sym.imp.kernel32.dll_GetCommandLineW]
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.shell32.dll_CommandLineToArgvW]
test eax, eax
je 0x4010a6
push eax
mov esi, eax
push 4
call fcn.00402071
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x401097
push dword [esi]
call fcn.00408ad1
push eax
push 1
push dword [ebp - 4]
call fcn.004020cc
mov dword [ebp - 4], edx
pop dword [eax]
add esi, 4
dec dword [ebp - 8]
jmp 0x401072
call dword [sym.imp.kernel32.dll_LocalFree]
popal
mov eax, dword [ebp - 4]
clc
mov esp, ebp
pop ebp
ret
popal
stc
mov esp, ebp
pop ebp
ret

Function at 0x4010ac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
je 0x4010d2
clc
pop edx
pop ecx
mov esp, ebp
pop ebp
ret 8
stc
pop edx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x4010f3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ecx
push esi
push edi
push dword [ebp + 8]
call fcn.00408a7c
mov esi, eax
lea edi, [ebp - 0x54]
mov ecx, 0x15
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 0x100
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x54]
lea edx, [ebp - 0x10]
push edx
push ecx
push 0
push 0
push 0x20
push 1
push 0
push 0
push esi
push 0
call dword [sym.imp.kernel32.dll_CreateProcessW]
push esi
call fcn.00401319
test eax, eax
je 0x401169
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
clc
pop edi
pop esi
pop ecx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
xor edx, edx
stc
pop edi
pop esi
pop ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401a68
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
push ebx
push ecx
push edx
push edi
push dword [ebp + 8]
call fcn.004026b4
push eax
push 0x401b2e
push eax
call fcn.00402b74
push eax
call fcn.00408a7c
call fcn.0040264a
push eax
lea ecx, [ebp - 0x254]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
call fcn.00401319
cmp eax, 0xffffffff
je 0x401b1d
mov ebx, eax
push 0x20
call fcn.00402071
mov edi, eax
lea eax, [ebp - 0x228]
push eax
call fcn.00408ad1
push eax
push 1
push edi
call fcn.004020cc
mov edi, edx
pop dword [eax]
mov ecx, 1
test dword [ebp - 0x254], 0x10
jne 0x401ae7
mov ecx, 2
mov dword [eax + 4], ecx
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x401ab8
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
pop eax
cmp eax, 0x12
jne 0x401b23
mov eax, edi
pop edi
pop edx
pop ecx
pop ebx
clc
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.kernel32.dll_GetLastError]
pop edi
pop edx
pop ecx
pop ebx
stc
mov esp, ebp
pop ebp
ret 4
Function at 0x401b33
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
pushal
push dword [ebp + 8]
call fcn.00408a7c
push eax
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
call fcn.00401319
cmp eax, 0xffffffff
je 0x401b59
clc
popal
mov esp, ebp
pop ebp
ret 4
stc
popal
mov esp, ebp
pop ebp
ret 4

Function at 0x401fcd
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ecx
push edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, 4
cmp dword [ebp + 0xc], 0x80
jne 0x401ff1
mov dword [ebp - 0xc], eax
mov ecx, 8
lea eax, [ebp - 0x10]
push ecx
push eax
push dword [ebp + 0xc]
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.wsock32.dll_setsockopt]
call fcn.00401e8a
pop edx
pop ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x409159
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, 0x811c9dc5
inc ecx
dec ecx
je 0x40917c
movzx edx, byte [esi]
xor eax, edx
inc esi
imul eax, eax, 0x1000193
jmp 0x40916b
pop esi
pop edx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x40b090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
mov esi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
add ecx, dword [ebp + 0x14]
add edx, dword [ebp + 0x18]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push ecx
push ecx
call fcn.0040a138
jb 0x40b16e
push esi
call fcn.0040accc
jb 0x40b16e
mov eax, dword [esi]
shl eax, 2
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x20]
add edi, dword [esi + 0x10]
cmp edi, dword [esi + 0x18]
jb 0x40b0fc
sub edi, dword [esi + 0x18]
imul edi, dword [ebp - 4]
add edi, dword [esi + 8]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
add eax, dword [esi + 0xc]
add edx, dword [esi + 0xc]
cmp eax, dword [esi + 0x14]
jbe 0x40b117
sub eax, dword [esi + 0x14]
cmp edx, dword [esi + 0x14]
jbe 0x40b11f
sub edx, dword [esi + 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x18]
add ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0x18]
jb 0x40b133
sub ecx, dword [esi + 0x18]
imul ecx, dword [ebp - 4]
add ecx, dword [esi + 8]
mov edx, dword [esi + 0x18]
imul edx, dword [ebp - 4]
add edx, dword [esi + 8]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp - 0x1c]
dec ebx
cmovs ebx, dword [esi + 0x14]
xor dword [edi + ebx*4], eax
cmp ebx, dword [ebp - 0x24]
jne 0x40b14a
add edi, dword [ebp - 4]
cmp edi, edx
jb 0x40b161
mov edi, dword [esi + 8]
cmp edi, ecx
jne 0x40b147
push dword [ebp + 8]
call fcn.0040ace5
clc
popal
mov esp, ebp
pop ebp
ret 0x18
Function at 0x40c78f
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
xor eax, eax
mov dword [ebp - 4], eax
push eax
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x40c815
push 0xd
call dword [sym.imp.user32.dll_GetClipboardData]
test eax, eax
je 0x40c80e
mov ebx, eax
push ebx
call dword [sym.imp.kernel32.dll_GlobalSize]
mov edi, eax
push ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
mov esi, eax
lea ecx, [edi*8]
push ecx
call fcn.00401291
jb 0x40c807
mov edi, eax
push 0
push 0
push ecx
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
test eax, eax
je 0x40c801
mov dword [edi + eax], 0
push edi
call fcn.004026b4
mov dword [ebp - 4], eax
push edi
call fcn.00401319
push ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
call dword [sym.imp.user32.dll_CloseClipboard]
popal
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x40cff7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], 0
cmp dword [esi + 0x68], 0
je 0x40d045
push dword [esi + 0x68]
call fcn.0040270d
lea ecx, [eax*4]
push ecx
call fcn.00401291
mov dword [ebp - 0x20], eax
push dword [esi + 0x68]
call fcn.00402578
push ecx
push dword [ebp - 0x20]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
and eax, 3
mov ecx, dword [eax*4 + 0x40d10f]
mov edx, dword [eax*4 + 0x40d11f]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x58]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x18]
push eax
call dword [sym.imp.user32.dll_AdjustWindowRectEx]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
sub ecx, dword [ebp - 0x10]
sub edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x40d09b
mov eax, dword [eax + 0x48]
push 0
push dword [0x4613c0]
push 0
push eax
push edx
push ecx
push dword [esi + 0x50]
push dword [esi + 0x4c]
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push 0x45e88f
push dword [ebp - 0x14]
call dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [esp + 0x1c], eax
mov ebx, eax
push esi
push 0x1c
push ebx
call dword [sym.imp.user32.dll_SetWindowLongW]
mov edx, dword [esi + 0x64]
test edx, edx
je 0x40d0ea
mov ecx, dword [edx]
dec ecx
js 0x40d0ea
push dword [edx + ecx*4 + 0x10]
push ebx
call fcn.0040d12f
jmp 0x40d0db
push 1
push ebx
call dword [sym.imp.user32.dll_ShowWindow]
push 0
push 1
push 6
push ebx
call dword [sym.imp.user32.dll_SendMessageW]
push dword [ebp - 0x20]
call fcn.00401319
popal
mov esp, ebp
pop ebp
ret 4
Function at 0x41351a
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [edi + 8]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov ebx, dword [edi + 4]
lea eax, [ebp - 0x10]
push dword [0x45bb49]
push dword [ebx*4 + 0x45bb39]
push dword [ebx*4 + 0x45bb29]
push eax
push dword [ebp + 8]
call dword [0x45da9e]
cmp dword [edi], 0
je 0x4135f9
mov eax, 4
imul eax, dword [edi + 8]
xor edx, edx
div dword [esi + 0xec]
add dword [ebp - 0x10], eax
add dword [ebp - 0xc], 4
mov eax, dword [0x45bb4d]
mov edx, dword [0x45bb51]
cmp dword [edi + 4], 1
jne 0x413596
neg eax
neg edx
cmp dword [edi + 4], 2
je 0x4135a6
cmp dword [edi + 4], 1
je 0x4135a6
xor eax, eax
xor edx, edx
add dword [ebp - 0x10], eax
add dword [ebp - 0xc], edx
push ecx
mov ecx, dword [edi]
test ecx, ecx
mov ecx, dword [ecx]
jecxz 0x4135bd
cmp ecx, 0x40cab2
jne 0x4135b1
pop ecx
je 0x4135c9
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4135f2
jmp 0x4135da
push eax
push dword [edi]
mov eax, dword [edi]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov ecx, eax
pop eax
test ecx, ecx
je 0x4135f2
push dword [ecx + 4]
push dword [ecx]
push 0
push 0
push ecx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0040a732
popal
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [edi + 8]
sub ecx, 2
sub dword [ebp - 4], ecx
shr ecx, 1
add dword [ebp - 0x10], ecx
add dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
lea eax, [ebp - 0x10]
push 1
push dword [0x45bb55]
push 0
push eax
push dword [ebp + 8]
call fcn.00417b17
jmp 0x4135f2
Function at 0x4167cd
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
mov edi, dword [ebp + 0xc]
push eax
push 0
push edi
mov eax, dword [edi]
call dword [eax + 0x68]
pop eax
push edi
mov eax, dword [edi]
call dword [eax + 0x13c]
push dword [ebp + 8]
call fcn.00401a68
jb 0x416913
mov esi, eax
push eax
push 0x80000001
push 0x40172d
push esi
call fcn.0040223a
mov ecx, dword [esi]
lea esi, [esi + 0x10]
dec ecx
js 0x41690e
xor eax, eax
xor ebx, ebx
push dword [esi]
call fcn.00402578
cmp word [eax], 0x2e
je 0x416906
mov edx, dword [esi + 4]
test edx, 0x80000000
setne bl
and edx, 0x7fffffff
cmp dword [0x4613bc], 0
je 0x416850
push esi
call dword [0x4613bc]
jae 0x416866
cmp edx, 1
cmove eax, dword [ebx*8 + 0x45bce5]
cmp edx, 2
cmove eax, dword [ebx*8 + 0x45bcf5]
push 0
push eax
push dword [esi]
push 0xffffffffffffffff
push edi
mov eax, dword [edi]
call dword [eax + 0x130]
mov ebx, eax
mov edx, dword [esi + 4]
and edx, 0x7fffffff
cmp edx, 1
jne 0x41688d
call fcn.004025d3
jmp 0x41689d
push 0x10a00
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.00402eea
push eax
push eax
push ebx
push edi
mov eax, dword [edi]
call dword [eax + 0x134]
call fcn.0040264a
cmp edx, 1
jne 0x4168bf
push 0x45ec30
call fcn.004026cb
jmp 0x4168cd
push dword [esi]
call fcn.00403589
jae 0x4168cd
call fcn.004025d3
mov edx, eax
push edx
push ebx
push edi
mov eax, dword [edi]
call dword [eax + 0x134]
push edx
call fcn.0040264a
lea eax, [ebp - 0x1c]
lea edx, [esi + 0x10]
push eax
push edx
call fcn.00401c64
push 0
push eax
call fcn.00403434
push eax
push eax
push ebx
push edi
mov eax, dword [edi]
call dword [eax + 0x134]
call fcn.0040264a
add esi, 0x20
jmp 0x416810
call fcn.00401701
push eax
push 1
push edi
mov eax, dword [edi]
call dword [eax + 0x68]
pop eax
popal
mov esp, ebp
pop ebp
ret 8