joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001700
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x2c
mov eax, dword [0x10035204]
xor eax, esp
mov dword [esp + 0x28], eax
mov dword [esp + 4], ecx
xor ecx, ecx
xor eax, eax
movsx edx, byte [eax + 0x1002b668]
dec edx
cmp edx, ecx
je 0x1000172a
inc eax
cmp eax, 0x20
jl 0x10001716
jmp 0x1000172e
mov byte [esp + ecx + 8], al
inc ecx
cmp ecx, 0x20
jl 0x10001714
push ebx
push ebp
push esi
push edi
xor eax, eax
lea edi, [esp + 0x19]
mov dword [esp + 0x10], 0x1002b468
xor esi, esi
mov ebx, eax
lea ebx, [ebx]
mov eax, esi
sar eax, 1
mov ecx, esi
and ecx, 1
shl ecx, 4
and eax, 0xf
or eax, ecx
mov ecx, esi
and ecx, 0x20
or eax, ecx
mov ecx, dword [esp + 0x10]
movsx eax, byte [ecx + eax]
xor edx, edx
test al, 8
je 0x10001788
movsx edx, byte [edi - 1]
mov ecx, 0x1f
sub ecx, edx
mov edx, 1
shl edx, cl
test al, 4
je 0x1000179f
movsx ebp, byte [edi]
mov ecx, 0x1f
sub ecx, ebp
mov ebp, 1
shl ebp, cl
or edx, ebp
test al, 2
je 0x100017b7
movsx ebp, byte [edi + 1]
mov ecx, 0x1f
sub ecx, ebp
mov ebp, 1
shl ebp, cl
or edx, ebp
test al, 1
je 0x100017cf
movsx eax, byte [edi + 2]
mov ecx, 0x1f
sub ecx, eax
mov eax, 1
shl eax, cl
or edx, eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [ebx + eax], edx
inc esi
add ebx, 4
cmp esi, 0x40
jl 0x10001750
mov ecx, dword [esp + 0x10]
add ecx, 0x40
add edi, 4
cmp ecx, 0x1002b668
mov dword [esp + 0x10], ecx
mov eax, ebx
jl 0x10001746
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10012840
add esp, 0x2c
ret

Function at 0x100019c0
Capabilities:
Encrypt data using des

Disassembly:
push esi
push 0x800
mov esi, ecx
call fcn.10012996
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x10001a53
mov ecx, esi
call fcn.10001700
cmp dword [esp + 8], 1
je 0x10001a53
push 0x800
call fcn.10012996
add esp, 4
mov dword [esi + 4], eax
test eax, eax
jne 0x10001a0a
mov eax, dword [esi]
push eax
call fcn.100127b2
add esp, 4
or eax, 0xffffffff
pop esi
ret 4
push 0x1002b370
push eax
mov ecx, esi
call fcn.10001590
push 0x800
call fcn.10012996
add esp, 4
mov dword [esi + 8], eax
test eax, eax
jne 0x10001a46
mov ecx, dword [esi]
push ecx
call fcn.100127b2
mov edx, dword [esi + 4]
push edx
call fcn.100127b2
add esp, 8
or eax, 0xffffffff
pop esi
ret 4
push 0x1002b3b0
push eax
mov ecx, esi
call fcn.10001590
xor eax, eax
pop esi
ret 4

Function at 0x10001ff0
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword [0x100364b0]
test eax, eax
jne 0x10002028
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp ecx, 4
jne 0x1000201e
and eax, 0xfc00
cmp eax, 0x800
lea eax, [ecx - 3]
je 0x10002023
mov eax, 2
mov dword [0x100364b0], eax
xor edx, edx
cmp eax, 1
sete dl
mov eax, edx
ret
Function at 0x10002cf0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x100364d0]
sub esp, 0x1c
push esi
mov esi, ecx
push esi
push 0x10002cd0
push 0
push 0x3e9
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [esi], eax
test eax, eax
je 0x10002d8d
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [esi]
push 5
push ecx
call edi
mov edx, dword [esi]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x10002d43
push eax
mov eax, dword [esi]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
call esi
test eax, eax
je 0x10002d87
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea edx, [esp + 0xc]
push edx
call edi
lea eax, [esp + 0xc]
push eax
call ebx
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call esi
test eax, eax
jne 0x10002d67
pop ebx
pop edi
pop esi
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 8], 1
pop esi
add esp, 0x1c
ret

Function at 0x10002db0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0
mov esi, ecx
push esi
push 0x10002da0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x68], eax
pop esi
mov eax, ecx
pop ecx
ret

Function at 0x10002e00
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x80c
mov eax, dword [0x10035204]
xor eax, esp
mov dword [esp + 0x808], eax
push ebp
mov ebp, dword [esp + 0x814]
push esi
mov esi, dword [esp + 0x820]
push edi
mov edi, dword [esp + 0x820]
push 0x7ff
lea eax, [esp + 0x19]
push 0
push eax
mov byte [esp + 0x20], 0
call fcn.10012850
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push esi
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10002eac
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10002eac
mov edx, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
push 0
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebp
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.10012840
add esp, 0x80c
ret
mov ecx, dword [esp + 0x814]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.10012840
add esp, 0x80c
ret
Function at 0x10003700
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x100299d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10035204]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
xor eax, eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], ax
call fcn.10002590
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10003760
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.10003420
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], dx
call fcn.10002590
cmp dword [esp + 0x28], 8
jb 0x100037ad
mov eax, dword [esp + 0x14]
push eax
call fcn.10012756
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x10004200
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
lea ebx, [edi + 0x5c]
lea ebp, [edi + 0x78]
mov dword [edi], 0
call fcn.10002ed0
mov esi, eax
xor ecx, ecx
cmp esi, ecx
jne 0x10004247
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._proxy__reg_open_failed__d
push 0x100364d8
call fcn.10007c70
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push ecx
push str.proxytype
push esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push str.customproxytype
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [edi + 0x24]
push eax
lea eax, [edi + 8]
push eax
push ebp
push ebx
push str.ieproxy
push esi
call fcn.10003de0
add esp, 0x18
cmp eax, 1
je 0x100042df
cmp dword [esp + 0x14], 2
jne 0x100042f3
cmp dword [esp + 0x18], 0
jne 0x100042f3
lea eax, [edi + 0x24]
push eax
lea eax, [edi + 8]
push eax
push ebp
push ebx
push str.customhttp
push esi
call fcn.10003de0
add esp, 0x18
cmp eax, 1
jne 0x100042f3
mov dword [edi], eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x10004d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10004d59
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10004d94
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10004d90
lea ebx, [ebx]
cmp esi, eax
jae 0x10004d94
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10004d80
cmp esi, eax
jb 0x10004d9a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x10006fa0
Capabilities:
Get file size
Write file on windows

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
test edi, edi
jne 0x10006fb9
pop edi
xor eax, eax
pop esi
add esp, 8
ret 0x18
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x10], eax
mov eax, dword [esi]
mov dword [esi + 0x14], ecx
mov dword [esi + 0xc], edx
test eax, eax
je 0x10006ff2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push ebp
mov ebp, dword [esp + 0x20]
push 0
push 0x80
test ebp, ebp
je 0x10007006
push 4
jmp 0x10007008
push 2
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x10007027
mov dword [esi], 0
jmp 0x10007088
cmp dword [esi + 0xc], 0
je 0x10007075
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0xc], eax
or eax, dword [esp + 0x10]
jne 0x10007075
mov ecx, dword [esi]
push eax
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], eax
push 2
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x3c], 0xfeff
call dword [sym.imp.KERNEL32.dll_WriteFile]
test ebp, ebp
je 0x10007088
mov edx, dword [esi]
push 2
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
cmp dword [esi], eax
pop ebp
pop edi
setne al
pop esi
add esp, 8
ret 0x18
Function at 0x100070b0
Capabilities:
Get file size
Write file on windows

Disassembly:
sub esp, 0x14
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi], edi
jne 0x100070c7
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret 8
push ebx
push ebp
lea ebx, [esi + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esi + 0x14], edi
je 0x1000714f
mov ecx, dword [esi]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x14]
xor eax, eax
cmp edx, eax
jl 0x1000714f
jg 0x1000710b
mov eax, dword [esp + 0x1c]
cmp eax, ecx
jbe 0x1000714f
mov edx, dword [esi]
push edi
lea ecx, [esp + 0x24]
push ecx
push edi
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [esi + 0xc], edi
je 0x1000714f
mov eax, dword [esi]
push edi
lea ecx, [esp + 0x14]
push ecx
push 2
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], 0xfeff
mov dword [esp + 0x24], edi
call ebp
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
mov dword [esp + 0x2c], edi
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret 8

Function at 0x10008030
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x10008060
mov al, byte [esp]
test al, 1
je 0x10008058
mov eax, 1
pop ecx
ret
test al, 2
jne 0x10008051
test al, 4
jne 0x10008051
xor eax, eax
pop ecx
ret
Function at 0x100083b0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebx
push ebp
mov ebp, ecx
cmp dword [ebp + 0xc0], 0
push esi
mov esi, dword [ebp + 0x548]
push edi
jne 0x100083db
cmp dword [esp + 0x14], 3
jb 0x100083db
mov eax, dword [ebp + 0x54c]
test eax, eax
je 0x100083db
imul eax, esi
mov esi, eax
mov edi, dword [esp + 0x18]
test edi, edi
jge 0x100083e5
xor edi, edi
cmp esi, edi
mov ebx, esi
jle 0x100083ef
sub esi, edi
jmp 0x100083f1
xor esi, esi
push 0
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x10008422
mov al, byte [esp + 0x18]
mov dword [esp + 0x18], 1
test al, 1
jne 0x1000842a
test al, 2
jne 0x1000842a
test al, 4
jne 0x1000842a
mov dword [esp + 0x18], 0
mov ecx, dword [ebp + 0x544]
mov edx, dword [esp + 0x14]
push esi
push edi
push ebx
push ecx
push edx
push ebp
push str.__u__Retry__d_of__d__interval__d_ms_run__d_ms__need__d_ms_
push 0x100364d8
call fcn.10007c70
xor edi, edi
add esp, 0x20
cmp esi, edi
jle 0x100084cd
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x10008460
mov eax, 0x3e8
cmp esi, eax
jge 0x1000846b
mov eax, esi
push eax
sub esi, eax
mov eax, dword [ebp + 0x59c]
push eax
call ebx
cmp eax, edi
je 0x100084f8
cmp eax, 0xffffffff
je 0x100084f8
push edi
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x100084b9
mov al, byte [esp + 0x14]
test al, 1
je 0x100084a3
mov eax, 1
jmp 0x100084bb
test al, 2
je 0x100084ae
mov eax, 1
jmp 0x100084bb
test al, 4
je 0x100084b9
mov eax, 1
jmp 0x100084bb
xor eax, eax
cmp eax, dword [esp + 0x18]
je 0x100084c5
cmp eax, edi
jne 0x100084d9
cmp esi, edi
mov dword [esp + 0x18], eax
jg 0x10008460
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
push ebp
push 0x1002b9d8
push 0x100364d8
call fcn.10007c70
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x100086b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.10008640
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
lea esp, [esp]
cmp dword [ebx + 0xc], 0
je 0x10008785
lea edi, [ebx + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
mov ecx, ebx
call fcn.10007e10
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
push edi
jle 0x1000877f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x59c]
push 0x32
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10008785
call ebp
sub eax, dword [esp + 0x10]
cmp eax, 0x7d0
ja 0x10008785
call ebp
mov edx, dword [esi + 0x90]
add edx, 0x3e8
cmp eax, edx
jbe 0x100086d0
call ebp
mov ecx, esi
mov dword [esi + 0x90], eax
call fcn.10008280
cmp dword [esi + 0x538], 0
je 0x100086d0
push esi
push str.__u__callback
push 0x100364d8
call fcn.10007c70
mov eax, dword [esi + 0x538]
add esp, 0xc
test eax, eax
je 0x100086d0
mov ecx, dword [eax]
lea edx, [esi + 0xb4]
push edx
push esi
push eax
mov eax, dword [ecx]
call eax
jmp 0x100086d0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x1000bca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002a4f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10035204]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0xa4]
sub ecx, dword [ebx + 0xa0]
lea edi, [ebx + 0x94]
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [0x10036514]
sar edx, 1
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [eax + 0xc]
mov ecx, 0x10036514
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ebp, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], esi
cmp ebp, eax
je 0x1000bd21
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000bd18
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.10005720
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.1000b7f0
push ebp
push esi
push ebx
push str.__u__AddRetryUrl__d___s
push 0x100364d8
call fcn.10007c70
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x14
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000bd7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x1000cc30
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push ebx
push ebp
mov esi, ecx
push esi
push str.__u__Start__method_d__url_s
push 0x100364d8
call fcn.10007c70
mov eax, dword [esi + 0x598]
add esp, 0x14
test eax, eax
je 0x1000cc84
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000cd11
mov eax, dword [esi + 0x598]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x598], 0
push edi
push 0x7ff
lea edi, [esi + 0x45c0]
push ebx
push edi
call fcn.10014ba0
mov ecx, dword [esi + 0x59c]
add esp, 0xc
push ecx
mov dword [esi + 0x128], ebp
mov dword [esi + 0xb8], 1
mov dword [esi + 0x124], edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x560], eax
lea eax, [esi + 0x594]
push eax
push 0
push esi
push 0x1000cc00
push 0
push 0
mov dword [eax], 0
call fcn.10014dc5
add esp, 0x18
mov dword [esi + 0x598], eax
pop edi
test eax, eax
jne 0x1000cd06
mov ecx, esi
mov dword [esi + 0xb8], 3
call fcn.100081c0
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x1000d4b0
Capabilities:
Send data

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, dword [esi + 4]
push edi
push ebp
xor ebx, ebx
call fcn.100086b0
lea eax, [ebp + 0x40]
push eax
mov ecx, esi
call fcn.100086b0
push ebx
mov dword [esi + 0x144], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esp + 0x1c]
cmp edi, 0x400
jae 0x1000d53a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push edi
push ecx
push ebx
push ebx
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x1000d50b
mov ecx, esi
call fcn.1000d3c0
test eax, eax
je 0x1000d6b5
push edi
lea ecx, [ebp + 0x80]
call fcn.10004c00
push edi
mov ecx, ebp
call fcn.10007e10
push edi
lea ecx, [esi + 0x10]
call fcn.10007e10
add dword [esi + 0x144], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
lea eax, [esi + 0x55c0]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
push ebx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
push ebx
mov dword [eax + 0x20], ecx
push ebx
mov ebx, dword [esp + 0x20]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x24]
push eax
push ebx
mov dword [eax], 0x28
mov dword [esi + 0x55d4], ecx
mov dword [esi + 0x55dc], edi
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x1000d595
mov ecx, esi
call fcn.1000d3c0
test eax, eax
je 0x1000d6be
cmp byte [esi + 0xe4], 0
lea eax, [esi + 0xe4]
jne 0x1000d5b0
push 0x40
push eax
push ebx
call fcn.1000d380
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x55d8]
cmp edx, dword [esi + 0x55dc]
jae 0x1000d67f
jmp 0x1000d5d0
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x18], 0
mov edi, 0x2000
je 0x1000d5e8
mov edi, 0x200
mov ecx, dword [esi + 0x55d8]
mov eax, dword [esi + 0x55dc]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x1000d5ff
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x55d4]
add eax, ecx
lea ecx, [esp + 0x18]
push ecx
push edi
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x1000d624
mov ecx, esi
call fcn.1000d3c0
test eax, eax
je 0x1000d67f
mov eax, dword [esp + 0x18]
cmp edi, eax
jne 0x1000d67f
push eax
lea ecx, [ebp + 0x80]
call fcn.10004c00
mov edx, dword [esp + 0x18]
push edx
mov ecx, ebp
call fcn.10007e10
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esi + 0x10]
call fcn.10007e10
mov ecx, dword [esp + 0x18]
add dword [esi + 0x144], ecx
push ebp
mov ecx, esi
call fcn.100086b0
mov edx, dword [esp + 0x18]
add dword [esi + 0x55d8], edx
mov eax, dword [esi + 0x55d8]
cmp eax, dword [esi + 0x55dc]
jb 0x1000d5d0
mov ecx, dword [esi + 0x55dc]
cmp ecx, dword [esi + 0x55d8]
jne 0x1000d6be
push 2
push 8
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpEndRequestA]
test eax, eax
jne 0x1000d6a9
mov ecx, esi
call fcn.1000d3c0
test eax, eax
je 0x1000d6be
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
Function at 0x1000e7e0
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x1002a728
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10035204]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x10036514]
mov edx, dword [eax + 0xc]
mov ecx, 0x10036514
mov dword [esp + 0x28], 0
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [0x10036514]
mov edx, dword [eax + 0xc]
mov ecx, 0x10036514
mov byte [esp + 0x28], 1
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
xor edx, edx
mov byte [esp + 0x28], 2
mov dword [esp + 0x18], edx
test eax, eax
jle 0x1000e8f0
test edx, edx
jl 0x1000e99b
cmp edx, eax
jg 0x1000e99b
movzx ebx, word [ecx + edx*2]
mov ebp, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebp + 1]
sub eax, edi
or eax, ecx
jge 0x1000e897
push edi
lea ecx, [esp + 0x18]
call fcn.10007400
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov word [esi + ebp*2], bx
test edi, edi
jl 0x1000e99b
cmp edi, dword [esi - 8]
jg 0x1000e99b
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
cmp bx, 0x5c
je 0x1000e8c1
cmp bx, 0x2f
jne 0x1000e8dc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.1000db40
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
inc edx
cmp edx, eax
mov dword [esp + 0x18], edx
jl 0x1000e85a
cmp dword [esp + 0x34], 0
je 0x1000e90e
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x20]
call fcn.1000db40
mov ebx, dword [esp + 0x1c]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov edi, eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e93c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e95d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000e985
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x80070057
call fcn.100030b0
int3