joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bc75
Capabilities:
Hash data using murmur3

Disassembly:
stosd dword es:[edi], eax
xchg edx, eax
adc al, cl
ror byte [esi], 0x83
ret

Function at 0x451c33
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x4e6fac]
cmp eax, dword [0x4e01d4]
jne fcn.0044b8e6
push dword [ebp + 8]
call fcn.004511f3
pop ecx
mov dword [0x4e6fac], eax
pop ebp
ret

Function at 0x456b43
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4ceef8
push 0x4ceef0
push str.FlsAlloc
push 0x1f
call fcn.004569ae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x456b77
push dword [ebp + 8]
mov ecx, esi
call dword [0x46b2fc]
call esi
jmp 0x456b7d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x456bc1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4cef08
push 0x4cef00
push str.FlsGetValue
push 0x21
call fcn.004569ae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x456bf8
push dword [ebp + 8]
mov ecx, esi
call dword [0x46b2fc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x456c00
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4cef10
push 0x4cef08
push str.FlsSetValue
push 0x22
call fcn.004569ae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x456c3a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x46b2fc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10027b8a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x1003102c]
test eax, eax
je 0x10027bc9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10027bc9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10027bc9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10027bc9
cmp dword [ecx + 0x74], 0xe
jbe 0x10027bc9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1002fe60
Capabilities:
Parse pe header

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

Disassembly:
push esi
xor esi, esi
cmp dword [0x4229f4], esi
push edi
jne 0x405eb6
mov ecx, 0x4229f0
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405e92
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422df0
jl 0x405e8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405eeb
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4229f0]
xor eax, esi
inc ecx
dec edx
jne 0x405ece
pop edi
pop esi
not eax
ret 0xc

Function at 0x50b580
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
jmp 0x50b59a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50b5a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50b590
mov eax, 1
add ebx, ebx
jne 0x50b5b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50b5a8
jne 0x50b5c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50b5a8
xor ecx, ecx
sub eax, 3
jb 0x50b5d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50b64a
mov ebp, eax
add ebx, ebx
jne 0x50b5e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50b5f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50b614
inc ecx
add ebx, ebx
jne 0x50b600
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50b5f5
jne 0x50b611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50b5f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50b634
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50b625
jmp 0x50b596
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50b634
add edi, ecx
jmp 0x50b596
pop esi
mov edi, esi
mov ecx, 0x1d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50b652
cmp byte [edi], 6
jne 0x50b652
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 0x50b657
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x50b6c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50b684
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xdb2c]
or eax, eax
je 0x50b6c0
mov dword [ebx], eax
add ebx, 4
jmp 0x50b6a1
call dword [esi + 0xdb28]
mov ebp, dword [esi + 0xdb30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x50b6fa
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401000
Capabilities:
Copy file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x48d000]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x208
mov dword [ebp - 0x260], eax
call fcn.0041d281
add esp, 4
push 0x208
mov ebx, eax
call fcn.0041d281
add esp, 4
push 0x208
mov dword [ebp - 0x268], eax
call fcn.0041d281
add esp, 4
push 0x208
mov dword [ebp - 0x264], eax
call fcn.0041d281
add esp, 4
push 0x208
mov esi, eax
call fcn.0041d281
mov ecx, dword [ebp - 0x268]
add esp, 4
push 5
push ecx
mov edi, eax
call fcn.004157e0
mov edx, dword [ebp - 0x260]
push 0x47e8fc
push edx
push 0x47e90c
push 0x104
push ebx
call fcn.00454ebc
mov eax, dword [ebp - 0x264]
add esp, 0x1c
push ebx
push 0x104
push eax
call fcn.00454eda
mov edx, dword [ebp - 0x264]
add esp, 0xc
lea eax, [edx - 2]
lea ecx, [ecx]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4010c0
mov ecx, dword [str..]
mov dword [eax], ecx
mov ecx, dword [0x47e928]
mov dword [eax + 4], ecx
mov cx, word [0x47e92c]
mov word [eax + 8], cx
lea eax, [ebp - 0x25c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x260], eax
cmp eax, 0xffffffff
jne 0x401116
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret 4
cmp word [ebp - 0x230], 0x2e
je 0x40117b
lea ecx, [ebp - 0x230]
push ecx
push ebx
push str._s_s
push 0x104
push esi
call fcn.00454ebc
mov eax, dword [ebp - 0x268]
add esp, 0x14
lea edx, [ebp - 0x230]
push edx
push eax
push str._s_s
push 0x104
push edi
call fcn.00454ebc
add esp, 0x14
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push 0
push edi
push esi
test eax, eax
je 0x401175
call fcn.004153d0
add esp, 0xc
jmp 0x40117b
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x260]
lea ecx, [ebp - 0x25c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401116
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call fcn.00454f3d
add esp, 4
push ebx
call fcn.00454f3d
mov ecx, dword [ebp - 0x268]
add esp, 4
push ecx
call fcn.00454f3d
add esp, 4
push edi
call fcn.00454f3d
mov edx, dword [ebp - 0x264]
add esp, 4
push edx
call fcn.00454f3d
mov ecx, dword [ebp - 8]
add esp, 4
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00454d73
mov esp, ebp
pop ebp
ret 4
Function at 0x401b30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401b48
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401b7a
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x401b76
cmp esi, eax
jae 0x401b7a
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401b68
cmp esi, eax
jb 0x401b80
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x403dd0
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470d90
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x48d000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
mov dword [ebp - 0x20], vtable.CIniFile.0
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x200
mov dword [ebp - 0x14], 0x21
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
movzx ecx, word [eax + 0x70]
push ecx
push 0x47ec78
lea edi, [ebp - 0x10]
call fcn.004019a0
mov esi, dword [ebp - 0x10]
push esi
push 0x47fc58
lea edi, [ebp - 0x1c]
call fcn.004019a0
mov edx, dword [ebp + 0xc]
add esp, 0x10
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00419190
test eax, eax
lea eax, [esi - 0x10]
setne bl
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403ec3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4046b0
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470d90
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x48d000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
mov dword [ebp - 0x20], vtable.CIniFile.0
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x200
mov dword [ebp - 0x14], 0x21
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
movzx ecx, word [eax + 0x70]
push ecx
push 0x47ec78
lea edi, [ebp - 0x10]
call fcn.004019a0
mov esi, dword [ebp - 0x10]
push esi
push 0x47fc58
lea edi, [ebp - 0x1c]
call fcn.004019a0
mov eax, dword [ebp + 0xc]
add eax, 0x20
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x404758
mov eax, dword [eax]
mov edi, dword [ebp - 0x1c]
push edi
push 0
push eax
push str.operating_systems
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40478a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4047ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x404b70
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470d90
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x48d000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
mov dword [ebp - 0x20], vtable.CIniFile.0
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x200
mov dword [ebp - 0x14], 0x21
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
movzx ecx, word [eax + 0x70]
push ecx
push 0x47ec78
lea edi, [ebp - 0x10]
call fcn.004019a0
mov esi, dword [ebp - 0x10]
push esi
push 0x47fc58
lea edi, [ebp - 0x1c]
call fcn.004019a0
mov eax, dword [ebp + 0xc]
add eax, 0x20
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x404c19
mov eax, dword [eax]
mov edi, dword [ebp - 0x1c]
push edi
push eax
push 0x47ecbc
push str.boot_loader
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
lea eax, [esi - 0x10]
setne bl
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404c53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4060a0
Capabilities:
Copy file
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470d58
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x48d000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
mov dword [ebp - 0x24], vtable.CIniFile.0
call edx
add eax, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x200
mov dword [ebp - 0x18], 0x21
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
movzx eax, word [esi + 0x70]
push eax
push 0x47ec78
lea edi, [ebp - 0x14]
call fcn.004019a0
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 1
mov byte [ebp - 4], 2
lea eax, [esi + 0x54]
jne 0x40615c
cmp dword [eax + 0x14], 8
jb 0x406154
mov eax, dword [eax]
push eax
push str._s_autobackini
jmp 0x40616a
cmp dword [eax + 0x14], 8
jb 0x406164
mov eax, dword [eax]
push eax
push str._s_backini
lea edi, [ebp - 0x10]
call fcn.004019a0
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
add esp, 8
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
lea eax, [esi - 0x10]
setne bl
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4061aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4061ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4061f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406450
Capabilities:
Copy file
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470d58
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x48d000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
mov dword [ebp - 0x24], vtable.CIniFile.0
call edx
add eax, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x200
mov dword [ebp - 0x18], 0x21
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
movzx eax, word [esi + 0x70]
push eax
push 0x47ec78
lea edi, [ebp - 0x14]
call fcn.004019a0
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 1
mov byte [ebp - 4], 2
lea eax, [esi + 0x54]
jne 0x40650c
cmp dword [eax + 0x14], 8
jb 0x406504
mov eax, dword [eax]
push eax
push str._s_autobackini
jmp 0x40651a
cmp dword [eax + 0x14], 8
jb 0x406514
mov eax, dword [eax]
push eax
push str._s_backini
lea edi, [ebp - 0x10]
call fcn.004019a0
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
add esp, 8
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
lea eax, [esi - 0x10]
setne bl
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40655a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40657a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4065a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4084c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4701bb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x48d000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0041e26f
push 4
mov dword [ebp - 4], 0
call fcn.00456237
mov edi, eax
add esp, 4
test edi, edi
je 0x408540
call fcn.0041e716
mov dword [edi], eax
call fcn.0041e4d5
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041e40a
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x408536
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041e432
jmp 0x408542
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f250
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push eax
mov dword [esi], vtable.DownWrapper.0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
test eax, eax
jne 0x40f27d
push 0x486d88
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], str.can_not_load_xldl.dll
call fcn.00457138
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XL_Init
push eax
call edi
mov edx, dword [esi + 4]
push str.XL_UnInit
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
push str.XL_CreateTask
push eax
call edi
mov ecx, dword [esi + 4]
push str.XL_DeleteTask
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 4]
push str.XL_StartTask
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
push str.XL_StopTask
push eax
call edi
mov ecx, dword [esi + 4]
push str.XL_QueryTaskInfo
push ecx
mov dword [esi + 0x1c], eax
call edi
mov edx, dword [esi + 4]
push str.XL_QueryTaskInfoEx
push edx
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
push str.XL_SetSpeedLimit
push eax
call edi
mov ecx, dword [esi + 4]
push str.XL_SetUploadSpeedLimit
push ecx
mov dword [esi + 0x28], eax
call edi
mov edx, dword [esi + 4]
push str.XL_DelTempFile
push edx
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 4]
push str.XL_SetProxy
push eax
call edi
mov ecx, dword [esi + 4]
push str.XL_SetUserAgent
push ecx
mov dword [esi + 0x34], eax
call edi
mov edx, dword [esi + 4]
push str.XL_GetFileSizeWithUrl
push edx
mov dword [esi + 0x38], eax
call edi
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 4]
push str.XL_ParseThunderPrivateUrl
push eax
call edi
mov ecx, dword [esi + 4]
push str.XL_SetAdditionInfo
push ecx
mov dword [esi + 0x40], eax
call edi
mov dword [esi + 0x44], eax
mov edx, dword [esi + 4]
push str.XL_SetFileIdAndSize
push edx
call edi
mov dword [esi + 0x48], eax
mov eax, esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4107d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47246b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x48d000]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004282de
mov ecx, eax
mov eax, dword [esi + 4]
call fcn.00410730
mov edi, esi
call fcn.00411d40
mov ecx, dword [esi + 0x35c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push 0x47faec
call edx
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x388]
push 0
push 0
push ecx
push 0x4104b0
push 0
push 0
mov dword [0x490350], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0x36c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x134]
push 1
call eax
call fcn.0041a400
mov ecx, 0x4903a0
call fcn.00417bc0
push 0xc
call fcn.00456237
mov edi, eax
add esp, 4
test edi, edi
je 0x4108ad
movzx ecx, word [0x4905c8]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ebx, dword [0x490bf8]
mov dword [esp + 0x10], ecx
mov ecx, section..data
call eax
mov cx, word [esp + 0x10]
add eax, 0x10
mov dword [edi], eax
mov dword [edi + 4], ebx
mov word [edi + 8], cx
jmp 0x4108af
xor edi, edi
mov edx, dword [esi + 4]
push 0
push 0
push edx
push 0x410450
push 0
push 0
mov dword [0x490358], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x88
call fcn.00456237
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0
test eax, eax
je 0x41091a
mov ecx, dword [0x490bf8]
movzx edx, word [0x4905c8]
push ecx
mov ecx, dword [0x4905d0]
push edx
mov edx, dword [0x4905d4]
push 0x4903b0
push ecx
mov ecx, dword [0x4905cc]
push edx
push ecx
push eax
call fcn.004023d0
jmp 0x41091c
xor eax, eax
mov dword [esp + 0x20], 0xffffffff
mov dword [esi + 0x82c], eax
call fcn.00410e30
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret