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

Disassembly:
sub esp, 8
xor edx, edx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x20]
mov ecx, esi
shr ecx, 2
push edi
test ecx, ecx
je 0x4813b5
mov edi, dword [esp + 0x20]
cmp ecx, 8
jb 0x481390
mov ebx, ecx
lea eax, [edi + 0x10]
mov esi, ebp
and ebx, 0xfffffff8
sub esi, edi
xorps xmm3, xmm3
mov dword [esp + 0x10], esi
movaps xmm2, xmm3
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebp + edx*4]
add edx, 8
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [edi + eax - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp edx, ebx
jb 0x481340
mov edi, dword [esp + 0x20]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd ebx, xmm2
cmp edx, ecx
jae 0x4813b5
mov esi, ebp
lea edi, [edi + edx*4]
sub esi, dword [esp + 0x20]
sub ecx, edx
add edx, ecx
mov eax, dword [edi + esi]
lea edi, [edi + 4]
xor eax, dword [edi - 4]
or ebx, eax
sub ecx, 1
jne 0x4813a1
mov esi, dword [esp + 0x24]
shl edx, 2
sub esi, edx
jne 0x4813cb
pop edi
xor eax, eax
test ebx, ebx
pop esi
pop ebp
sete al
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x20]
add ebp, edx
add ecx, edx
mov eax, ebx
shr eax, 0x10
mov edx, ebx
shr edx, 0x18
xor edi, edi
or dl, al
mov dword [esp + 0x20], ecx
mov eax, ebx
shr eax, 8
or dl, al
or dl, bl
mov dword [esp + 0x10], edx
test esi, esi
je 0x4814a5
cmp esi, 0x20
jb 0x481489
mov ebx, esi
mov edx, ebp
and ebx, 0xffffffe0
xorps xmm3, xmm3
sub edx, ecx
mov eax, ecx
mov dword [esp + 0x14], edx
movaps xmm2, xmm3
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ecx - 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
por xmm3, xmm1
movups xmm1, xmmword [edi + ebp + 0x10]
add edi, 0x20
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, ebx
jb 0x481420
por xmm2, xmm3
mov ecx, dword [esp + 0x20]
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or dl, al
cmp edi, esi
jae 0x4814a5
sub ebp, dword [esp + 0x20]
add ecx, edi
sub esi, edi
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
or dl, al
sub esi, 1
jne 0x481495
pop edi
pop esi
test dl, dl
pop ebp
sete al
pop ebx
add esp, 8
ret
Function at 0x4814c0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, edx
shr edi, 2
test edi, edi
je 0x481567
cmp edi, 8
jb 0x481540
lea eax, [esi - 4]
lea eax, [eax + edi*4]
lea ecx, [ebp - 4]
lea ecx, [ecx + edi*4]
cmp ebp, eax
ja 0x4814f9
cmp ecx, esi
jae 0x481540
mov ecx, edi
lea eax, [ebp + 0x10]
mov edx, esi
and ecx, 0xfffffff8
sub edx, ebp
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [esi + ebx*4]
add ebx, 8
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax + ebp - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ebx, ecx
jb 0x481511
mov ebp, dword [esp + 0x18]
cmp ebx, edi
jae 0x481567
lea ecx, [ebx*4]
mov edx, esi
sub edi, ebx
add ecx, ebp
sub edx, ebp
add ebx, edi
mov eax, dword [ecx + edx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
sub edi, 1
jne 0x481555
mov edx, dword [esp + 0x20]
shl ebx, 2
sub edx, ebx
je 0x4815e4
add ebp, ebx
add esi, ebx
xor edi, edi
test edx, edx
je 0x4815e4
cmp edx, 0x20
jb 0x4815cb
lea eax, [esi - 1]
lea ecx, [ebp - 1]
add eax, edx
add ecx, edx
cmp ebp, eax
ja 0x48158f
cmp ecx, esi
jae 0x4815cb
mov ecx, edx
mov ebx, esi
and ecx, 0xffffffe0
mov eax, ebp
sub ebx, ebp
nop word [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebx - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [esi + edi + 0x10]
add edi, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edi, ecx
jb 0x4815a0
cmp edi, edx
jae 0x4815e4
sub esi, ebp
lea ecx, [edi + ebp]
sub edx, edi
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x4815d6
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x48dc72
Capabilities:
Accept command line arguments
Write file on windows

Disassembly:
push 0x98
mov eax, 0x49d88d
call fcn.004273b7
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x88]
call fcn.00402844
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
call fcn.0048f34c
push eax
lea ecx, [ebp - 0x70]
call fcn.00408229
push 0x34
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x4cc138
call fcn.00408e61
mov esi, eax
push 0x4b5250
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00401ac1
push esi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00403f74
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040195f
xor edi, edi
lea ecx, [ebp - 0x58]
push edi
push ebx
call fcn.00401636
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00401636
push edi
push ebx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.00401636
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x4b5268
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0044ce16
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x48ddc5
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x58]
call fcn.0040abb2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
push esi
push dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
push ebx
push ecx
call fcn.0044ca70
push esi
push ebx
push ebx
push 0x4b52a4
call fcn.0044ca70
add esp, 0x20
lea ecx, [ebp - 0x40]
mov edx, 0x4f3b98
call fcn.0040abb2
cmp dword [ebp - 0x30], edi
je 0x48ddaa
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push esi
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push ebx
push eax
call fcn.0044ca70
add esp, 0x10
push esi
call fcn.0044c6d6
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00405b74
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00405b74
push edi
push ebx
lea ecx, [ebp - 0x70]
call fcn.00401636
push 0
push ebx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.00401636
call fcn.0048f177
push 8
pop edi
cmp dword [0x4f3bdc], edi
mov esi, 0x4f3bc8
push ecx
mov eax, esi
mov ecx, esp
cmovae eax, dword [0x4f3bc8]
push eax
call fcn.00407af4
mov ecx, dword [0x4f3e50]
call fcn.00490d53
pop ecx
test eax, eax
je 0x48de1c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4f3bdc], edi
cmovae esi, dword [0x4f3bc8]
push esi
call fcn.0044c638
cmp dword [ebp - 0x18], 0
pop ecx
je 0x48de62
cmp dword [ebp - 0x14], edi
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0040c813
test al, al
je 0x48de62
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0044c638
pop ecx
xor edi, edi
lea ecx, [ebp - 0x28]
push edi
push ebx
call fcn.00401636
call fcn.00427361
ret
Function at 0x48e3b1
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push 0x464
mov eax, 0x49d9b2
call fcn.004273b7
mov esi, ecx
mov ecx, dword [esi]
call fcn.00490ca2
mov edx, dword [esi]
lea ecx, [ebp - 0x448]
mov edi, eax
call fcn.00490cc2
lea eax, [ebp - 0x470]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x470], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x464], ebx
push 0x18
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x4cc138
call fcn.00408e61
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x48e424
mov esi, dword [esi]
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x430], eax
xor eax, eax
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], ebx
mov word [ebp - 0x42c], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x414], eax
test esi, esi
je 0x48e47d
push esi
call fcn.0040281d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x42c]
call fcn.004027a4
lea eax, [ebp - 0x430]
push eax
push 0x4103be
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x468]
lea ecx, [ebp - 0x42c]
sub esi, dword [ebp - 0x46c]
push ebx
push 1
sar esi, 2
call fcn.00401636
push ebx
push 1
lea ecx, [ebp - 0x460]
call fcn.00401636
cmp esi, 1
jle 0x48e55e
push 0x400
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.00440a80
mov esi, dword [ebp - 0x46c]
add esp, 0xc
cmp esi, dword [ebp - 0x468]
je 0x48e575
push 0x200
lea eax, [ebp - 0x410]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [ebp - 0x434], 8
lea eax, [ebp - 0x448]
lea ecx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x448]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x48e53e
test dx, dx
je 0x48e53a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x48e53e
add ecx, 4
add eax, 4
test dx, dx
jne 0x48e518
mov eax, ebx
jmp 0x48e543
sbb eax, eax
or eax, 1
test eax, eax
je 0x48e554
add esi, 4
cmp esi, dword [ebp - 0x468]
jne 0x48e4ea
jmp 0x48e556
mov edi, dword [esi]
mov esi, dword [ebp - 0x46c]
jmp 0x48e575
mov eax, dword [ebp - 0x468]
mov esi, dword [ebp - 0x46c]
sub eax, esi
sar eax, 2
test eax, eax
je 0x48e575
mov edi, dword [esi]
test esi, esi
je 0x48e5a2
mov eax, dword [ebp - 0x464]
sub eax, esi
push 4
sar eax, 2
push eax
push esi
call fcn.004015eb
add esp, 0xc
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x464], ebx
push ebx
push 1
lea ecx, [ebp - 0x448]
call fcn.00401636
mov eax, edi
call fcn.00427361
ret
Function at 0x48ebda
Capabilities:
Create thread

Disassembly:
push 0x5c
mov eax, 0x49daf8
call fcn.00427425
xor ebx, ebx
lea eax, [ebp - 0x48]
push eax
push ebx
push 0x4f3b50
push 0x40327c
push ebx
push ebx
mov dword [0x4f3e78], ebx
mov dword [ebp - 0x48], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], ebx
call fcn.00491b10
or dword [ebp - 4], 0xffffffff
mov dword [0x4f3e78], eax
jmp 0x48ec27
cmp dword [ebp - 0x48], 0
je 0x48ec45
push ebx
push ebx
push 0x502
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4f3e78], 0
jne 0x48ed01
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], 2
mov eax, dword [0x4f3c58]
shr eax, 0xd
test al, 1
lea eax, [ebp - 0x44]
je 0x48ec9d
push 0x27
push 0x13
push eax
call fcn.0048e1c2
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408251
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00405b74
lea ecx, [ebp - 0x2c]
call fcn.004916c5
jmp 0x48ecbb
push 0x25
push 0x11
push eax
call fcn.0048e1c2
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408251
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00405b74
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x58]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00407bbe
mov esi, 0x4af4f8
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x68]
call fcn.00407bf5
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x68]
push 0x4c4d38
push eax
mov dword [ebp - 0x68], esi
call fcn.004414d6
call fcn.00427372
ret

Function at 0x48ed07
Capabilities:
Create thread

Disassembly:
push esi
call fcn.0044902c
cmp dword [0x4f3e74], 0
mov esi, eax
jne 0x48ed5b
cmp word [0x4f3f7a], 3
push edi
mov edi, 0x4f3f70
jne 0x48ed3f
mov ecx, edi
call fcn.0040240d
test al, 1
je 0x48ed3f
mov eax, dword [0x4f3c58]
shr eax, 9
test al, 1
je 0x48ed5a
push 0x4f3e7c
xor eax, eax
push eax
push edi
push 0x4060a6
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4f3e80], eax
pop edi
mov eax, esi
pop esi
ret
Function at 0x48ef8e
Capabilities:
Check mutex on windows

Disassembly:
push 0x5c
mov eax, 0x49db8a
call fcn.004273b7
mov eax, dword [0x4f3c58]
shr eax, 0xe
test al, 1
je 0x48f0c0
push 0x4f3b68
lea ecx, [ebp - 0x58]
call fcn.00408229
xor ebx, ebx
lea ecx, [ebp - 0x40]
push 0x4b5284
mov dword [ebp - 4], ebx
call fcn.00402844
push 0x4b5250
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00402844
mov byte [ebp - 4], 2
mov esi, ebx
push dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
call fcn.004082e9
mov esi, eax
cmp esi, 0xffffffff
je 0x48f017
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push esi
call fcn.00401de6
add esi, dword [ebp - 0x30]
jmp 0x48efe0
xor esi, esi
lea ecx, [ebp - 0x28]
push ebx
inc esi
push esi
call fcn.00401636
push ebx
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00401636
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4f3e84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x48f0b6
push 0x2b
push 0x29
lea eax, [ebp - 0x40]
push eax
call fcn.0048e1c2
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.004916c5
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x68]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00407bbe
mov esi, 0x4af4f8
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x20]
call fcn.00407bf5
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push 0x4c4d38
push eax
mov dword [ebp - 0x20], esi
call fcn.004414d6
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.00401636
call fcn.00427361
ret

Function at 0x48f0ea
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x49dbb7
call fcn.004273b7
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov bl, al
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
cmp byte [ebp + 8], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x401
lea ecx, [eax + 2]
cmovne eax, ecx
push eax
call fcn.0048f524
cmp dword [ebp - 0x18], 0xa
jbe 0x48f15f
call fcn.0048f596
mov esi, eax
test esi, esi
je 0x48f161
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.0044ca70
push esi
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0044c6d6
add esp, 0x14
jmp 0x48f161
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00405dd7
mov al, bl
call fcn.00427361
ret 4
Function at 0x48f177
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x49dbe4
call fcn.004273b7
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov bl, al
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push 0x3fa
call fcn.0048f524
call fcn.0048f1ed
mov esi, eax
test esi, esi
je 0x48f1d9
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.0044ca70
push esi
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0044c6d6
add esp, 0x14
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00405dd7
mov al, bl
call fcn.00427361
ret

Function at 0x48f26b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4f3c58]
push esi
push edi
xor edi, edi
shr eax, 0x11
inc edi
mov dword [ebp - 4], edi
test al, 1
je 0x48f29a
cmp dword [0x4f3eec], 0
je 0x48f29a
mov esi, 0x4f3edc
push esi
call fcn.0048f546
jmp 0x48f2c4
and dword [0x4f3eec], 0
mov esi, 0x4f3edc
cmp dword [0x4f3ef0], 0x10
mov eax, esi
push esi
cmovae eax, dword [0x4f3edc]
push 0x3fc
mov byte [eax], 0
call fcn.0048f524
call fcn.0048f64a
mov edx, eax
mov dword [ebp - 8], edx
test edx, edx
je 0x48f32c
cmp dword [0x4f3ef0], 0x10
mov eax, esi
cmovae eax, dword [0x4f3edc]
mov eax, dword [eax]
cmp eax, dword [0x4af5ef]
jne 0x48f320
cmp dword [0x4f3ef0], 0x10
mov ecx, esi
mov eax, dword [0x4f3eec]
cmovae ecx, dword [0x4f3edc]
add eax, 0xfffffffc
push edx
push edi
push eax
lea eax, [ecx + 4]
push eax
call fcn.0044ca70
mov edx, dword [ebp - 8]
add esp, 0x10
dec eax
neg eax
sbb al, al
inc al
mov byte [ebp - 4], al
push edx
call fcn.0044c6d6
mov eax, dword [ebp - 4]
pop ecx
jmp 0x48f32e
xor al, al
and dword [0x4f3eec], 0
cmp dword [0x4f3ef0], 0x10
pop edi
cmovae esi, dword [0x4f3edc]
mov byte [esi], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48f34c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4c8094]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4f3b90], 0
push edi
mov edi, 0x4f3b80
jne 0x48f497
push ebx
push esi
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x804]
push eax
call fcn.0040281d
pop ecx
push eax
lea eax, [ebp - 0x804]
mov ecx, edi
push eax
call fcn.004027a4
cmp dword [0x4f3b94], 8
mov eax, edi
cmovae eax, dword [0x4f3b80]
xor ebx, ebx
push ebx
push eax
call fcn.0044c560
pop ecx
pop ecx
test eax, eax
je 0x48f3dd
mov esi, 0x4ae8d4
push esi
call fcn.0040281d
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004027a4
mov ecx, edi
call fcn.0040ca70
cmp dword [0x4f3b90], ebx
je 0x48f402
cmp dword [0x4f3b94], 8
mov eax, edi
push ebx
cmovae eax, dword [0x4f3b80]
push eax
call fcn.0044c560
pop ecx
pop ecx
test eax, eax
je 0x48f41f
push str.TEMP
call fcn.0044cd3f
mov esi, eax
push esi
call fcn.0040281d
pop ecx
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004027a4
cmp dword [0x4f3b90], ebx
je 0x48f444
cmp dword [0x4f3b94], 8
mov eax, edi
push ebx
cmovae eax, dword [0x4f3b80]
push eax
call fcn.0044c560
pop ecx
pop ecx
test eax, eax
je 0x48f461
push 0x4b527c
call fcn.0044cd3f
mov esi, eax
push esi
call fcn.0040281d
pop ecx
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004027a4
cmp dword [0x4f3b90], ebx
je 0x48f486
cmp dword [0x4f3b94], 8
mov eax, edi
push ebx
cmovae eax, dword [0x4f3b80]
push eax
call fcn.0044c560
pop ecx
pop ecx
test eax, eax
je 0x48f495
push 0xffffffffffffffff
push ebx
push 0x4f3b50
mov ecx, edi
call fcn.0040255c
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00426855
mov esp, ebp
pop ebp
ret
Function at 0x49089f
Capabilities:
Get common file path

Disassembly:
push 0xc34
mov eax, 0x49e00e
call fcn.004273b7
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x4908f8
cmp word [edi], bx
je 0x4908f8
push ebx
push edi
call fcn.0044c560
pop ecx
pop ecx
test eax, eax
jne 0x4908f8
mov ecx, edi
call fcn.0040c813
test al, al
je 0x4908f6
push edi
call fcn.0044c638
pop ecx
test eax, eax
je 0x4908f6
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x3e8
jl 0x4908cc
xor ebx, ebx
test esi, esi
je 0x49093a
cmp word [esi], bx
je 0x49093a
push ebx
push esi
call fcn.0044c560
pop ecx
pop ecx
test eax, eax
jne 0x49093a
mov edi, ebx
mov ecx, esi
call fcn.0040c813
test al, al
je 0x49093a
push esi
call fcn.0044c638
pop ecx
test eax, eax
je 0x49093a
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x3e8
jl 0x490910
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0xc14], ecx
mov dword [ebp - 0xc18], ebx
mov word [ebp - 0xc28], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc2c], ecx
mov dword [ebp - 0xc30], ebx
mov word [ebp - 0xc40], ax
lea eax, [ebp - 0xc40]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0xc28]
mov ecx, esi
call fcn.0040a848
mov esi, 0x400
lea eax, [ebp - 0x410]
push esi
push ebx
push eax
call fcn.00440a80
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x800
lea eax, [ebp - 0xc10]
push ebx
push eax
call fcn.00440a80
add esp, 0xc
lea eax, [ebp - 0xc10]
push esi
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp dword [ebp - 0xc18], 0
je 0x490a3e
cmp dword [ebp - 0xc14], 8
lea ecx, [ebp - 0xc10]
lea eax, [ebp - 0xc28]
cmovae eax, dword [ebp - 0xc28]
push ecx
push eax
call fcn.004492cb
pop ecx
pop ecx
test eax, eax
je 0x490a3e
cmp dword [ebp - 0xc14], 8
lea eax, [ebp - 0xc28]
push ebx
cmovae eax, dword [ebp - 0xc28]
push eax
call fcn.0044c560
pop ecx
pop ecx
test eax, eax
jne 0x490a3e
cmp dword [ebp - 0xc14], 8
lea eax, [ebp - 0xc28]
cmovae eax, dword [ebp - 0xc28]
push eax
call fcn.0044c756
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xc40]
call fcn.00401636
push ebx
push 1
lea ecx, [ebp - 0xc28]
call fcn.00401636
call fcn.00427361
ret 8
Function at 0x491b10
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x258
mov eax, dword [0x4c8094]
xor eax, esp
mov dword [esp + 0x254], eax
push esi
push edi
lea eax, [esp + 0xc8]
xor edi, edi
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x491cac
mov eax, dword [esp + 0xc8]
cmp al, 1
jne 0x491cac
shr eax, 8
cmp al, 1
jne 0x491cac
xorps xmm0, xmm0
mov dword [esp + 0x64], 0x1388
xor esi, esi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
cmp dword [0x4b5c20], esi
je 0x491c96
mov eax, 0x4b5c20
nop dword [eax]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push dword [eax]
lea ecx, [esp + 0x70]
call fcn.004237fd
test eax, eax
je 0x491c49
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xc]
call fcn.004232c6
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
call fcn.004234fa
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x14]
call fcn.004235d5
movups xmm0, xmmword [eax]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xb4]
push eax
movups xmmword [esp + 0xb8], xmm0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x491c49
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x491c49
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x491c74
inc esi
cmp dword [esi*4 + 0x4b5c20], edi
lea eax, [esi*4 + 0x4b5c20]
jne 0x491ba0
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00426855
mov esp, ebp
pop ebp
ret
movzx ecx, word [esp + 0x90]
movzx edi, byte [esp + 0x92]
shl ecx, 8
or edi, ecx
movzx ecx, byte [esp + 0x96]
shl edi, 8
or edi, ecx
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00426855
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x25c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00426855
mov esp, ebp
pop ebp
ret