joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4be710
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x5da345
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp + 0x210], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x4be80b
push 0x105
lea eax, [ebp + 4]
push 0
push eax
call fcn.005be800
add esp, 0xc
lea eax, [ebp + 4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x24], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be790
sub ecx, edx
lea eax, [ebp + 4]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00459b10
mov dword [ebp - 0x28], 0x420c0c
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004bba00
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], 0x41ee38
cmp edx, 0x10
jb 0x4be8dc
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
mov dword [ebp - 4], 1
cmp edx, 0x1000
jb 0x4be8d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4be8ff
jmp 0x4be8d2
push 0x104
lea eax, [ebp + 0x10c]
push 0
push eax
call fcn.005be800
lea eax, [esi + 4]
mov dword [ebp], 0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4be833
mov eax, dword [eax]
lea ecx, [ebp]
push ecx
lea ecx, [ebp + 0x10c]
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea ecx, [ebp + 0x10c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x40], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be865
sub ecx, edx
lea eax, [ebp + 0x10c]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00459b10
mov dword [ebp - 0x44], 0x420c0c
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.004bba00
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44], 0x41ee38
cmp edx, 0x10
jb 0x4be8dc
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x4be8d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4be904
push edx
push ecx
call fcn.005bc4f7
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.005bca10
lea esp, [ebp + 0x214]
pop ebp
ret
call fcn.004d7f94
call fcn.004d7f94
int3
Function at 0x4bea80
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x10c]
sub esp, 0x10c
push 0xffffffffffffffff
push 0x5da3bd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp + 0x108], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x105
lea eax, [ebp]
push 0
push eax
call fcn.005be800
add esp, 0xc
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x24], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4beaf3
sub ecx, edx
lea eax, [ebp]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00459b10
mov dword [ebp - 0x28], 0x420c0c
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004bba00
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], 0x41ee38
cmp edx, 0x10
jb 0x4beb67
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
mov dword [ebp - 4], 1
cmp edx, 0x1000
jb 0x4beb5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4beb8a
push edx
push ecx
call fcn.005bc4f7
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x108]
xor ecx, ebp
call fcn.005bca10
lea esp, [ebp + 0x10c]
pop ebp
ret
call fcn.004d7f94
int3

Function at 0x4c2980
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x10c]
sub esp, 0x10c
push 0xffffffffffffffff
push 0x5da996
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp + 0x108], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x114]
mov ecx, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.004bd2e0
mov dword [edi + 0x14], 0
lea eax, [edi + 4]
cmp dword [edi + 0x18], 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
jb 0x4c29f7
mov eax, dword [edi + 4]
mov byte [eax], 0
lea eax, [ebp]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c2a21
sub ecx, edx
lea eax, [ebp]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00459b10
mov dword [ebp - 0x2c], 0x41ee38
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [edi + 4]
push eax
mov dword [ebp - 4], 1
call fcn.004598e0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4c2a97
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
mov dword [ebp - 4], 2
cmp edx, 0x1000
jb 0x4c2a8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2abb
push edx
push ecx
call fcn.005bc4f7
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x108]
xor ecx, ebp
call fcn.005bca10
lea esp, [ebp + 0x10c]
pop ebp
ret
call fcn.004d7f94
int3
Function at 0x4c2dd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5daa29
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x616930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea eax, [edi + 4]
xorps xmm0, xmm0
mov dword [edi], 0x41ec84
push eax
movq qword [eax], xmm0
lea eax, [esi + 4]
mov dword [ebp - 4], 0
push eax
call fcn.005bddd5
add esp, 8
mov dword [edi], 0x420d60
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
mov dword [edi + 0x14], 0x41ee38
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], 0
mov dword [edi + 0x30], 0x41ee38
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0xf
mov byte [edi + 0x50], 0
mov dword [edi + 0x4c], 0x41ee38
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0xf
mov byte [edi + 0x6c], 0
mov dword [edi + 0x68], 0x41ee38
push esi
mov ecx, edi
mov byte [ebp - 4], 5
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
call fcn.004c3ef0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4c2ee0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5daaa1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x1c], eax
movq qword [edx + 4], xmm0
mov eax, dword [ebp + 8]
lea esi, [edx + 0x14]
mov dword [edx + 0x10], eax
lea eax, [ecx + 4]
push eax
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
mov dword [edx], 0x420d60
mov byte [edx + 0xc], 0
mov dword [ebp - 0x18], esi
call fcn.0044f9d0
mov dword [esi], 0x41ee38
mov esi, dword [ebp - 0x14]
lea eax, [edi + 4]
add esi, 0x30
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x18], esi
lea ecx, [esi + 4]
call fcn.0044f9d0
mov dword [esi], 0x41ee38
mov edi, dword [ebp - 0x14]
lea eax, [ebx + 4]
push eax
mov byte [ebp - 4], 2
lea esi, [edi + 0x4c]
lea ecx, [esi + 4]
mov dword [ebp - 0x18], esi
call fcn.0044f9d0
mov dword [esi], 0x41ee38
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0xf
mov byte [edi + 0x6c], 0
mov dword [edi + 0x68], 0x41ee38
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0
jne 0x4c3012
lea eax, [ebp - 0x38]
push eax
call fcn.004c5230
add esp, 4
push eax
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 5
call fcn.004bba00
mov dword [ebp - 0x38], 0x41ee38
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 6
cmp ecx, 0x10
jb 0x4c3069
inc ecx
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.00459d30
jmp 0x4c3069
push 1
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.004c5040
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 7
push eax
call fcn.004c5230
add esp, 4
push eax
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 8
call fcn.004bba00
mov dword [ebp - 0x38], 0x41ee38
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 9
cmp eax, 0x10
jb 0x4c3061
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00459d30
lea ecx, [ebp - 0x14]
call fcn.004c5150
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bca10
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4c3090
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dab11
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x616930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xorps xmm0, xmm0
movq qword [edi + 4], xmm0
mov dword [edi], 0x420d60
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
mov dword [edi + 0x14], 0x41ee38
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], 0
mov dword [edi + 0x30], 0x41ee38
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0xf
mov byte [edi + 0x50], 0
mov dword [edi + 0x4c], 0x41ee38
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0xf
mov byte [edi + 0x6c], 0
mov dword [edi + 0x68], 0x41ee38
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
call fcn.004c5230
add esp, 4
push eax
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 5
call fcn.004bba00
mov dword [ebp - 0x2c], 0x41ee38
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp eax, 0x10
jb 0x4c3194
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00459d30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c3ef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5daba3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x616930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [edi + 0x14]
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
lea eax, [ebx + 0x14]
push eax
call fcn.004bba00
lea eax, [ebx + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.004bba00
lea eax, [ebx + 0x4c]
push eax
lea ecx, [edi + 0x4c]
call fcn.004bba00
lea eax, [ebx + 0x68]
push eax
lea ecx, [edi + 0x68]
call fcn.004bba00
mov al, byte [ebx + 0xc]
mov byte [edi + 0xc], al
test al, al
je 0x4c3fd9
push 0x1c
call fcn.005bc4c7
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4c3f8e
mov ecx, dword [ebx + 0x84]
add ecx, 4
push ecx
lea ecx, [esi + 4]
call fcn.0044f9d0
mov dword [esi], 0x41ee38
jmp 0x4c3f90
xor esi, esi
push 0x1c
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x84], esi
call fcn.005bc4c7
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x4c3fd1
mov ecx, dword [ebx + 0x88]
add ecx, 4
push ecx
lea ecx, [esi + 4]
call fcn.0044f9d0
mov dword [esi], 0x41ee38
jmp 0x4c3fd3
xor esi, esi
mov dword [edi + 0x88], 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 4
Function at 0x4c5840
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword [0x624184]
test eax, eax
jne 0x4c58a1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp ecx, 4
jne 0x4c5895
shr eax, 0xa
mov ecx, eax
sub ecx, 3
je 0x4c5873
sub ecx, 1
je 0x4c5884
sub ecx, 1
jne 0x4c5878
mov eax, 1
shl eax, 0xa
or eax, 4
mov dword [0x624184], eax
ret
mov eax, 2
shl eax, 0xa
or eax, 4
mov dword [0x624184], eax
ret
mov eax, ecx
or eax, 0x800
mov dword [0x624184], eax
ret
Function at 0x4c5fc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db014
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x616930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
inc dword [0x624190]
mov eax, dword [0x62418c]
test eax, eax
jne 0x4c618b
push 0x34
call fcn.005bc4c7
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4c6181
push 0x34
push 0
push esi
call fcn.005be800
add esp, 0xc
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push 0x420e34
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x420e40
push eax
mov dword [esi + 4], eax
call edi
mov dword [esi + 0x2c], eax
test eax, eax
je 0x4c611a
push 0x420e5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi], eax
test eax, eax
je 0x4c611a
push 0x420e6c
push eax
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x4c611a
push 0x420e88
push dword [esi]
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x4c611a
push 0x420e98
push dword [esi]
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x4c611a
push 0x420ea8
push dword [esi]
call edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x4c611a
push 0x420eb8
push dword [esi]
call edi
mov dword [esi + 0x24], eax
test eax, eax
je 0x4c611a
push 0x420ec8
push dword [esi]
call edi
push 0x420ed8
push dword [esi]
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x30], eax
jmp 0x4c6183
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x4c6159
push eax
call edi
mov dword [esi], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4c6183
push eax
call edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
jmp 0x4c6183
xor esi, esi
mov dword [0x62418c], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c65d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db0fd
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x1c], 0xffffffff
je 0x4c66fb
call fcn.004bdc70
test al, al
je 0x4c66fb
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.004bd600
cmp dword [edi + 0x14], 0
mov dword [ebp - 4], 0
jne 0x4c663d
xor eax, eax
jmp 0x4c6648
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x4c6648
mov eax, dword [eax]
cmp dword [esi + 0x18], 0x10
lea ecx, [esi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0x440
jb 0x4c6688
mov ecx, dword [ecx]
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], eax
jne 0x4c66a1
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
jmp 0x4c66ac
cmp dword [ebx + 0x18], 0x10
lea eax, [ebx + 4]
jb 0x4c66ac
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x4c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x4c66d2
lea ecx, [ebp - 0x2c]
xor bl, bl
call fcn.00451c50
mov al, bl
jmp 0x4c66fd
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4c66e4
push dword [ebp - 0x30]
call eax
mov dword [esi + 0x1c], eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
mov bl, 1
call fcn.00451c50
mov al, bl
jmp 0x4c66fd
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bca10
mov esp, ebp
pop ebp
ret 8
Function at 0x4c76c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db3a3
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x616930]
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 eax, dword [ebp + 8]
shr eax, 0xe
and al, 1
je 0x4c7886
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 4]
call fcn.004bed90
mov edi, dword [ebp - 0x18]
mov eax, 0x92492493
mov esi, dword [ebp - 0x1c]
mov ecx, edi
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4c7826
lea ecx, [ebp - 0x5c]
call fcn.004bd2e0
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp edi, dword [ebp - 0x18]
je 0x4c7818
nop
push edi
lea ecx, [ebp - 0x12c]
call fcn.004bd250
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x5c]
call fcn.004bd4d0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.00451c50
lea ecx, [ebp - 0x5c]
call fcn.004bdc40
test al, al
jne 0x4c780c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x5c]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x40], xmm0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x420f60
xor esi, 0x4000
movups xmmword [ebp - 0x30], xmm0
call fcn.004bd250
mov dword [ebp - 0x20], 0
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.004c76c0
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], 0x420f60
test ecx, ecx
je 0x4c7804
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x3c]
call fcn.00451c50
add edi, 0x1c
cmp edi, dword [ebp - 0x18]
jne 0x4c7770
lea ecx, [ebp - 0x5c]
call fcn.00451c50
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 4], 4
test esi, esi
je 0x4c7869
cmp esi, edi
je 0x4c7847
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, edi
jne 0x4c7835
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
lea ecx, [ebp - 0x1c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00459fa0
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.005bca10
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
jb 0x4c7891
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4c7869
push 0xac
lea ecx, [ebp - 0x108]
call fcn.004595f0
call fcn.004bc8f0
push eax
call fcn.004bc8f0
push eax
call fcn.004bc8f0
push eax
call fcn.004bc8f0
push eax
push 0x3ec
lea ecx, [ebp - 0x108]
call fcn.004bd1f0
mov dword [ebp - 4], 5
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [ebp - 0x108]
call fcn.004c7fc0
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x108]
call fcn.004bec80
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.004bd150
push 0x5f7b0c
lea eax, [ebp - 0x1d8]
push eax
call fcn.005bde57
int3
Function at 0x4c7930
Capabilities:
Delete file

Disassembly:
add ecx, 8
cmp dword [ecx + 0x14], 0x10
jb 0x4c793b
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
ret

Function at 0x4ca3d0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db99e
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
push 0x421110
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x41], bl
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
test edi, edi
je 0x4ca541
cmp dword [esi + 0x10], ebx
jne 0x4ca46d
mov edx, dword [0x6101dc]
mov ecx, edx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], bl
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ca448
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00459b10
mov ebx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], ebx
lea esi, [ebp - 0x68]
push esi
lea ecx, [ebp - 0x40]
call fcn.0044f9d0
mov dword [ebp - 4], 2
test bl, 1
je 0x4ca4be
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x4ca4be
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x4ca4b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca560
push edx
push ecx
call fcn.005bc4f7
add esp, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004c9950
add esp, 8
push dword [ebp - 0x4c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
mov byte [ebp - 4], 4
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
push edi
setne byte [ebp - 0x41]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x4ca511
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00459da0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], 6
cmp ecx, 0x10
jb 0x4ca541
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00459d30
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bca10
mov esp, ebp
pop ebp
ret
call fcn.004d7f94
int3