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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cc8
xor eax, eax
push ebp
push 0x4b2152
push dword fs:[eax]
mov dword fs:[eax], esp
jl 0x4b20c7
jmp 0x4b20c9
je 0x4b20ce
je 0x4b20ce
jne 0x4b20ce
call 0x1be2444
jb 0x4b20d3
jae 0x4b20d3
call 0x1c4244f
js 0x4b20d8
jns 0x4b20d8
call 0x6814522d
jecxz 0x4b20df
push ecx
xor ecx, ecx
jcxz 0x4b20df
call 0xfc90ac3c
pop ecx
mov eax, dword [ebp - 4]
call fcn.00404ad8
mov ecx, eax
test ecx, ecx
jle 0x4b212b
mov esi, 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi - 1]
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
and eax, 0xff
mov edx, dword [0x4c05f8]
mov eax, dword [edx + eax*4]
shr ebx, 8
and ebx, 0xffffff
xor eax, ebx
mov ebx, eax
inc esi
dec ecx
jne 0x4b20f3
mov ecx, dword [ebp - 8]
mov eax, ebx
not eax
mov edx, 8
call fcn.0040931c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2159
lea eax, [ebp - 4]
call fcn.00404818
ret

Function at 0x4b2220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cc8
xor eax, eax
push ebp
push 0x4b22ec
push dword fs:[eax]
mov dword fs:[eax], esp
jb 0x4b224b
jae 0x4b224b
call 0x1c425c7
js 0x4b2250
jns 0x4b2250
call fcn.004b273c
add al, ch
jmp 0x4b2268
call 0x4b2259
call 0x59333345
jmp 0x4b225f
inc eax
jmp 0x4b2265
jmp eax
jb 0x4b226d
jae 0x4b226d
call 0x1c425e9
js 0x4b2272
jns 0x4b2272
call 0x681453c7
jecxz 0x4b2279
push ecx
xor ecx, ecx
jcxz 0x4b2279
call 0xfc90add6
pop ecx
mov eax, dword [ebp - 4]
call fcn.00404ad8
mov ecx, eax
test ecx, ecx
jle 0x4b22c5
mov esi, 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi - 1]
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
and eax, 0xff
mov edx, dword [0x4c05f8]
mov eax, dword [edx + eax*4]
shr ebx, 8
and ebx, 0xffffff
xor eax, ebx
mov ebx, eax
inc esi
dec ecx
jne 0x4b228d
mov ecx, dword [ebp - 8]
mov eax, ebx
not eax
mov edx, 8
call fcn.0040931c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b22f3
lea eax, [ebp - 4]
call fcn.00404818
ret
Function at 0x4b665c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cc8
xor eax, eax
push ebp
push 0x4b67eb
push dword fs:[eax]
mov dword fs:[eax], esp
jl 0x4b6693
jmp 0x4b6693
call 0x1be6a09
jb 0x4b6698
jae 0x4b6698
call 0x7a342d27
loope 0x4b6692
mov eax, esi
call fcn.00404818
xor eax, eax
push ebp
push 0x4b67b8
push dword fs:[eax]
push dword [ebx]
rcl byte [ebp + 0x68], 0xb8
dec ebx
add byte [edi + edi*8 + 0x30], ah
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404cd8
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4b67ae
mov eax, ebx
call fcn.00402830
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b67a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4b6791
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4b67fc
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
cmp dword [ebp - 0x10], 0
je 0x4b673d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.004078f0
mov edx, dword [ebp - 0x10]
mov dx, word [edx]
call fcn.004078e4
lea ecx, [ebp - 0x18]
mov edx, 8
call fcn.0040931c
push 0x4b6820
push dword [ebp - 0x18]
push 0x4b683c
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.00404b98
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
call fcn.00409db8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4b6791
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.00409f0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b67ae
mov eax, dword [ebp - 0xc]
call fcn.00402850
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b67c2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b67f2
lea eax, [ebp - 0x11c]
call fcn.00404818
lea eax, [ebp - 0x18]
call fcn.00404818
lea eax, [ebp - 4]
call fcn.00404818
ret
Function at 0xf55bb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x182000]
mov dword [edi + 0x22ff68], 0xfa10777f
push edi
jmp 0xf55bda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xf55be1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf55bd0
mov eax, 1
add ebx, ebx
jne 0xf55bf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xf55c04
jne 0xf55c23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf55c23
dec eax
add ebx, ebx
jne 0xf55c10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xf55be8
add ebx, ebx
jne 0xf55c1f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xf55c75
xor ecx, ecx
sub eax, 3
jb 0xf55c3b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xf55caa
sar eax, 1
mov ebp, eax
jmp 0xf55c46
add ebx, ebx
jne 0xf55c46
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf55c14
inc ecx
add ebx, ebx
jne 0xf55c54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf55c14
add ebx, ebx
jne 0xf55c61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xf55c56
jne 0xf55c72
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xf55c56
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xf55c94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xf55c86
jmp 0xf55bd6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xf55c94
add edi, ecx
jmp 0xf55bd6
pop esi
mov edi, esi
mov ecx, 0xf31b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xf55cb2
cmp byte [edi], 0x5c
jne 0xf55cb2
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 0xf55cb7
lea edi, [esi + 0xa86000]
mov eax, dword [edi]
or eax, eax
je 0xf55d2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb62f24]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb63148]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xf55ce4
mov ecx, edi
jns 0xf55d13
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb63150]
or eax, eax
je 0xf55d29
mov dword [ebx], eax
add ebx, 4
jmp 0xf55d01
call dword [esi + 0xb6314c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xf55d60
cmp al, 0xef
ja 0xf55d53
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xf55d35
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xf55d42
mov ebp, dword [esi + 0xb63154]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0xf55d94
sub esp, 0xffffff80
jmp 0x57e897
Function at 0x404ebd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x418a48
cmp edx, dword [eax]
je 0x404edf
add eax, 8
inc ecx
cmp eax, 0x418ad8
jl 0x404ed0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x418a48]
jne 0x40500d
mov eax, dword [0x41b380]
cmp eax, 1
je 0x404fe7
test eax, eax
jne 0x404f10
cmp dword [0x418654], 1
je 0x404fe7
cmp edx, 0xfc
je 0x40500d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404f47
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405140
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405230
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404f8a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405230
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x414b0c
push edi
call fcn.004076d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405140
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405150
lea eax, [ebp - 0xa0]
push 0x414aec
push eax
call fcn.00405150
push dword [esi + 0x418a4c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405150
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407639
add esp, 0x2c
pop edi
jmp 0x40500d
lea eax, [ebp + 8]
lea esi, [esi + 0x418a4c]
push 0
push eax
push dword [esi]
call fcn.00405230
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x40d8bd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x40d8ff
call fcn.00410bc3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x40d8ff
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x40d8f6
xor eax, eax
jmp 0x40d907
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0040d90d
pop edi
pop esi
pop ebx
ret 4

Function at 0x41129f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4112cd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4112eb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00411205
jmp 0x4112eb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4112eb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00411205
test edi, edi
mov eax, edi
jne 0x4112d5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001200
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x10001251
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10001251
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x1000125a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x100012ac
test ebp, ebp
je 0x100012ac
push edi
push eax
push ebp
call fcn.1007a170
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [esp + 0x10]
push edi
mov ecx, esi
call fcn.100012d0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc

Function at 0x10001c60
Capabilities:
Create thread

Disassembly:
sub esp, 0x10c
mov eax, dword [0x10139d20]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x114]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x11c]
push 0x104
mov ebx, ecx
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.10077be0
add esp, 0xc
cmp dword [esi + 0x18], 8
lea ebp, [esi + 4]
jb 0x10001cad
mov eax, dword [ebp]
jmp 0x10001caf
mov eax, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 1
call edi
cmp dword [esi + 0x18], 8
jb 0x10001cd2
mov ecx, dword [ebp]
jmp 0x10001cd4
mov ecx, ebp
xor ebp, ebp
push ebp
push ebp
push eax
lea edx, [esp + 0x20]
push edx
push 0xffffffffffffffff
push ecx
push ebp
push 1
call edi
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 4]
push eax
lea edx, [esp + 0x18]
call fcn.10001ab0
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push ebp
push esi
push 0x10001a30
push ebp
push ebp
mov dword [esp + 0x28], ebp
call fcn.1007efee
add esp, 0x18
cmp eax, ebp
mov dword [esi + 0x10], eax
pop edi
je 0x10001d46
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10001d3e
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], ebp
mov eax, dword [ebx + 4]
mov al, byte [eax + 4]
jmp 0x10001d4c
mov ecx, dword [ebx + 4]
mov al, byte [ecx + 4]
jmp 0x10001d4c
mov edx, dword [ebx + 4]
mov al, byte [edx + 4]
mov ecx, dword [esp + 0x114]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100773e8
add esp, 0x10c
ret 8
Function at 0x10002ae0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100ef088
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x10139d20]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push ebp
push edi
mov eax, dword [0x10139d20]
xor eax, esp
push eax
lea eax, [esp + 0x638]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi], ebx
mov eax, 7
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x10], esi
mov word [esi + 0xc], bx
lea edi, [esi + 0x24]
mov dword [esp + 0x640], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov word [edi + 4], bx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], bx
lea ecx, [esi + 0x5c]
mov byte [esp + 0x640], 2
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x1011e018
mov byte [ecx + 4], bl
call fcn.10002020
push ebx
mov byte [esp + 0x644], 3
call fcn.1007a5a6
push eax
call fcn.1007b205
push 0x20a
lea eax, [esp + 0x22]
push ebx
push eax
mov word [esp + 0x28], bx
call fcn.10077be0
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x10002c41
push 0x410
lea edx, [esp + 0x226]
push ebx
push edx
mov word [esp + 0x22a], bx
mov word [esp + 0x22c], bx
call fcn.10077be0
add esp, 0xc
push 0x208
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x10002c1e
cmp eax, ebx
je 0x10002c1e
lea edx, [esp + 0x220]
push edx
mov ecx, edi
mov word [esp + eax*2 + 0x224], bx
call fcn.10003cc0
jmp 0x10002c41
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10002c25
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.10002260
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x10002c78
lea ebp, [eax - 1]
cmp ebp, dword [edi + 0x14]
jbe 0x10002c55
call fcn.10077980
cmp dword [edi + 0x18], 8
jb 0x10002c60
mov eax, dword [edi + 4]
jmp 0x10002c63
lea eax, [edi + 4]
cmp word [eax + ebp*2], 0x5c
je 0x10002c78
push 1
push 0x1011e01c
mov ecx, edi
call fcn.10004160
cmp dword [esi + 0x38], ebx
jne 0x10002c8b
push 3
push 0x1011e020
mov ecx, edi
call fcn.10002260
mov eax, esi
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x638]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.100773e8
add esp, 0x634
ret
Function at 0x10002cc0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x100eefe1
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
mov eax, dword [0x10139d20]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x18], 2
cmp dword [esi + 0x54], ebx
mov ebp, 8
je 0x10002d0f
cmp dword [esi + 0x58], ebp
jb 0x10002d05
mov eax, dword [esi + 0x44]
jmp 0x10002d08
lea eax, [esi + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x74], 0x10
jb 0x10002d21
mov eax, dword [esi + 0x60]
push eax
call fcn.10054d78
add esp, 4
mov dword [esi + 0x74], 0xf
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov byte [esp + 0x18], 1
cmp dword [esi + 0x58], ebp
jb 0x10002d44
mov eax, dword [esi + 0x44]
push eax
call fcn.10054d78
add esp, 4
mov dword [esi + 0x58], 7
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], bx
mov byte [esp + 0x18], bl
cmp dword [esi + 0x3c], ebp
jb 0x10002d67
mov eax, dword [esi + 0x28]
push eax
call fcn.10054d78
add esp, 4
mov dword [esi + 0x3c], 7
mov dword [esi + 0x38], ebx
mov word [esi + 0x28], bx
mov dword [esp + 0x18], 0xffffffff
cmp dword [esi + 0x20], ebp
jb 0x10002d8e
mov eax, dword [esi + 0xc]
push eax
call fcn.10054d78
add esp, 4
mov dword [esi + 0x20], 7
mov dword [esi + 0x1c], ebx
mov word [esi + 0xc], bx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x10004370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ef141
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x10139d20]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.10002540
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 1
call fcn.10004260
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], bx
call fcn.10002540
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
mov dword [esp + 0xc], 1
jb 0x10004413
mov edx, dword [esp + 0x14]
push edx
call fcn.10054d78
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x10004430
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x100ef141
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x10139d20]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.10002540
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], 1
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10004490
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.10004160
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], bx
call fcn.10002540
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
mov dword [esp + 0xc], 1
jb 0x100044e7
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10054d78
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x10005240
Capabilities:
Get http content length

Disassembly:
mov eax, dword [eax + 4]
sub esp, 8
test eax, eax
je 0x1000527f
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0x20000005
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x1000527f
mov eax, dword [esp]
xor edx, edx
add esp, 8
ret
xor eax, eax
xor edx, edx
add esp, 8
ret
Function at 0x1000636c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x3c
mov eax, 0x100e71e9
call fcn.10077460
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push edi
lea ecx, [ebp - 0x2c]
mov esi, eax
mov dword [ebp - 0x14], 0xf
call fcn.10002180
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 1
call fcn.1001b179
pop ecx
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10001e60
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0x48]
call fcn.10001f70
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x100063e1
push edi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10001f70
push edi
push ebx
jmp 0x10006477
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x100063f3
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x100063d0
mov eax, dword [ebp - 0x18]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, edi
je 0x100063eb
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x100063eb
cmp dword [ebp - 0x14], 0x10
mov edx, dword [ebp - 0x28]
jae 0x1000641d
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
inc ecx
push ecx
push edx
push ecx
push eax
call fcn.10076f31
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push edi
push edi
push edi
mov ebx, 0xa2
push ebx
call esi
push edi
push edi
push edi
push 0x56
call esi
push edi
push 2
push edi
push 0x56
call esi
push edi
push 2
push edi
push ebx
call esi
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001f70
push edi
push 1
lea ecx, [ebp + 8]
call fcn.10001fc0
call fcn.100774e3
ret 0x1c
Function at 0x100078dd
Capabilities:
Delete file
Get file size
Read file on windows
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x348]
lea ecx, [eax + 0x4a0]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x360]
and dword [esi + 0x398], 0
call fcn.10013620
mov ecx, esi
call fcn.1000787e
mov ecx, esi
pop esi
jmp fcn.10006820