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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535cf8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x56d940]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp + 8]
call fcn.00408d10
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4b1ef0
mov dword [ebp - 0x10], 0
jmp 0x4b1ef7
mov dword [ebp - 0x10], 1
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00403480
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402cd0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4b1f30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.004220f0
mov dword [ebp - 0xc], eax
push 0x548efc
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4b1f62
xor eax, eax
jmp 0x4b2017
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4b1f91
xor eax, eax
jmp 0x4b2017
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050a920
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00422160
add esp, 8
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x4b2015
mov eax, 1
jmp 0x4b2017
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4b3550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5329d8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2050
call fcn.00507350
mov eax, dword [0x56d940]
xor eax, ebp
mov dword [ebp - 0x38], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 1
push 0
push 0
push 0
push 0
push 0
push 0x5482fc
lea ecx, [ebp - 0x24]
call fcn.004e381d
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 3
push 0
push 0
push 0x600002
push 0
lea ecx, [ebp + 8]
call fcn.00420f50
push eax
lea ecx, [ebp - 0x24]
call fcn.004e44c9
mov dword [ebp - 0x2058], eax
mov eax, dword [ebp - 0x2058]
mov dword [ebp - 0x28], eax
push 0
push 0x80
push 2
push 0
push 2
push 0xc0000000
lea ecx, [ebp + 0xc]
call fcn.00420f50
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x4b364b
mov dword [ebp - 0x2040], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004e402c
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402cd0
mov eax, dword [ebp - 0x2040]
jmp 0x4b383f
xor ecx, ecx
mov word [ebp - 0x2038], cx
push 0x1ffe
push 0
lea edx, [ebp - 0x2036]
push edx
call fcn.00506bf0
add esp, 0xc
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 0x1000
lea eax, [ebp - 0x2038]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 0x205c], eax
mov ecx, dword [ebp - 0x205c]
mov dword [ebp - 0x34], ecx
push 0
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2038]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x34], 0
jg 0x4b3678
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4b379f
mov dword [ebp - 4], 2
jmp 0x4b37d7
jmp 0x4b3808
mov dword [ebp - 0x2054], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004e402c
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402cd0
mov eax, dword [ebp - 0x2054]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.005007b7
mov esp, ebp
pop ebp
ret
Function at 0x4b5a10
Capabilities:
Create pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534908
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x56d940]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
call fcn.00402c10
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0xc
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4b5a8c
jmp 0x4b5b6f
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x60], 0x101
xor ecx, ecx
mov word [ebp - 0x5c], cx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x8c]
push eax
push 0
push 0
push 0x20
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4b5ae9
jmp 0x4b5b6f
cmp dword [ebp + 0xc], 0
je 0x4b5af1
jmp 0x4b5b6f
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x90]
call fcn.00402c50
push 0x3e8
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4b5b37
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x4b5b37
lea ecx, [ebp - 0x90]
call fcn.00402cd0
jmp 0x4b5b6f
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x90]
call fcn.00402cd0
xor eax, eax
jne 0x4b5a55
cmp dword [ebp - 0x14], 0
je 0x4b5b86
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 0
je 0x4b5b9d
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4b5d20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53903b
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x56d940]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b5d61
xor eax, eax
jmp 0x4b5e57
lea ecx, [ebp - 0x194]
push ecx
call fcn.004c4f90
mov dword [ebp - 4], 0
xor ecx, ecx
mov esi, 3
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x194]
call fcn.004c5250
movzx edx, al
test edx, edx
jne 0x4b5db7
mov dword [ebp - 0x19c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.004c5120
mov eax, dword [ebp - 0x19c]
jmp 0x4b5e57
mov dword [ebp - 0x198], 0
jmp 0x4b5dd2
mov eax, dword [ebp - 0x198]
add eax, 1
mov dword [ebp - 0x198], eax
lea ecx, [ebp - 0x194]
call fcn.004b5d00
movzx ecx, ax
cmp dword [ebp - 0x198], ecx
jge 0x4b5e14
push 0x10000
push 0
push 0
push 1
movzx edx, word [ebp - 0x198]
push edx
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x194]
call fcn.004c5ad0
movzx eax, al
test eax, eax
jne 0x4b5e12
jmp 0x4b5e14
jmp 0x4b5dc3
push 0
push 0
lea ecx, [ebp - 0x1b8]
push ecx
lea ecx, [ebp - 0x194]
call fcn.004c55b0
lea ecx, [ebp - 0x1b8]
call fcn.004b5cb0
mov dword [ebp - 0x1bc], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.004c5120
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005007b7
mov esp, ebp
pop ebp
ret

Function at 0x4b60d0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x56d940]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x88], ecx
mov byte [ebp - 0x48], 0
push 0x3f
push 0
lea eax, [ebp - 0x47]
push eax
call fcn.00506bf0
add esp, 0xc
push 0x40
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x88]
call fcn.004b69e0
mov byte [ebp - 0x80], 0
push 0x37
push 0
lea eax, [ebp - 0x7f]
push eax
call fcn.00506bf0
add esp, 0xc
mov dword [ebp - 0x84], 0
jmp 0x4b6141
mov ecx, dword [ebp - 0x84]
add ecx, 1
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x84], 0x38
jge 0x4b6167
mov edx, dword [ebp - 0x84]
movsx eax, byte [edx + str.91__]
mov ecx, dword [ebp - 0x84]
mov dl, byte [ebp + eax - 0x49]
mov byte [ebp + ecx - 0x80], dl
jmp 0x4b6132
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x88]
call fcn.004b6190
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005007b7
mov esp, ebp
pop ebp
ret 8
Function at 0x4b63d0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x56d940]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x114], ecx
mov byte [ebp - 0x68], 0
push 0x3f
push 0
lea eax, [ebp - 0x67]
push eax
call fcn.00506bf0
add esp, 0xc
mov byte [ebp - 0xc8], 0
push 0x3f
push 0
lea ecx, [ebp - 0xc7]
push ecx
call fcn.00506bf0
add esp, 0xc
mov byte [ebp - 0x24], 0
xor edx, edx
mov dword [ebp - 0x23], edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov dword [ebp - 0x13], edx
mov dword [ebp - 0xf], edx
mov dword [ebp - 0xb], edx
mov word [ebp - 7], dx
mov byte [ebp - 5], dl
mov byte [ebp - 0x88], 0
xor eax, eax
mov dword [ebp - 0x87], eax
mov dword [ebp - 0x83], eax
mov dword [ebp - 0x7f], eax
mov dword [ebp - 0x7b], eax
mov dword [ebp - 0x77], eax
mov dword [ebp - 0x73], eax
mov dword [ebp - 0x6f], eax
mov word [ebp - 0x6b], ax
mov byte [ebp - 0x69], al
mov byte [ebp - 0x108], 0
push 0x3f
push 0
lea ecx, [ebp - 0x107]
push ecx
call fcn.00506bf0
add esp, 0xc
push 0x40
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x114]
call fcn.004b69e0
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x114]
call fcn.004b6780
mov ecx, 8
lea esi, [ebp - 0xc8]
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xa8]
mov ecx, 8
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10c], 0
jmp 0x4b64e9
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x10
jge 0x4b651a
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, 0xf
sub edx, dword [ebp - 0x10c]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x114]
call fcn.004b65d0
jmp 0x4b64da
mov ecx, 8
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x108]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [ebp - 0x88]
lea edi, [ebp - 0xe8]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x110], 0
jmp 0x4b6558
mov edx, dword [ebp - 0x110]
add edx, 1
mov dword [ebp - 0x110], edx
cmp dword [ebp - 0x110], 0x40
jge 0x4b6589
mov eax, dword [ebp - 0x110]
movsx ecx, byte [eax + 0x548088]
mov edx, dword [ebp - 0x114]
add edx, dword [ebp - 0x110]
mov al, byte [ebp + ecx - 0x109]
mov byte [edx + 0x640], al
jmp 0x4b6549
push 0x40
mov ecx, dword [ebp - 0x114]
add ecx, 0x640
push ecx
mov edx, dword [ebp - 0x114]
add edx, 0x688
push edx
mov ecx, dword [ebp - 0x114]
call fcn.004b6a40
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005007b7
mov esp, ebp
pop ebp
ret 8

Function at 0x4b6780
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x4b679b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jge 0x4b67bc
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + str.:2_]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + edx - 1]
mov byte [eax], dl
jmp 0x4b6792
mov esp, ebp
pop ebp
ret 8
Function at 0x4b67d0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x4b67eb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x30
jge 0x4b680c
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x547e38]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + edx - 1]
mov byte [eax], dl
jmp 0x4b67e2
mov esp, ebp
pop ebp
ret 8

Function at 0x4b6990
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x4b69ab
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jge 0x4b69cc
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x548068]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + edx - 1]
mov byte [eax], dl
jmp 0x4b69a2
mov esp, ebp
pop ebp
ret 8
Function at 0x4bae40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x533f48
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x84]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 4]
mov esi, dword [edi + 0x14]
sub eax, 2
mov ebx, 1
cmp esi, eax
ja 0x4bae9c
cmp dword [edi + 0x18], eax
je 0x4bae9c
push ebx
push eax
mov ecx, edi
call fcn.00401990
test al, al
je 0x4bae9c
push esi
mov ecx, edi
call fcn.00401950
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
sub ecx, ebx
add esi, ebx
mov dword [esp + 0x10], ecx
cmp esi, ecx
je 0x4bb012
jmp 0x4baeb8
mov ecx, dword [esp + 0x10]
mov al, byte [esi]
add esi, ebx
mov byte [esp + 0x18], al
cmp al, 0x22
je 0x4bb012
cmp al, 0x5c
jne 0x4baf83
cmp esi, ecx
je 0x4baf9c
mov al, byte [esi]
movsx eax, al
add esi, ebx
add eax, 0xffffffde
mov dword [esp + 0x84], esi
cmp eax, 0x53
ja case.0x4baef9.35
movzx eax, byte [eax + 0x4bb054]
jmp dword [eax*4 + 0x4bb02c]
push 0x22
jmp 0x4baf88
push 0x2f
jmp 0x4baf88
push 0x5c
jmp 0x4baf88
push 8
jmp 0x4baf88
push 0xc
jmp 0x4baf88
push 0xa
jmp 0x4baf88
push 0xd
jmp 0x4baf88
push 9
jmp 0x4baf88
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x14]
push edx
push ecx
push eax
lea ecx, [esp + 0x90]
mov edx, ebp
call fcn.004bb0b0
test al, al
je 0x4bafc9
mov ecx, dword [esp + 0x14]
push ecx
lea esi, [esp + 0x58]
call fcn.004b9710
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov dword [esp + 0x84], ebx
call fcn.0042b490
mov ecx, esi
mov dword [esp + 0x78], 0xffffffff
call fcn.00401490
mov esi, dword [esp + 0x84]
jmp 0x4baf90
mov edx, dword [esp + 0x18]
push edx
push ebx
mov ecx, edi
call fcn.00406640
cmp esi, dword [esp + 0x10]
jne 0x4baeb4
jmp 0x4bb012
push str.Empty_escape_sequence_in_string
lea ecx, [esp + 0x20]
call fcn.00401410
mov ecx, dword [esp + 0x80]
push esi
mov esi, ebp
lea ebx, [esp + 0x20]
mov dword [esp + 0x7c], 0
call fcn.004bb330
mov ecx, ebx
jmp 0x4bb00b
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8
push str.Bad_escape_sequence_in_string
lea ecx, [esp + 0x3c]
call fcn.00401410
mov ecx, dword [esp + 0x80]
push esi
mov esi, ebp
lea ebx, [esp + 0x3c]
mov dword [esp + 0x7c], 2
call fcn.004bb330
mov ecx, ebx
mov bl, al
call fcn.00401490
mov al, bl
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8

Function at 0x4bca40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x533e98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.00401450
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 0
call fcn.0042b370
push eax
mov ecx, esi
call fcn.00401450
lea ecx, [esp + 8]
call fcn.00401490
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
add esp, 0x2c
ret
Function at 0x4bdf70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x533dd9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov dword [esp + 0xc], 0
mov ecx, esi
mov dword [esp + 0x1c], 1
call fcn.00402c10
push 0x2f
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], 1
call fcn.00402ed0
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.00408de0
sub eax, edi
dec eax
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.00402fb0
push eax
mov ecx, esi
mov byte [esp + 0x20], 2
call fcn.00402cf0
lea ecx, [esp + 0x10]
call fcn.00402cd0
lea ecx, [esp + 0x28]
call fcn.00402cd0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x4be020
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x56d940]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4be072
cmp dword [esp + 4], 5
jbe 0x4be072
cmp dword [esp + 8], 4
jae 0x4be072
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.005007b7
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor eax, eax
call fcn.005007b7
add esp, 0x118
ret

Function at 0x4be100
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5333c8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0
call fcn.00408d10
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push 0xffffffffffffffff
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.00403480
lea ecx, [esp + 0x18]
call fcn.00402cd0
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret
Function at 0x4be2d0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x53476e
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x56d940]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], 1
cmp dword [ebp + 0x814], esi
je 0x4be33f
push ecx
lea eax, [ebp + 0x810]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.00402c30
call fcn.004be100
add esp, 4
cmp eax, esi
jne 0x4be508
push esi
push esi
push esi
push esi
push 1
push esi
lea ecx, [ebp - 0x38]
call fcn.004e381d
push esi
push str.http
lea ecx, [ebp + 0x80c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
call fcn.00402e50
test eax, eax
jl 0x4be421
lea ecx, [ebp - 0x14]
call fcn.00402c10
push ecx
mov bl, 4
mov byte [ebp - 4], bl
lea edx, [ebp + 0x80c]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
call fcn.00402c30
lea eax, [ebp - 0x20]
push eax
call fcn.004be200
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00402cf0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.00402cd0
lea ecx, [ebp - 0x14]
call fcn.00403460
test al, al
jne 0x4be3dd
lea ecx, [ebp + 0x80c]
call fcn.00420f50
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea ecx, [ebp - 0x14]
call fcn.00420f50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push 0x7d0
push 2
lea ecx, [ebp - 0x38]
call fcn.0040b550
push esi
push esi
push 0x80400002
push esi
lea ecx, [ebp + 0x80c]
call fcn.00420f50
push eax
lea ecx, [ebp - 0x38]
call fcn.004e44c9
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.004be170
cmp eax, esi
je 0x4be46a
lea ecx, [ebp - 0x14]
call fcn.00402cd0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004e402c
lea ecx, [ebp + 0x80c]
call fcn.00402cd0
lea ecx, [ebp + 0x810]
call fcn.00402cd0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.005007b7
add ebp, 0x804
mov esp, ebp
pop ebp
ret
push esi
push 0x80
push 2
push esi
push 2
push 0xc0000000
lea ecx, [ebp + 0x810]
call fcn.00420f50
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp ebx, 0xffffffff
je 0x4be419
mov dword [ebp - 0x24], esi
lea esp, [esp]
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
push 0x400
lea eax, [ebp]
push eax
mov ecx, edi
call edx
push 0
mov esi, eax
lea eax, [ebp - 0x24]
push eax
push esi
lea ecx, [ebp]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
jg 0x4be4a0
mov edx, dword [edi]
mov eax, dword [edx + 0x4c]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], 0
call fcn.004e3eb6
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x14]
call fcn.00402cd0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004e402c
lea ecx, [ebp + 0x80c]
call fcn.00402cd0
lea ecx, [ebp + 0x810]
call fcn.00402cd0
mov eax, 1
jmp 0x4be445