joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10031c90
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push esi
push 0
push 0
push 3
push 0
push 1
push 0xc0000000
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10031cc4
xor eax, eax
pop esi
add esp, 0x14
ret
push ebx
push ebp
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
push esi
mov ebp, eax
call ebx
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push esi
call ebx
cmp dword [esp + 0x14], 0x10101010
jne 0x10031dc7
cmp dword [esp + 0x18], 0x1010101
jne 0x10031dc7
push edi
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x20]
push eax
push esi
call ebx
sub ebp, 0xc
lea ecx, [ebp + 2]
push ecx
call fcn.1001ad39
mov edi, eax
add esp, 4
test edi, edi
je 0x10031d67
push 0
lea edx, [esp + 0x14]
push edx
push ebp
push edi
push esi
call ebx
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call fcn.1001ad39
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10031d78
push edi
call fcn.1001bb52
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x14
ret
push ebp
push ebx
push edi
call fcn.1001a3e0
add esp, 0xc
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x24]
push ecx
push edx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.1001bb52
push ebx
call fcn.1001bb52
add esp, 8
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x14
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x10032400
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x4c
mov eax, dword [0x1005b030]
xor eax, esp
mov dword [esp + 0x48], eax
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x29], cl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], cl
mov cl, 0x74
push esi
mov byte [esp + 0x29], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x39], al
mov byte [esp + 0x40], al
mov byte [esp + 0x45], al
lea eax, [esp + 0x38]
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3d], cl
mov byte [esp + 0x44], cl
mov dl, 0x6e
push eax
lea ecx, [esp + 0x2c]
push ecx
xor esi, esi
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], dl
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3c], 0
mov byte [esp + 0x40], 0x47
mov byte [esp + 0x43], 0x4e
mov byte [esp + 0x44], 0x61
mov byte [esp + 0x46], 0x69
mov byte [esp + 0x47], 0x76
mov byte [esp + 0x49], 0x53
mov byte [esp + 0x4a], 0x79
mov byte [esp + 0x4b], 0x73
mov byte [esp + 0x4e], 0x6d
mov byte [esp + 0x4f], 0x49
mov byte [esp + 0x50], dl
mov byte [esp + 0x51], 0x66
mov byte [esp + 0x52], 0x6f
mov byte [esp + 0x53], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100324f9
lea edx, [esp + 4]
push edx
call eax
mov ax, word [esp + 4]
cmp ax, 9
je 0x100324e4
cmp ax, 6
jne 0x100324f9
mov eax, 1
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1001a52f
add esp, 0x4c
ret
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1001a52f
add esp, 0x4c
ret

Function at 0x10032510
Capabilities:
Parse pe header

Disassembly:
push ecx
push esi
push 0x1000
call fcn.1001a524
mov esi, eax
add esp, 4
test esi, esi
je 0x1003258f
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x1000
push esi
push ecx
push edx
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10032586
cmp dword [esp + 4], 0x1000
jne 0x10032586
mov eax, 0x5a4d
Function at 0x100346c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050258
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x1005b030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0
push 0x8000000
push 3
push 0
push 3
push closesocket
lea ecx, [ebp + 8]
call fcn.10001b60
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x100347dc
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x100347d2
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1001a524
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x100347d2
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x18]
jne 0x10034799
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.100319e0
add esp, 8
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x28], 0
je 0x100347b5
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.1001b03f
add esp, 4
jmp 0x100347c4
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001b30
mov eax, dword [ebp - 0x34]
jmp 0x100348b9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x100352aa
Capabilities:
Contain obfuscated stackstrings

Disassembly:
adc eax, 0x59000000
pop ebx
add ebx, 0x2c
cmp ebx, 0
je 0x100352bf
jmp ebx
sub dword [0xb445c661], 0xb545c64e
je 0x10035291
inc ebp
mov dh, 0x51
mov byte [ebp - 0x49], 0x75
mov byte [ebp - 0x48], 0x65
mov byte [ebp - 0x47], 0x72
mov byte [ebp - 0x46], 0x79
mov byte [ebp - 0x45], 0x49
mov byte [ebp - 0x44], 0x6e
mov byte [ebp - 0x43], 0x66
mov byte [ebp - 0x42], 0x6f
mov byte [ebp - 0x41], 0x72
mov byte [ebp - 0x40], 0x6d
mov byte [ebp - 0x3f], 0x61
mov byte [ebp - 0x3e], 0x74
mov byte [ebp - 0x3d], 0x69
mov byte [ebp - 0x3c], 0x6f
mov byte [ebp - 0x3b], 0x6e
mov byte [ebp - 0x3a], 0x50
mov byte [ebp - 0x39], 0x72
mov byte [ebp - 0x38], 0x6f
mov byte [ebp - 0x37], 0x63
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x35], 0x73
mov byte [ebp - 0x34], 0x73
mov byte [ebp - 0x33], 0
mov eax, dword [str.ntdll]
mov dword [ebp - 0x5c], eax
mov cx, word [0x10054b04]
mov word [ebp - 0x58], cx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x54], eax
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov word [ebp - 0x58], cx
xor edx, edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov word [ebp - 0x34], dx
cmp dword [ebp - 0x54], 0
jne 0x10035383
xor eax, eax
jmp 0x100355fc
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [eax + 0x13b4c]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
jne 0x10035476
xor eax, eax
jmp 0x100355fc
push 0
push 0x18
lea edx, [ebp - 0x28]
push edx
push 0
mov eax, dword [ebp - 0x2c]
push eax
call dword [ebp - 0x54]
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x60], 0
jne 0x1003554a
mov dword [ebp - 0x290], 0
push 0x220
push 0
lea edx, [ebp - 0x28c]
push edx
call fcn.1001c860
add esp, 0xc
mov dword [ebp - 0x290], 0x224
mov eax, dword [ebp - 0x14]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x294], 0xffffffff
je 0x1003552e
lea ecx, [ebp - 0x290]
push ecx
mov edx, dword [ebp - 0x294]
push edx
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x10035521
lea eax, [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x2b8]
add ecx, 0x136ac
call fcn.10035220
mov dword [ebp - 0x64], 1
mov ecx, dword [ebp - 0x294]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x64], 0
jne 0x1003554a
push 0x10055934
mov ecx, dword [ebp - 0x2b8]
add ecx, 0x136ac
call fcn.10035220
jmp 0x10035559
mov dword [ebp - 4], 0xffffffff
mov eax, 1
jmp 0x100355fc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.1001a52f
mov esp, ebp
pop ebp
ret
Function at 0x10035bc0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050320
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1005b030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0x10055934
mov dword [ebp - 4], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10035c39
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10035c14
sub ecx, esi
push ecx
push eax
lea ecx, [edi + 0x54]
call fcn.10001ed0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x10055934
jmp 0x10035c1f
Function at 0x10042860
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x10050d08
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005b030]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
push 0x20a
mov dword [esp + 0x1c], 0x105
call fcn.1001a524
xor ebx, ebx
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x100429df
mov esi, dword [esp + 0x50]
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100428c4
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
push esi
call edi
cmp eax, ebx
jne 0x1004290a
call ebp
cmp eax, 0xea
jne 0x100429ce
mov eax, dword [esp + 0x14]
push eax
call fcn.1001b03f
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ecx]
push edx
call fcn.1001a524
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x100428c0
jmp 0x100429df
mov esi, dword [esp + 0x14]
cmp word [esi], bx
je 0x100429d2
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x4c]
add eax, 0x1588c
mov dword [esp + 0x50], eax
xor ecx, ecx
mov eax, ebp
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10042940
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x28]
call fcn.10008ac0
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x48], ebx
call fcn.10007960
mov edx, esi
lea ecx, [edx + 2]
mov di, word [edx]
add edx, 2
cmp di, bx
jne 0x10042971
sub edx, ecx
sar edx, 1
push edx
push esi
mov ecx, eax
call fcn.10008ac0
cmp dword [esp + 0x38], 8
mov dword [esp + 0x44], 0xffffffff
jb 0x100429a5
mov eax, dword [esp + 0x24]
push eax
call fcn.1001a82a
add esp, 4
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100429b0
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 + 2], bx
lea esi, [esi + eax*2 + 2]
jne 0x10042928
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x100429df
push esi
call fcn.1001b03f
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
Function at 0x10042a00
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
sub esp, 0x418
mov eax, dword [0x1005b030]
xor eax, esp
mov dword [esp + 0x414], eax
push ebp
xor eax, eax
push 0x206
mov dword [esp + 8], ecx
push eax
lea ecx, [esp + 0x21a]
push ecx
mov word [esp + 0x21c], ax
call fcn.1001c860
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x1e]
push eax
mov word [esp + 0x20], dx
call fcn.1001c860
add esp, 0x18
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10042b4e
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10042a72
sub eax, edx
sar eax, 1
push edi
mov edi, 0x5c
dec eax
cmp word [esp + 0xc], di
jne 0x10042b46
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push esi
jmp 0x10042aa0
cmp word [esp + 0x16], di
jne 0x10042b44
cmp word [esp + 0x18], 0x3f
jne 0x10042b44
cmp word [esp + 0x1a], di
jne 0x10042b44
cmp word [esp + eax*2 + 0x14], di
lea esi, [esp + eax*2 + 0x14]
jne 0x10042b44
push 0x104
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x24]
xor edx, edx
push ecx
mov word [esi], dx
call ebx
mov edx, edi
mov word [esi], dx
test eax, eax
je 0x10042b3e
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x220]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.10042860
push 0x104
lea edx, [esp + 0x18]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x10042b3e
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10042b21
sub eax, edx
sar eax, 1
dec eax
cmp word [esp + 0x14], di
je 0x10042aa0
jmp 0x10042b44
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop ebx
push ebp
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
pop edi
mov ecx, dword [esp + 0x418]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.1001a52f
add esp, 0x418
ret
Function at 0x1004306a
Capabilities:
Enumerate process modules

Disassembly:
pop ecx
add ecx, 0x27
cmp ecx, 0
je 0x1004307f
jmp ecx
or dword [0xc085c761], 0xfffffd
add byte [eax], al
add bh, al
test dword [ebp + edi*8 + 0xffff], edi
add byte [eax], al
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x23c], 0
push 0x220
push 0
lea eax, [ebp - 0x238]
push eax
call fcn.1001c860
add esp, 0xc
mov ecx, dword [ebp - 0x2f4]
add ecx, 0x13664
call fcn.100077d0
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100431e3
xor eax, eax
jmp 0x10043410
mov dword [ebp - 0x23c], 0x224
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x1004326c
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x260]
call fcn.10001ac0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x260]
push ecx
mov ecx, dword [ebp - 0x2f4]
add ecx, 0x13664
call fcn.10007720
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.10001b30
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x10043201
mov dword [ebp - 0x240], 1
jmp 0x10043276
mov dword [ebp - 0x240], 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x240]
jmp 0x10043410
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.1001a52f
mov esp, ebp
pop ebp
ret

Function at 0x100446c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100510d8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x19ac
call fcn.10026910
mov eax, dword [0x1005b030]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x180c], ecx
mov dword [ebp - 0x1550], 0
mov eax, dword [ebp - 0x180c]
movzx ecx, byte [eax + 0x1365f]
cmp ecx, 1
jne 0x1004483a
mov edx, dword [ebp - 0x180c]
cmp dword [edx + 0x134f0], 0
jne 0x1004483a
mov eax, 1
jmp 0x1004728c
mov dword [ebp - 0x14], 0

Function at 0x10047f98
Capabilities:
Initialize winsock library

Disassembly:
pop ecx
add ecx, 0x2f
cmp ecx, 0
je 0x10047fad
jmp ecx
adc dword [0xfc458b61], 0x2026850
add byte [eax], al
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10048002
pushal
call fcn.10047fe0
pop ecx
pop edi
pop esi
pop ebx
leave
push ecx
ret
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100488c6
Capabilities:
Send data
Send data on socket

Disassembly:
pop esi
add esi, 0x2b
cmp esi, 0
je 0x100488db
jmp esi
cmp dword [0x8b006a61], 0x8b501045
dec ebp
or al, 0x51
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
pushal
call fcn.10048912
pop ecx
pop edi
pop esi
pop ebx
leave
push ecx
ret
Function at 0x10048c58
Capabilities:
Receive data
Receive data on socket

Disassembly:
pop ecx
add ecx, 0x2f
cmp ecx, 0
je 0x10048c6d
jmp ecx
adc dword [0x8b006a61], 0x8b501045
dec ebp
or al, 0x51
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_recv]
jmp 0x10048e61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10048ee0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4

Function at 0x10049930
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x49c
mov eax, dword [0x1005b030]
xor eax, esp
mov dword [esp + 0x498], eax
push ebx
push esi
mov esi, dword [esp + 0x4a8]
push 0x3ff
lea eax, [esp + 0xa5]
push 0
push eax
mov ebx, ecx
mov byte [esp + 0xac], 0
call fcn.1001c860
xor eax, eax
add esp, 0xc
push eax
push 0x80
push 3
push eax
push 3
push closesocket
push esi
mov byte [esp + 0x88], 0
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov dword [esp + 0x99], eax
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100499d8
mov eax, 0x10055934
jmp 0x10049ac2
push ebp
push edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.10048ee0
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [0x10073f18]
push 0
lea edx, [esp + 0x14]
push edx
push 0x400
lea eax, [esp + 0xb4]
push eax
push esi
call edi
test eax, eax
je 0x10049a43
cmp dword [0x10073f18], 6
jbe 0x10049a2a
push 1
mov dword [0x10073f18], 0
call ebp
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.10049700
cmp dword [esp + 0x10], 0x400
je 0x100499f2
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x9c]
push edx
mov ecx, ebx
call fcn.100497c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [str._02x]
mov cl, byte [0x10054ef4]
mov dword [esp + 0x6c], eax
mov byte [esp + 0x70], cl
xor esi, esi
lea edi, [esp + 0x74]
push 1
call ebp
movzx edx, byte [esp + esi + 0x98]
push edx
lea eax, [esp + 0x70]
push eax
push edi
call fcn.1001a983
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x10049a81
xor esi, esi
push 1
call ebp
mov cl, byte [esp + esi + 0x74]
mov byte [esi + 0x10073ef4], cl
inc esi
cmp esi, 0x20
jl 0x10049aa7
pop edi
mov eax, 0x10073ef4
pop ebp
mov ecx, dword [esp + 0x4a0]
pop esi
pop ebx
xor ecx, esp
call fcn.1001a52f
add esp, 0x49c
ret 4
Function at 0x1004a300
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
sub esp, 8
push esi
push 0
lea eax, [esp + 0xc]
mov esi, ecx
push eax
mov dword [esi], vtable.CMyHttpPage.0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test byte [esp + 8], 4
push 0
push 0
mov dword [esp + 0xc], 0x364549
push 0
jne 0x1004a345
push 4
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 4], eax
mov eax, esi
pop esi
add esp, 8
ret
push 0
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 4], eax
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x1004a3a0
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ecx
mov eax, dword [0x1005b030]
xor eax, esp
mov dword [esp], eax
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x14]
mov ebx, 0x10
push edi
cmp dword [eax + 0x18], ebx
jb 0x1004a3c5
mov eax, dword [eax + 4]
jmp 0x1004a3c8
add eax, 4
push 0
push 0
push 3
push 0
push 0
push 0x50
push eax
mov eax, dword [ecx + 4]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
je 0x1004a413
cmp dword [esi + 0x18], ebx
jb 0x1004a3ef
mov eax, dword [esi + 4]
jmp 0x1004a3f2
lea eax, [esi + 4]
push 0
push 0
push 0
push 0
push 0
push eax
push 0
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
jne 0x1004a426
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp]
xor ecx, esp
call fcn.1001a52f
pop ecx
ret 8
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
setne bl
call esi
push edi
call esi
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.1001a52f
pop ecx
ret 8