joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43edf4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x630198]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, ecx
call fcn.00447ad0
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x43ee2d
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x5ac958
push eax
call fcn.00408eb0
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ee65
lea eax, [ebp - 0x20c]
push eax
call fcn.0042b959
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00447ad0
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x5ac1bc
push eax
call fcn.00408eb0
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x43eea4
mov eax, esi
jmp 0x43eeb1
lea eax, [ebp - 0x414]
push eax
call fcn.004561c7
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00402110
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.00447ad0
push str.Cache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x5ac1bc
push eax
call fcn.00408eb0
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x43ef03
mov eax, esi
jmp 0x43ef10
lea eax, [ebp - 0x61c]
push eax
call fcn.004561c7
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00402110
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.00447ad0
lea eax, [ebp - 0xa44]
push str.ShxlPath
push eax
call fcn.0042ca34
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x43ef51
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x5ab094
push eax
call fcn.00408eb0
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.004254f0
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ef92
lea eax, [ebp - 0x824]
push eax
call fcn.0042b959
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.00447ad0
push str.Cache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x5ac1bc
push eax
call fcn.00408eb0
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x43efdc
lea eax, [ebp - 0xa2c]
push eax
call fcn.004561c7
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00402110
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043c551
mov esp, ebp
pop ebp
ret
Function at 0x43f658
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5a7a8b
call fcn.0043caa9
mov ebx, ecx
call fcn.0043dd53
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.00425fc6
mov esi, str.WanNengWBInfo.ini
push esi
call fcn.004561c7
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004052c0
push str.guanf
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0043dfea
and dword [ebp - 4], 0
lea esi, [ebx + 0xec]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x43f6ce
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00401ff0
push str.guanf
mov ecx, esi
call fcn.0042576f
test eax, eax
jne 0x43f74a
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00447ad0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x43f6fb
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.guanf
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x43f72c
xor eax, eax
jmp 0x43f739
lea eax, [ebp - 0x218]
push eax
call fcn.004561c7
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00402110
jmp 0x43f74f
mov edi, str.guanf
push edi
mov ecx, esi
call fcn.0042576f
test eax, eax
jne 0x43f812
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00447ad0
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.004036d0
push str.WanNengWBInfo.ini
mov byte [ebp - 4], 1
call fcn.004561c7
pop ecx
push eax
push str.WanNengWBInfo.ini
lea ecx, [ebp - 0x230]
call fcn.004052c0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x43f7e3
xor eax, eax
jmp 0x43f7f0
lea eax, [ebp - 0x218]
push eax
call fcn.004561c7
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00402110
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.004254f0
push edi
mov ecx, esi
call fcn.0042576f
test eax, eax
jne 0x43f84e
push edi
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0043e151
push eax
mov ecx, esi
call fcn.00403910
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004254f0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.004254f0
call fcn.0043ca64
ret
Function at 0x440661
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4406e0
push ebx
push edi
xor edi, edi
push str.c335b80a32136330ebfa2439bf4cbfcb
mov dword [ebp + 8], edi
call fcn.00456280
mov ebx, dword [ebp + 0xc]
mov edx, edi
pop ecx
test ebx, ebx
je 0x44069d
mov cl, byte [edi + str.c335b80a32136330ebfa2439bf4cbfcb]
xor byte [edx + esi], cl
inc edi
xor ecx, ecx
cmp edi, eax
cmovge edi, ecx
inc edx
cmp edx, ebx
jb 0x440687
cmp ebx, 1
jle 0x4406d4
cmp byte [esi], 0x37
jne 0x4406d4
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x4406b2
cmp al, 0x5a
jne 0x4406d4
lea eax, [ebp + 8]
push eax
push ebx
push esi
call fcn.0041f480
test eax, eax
je 0x4406d4
mov edx, dword [ebp + 8]
test edx, edx
je 0x4406d4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x4406de
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x440b28
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.004265cf
test al, al
je 0x440b49
in al, 0xaa
daa
ficomp dword [esi]
mov esi, 0x37aeb449
add al, 9
adc byte [edx - 0x3d], 0x7a
aad 0xe8
mov dl, byte [edi - 2]
inc dword [eax + eax*8 + 0x5a01f74]
insd dword es:[edi], dx
invalid
call fcn.004262d8
test al, al
je 0x440b71
mov al, byte [0x69c66d05]
outsb dx, byte [esi]
wait
xchg edi, eax
sbb dl, ah
outsb dx, byte [esi]
jnp 0x440bb1
invalid
call fcn.004260f5
test al, al
je 0x440b90
sar byte [ebp - 0x30c14f32], cl
int1
movsd dword es:[edi], dword [esi]
enter 0xffffffffffffcbb6, 0xfffffffffffffff4
xchg ebp, eax
fldenv [ebx]
jns 0x440b29
cdq
and edi, ebp
and dh, byte [ebx]
leave
xor ecx, ecx
xor edx, edx
xor ebx, ebx
cmp dword [ebp + 0xc], ecx
jle 0x440c93
mov esi, dword [ebp + 8]
mov al, byte [ebx + esi]
cmp al, 0x3d
jne 0x440baf
inc edx
cmp edx, 2
jg 0x440bf0
cmp al, 0x7f
ja 0x440bf0
movzx eax, al
mov al, byte [eax + 0x5afe00]
cmp al, 0x7f
je 0x440bf0
cmp al, 0x40
jae 0x440bc8
test edx, edx
jne 0x440bf0
inc ecx
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, dword [ebp + 0xc]
jl 0x440ba2
test ecx, ecx
je 0x440c93
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x440bf8
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x440bf2
push 0xffffffffffffffee
pop eax
jmp 0x440c95
call fcn.0042658a
test al, al
je 0x440c19
cmp dl, ah
ret
and dword [ebp - 4], 0
xor eax, eax
mov edx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
push 3
pop esi
test ebx, ebx
jle 0x440c8e
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
mov cl, byte [eax + 0x5afe00]
xor eax, eax
cmp cl, 0x40
sete al
sub esi, eax
movzx eax, cl
mov ecx, dword [ebp - 4]
and eax, 0x3f
shl ecx, 6
or ecx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], eax
cmp eax, 4
jne 0x440c85
xor eax, eax
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x440c70
mov eax, ecx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp esi, 1
jle 0x440c7d
mov eax, ecx
shr eax, 8
mov byte [edx], al
inc edx
cmp esi, 2
jle 0x440c85
mov byte [edx], cl
inc edx
dec ebx
inc edi
test ebx, ebx
jg 0x440c2f
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440c9c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x440cb0
xor eax, eax
jmp 0x440dee
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x440cd9
dec edx
sub edx, 1
jne 0x440cdb
add eax, 2
jmp 0x440cdb
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x440cee
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x440ded
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x440d84
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x5afdc0]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x5afdc0]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x5afdc0]
mov byte [edi + 2], al
mov al, byte [esi + 0x5afdc0]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x440d19
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x440d87
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x440de0
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x440d9c
movzx ecx, byte [eax + 1]
jmp 0x440d9e
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x5afdc0]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x5afdc0]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x440dd5
and ecx, 0xf
mov al, byte [ecx*4 + 0x5afdc0]
mov byte [edi + 2], al
jmp 0x440dd9
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440fb6
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x630198]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.00447ad0
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5afe90
call fcn.004561c7
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00456ab2
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.00447ad0
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.00447ad0
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.00447ad0
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4410b4
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.00409e70
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.004070b0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c551
mov esp, ebp
pop ebp
ret 4

Function at 0x4421e4
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x89], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x442aa7
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, ecx
mov byte [ebp - 1], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
lea ecx, [eax + 0x210]
mov dword [ebp - 8], eax
mov esi, dword [ecx]
push edi
mov dword [ebp - 0xc], ecx
cmp esi, dword [eax + 0x214]
je 0x442b75
lea edi, [esi + 0x28]
mov dword [ebp + 8], edi
lea ecx, [ebx + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5abac4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
sub edi, 0xffffff80
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5abac4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5abac4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5abac4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0xa8]
push edi
push eax
call fcn.00456c10
mov edi, dword [ebp + 8]
pop ecx
pop ecx
test eax, eax
jne 0x442b55
lea eax, [ebx + 0x28]
push edi
push eax
call fcn.00456c10
pop ecx
pop ecx
test eax, eax
je 0x442b71
mov eax, 0x1b0
add edi, eax
add esi, eax
mov eax, dword [ebp - 8]
mov dword [ebp + 8], edi
cmp esi, dword [eax + 0x214]
je 0x442b75
jmp 0x442ad9
mov byte [ebp - 1], 1
call fcn.00426026
test al, al
je 0x442b8e
les esi, [esp + ebx + 0x61]
invalid
cmp byte [ebp - 1], 0
jne 0x442bb2
lea edx, [ebx + 0xa8]
push edx
call fcn.00456280
pop ecx
test eax, eax
je 0x442bb2
mov ecx, dword [ebp - 0xc]
push ebx
call fcn.004438e5
mov al, 1
jmp 0x442bb4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4437b2
Capabilities:
Check os version

Disassembly:
mov edx, 0x9bdb9727
fcomp qword [eax]
sub eax, 0x5f14458b
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x630198]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x210]
push ebx
push esi
push edi
mov dword [ebp - 0x11c], ecx
mov dword [ecx + 0x214], eax
call fcn.004263a7
test al, al
je 0x4437f7
inc esp
paddusw mm7, qword [esi - 0x2e]
xchg ebx, eax
jbe 0x4437f2
or al, 0x53
inc esi
push ss
sbb byte [edi + 0x6b2df6e3], dh
rcr byte [edi - 0x18], 1
imul byte [0xe85fd06b]
call fcn.004261c4
enter 0xfffffffffffffe29, 0xffffffffffffffff
test al, al
je 0x44381e
jo 0x44379e
invalid
call fcn.00426293
test al, al
je 0x443846
pop ebp
les eax, [eax + edx*4 + 0x7764ddae]
mov ah, 0x1c
pushal
sti
xchg edx, eax
nop
in eax, dx
xor eax, 0xad26707a
pop edx
stosb byte es:[edi], al
invalid
mov esi, 0x114
lea eax, [ebp - 0x118]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.00447ad0
add esp, 0xc
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
mov esi, dword [ebp - 0x11c]
jne 0x443889
mov ecx, esi
call fcn.00443072
jmp 0x44389e
mov edi, ebx
test ebx, ebx
jne 0x44389e
mov ecx, esi
call fcn.00442ec9
inc edi
mov ebx, eax
cmp edi, 0xa
jl 0x44388b
mov eax, dword [esi + 0x214]
mov ecx, 0x1b0
sub eax, dword [esi + 0x210]
cdq
idiv ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c551
mov esp, ebp
pop ebp
ret

Function at 0x443d50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov esi, dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.00444fc0
push dword [ebp + 0xc]
mov ecx, dword [esi + 8]
call fcn.00444f70
push dword [ebp + 0x10]
mov ecx, dword [esi + 8]
call fcn.00445010
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test eax, eax
je 0x443d8c
mov ecx, dword [edi + 8]
mov dword [ecx + 0xc], eax
mov esi, dword [edi + 8]
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x443de0
push 0
push 0
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
test eax, eax
je 0x443dd0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x443dd0
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov eax, dword [edi + 8]
pop edi
pop esi
mov al, byte [eax + 4]
pop ebp
ret 0xc
Function at 0x443f20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7e86
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x630198]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x638], esi
lea eax, [esi + 8]
mov dword [esi], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x63c], esi
jb 0x443f7a
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], ecx
cmp dword [esi + 0x34], 8
mov dword [ebp - 4], ecx
jb 0x443f97
mov eax, dword [esi + 0x20]
jmp 0x443f9a
lea eax, [esi + 0x20]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x38]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x443fb4
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x50]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x443fce
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x68]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x443fe8
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push ecx
mov byte [ebp - 4], 4
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
call fcn.0044b407
push eax
call fcn.00456b16
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00447ad0
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x4440a7
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x634]
push eax
call fcn.00447ad0
add esp, 0xc
lea eax, [ebp - 0x634]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x444098
test eax, eax
je 0x444098
add eax, eax
cmp eax, 0x412
jae 0x444093
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
lea eax, [ebp - 0x634]
jmp 0x44409e
call fcn.0043d232
lea eax, [ebp - 0x220]
push eax
lea ecx, [esi + 0x20]
call fcn.00403990
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4440d3
cmp dword [esi + 0x34], 8
jb 0x4440b9
mov ecx, dword [esi + 0x20]
jmp 0x4440bc
lea ecx, [esi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x4440d3
push 1
push 0x5a9ce8
lea ecx, [esi + 0x20]
call fcn.004052c0
cmp dword [esi + 0x30], 0
jne 0x4440e8
push 3
push 0x5afe90
lea ecx, [esi + 0x20]
call fcn.00402110
mov dword [esi + 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c551
mov esp, ebp
pop ebp
ret
Function at 0x444110
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x60], 0
je 0x44412c
cmp dword [edi + 0x64], 8
lea eax, [edi + 0x50]
jb 0x444125
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x80]
test eax, eax
je 0x444149
push eax
call fcn.0043c56b
add esp, 4
mov dword [edi + 0x80], 0
mov eax, dword [edi + 0x7c]
lea esi, [edi + 0x68]
cmp eax, 8
jb 0x44415f
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00402260
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x444175
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x50]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x444190
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00402260
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4441a6
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x38]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x4441c1
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00402260
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4441d7
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x20]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x4441f2
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00402260
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x444208
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov eax, dword [edi + 0x1c]
cmp eax, 8
jb 0x444222
inc eax
lea ecx, [edi + 8]
push eax
push dword [edi + 8]
call fcn.00402260
mov dword [edi + 0x1c], 7
cmp dword [edi + 0x1c], 8
mov dword [edi + 0x18], 0
jb 0x444241
mov eax, dword [edi + 8]
xor ecx, ecx
pop edi
pop esi
mov word [eax], cx
ret
xor eax, eax
mov word [edi + 8], ax
pop edi
pop esi
ret
Function at 0x445890
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
je 0x4458ce
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 8], 4
push ecx
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4458ce
mov eax, dword [ebp - 4]
xor edx, edx
mov esp, ebp
pop ebp
ret
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret

Function at 0x45f0f1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045ef70

Function at 0x461c7d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046193d
Function at 0x46bf80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
cmp dword [eax + 4], 3
jne 0x46bfac
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x46bf9d
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call ecx
jmp 0x46bfe0
cmp dword [esi + 8], 0
jne 0x46bfd0
push 0x5abad0
push dword [eax + 8]
call fcn.00454d0e
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x46bfd0
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.004551c0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x46c002
mov eax, dword [esi + 8]
test eax, eax
je 0x46bffc
push eax
call fcn.00454af5
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x46c420
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x630198]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x46c470
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x46c46a
shr eax, 8
cmp al, 2
jne 0x46c46a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c551
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.0043c551
mov esp, ebp
pop ebp
ret