joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002b9f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [0x100603bc]
test eax, eax
jne 0x1002baad
xor eax, eax
nop
mov ecx, eax
and cl, 1
neg cl
mov edx, eax
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor edx, ecx
mov dword [eax*4 + 0x100603b8], edx
inc eax
cmp eax, 0x100
jl 0x1002ba00
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
test esi, esi
not eax
jbe 0x1002bade
mov ecx, dword [esp + 0xc]
push edi
xor edx, edx
mov dl, byte [ecx]
xor edx, eax
and edx, 0xff
mov edi, dword [edx*4 + 0x100603b8]
shr eax, 8
xor eax, edi
inc ecx
dec esi
jne 0x1002bac1
pop edi
not eax
pop esi
ret

Function at 0x1002bbd0
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x220
mov eax, dword [0x1004caec]
push esi
mov dword [esp + 0x220], eax
push 0x105
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
je 0x1002bc2d
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0x104
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x33], 0
call esi
test eax, eax
jne 0x1002bc55
push 0
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x104
lea eax, [esp + 0x130]
push eax
push 0
call esi
test eax, eax
je 0x1002bc92
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x22c]
mov eax, dword [esp + 0x228]
push ecx
push 0x10042e0c
push edx
push eax
call fcn.100017db
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x7a
pop esi
mov ecx, dword [esp + 0x21c]
call fcn.10030334
add esp, 0x220
ret
mov ecx, dword [esp + 0x220]
mov eax, 0x1f
pop esi
call fcn.10030334
add esp, 0x220
ret
Function at 0x1002c6f0
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push 0x80
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x1002c710
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1002c723
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
pop edi
pop esi
ret

Function at 0x1002c730
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x20
mov eax, dword [0x1004caec]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
push 0x20019
xor edi, edi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
jne 0x1002c812
mov ecx, dword [ebx]
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push esi
mov dword [esp + 0x1c], ecx
push str.ProgramFilesDir
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edi
mov ebp, esi
call fcn.1000d356
cmp eax, 0xea
jne 0x1002c7b2
lea eax, [esp + 0x14]
push eax
xor ebp, ebp
push ebp
push str.ProgramFilesDir
lea ecx, [esp + 0x24]
call fcn.1000d356
test eax, eax
jne 0x1002c7bc
test ebp, ebp
jne 0x1002c7f0
jmp 0x1002c7c1
cmp eax, 0x7a
jne 0x1002c7ec
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x14]
mov dword [ebx], ecx
je 0x1002c7d6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 0x7a
pop ebx
mov ecx, dword [esp + 0x1c]
call fcn.10030334
add esp, 0x20
ret
test eax, eax
jne 0x1002c812
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1002c7ff
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
call fcn.10030334
add esp, 0x20
ret
mov ecx, dword [0x100451fc]
mov ebp, dword [ebx]
mov edx, dword [str._PROGRAMFILES_]
mov eax, dword [0x100451f8]
push ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
mov dx, word [0x10045200]
mov dword [esp + 0x24], eax
mov al, byte [0x10045202]
push esi
lea ecx, [esp + 0x24]
push ecx
mov word [esp + 0x34], dx
mov byte [esp + 0x36], al
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp eax, ebp
jbe 0x1002c87d
test edi, edi
mov dword [ebx], eax
mov byte [esi], 0
je 0x1002c867
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 0x7a
pop ebx
mov ecx, dword [esp + 0x1c]
call fcn.10030334
add esp, 0x20
ret
test eax, eax
jbe 0x1002c89f
test edi, edi
je 0x1002c88c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
call fcn.10030334
add esp, 0x20
ret
test edi, edi
je 0x1002c8aa
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov eax, 0x490
pop ebx
call fcn.10030334
add esp, 0x20
ret
Function at 0x1002c8c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
mov eax, dword [0x1004caec]
push 0
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x114]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x1002c905
mov eax, 0x490
mov ecx, dword [esp + 0x108]
call fcn.10030334
add esp, 0x10c
ret
mov ecx, 0x105
lea eax, [esp + 4]
push esi
nop
cmp byte [eax], 0
je 0x1002c948
inc eax
dec ecx
jne 0x1002c910
mov esi, dword [esp + 4]
push edi
mov edi, dword [esp + 0x120]
mov eax, dword [edi]
inc esi
cmp eax, esi
jae 0x1002c955
mov dword [edi], esi
pop edi
mov eax, 0x7a
pop esi
mov ecx, dword [esp + 0x108]
call fcn.10030334
add esp, 0x10c
ret
test ecx, ecx
je 0x1002c919
mov esi, 0x105
sub esi, ecx
jmp 0x1002c91d
cmp eax, 0x7fffffff
ja 0x1002c96f
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [esp + 0x124]
push eax
call fcn.100029b3
mov ecx, dword [esp + 0x110]
mov dword [edi], esi
pop edi
xor eax, eax
pop esi
call fcn.10030334
add esp, 0x10c
ret

Function at 0x1002c9c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x1004caec]
mov dword [esp + 0x10c], eax
push 0x105
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x1002c9ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10c]
call fcn.10030334
add esp, 0x110
ret
mov ecx, 0x105
lea eax, [esp + 4]
push esi
lea esp, [esp]
cmp byte [eax], 0
je 0x1002ca48
inc eax
dec ecx
jne 0x1002ca10
mov esi, dword [esp + 4]
push edi
mov edi, dword [esp + 0x120]
mov eax, dword [edi]
inc esi
cmp eax, esi
jae 0x1002ca55
mov dword [edi], esi
pop edi
mov eax, 0x7a
pop esi
mov ecx, dword [esp + 0x10c]
call fcn.10030334
add esp, 0x110
ret
test ecx, ecx
je 0x1002ca19
mov esi, 0x105
sub esi, ecx
jmp 0x1002ca1d
cmp eax, 0x7fffffff
ja 0x1002ca6f
mov edx, dword [esp + 0x11c]
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
call fcn.100029b3
mov ecx, dword [esp + 0x114]
mov dword [edi], esi
pop edi
xor eax, eax
pop esi
call fcn.10030334
add esp, 0x110
ret

Function at 0x1002ca90
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 3
ja case.default.0x1002ca99
jmp dword [eax*4 + 0x1002caec]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
call fcn.1002c730
add esp, 8
ret
mov dword [esp + 4], 2
jmp fcn.1002c8c0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
call fcn.1002c990
add esp, 8
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
call fcn.1002c9c0
add esp, 8
ret
mov eax, 0xa0
ret
Function at 0x1002cc00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor esi, esi
test ebp, ebp
jbe 0x1002cc6b
push ebx
push edi
mov edi, dword [esp + 0x14]
mov al, byte [ecx + 0x100]
mov bl, byte [ecx + 0x101]
inc al
mov byte [ecx + 0x100], al
movzx eax, al
mov dl, byte [eax + ecx]
add eax, ecx
add bl, dl
mov byte [ecx + 0x101], bl
mov dl, byte [eax]
movzx ebx, bl
mov bl, byte [ebx + ecx]
mov byte [eax], bl
movzx eax, byte [ecx + 0x101]
mov byte [eax + ecx], dl
movzx eax, byte [ecx + 0x100]
mov al, byte [eax + ecx]
mov bl, byte [esi + edi]
add al, dl
movzx edx, al
mov al, byte [edx + ecx]
xor bl, al
mov byte [esi + edi], bl
inc esi
cmp esi, ebp
jb 0x1002cc12
pop edi
pop ebx
pop esi
mov al, 1
pop ebp
ret 8

Function at 0x1002cc90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor edi, edi
xor eax, eax
jmp 0x1002cca0
mov byte [eax + ecx], al
inc eax
cmp eax, 0x100
jl 0x1002cca0
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov eax, 1
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, 2
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, 3
sub eax, ecx
mov dword [esp + 0x10], edi
mov esi, ecx
mov dword [esp + 0x1c], eax
lea ebx, [ebx]
mov al, byte [esi]
mov byte [esp + 0x28], al
mov eax, dword [esp + 0x10]
xor edx, edx
div ebp
movzx eax, byte [esp + 0x28]
movzx edx, byte [edx + ebx]
add edx, edi
add eax, edx
mov edi, eax
and edi, 0x800000ff
jns 0x1002cd0d
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [edi + ecx]
mov al, byte [esp + 0x28]
mov byte [esi], dl
mov byte [edi + ecx], al
mov dl, byte [esi + 1]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x28], dl
add eax, esi
xor edx, edx
div ebp
movzx eax, byte [esp + 0x28]
movzx edx, byte [edx + ebx]
add edx, edi
add eax, edx
mov edi, eax
and edi, 0x800000ff
jns 0x1002cd49
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [edi + ecx]
mov al, byte [esp + 0x28]
mov byte [esi + 1], dl
mov byte [edi + ecx], al
mov dl, byte [esi + 2]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], dl
add eax, esi
xor edx, edx
div ebp
movzx eax, byte [esp + 0x28]
movzx edx, byte [edx + ebx]
add edx, edi
add eax, edx
mov edi, eax
and edi, 0x800000ff
jns 0x1002cd86
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [edi + ecx]
mov al, byte [esp + 0x28]
mov byte [esi + 2], dl
mov byte [edi + ecx], al
mov dl, byte [esi + 3]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x28], dl
add eax, esi
xor edx, edx
div ebp
movzx eax, byte [esp + 0x28]
movzx edx, byte [edx + ebx]
add edx, edi
add eax, edx
mov edi, eax
and edi, 0x800000ff
jns 0x1002cdc3
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [edi + ecx]
mov al, byte [esp + 0x28]
mov byte [esi + 3], dl
mov byte [edi + ecx], al
mov eax, dword [esp + 0x10]
add eax, 4
add esi, 4
cmp eax, 0x100
mov dword [esp + 0x10], eax
jl 0x1002cce0
pop edi
pop esi
pop ebp
mov byte [ecx + 0x101], 0
mov byte [ecx + 0x100], 0
mov al, 1
pop ebx
add esp, 0x10
ret 8
Function at 0x1002e100
Capabilities:
Get http content length
Query remote server for available data
Read data from internet
Receive data

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push edi
xor eax, eax
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x20000005
push ebx
mov dword [esp + 0x3c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1002e14f
mov edx, dword [esp + 0x10]
inc edx
push edx
call fcn.100301de
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x1002e167
push 0x201
mov dword [esp + 0x14], 0x200
call fcn.100301de
mov dword [esp + 0x18], eax
mov esi, eax
mov edi, dword [esp + 0x14]
add esp, 4
push 0
push 0
lea eax, [esp + 0x28]
push eax
mov ebp, esi
push ebx
mov dword [esp + 0x2c], ebp
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x1002e257
lea esp, [esp]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1002e26b
cmp eax, edi
jbe 0x1002e20c
mov ecx, dword [esp + 0x10]
sub eax, edi
lea ebx, [ecx + ecx]
add eax, ecx
cmp ebx, eax
jae 0x1002e1b6
nop
add ebx, ebx
cmp ebx, eax
jb 0x1002e1b0
lea ecx, [ebx + 1]
push ecx
call fcn.100301de
mov ecx, dword [esp + 0x14]
sub ecx, edi
mov edx, ecx
shr ecx, 2
mov ebp, eax
mov eax, dword [esp + 0x18]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
sub esi, eax
mov ecx, ebx
sub ecx, esi
push eax
mov edi, ecx
call fcn.100305d1
mov eax, dword [esp + 0x28]
add esp, 8
add esi, ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x34]
mov esi, ebp
mov ebp, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push edx
push eax
push ebp
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1002e24e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push 0
add ebp, eax
add ecx, eax
sub edi, eax
push 0
lea eax, [esp + 0x28]
push eax
push ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ecx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x1002e190
jmp 0x1002e257
push esi
call fcn.100305d1
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
call edi
call edi
test eax, eax
mov dword [esp + 0x18], eax
jne 0x1002e28d
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov byte [ebp], 0
pop edi
mov dword [ecx], esi
pop esi
pop ebp
mov dword [edx], eax
mov eax, dword [esp + 0xc]
pop ebx
add esp, 0x20
ret 0xc
push esi
call fcn.100305d1
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
mov dword [ecx], 0
mov dword [edx], 0
pop ebx
add esp, 0x20
ret 0xc
Function at 0x1002e380
Capabilities:
Create http request

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
xor edx, edx
cmp ebx, edx
push esi
mov esi, ecx
push edi
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], edx
je 0x1002e3ad
mov ecx, SysReAllocString
mov eax, ebx
lea ecx, [ecx]
cmp byte [eax], 0
je 0x1002e464
inc eax
dec ecx
jne 0x1002e3a0
mov edi, dword [esp + 0x18]
lea ebp, [edi + 2]
push ebp
call fcn.100301de
add esp, 4
cmp ebp, 0x7fffffff
mov dword [esi], eax
ja 0x1002e3d8
cmp edi, 0x7fffffff
ja 0x1002e3d8
push edi
push ebx
push ebp
push eax
call fcn.100029ee
mov al, byte [esp + 0x18]
push 0x200
mov byte [esi + 4], al
mov dword [esi + 0xc], 0x3c
call fcn.100301de
mov bl, byte [esi + 4]
xor ecx, ecx
test bl, bl
setne cl
push 0x200
mov dword [esi + 0x10], eax
add ecx, 3
mov dword [esi + 0x18], ecx
call fcn.100301de
push 0x200
mov dword [esi + 0x1c], eax
call fcn.100301de
push 0x200
mov dword [esi + 0x28], eax
call fcn.100301de
push 0x800
mov dword [esi + 0x30], eax
call fcn.100301de
push 0x800
mov dword [esi + 0x38], eax
call fcn.100301de
mov edx, dword [esi]
add esp, 0x18
push 0
push 0
push 0
push 0
push edx
mov dword [esi + 0x40], eax
call dword [sym.imp.WININET.dll_InternetOpenA]
pop edi
mov dword [esi + 8], eax
mov eax, esi
pop esi
pop ebp
pop ebx
ret 8
cmp ecx, edx
je 0x1002e3ad
mov edi, SysReAllocString
sub edi, ecx
jmp 0x1002e3b1

Function at 0x1002e480
Capabilities:
Parse url

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x1002e49a
mov edx, SysReAllocString
mov eax, edi
cmp byte [eax], 0
je 0x1002e4f9
inc eax
dec edx
jne 0x1002e491
mov eax, dword [esp + 0xc]
mov esi, 0x800
mov dword [ecx + 0x44], esi
mov dword [ecx + 0x3c], esi
lea esi, [ecx + 0xc]
push esi
push 0
mov edx, 0x200
push eax
push edi
mov dword [ecx + 0x34], edx
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x2c], edx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x1002e4ee
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1002e506
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1002e506
push eax
push ecx
push SysReAllocString
push esi
call dword [sym.imp.WININET.dll_InternetCreateUrlA]
test eax, eax
jne 0x1002e506
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
ret 0xc
test edx, edx
je 0x1002e49a
mov eax, SysReAllocString
sub eax, edx
jmp 0x1002e49e
pop edi
pop esi
xor eax, eax
ret 0xc
Function at 0x1002e510
Capabilities:
Check http status code
Connect to http server
Send data
Send http request

Disassembly:
sub esp, 0x818
mov eax, dword [0x1004caec]
push ebx
push esi
push edi
mov edi, dword [esp + 0x82c]
mov dword [esp + 0x820], eax
mov esi, ecx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x20], 0x800
call fcn.1002e480
xor ebx, ebx
cmp eax, ebx
jne 0x1002e6aa
mov eax, dword [esp + 0x828]
push ebp
xor ebp, ebp
cmp eax, ebx
jne 0x1002e588
mov edx, dword [esi + 8]
push esi
push 0x84280300
push ebx
push ebx
push edi
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
cmp edi, ebx
jne 0x1002e660
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1002e6a9
cmp eax, 1
jne 0x1002e6a4
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 8]
push esi
push ebx
push 3
xor eax, eax
mov ax, word [esi + 0x24]
push ebx
push ebx
push eax
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebp, eax
cmp ebp, ebx
je 0x1002e57d
mov ecx, dword [esi + 0x38]
mov edx, dword [str.POST]
push ebx
push 0x84280300
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push ecx
push edx
push ebp
mov dword [esp + 0x3c], 0x10045318
mov dword [esp + 0x40], ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
cmp edi, ebx
jne 0x1002e5f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1002e695
mov eax, dword [esp + 0x838]
mov ecx, dword [esp + 0x834]
push eax
push ecx
push 0x30
push str.Content_Type:_application_x_www_form_urlencoded
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x1002e61a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1002e68c
push ebx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0x20000013
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1002e660
mov eax, dword [esp + 0x10]
cmp eax, 0xc8
jb 0x1002e653
cmp eax, 0x12c
jb 0x1002e660
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0x490
jmp 0x1002e68e
mov eax, dword [esi + 0x4c]
test eax, eax
lea ebx, [esi + 0x4c]
je 0x1002e679
push eax
call fcn.100305d1
add esp, 4
mov dword [ebx], 0
lea eax, [esi + 0x48]
push eax
push ebx
push edi
mov ecx, esi
mov dword [eax], 0
call fcn.1002e100
mov esi, eax
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test ebp, ebp
je 0x1002e6a0
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
jmp 0x1002e6a9
mov eax, 0x57
pop ebp
mov ecx, dword [esp + 0x820]
pop edi
pop esi
pop ebx
call fcn.10030334
add esp, 0x818
ret 0x10
Function at 0x1002fa30
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x60
mov eax, dword [0x1004caec]
push edi
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 4], 0x100454b8
mov ecx, 0x10
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x6c]
push eax
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x58], 0x67452301
mov dword [esp + 0x5c], 0xefcdab89
mov dword [esp + 0x60], 0x98badcfe
mov dword [esp + 0x64], 0x10325476
call fcn.1002f8a0
mov edx, dword [esp + 0x70]
push edx
lea ecx, [esp + 8]
call fcn.1002f960
mov ecx, dword [esp + 0x60]
pop edi
call fcn.10030334
add esp, 0x60
ret

Function at 0x1002fb6b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x1004caec]
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.1002faed
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.10030350
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x1002fbcd
cmp dword [ebp - 0x1c], 5
jb 0x1002fbe5
jmp 0x1002fbe1
cmp dword [ebp - 0x10], 1
jne 0x1002fbe5
cmp dword [ebp - 0x1c], 4
ja 0x1002fbe1
jne 0x1002fbe5
cmp dword [ebp - 0x18], 0
jbe 0x1002fbe5
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x100454cc
call fcn.10001194
test eax, eax
jge 0x1002fc06
mov byte [0x1004d9dc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
pop esi
call fcn.10030334
add ebp, 0x78
leave
ret
Function at 0x10031d16
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.10031bb0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10031db1
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x10060d5c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x10031db1
cmp eax, 1
je 0x10031dd2
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10031db1
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x10031d7e
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x10031dad
xor eax, eax
inc eax
jmp 0x10031df1
cmp edi, eax
jae 0x10031db5
xor eax, eax
jmp 0x10031df1
cmp eax, esi
jae 0x10031dbc
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x10060d5c]
jmp 0x10031dd5
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1003233c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
push esi
jne 0x1003242c
mov eax, 0x94
call fcn.10031bb0
mov esi, esp
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x100324a1
mov ecx, dword [esi + 0x10]
mov dword [0x10060d5c], ecx
mov eax, dword [esi + 4]
mov dword [0x10060d68], eax
mov edx, dword [esi + 8]
mov dword [0x10060d6c], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
cmp ecx, 2
mov dword [0x10060d60], esi
je 0x100323a7
or esi, 0x8000
mov dword [0x10060d60], esi
shl eax, 8
add eax, edx
push 1
mov dword [0x10060d64], eax
call fcn.10035316
test eax, eax
pop ecx
je 0x100324a1
call fcn.1003652c
test eax, eax
jne 0x100323d4
call fcn.10035367
jmp 0x100324a1
call fcn.100393b2
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x10062444], eax
call fcn.10039290
mov dword [0x10060b80], eax
call fcn.10038d71
test eax, eax
jl 0x10032425
call fcn.100391ee
test eax, eax
jl 0x10032420
call fcn.10038fbb
test eax, eax
jl 0x10032420
push 0
call fcn.10036149
test eax, eax
pop ecx
jne 0x10032420
inc dword [0x10060b7c]
jmp 0x100324b2
call fcn.10038f6f
call fcn.10036315
jmp 0x100323ca
test eax, eax
jne 0x1003245c
cmp dword [0x10060b7c], eax
jle 0x100324a1
dec dword [0x10060b7c]
cmp dword [0x10060d98], eax
jne 0x1003244b
call fcn.10036287
call fcn.10038f6f
call fcn.10036315
call fcn.10035367
jmp 0x100324b2
cmp eax, 2
jne 0x100324a5
push 0x8c
push 1
call fcn.10038cb6
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x100324a1
push esi
push dword [0x1004d0ac]
call dword [0x10060da8]
test eax, eax
push esi
je 0x1003249b
call fcn.10036332
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
jmp 0x100324b2
call fcn.1003055b
pop ecx
xor eax, eax
jmp 0x100324b5
cmp eax, 3
jne 0x100324b2
push 0
call fcn.100364fd
pop ecx
xor eax, eax
inc eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc