joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002ad20
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x101923cb
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov esi, dword [esp + 0x138]
mov ecx, esi
call fcn.10010600
cmp byte [0x1026e481], 0
jne 0x1002adca
push 0x200
push 0
push 0x1026e0c8
call fcn.1018fc10
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0x1026e0c8
mov dword [esp + 0x10], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x1002adc3
mov ecx, dword [str.Win32]
mov edx, dword [0x101e457c]
mov ax, word [0x101e4580]
mov dword [0x1026e0c8], ecx
mov dword [0x1026e0cc], edx
mov word [0x1026e0d0], ax
mov byte [0x1026e481], 1
lea ecx, [esp + 0xc]
call fcn.1000a870
push 0x1026e0c8
lea ecx, [esp + 0x10]
mov dword [esp + 0x134], 0
call fcn.1000dc00
lea ecx, [esp + 0xc]
call fcn.1000c320
push eax
mov ecx, esi
call fcn.10010b90
lea ecx, [esp + 0xc]
mov dword [esp + 0x130], 0xffffffff
call fcn.1000a910
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.1018f87e
add esp, 0x12c
ret

Function at 0x1002bbc0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
fld qword [ecx]
sub esp, 0x24
lea eax, [esp]
push eax
sub esp, 8
fstp qword [esp]
call fcn.1002b920
add esp, 0xc
test al, al
je 0x1002bc40
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.1002de80
mov edx, dword [esp + 0x18]
movzx ecx, word [esp + 0x1c]
mov eax, dword [esp + 0x14]
add edx, 0x76c
mov word [esi + 8], dx
movzx edx, word [esp + 0x10]
add eax, 1
mov word [esi + 0xc], cx
movzx ecx, word [esp + 8]
mov word [esi + 0xe], dx
movzx edx, word [esp + 4]
mov word [esi + 0xa], ax
mov ax, word [esp + 0xc]
mov word [esi + 0x10], ax
mov word [esi + 0x12], cx
mov word [esi + 0x14], dx
mov word [esi + 0x16], 0
mov byte [esi + 0x18], 1
pop esi
add esp, 0x24
ret
mov ecx, dword [esp + 0x2c]
add esp, 0x24
jmp fcn.1002e440

Function at 0x1002c900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101924f0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
push str.generateCurrentGmtDateRFC822
push eax
lea ecx, [esp + 0xc]
call fcn.10061630
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
call fcn.1002df00
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call fcn.1002e440
mov ecx, dword [esp + 0x40]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.1002bcf0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.1002dec0
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.100616a0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
add esp, 0x38
ret
Function at 0x1002e4c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10192608
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call fcn.10061940
xor eax, eax
mov cl, 1
mov dword [esp + 8], vtable.ChilkatSysTime.0
mov word [esp + 0x10], ax
mov word [esp + 0x12], ax
mov word [esp + 0x14], ax
mov word [esp + 0x16], ax
mov word [esp + 0x18], ax
mov word [esp + 0x1a], ax
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], ax
mov byte [esp + 0x20], al
mov byte [esp + 0x21], cl
mov byte [esp + 0x22], cl
mov byte [esp + 0x23], al
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 8]
mov dword [esp + 0x30], eax
call fcn.1002e440
push esi
lea ecx, [esp + 0xc]
call fcn.1002e110
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 8], vtable.ChilkatSysTime.0
call fcn.10061a60
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

Function at 0x1002f030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10199258
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.10010600
cmp byte [0x1026e48e], 0
je 0x1002f07d
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
call fcn.1002eea0
test al, al
je 0x1002f069
mov ecx, dword [0x1026e878]
test ecx, ecx
je 0x1002f069
call fcn.1005ff00
lea ecx, [esp + 0xc]
call fcn.100182e0
lea eax, [esp + 0xc]
push eax
push 7
push 0x3e8
push 0x1026e490
mov dword [esp + 0x40], 0
call fcn.1007de20
add esp, 0x10
push esi
push str.base64
lea ecx, [esp + 0x14]
call fcn.1001d4e0
mov ecx, dword [0x1026e878]
mov bl, al
call fcn.1005ff30
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.10018a90
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret

Function at 0x1002fb90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10199258
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.100182e0
mov esi, dword [esp + 0x38]
test esi, esi
mov dword [esp + 0x30], 0
je 0x1002fbf4
push esi
lea ecx, [esp + 0x10]
call fcn.1001d220
test eax, eax
je 0x1002fc2e
push eax
push esi
call fcn.1002f280
add esp, 8
test al, al
je 0x1002fc2e
push esi
lea ecx, [esp + 0x10]
call fcn.10018010
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.1001d4e0
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.10018a90
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.10018a90
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x1002fdf0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x180c
call fcn.1018ff00
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x1808], eax
push esi
mov esi, dword [esp + 0x1814]
lea eax, [esp + 0x808]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1002fe59
lea ecx, [esp + 4]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.1000ab80
pop esi
mov ecx, dword [esp + 0x1808]
xor ecx, esp
call fcn.1018f87e
add esp, 0x180c
ret
lea eax, [esp + 0x808]
push eax
mov ecx, esi
call fcn.1000e4a0
mov ecx, dword [esp + 0x180c]
pop esi
xor ecx, esp
call fcn.1018f87e
add esp, 0x180c
ret

Function at 0x1002ffe0
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x10192841
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x348], eax
push ebx
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x35c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x36c]
mov esi, dword [esp + 0x370]
lea ecx, [esp + 0x10]
call fcn.1000a870
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x368], 0
call fcn.1000ea80
push 0x5c
push 0x2f
lea ecx, [esp + 0x18]
call fcn.1000ec50
lea ecx, [esp + 0x10]
call fcn.1000cf50
cmp eax, 0x104
jle 0x1003012e
lea ecx, [esp + 0x240]
call fcn.1000a870
push 0
lea eax, [esp + 0x244]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x370], 1
call fcn.1002fd50
add esp, 0xc
lea ecx, [esp + 0x128]
mov bl, al
call fcn.1000a870
test bl, bl
mov byte [esp + 0x364], 2
je 0x100300bd
push 0x101e4f08
lea ecx, [esp + 0x12c]
call fcn.1000df30
lea ecx, [esp + 0x240]
call fcn.1000c320
push eax
lea ecx, [esp + 0x12c]
call fcn.1000df30
lea ecx, [esp + 0x128]
call fcn.1000d460
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x10030101
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x100300ff
mov esi, 1
test esi, esi
lea ecx, [esp + 0x128]
setne bl
mov byte [esp + 0x364], 1
call fcn.1000a910
lea ecx, [esp + 0x240]
mov byte [esp + 0x364], 0
call fcn.1000a910
jmp 0x10030178
lea ecx, [esp + 0x10]
call fcn.1000d460
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test ebx, ebx
jne 0x10030175
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov edi, eax
je 0x10030169
push edi
mov ecx, esi
call fcn.10061530
lea edx, [esp + 0x10]
push edx
push str.failedToDeleteFilepath
mov ecx, esi
call fcn.10060f80
cmp edi, 2
jne 0x10030173
mov ebx, 1
test ebx, ebx
setne bl
lea ecx, [esp + 0x10]
mov dword [esp + 0x364], 0xffffffff
call fcn.1000a910
mov al, bl
mov ecx, dword [esp + 0x35c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x348]
xor ecx, esp
call fcn.1018f87e
add esp, 0x358
ret
Function at 0x10030a60
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x101928f6
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov edi, dword [esp + 0x258]
mov ebx, dword [esp + 0x260]
mov esi, dword [esp + 0x25c]
mov ebp, dword [esp + 0x264]
mov dword [ebx], 0
mov ecx, edi
mov dword [esi], 0xffffffff
call fcn.1000c960
test al, al
je 0x10030ae8
test ebp, ebp
je 0x10030ae1
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
push str.GetAttributes:_filename_is_empty
mov ecx, ebp
call edx
xor al, al
jmp 0x10030bb0
lea ecx, [esp + 0x14]
call fcn.1000a870
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x254], 0
call fcn.1000ea80
push 0x5c
push 0x2f
lea ecx, [esp + 0x1c]
call fcn.1000ec50
lea ecx, [esp + 0x14]
call fcn.1000cf50
test eax, eax
jle 0x10030b75
lea ecx, [esp + 0x12c]
call fcn.1000a870
push ebp
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x25c], 1
call fcn.1002fe80
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.1000d460
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0x12c]
mov dword [esi], eax
mov byte [esp + 0x250], 0
call fcn.1000a910
jmp 0x10030b87
lea ecx, [esp + 0x14]
call fcn.1000d460
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x10030b97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
cmp dword [esi], 0xffffffff
lea ecx, [esp + 0x14]
setne bl
mov dword [esp + 0x250], 0xffffffff
call fcn.1000a910
mov al, bl
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.1018f87e
add esp, 0x240
ret
Function at 0x10030be0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x10192946
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov edi, dword [esp + 0x254]
mov esi, dword [esp + 0x258]
lea ecx, [esp + 0x10]
call fcn.1000a870
xor ebx, ebx
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x250], ebx
call fcn.1000ea80
push 0x5c
push 0x2f
lea ecx, [esp + 0x18]
call fcn.1000ec50
lea ecx, [esp + 0x10]
call fcn.1000cf50
test eax, eax
jle 0x10030cb3
lea ecx, [esp + 0x128]
call fcn.1000a870
push ebx
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x258], 1
call fcn.1002fe80
add esp, 0xc
push ebx
lea ecx, [esp + 0x12c]
call fcn.1000d460
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [esp + 0x128]
mov edi, eax
mov byte [esp + 0x24c], bl
call fcn.1000a910
jmp 0x10030cc6
push ebx
lea ecx, [esp + 0x14]
call fcn.1000d460
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
cmp edi, ebx
jne 0x10030d15
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10030cef
lea ecx, [esp + 0x10]
mov dword [esp + 0x24c], 0xffffffff
call fcn.1000a910
mov al, 1
jmp 0x10030d2e
cmp esi, ebx
je 0x10030d13
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push 1
push str.createDirWin32
mov ecx, esi
call eax
mov ecx, esi
call fcn.10061460
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
cmp edi, ebx
lea ecx, [esp + 0x10]
setne bl
mov dword [esp + 0x24c], 0xffffffff
call fcn.1000a910
mov al, bl
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.1018f87e
add esp, 0x240
ret
Function at 0x10030d60
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10192996
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov esi, dword [esp + 0x250]
lea ecx, [esp + 0xc]
call fcn.1000a870
xor ebx, ebx
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x24c], ebx
call fcn.1000ea80
push 0x5c
push 0x2f
lea ecx, [esp + 0x14]
call fcn.1000ec50
push ebx
lea eax, [esp + 0x10]
push 1
push eax
call fcn.100301c0
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.1000c960
test al, al
jne 0x10030e42
lea ecx, [esp + 0x124]
call fcn.1000a870
push ebx
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x254], 1
call fcn.1002fe80
mov eax, dword [esp + 0x260]
add esp, 0xc
push eax
lea ecx, [esp + 0x128]
call fcn.1000d460
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x124]
mov esi, eax
mov byte [esp + 0x248], bl
call fcn.1000a910
jmp 0x10030e5c
mov ecx, dword [esp + 0x254]
push ecx
lea ecx, [esp + 0x10]
call fcn.1000d460
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
cmp esi, ebx
lea ecx, [esp + 0xc]
setne bl
mov dword [esp + 0x248], 0xffffffff
call fcn.1000a910
mov al, bl
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.1018f87e
add esp, 0x240
ret

Function at 0x10031090
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x101927eb
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov esi, dword [esp + 0x138]
lea ecx, [esp + 0xc]
call fcn.1000a870
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x134], 0
call fcn.1000ae10
mov eax, dword [esp + 0x13c]
push eax
lea ecx, [esp + 0x10]
call fcn.1000d460
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
lea ecx, [esp + 0xc]
setne bl
mov dword [esp + 0x130], 0xffffffff
call fcn.1000a910
mov al, bl
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1018f87e
add esp, 0x128
ret
Function at 0x10031150
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10192a1b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x118], eax
push esi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov esi, dword [esp + 0x134]
lea ecx, [esp + 8]
call fcn.1000a870
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x130], 0
call fcn.1000ae10
lea ecx, [esp + 8]
call fcn.1000d460
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x12c], 0xffffffff
call fcn.1000a910
mov eax, esi
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1018f87e
add esp, 0x128
ret

Function at 0x10031200
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x10192a7c
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x478]
mov dword fs:[0], eax
mov esi, dword [esp + 0x488]
mov edi, dword [esp + 0x48c]
mov ebp, dword [esp + 0x490]
lea ecx, [esp + 0x14]
call fcn.1000a870
lea ecx, [esp + 0x12c]
mov dword [esp + 0x480], 0
call fcn.1000a870
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x484], 1
call fcn.1000ea80
push edi
lea ecx, [esp + 0x130]
call fcn.1000ea80
push 0x5c
push 0x2f
lea ecx, [esp + 0x1c]
call fcn.1000ec50
push 0x5c
push 0x2f
lea ecx, [esp + 0x134]
call fcn.1000ec50
lea ecx, [esp + 0x14]
call fcn.1000c960
test al, al
je 0x100312f0
lea ecx, [esp + 0x12c]
call fcn.1000c960
test al, al
je 0x100312f0
lea ecx, [esp + 0x12c]
call fcn.1000d460
push eax
lea ecx, [esp + 0x18]
call fcn.1000d460
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
jmp 0x10031393
lea ecx, [esp + 0x35c]
call fcn.1000a870
lea ecx, [esp + 0x244]
mov byte [esp + 0x480], 2
call fcn.1000a870
push 0
lea eax, [esp + 0x360]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x48c], 3
call fcn.1002fe80
push 0
lea edx, [esp + 0x254]
push edx
lea eax, [esp + 0x140]
push eax
call fcn.1002fe80
add esp, 0x18
lea ecx, [esp + 0x244]
call fcn.1000d460
push eax
lea ecx, [esp + 0x360]
call fcn.1000d460
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
lea ecx, [esp + 0x244]
setne bl
mov byte [esp + 0x480], 2
call fcn.1000a910
lea ecx, [esp + 0x35c]
mov byte [esp + 0x480], 1
call fcn.1000a910
test bl, bl
jne 0x100313a2
test ebp, ebp
je 0x100313a2
mov ecx, ebp
call fcn.10061460
lea ecx, [esp + 0x12c]
mov byte [esp + 0x480], 0
call fcn.1000a910
lea ecx, [esp + 0x14]
mov dword [esp + 0x480], 0xffffffff
call fcn.1000a910
mov al, bl
mov ecx, dword [esp + 0x478]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.1018f87e
add esp, 0x470
ret
jmp 0x10031200
Function at 0x10031e80
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x10192a7c
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x478]
mov dword fs:[0], eax
mov esi, dword [esp + 0x488]
mov edi, dword [esp + 0x48c]
mov ebp, dword [esp + 0x490]
lea ecx, [esp + 0x14]
call fcn.1000a870
lea ecx, [esp + 0x12c]
mov dword [esp + 0x480], 0
call fcn.1000a870
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x484], 1
call fcn.1000ea80
push edi
lea ecx, [esp + 0x130]
call fcn.1000ea80
push 0x5c
push 0x2f
lea ecx, [esp + 0x1c]
call fcn.1000ec50
push 0x5c
push 0x2f
lea ecx, [esp + 0x134]
call fcn.1000ec50
lea ecx, [esp + 0x14]
call fcn.1000c960
test al, al
je 0x100312f0
lea ecx, [esp + 0x12c]
call fcn.1000c960
test al, al
je 0x100312f0
lea ecx, [esp + 0x12c]
call fcn.1000d460
push eax
lea ecx, [esp + 0x18]
call fcn.1000d460
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
jmp 0x10031393
lea ecx, [esp + 0x35c]
call fcn.1000a870
lea ecx, [esp + 0x244]
mov byte [esp + 0x480], 2
call fcn.1000a870
push 0
lea eax, [esp + 0x360]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x48c], 3
call fcn.1002fe80
push 0
lea edx, [esp + 0x254]
push edx
lea eax, [esp + 0x140]
push eax
call fcn.1002fe80
add esp, 0x18
lea ecx, [esp + 0x244]
call fcn.1000d460
push eax
lea ecx, [esp + 0x360]
call fcn.1000d460
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
lea ecx, [esp + 0x244]
setne bl
mov byte [esp + 0x480], 2
call fcn.1000a910
lea ecx, [esp + 0x35c]
mov byte [esp + 0x480], 1
call fcn.1000a910
test bl, bl
jne 0x100313a2
test ebp, ebp
je 0x100313a2
mov ecx, ebp
call fcn.10061460
lea ecx, [esp + 0x12c]
mov byte [esp + 0x480], 0
call fcn.1000a910
lea ecx, [esp + 0x14]
mov dword [esp + 0x480], 0xffffffff
call fcn.1000a910
mov al, bl
mov ecx, dword [esp + 0x478]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.1018f87e
add esp, 0x470
ret
jmp 0x10031200
Function at 0x10033370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1019de58
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
xor ebx, ebx
cmp ecx, ebx
je 0x10033417
call fcn.1005ff00
lea ecx, [esp + 0xc]
call fcn.10061a50
mov dword [esp + 0xc], vtable.ExtPtrArray.0
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], ebx
call fcn.100330d0
mov ecx, dword [esi + 4]
call fcn.1005ff30
lea ecx, [esp + 0xc]
call fcn.10032bb0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.10033040
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
lea ecx, [esi + 8]
call fcn.10032bb0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret

Function at 0x10033ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10195df0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.1005ff60
push str.ParseUrl
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0
call fcn.100615f0
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x2c]
push eax
mov byte [esp + 0x30], 1
call fcn.1000c320
push eax
lea ecx, [esi + 0x2bc]
call fcn.10081840
lea ecx, [esp + 0xc]
mov bl, al
mov byte [esp + 0x2c], 0
call fcn.100616a0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1005ff90
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret 4

Function at 0x10034470
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x1000483f
cmp dword [ecx + 0x2ac], 0x991144aa
jne 0x1000483f
mov byte [ecx + 0x2b0], 1
jmp 0x10034470
ret
push 0xffffffffffffffff
push 0x10195df0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.1005ff60
mov eax, dword [esi + 0x2c]
mov edx, dword [eax + 0x20]
lea edi, [esi + 0x2c]
mov ecx, edi
mov dword [esp + 0x2c], 0
call edx
push str.FileClose
push edi
lea ecx, [esp + 0x14]
call fcn.10061630
push edi
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.10007cf0
lea ecx, [esi + 0x2c0]
call fcn.10067dd0
lea ecx, [esp + 0xc]
mov byte [esi + 0x2bc], 0
mov byte [esp + 0x2c], 0
call fcn.100616a0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1005ff90
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret