joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001ecf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4868
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100f101c]
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, dword [ebp + 8]
push esi
call fcn.100a3210
add esp, 4
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 0
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x680053
lea edx, [eax + 2]
mov dword [ebp - 0x3c], 0x650069
mov dword [ebp - 0x38], 0x64006c
mov dword [ebp - 0x34], 0x32005f
mov dword [ebp - 0x30], 0x340033
mov dword [ebp - 0x2c], 0x450035
mov dword [ebp - 0x28], 0x700078
mov dword [ebp - 0x24], 0x6f006c
mov dword [ebp - 0x20], 0x650072
mov dword [ebp - 0x1c], 0x2e0072
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001eda2
sub eax, edx
lea ecx, [ebp - 0x58]
sar eax, 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100039c0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.100039b0
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x1001edd6
mov esi, dword [esi]
lea ecx, [ebp - 0x58]
call fcn.1000f600
xor ecx, ecx
test al, al
setne cl
add ecx, 0x32
mov word [esi + 0xa], cx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1001ee29
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001ee1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ee61
push edx
push ecx
call fcn.1007fceb
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0xffffffff
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.1007f947
mov esp, ebp
pop ebp
ret 4
call fcn.10083a12
int3

Function at 0x1001ee70
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x100f101c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x144]
push eax
call fcn.1000f170
add esp, 4
test al, al
jne 0x1001eeab
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f947
mov esp, ebp
pop ebp
ret 4
push esi
xor esi, esi
cmp dword [ebp - 0x140], 5
jne 0x1001eee9
mov eax, dword [ebp - 0x13c]
cmp eax, 2
jne 0x1001eee0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp byte [ebp - 0x2a], 1
jne 0x1001eed9
cmp word [ebp - 0x28], 9
je 0x1001eee5
mov esi, 1
jmp 0x1001eef4
cmp eax, 1
ja 0x1001eee9
xor esi, esi
jmp 0x1001eef4
mov eax, 1
cmp byte [ebp - 0x2a], al
cmovne esi, eax
call fcn.1000f0e0
test al, al
mov edx, 0x40
mov ecx, 0x20
cmovne ecx, edx
push ecx
push esi
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
push str._d._d._d._d
push edi
call fcn.100091f0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
mov al, 1
pop esi
pop edi
call fcn.1007f947
mov esp, ebp
pop ebp
ret 4
Function at 0x100248c0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b516d
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x100f101c]
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 dword [ebp - 0xa4], ecx
mov dword [ebp - 0x9c], ecx
push 8
lea eax, [ebp - 0x98]
mov dword [ebp - 0xac], ecx
push eax
mov dword [ebp - 0xa8], 0
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
mov esi, dword [ebp - 0x98]
xor ecx, ecx
and esi, 0xf
mov dword [ebp - 0xa0], 0
add esi, 5
mov edx, 2
mov dword [ebp - 0x9c], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1008023c
mov ebx, eax
add esp, 4
mov dword [ebp - 0xa0], ebx
lea eax, [esi*2 + 2]
mov dword [ebp - 4], 1
push eax
push 0
push ebx
call fcn.10081e90
mov ecx, 0x1f
lea edi, [ebp - 0x90]
mov esi, 0x100d6578
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
cmp dword [ebp - 0x9c], edi
jbe 0x100249e8
lea esi, [ebp - 0x90]
lea ecx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100249a0
sub esi, ecx
sar esi, 1
nop
push 8
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
push 0
push esi
push dword [ebp - 0x94]
push dword [ebp - 0x98]
call fcn.100802b0
mov ax, word [ebp + eax*2 - 0x90]
mov word [ebx + edi*2], ax
inc edi
cmp edi, dword [ebp - 0x9c]
jl 0x100249b0
mov esi, dword [ebp - 0xa4]
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10024a06
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
push ebx
call fcn.100039c0
mov dword [ebp - 0xa8], 1
mov byte [ebp - 4], 0
test ebx, ebx
je 0x10024a39
push ebx
call fcn.1008003c
add esp, 4
mov eax, esi
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.1007f947
mov esp, ebp
pop ebp
ret
Function at 0x10026f40
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b54a0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100f101c]
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]
lea ecx, [ebp - 0x34]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
call fcn.10006330
push 0x80
push 4
push 1
push 0x80000000
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.100109c0
test al, al
je 0x100270f2
mov esi, dword [ebp - 0x34]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
test esi, esi
je 0x10026fe1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10026fe1
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10026fdb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10026fe1
xor edi, edi
mov edi, ebx
jmp 0x10026fe4
mov edi, dword [ebp - 0x40]
lea eax, [edi + 1]
push eax
call fcn.1008023c
push edi
mov ebx, eax
push 0
push ebx
call fcn.10081e90
add esp, 0x10
mov dword [ebp - 0x30], 0
test esi, esi
je 0x100270cd
test ebx, ebx
je 0x100270cd
cmp dword [esi], 0xffffffff
je 0x100270cd
push 0
lea eax, [ebp - 0x30]
push eax
push edi
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100270cd
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1002704b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1002704b
mov dword [esi], 0xffffffff
push dword [ebp - 0x30]
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.1002cd70
push ebx
mov byte [ebp - 4], 1
call fcn.1008003c
mov eax, dword [ebp - 0x38]
add eax, 0x48
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10008c30
add esp, 0x10
test eax, eax
sete bl
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x100270b4
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100270aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027123
push edx
push ecx
call fcn.1007fceb
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], al
jmp 0x100270f4
push ebx
call fcn.1008003c
add esp, 4
test esi, esi
je 0x100270f2
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100270f2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100270f2
mov dword [esi], 0xffffffff
xor bl, bl
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.10010950
mov al, bl
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.1007f947
mov esp, ebp
pop ebp
ret 8
call fcn.10083a12
int3
Function at 0x10027720
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
push esi
call fcn.10006a90
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 4
test al, al
je 0x10027750
cmp dword [esi + 0x14], 8
jb 0x10027749
mov esi, dword [esi]
push 4
push 0
push esi
call ebx
mov esi, dword [ebp + 8]
push esi
call fcn.10006a90
add esp, 4
test al, al
je 0x1002776f
cmp dword [esi + 0x14], 8
jb 0x10027768
mov esi, dword [esi]
push 4
push 0
push esi
call ebx
push edi
call fcn.10006900
add esp, 4
test al, al
je 0x1002778b
cmp dword [edi + 0x14], 8
jb 0x10027784
mov edi, dword [edi]
push 4
push 0
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002a190
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100e4ab0
push 0x100811c0
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x100f101c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x438], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.100039b0
mov dword [ebp - 0x43c], 0
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x1002a1f9
mov eax, dword [eax]
lea ecx, [ebp - 0x43c]
push ecx
push eax
call fcn.10003b50
add esp, 8
mov edx, esi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.1002a310
mov bl, al
mov byte [ebp - 0x431], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x1002a247
test bl, bl
jne 0x1002a2e4
cmp edi, 0x1a
jne 0x1002a2e4
mov ecx, esi
call fcn.100039b0
mov dword [ebp - 0x438], 0
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x1002a278
mov eax, dword [eax]
lea ecx, [ebp - 0x438]
push ecx
push eax
call fcn.10003b50
push 0x410
push 0
lea eax, [ebp - 0x430]
push eax
call fcn.10081e90
add esp, 0x14
push 0x207
lea eax, [ebp - 0x430]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x430]
push eax
call fcn.10003bb0
add esp, 4
push eax
lea eax, [ebp - 0x430]
push eax
mov ecx, esi
call fcn.100039c0
mov ecx, esi
call fcn.10004040
movzx ebx, bl
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1007f947
mov esp, ebp
pop ebp
ret
Function at 0x1002d140
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6234
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100f101c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.10003990
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.10003990
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.10003990
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.10003990
mov byte [ebp - 4], 3
lea ecx, [esi + 0x70]
mov word [esi + 0x60], 0x101
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
call fcn.10003990
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10031450
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x100f101c]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
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 byte [esi], 0
call fcn.10081e90
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x100314e7
cmp dword [esp + 8], 6
jb 0x100314e7
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.1007f947
add esp, 0x118
ret

Function at 0x10031500
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b69e0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x100f101c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.wintrust.dll
lea ecx, [ebp - 0x28]
call fcn.10003940
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.1000a500
mov ecx, eax
call fcn.1000a5c0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100038a0
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.10003940
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.1000a500
mov ecx, eax
call fcn.1000a5c0
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100038a0
test ebx, ebx
je 0x10031615
test esi, esi
je 0x10031615
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
push str.CryptCATAdminAcquireContext
push ebx
mov dword [edi + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [edi + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [edi + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push ebx
mov dword [edi + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push ebx
mov dword [edi + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.WinVerifyTrust
push ebx
mov dword [edi + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10035470
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7318
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100f101c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push ecx
push 0xffffffffffffffff
push 0xffff8000
mov ecx, edi
movlpd qword [ebp - 0x3c], xmm0
call fcn.10010ba0
test al, al
jne 0x100354cf
mov eax, 1
jmp 0x10035643
push 0x10000
call fcn.1008023c
add esp, 4
lea ecx, [ebp - 0x30]
mov esi, eax
push 4
call fcn.10015240
push esi
lea ecx, [ebp - 0x30]
call fcn.10025780
mov dword [ebp - 4], 0
push 0x10000
push 0
push esi
call fcn.10081e90
mov eax, dword [edi]
add esp, 0xc
mov dword [ebp - 0x18], 0
test eax, eax
je 0x10035621
test esi, esi
je 0x10035621
cmp dword [eax], 0xffffffff
je 0x10035621
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0x8000
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10035621
xor ecx, ecx
mov dword [ebp - 0x24], 0
mov edx, 0x8000
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], edx
lea edi, [esi + 0x8000]
cmp byte [ebx + 0x9c], 0
jne 0x1003561a
lea eax, [edi + ecx]
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x20], 0
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x34]
push edx
push eax
call fcn.10055210
test al, al
je 0x10035610
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x100355f0
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x100355b1
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebx + 0x9c], 0
jne 0x1003561a
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x24], 0xf
ja 0x10035609
mov edx, dword [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x28], edx
jne 0x10035560
mov ecx, 0x7ffc
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x10035602
add esi, 4
add edi, 4
sub ecx, 4
jae 0x100355d8
mov esi, 4
jmp 0x10035632
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x8000
je 0x100355d3
jmp 0x100355c3
mov esi, 5
jmp 0x10035632
mov esi, 3
jmp 0x10035632
mov eax, dword [ebp - 0x2c]
mov esi, 3
jmp 0x1003562c
mov esi, 2
jmp 0x10035632
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov dword [ebx + 0xb0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10004920
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007f947
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10035670
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7358
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100f101c]
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 edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0x40], 0
call fcn.10006740
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 1
push 0x100d5dd4
lea ecx, [ebp - 0x58]
mov dword [edi + 0xb4], 0
call fcn.10017c30
mov byte [ebp - 4], 2
lea eax, [edi + 0x40]
push ecx
mov ecx, dword [ebp - 0x38]
push eax
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x2c]
push dword [ebp + 0x10]
push eax
push dword [ebx + 4]
call fcn.10053f20
test al, al
sete al
mov byte [ebp - 0x31], al
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x10035750
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10035743
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003589c
push edx
push ecx
call fcn.1007fceb
mov al, byte [ebp - 0x31]
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
test al, al
je 0x10035777
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x1003582e
push ecx
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x14]
push eax
push 0x13
mov dword [ebp - 0x14], 0
call fcn.10053af0
test al, al
jne 0x100357a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x1003582e
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xb4], eax
cmp eax, 0xc8
je 0x1003581b
cmp eax, 0xce
je 0x1003581b
cmp eax, 0x12e
jne 0x1003584c
mov eax, 0x400
mov dword [ebp - 0x30], eax
test esi, esi
jne 0x100357e5
push 0x800
call fcn.1008023c
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp - 0x30]
add eax, eax
push eax
push 0
push esi
call fcn.10081e90
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x30]
add esp, 8
push eax
push esi
push 0x21
call fcn.10053b60
test al, al
je 0x1003584c
push esi
call fcn.10003bb0
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push esi
call fcn.100039c0
jmp 0x1003583c
cmp dword [ebp + 0x14], 0
ja 0x10035827
cmp dword [ebp + 0x10], 0
jbe 0x10035850
cmp eax, 0xce
je 0x10035850
cmp dword [ebx + 4], 0
je 0x1003584c
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 3
jb 0x100356d0
xor bl, bl
jmp 0x1003585c
mov dword [edi + 0xb0], 0
mov bl, 1
mov byte [ebp - 4], 0
test esi, esi
je 0x1003586d
push esi
call fcn.1008003c
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100038a0
mov al, bl
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.1007f947
mov esp, ebp
pop ebp
ret 0x10
call fcn.10083a12
int3
Function at 0x10038290
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b79d8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100f101c]
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 ebx, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
mov esi, dword [ebp + 0xc]
call fcn.10004040
test eax, eax
je 0x100382eb
cmp byte [ebp + 8], 0
jne 0x100382f2
mov eax, dword [ebx]
test eax, eax
je 0x10038452
cmp byte [eax + 0xa5], 0
je 0x10038452
xor al, al
jmp 0x10038468
mov ecx, esi
call fcn.10004040
test eax, eax
je 0x10038452
push esi
call fcn.10006a90
add esp, 4
test al, al
je 0x1003831a
push esi
push edi
call fcn.10037ec0
jmp 0x1003844e
push 0xb
mov ecx, esi
call fcn.10003830
push eax
mov ecx, edi
call fcn.10003830
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x1003833f
mov al, 1
jmp 0x1003844e
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.10003990
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.100114a0
movzx ecx, byte [ebp - 0x59]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x40]
call fcn.10003990
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.100114a0
test al, al
jne 0x1003838c
cmp byte [ebp - 0x60], al
je 0x100383c8
push 0xb
lea ecx, [ebp - 0x40]
call fcn.10003830
push eax
lea ecx, [ebp - 0x58]
call fcn.10003830
push eax
call ebx
test eax, eax
je 0x100383c8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100038a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100038a0
mov al, 1
jmp 0x1003844e
mov ecx, esi
call fcn.10010d30
cmp eax, 0xffffffff
je 0x10038431
push esi
lea ecx, [ebp - 0x28]
call fcn.10006740
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100111f0
test al, al
je 0x10038425
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.10010dd0
test al, al
je 0x10038425
mov edx, esi
mov ecx, edi
call fcn.10010dd0
lea ecx, [ebp - 0x28]
test al, al
je 0x1003841e
call fcn.10010fe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.100038a0
jmp 0x100383a6
mov edx, esi
call fcn.10010dd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.100038a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100038a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100038a0
xor al, al
test al, al
jne 0x10038466
push edi
call fcn.10006a90
add esp, 4
test al, al
je 0x10038466
mov ecx, edi
call fcn.10010fe0
mov al, 1
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.1007f947
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100586f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x100f3f60], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x100f3c60], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x100f3e60], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x100f3d60], al
inc esi
cmp esi, 0x100
jl 0x10058800
pop esi
add esp, 0x80
ret