joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430df0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a4407
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
push edi
push 0x4a8994
push edi
lea ecx, [esi + 0x38]
mov dword [esp + 0x24], edi
call fcn.00441940
mov dword [esi + 0x4c], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
lea ebp, [esi + 0x60]
mov ecx, ebp
mov byte [esp + 0x18], 2
call fcn.0042d2e0
mov dword [ebp + 4], eax
mov byte [eax + 0x25], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
lea ebp, [esi + 0x6c]
mov ecx, ebp
mov byte [esp + 0x18], 3
call fcn.0042d320
mov dword [ebp + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x431620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
mov edx, dword [ebx + 0xc]
imul edx, dword [esp + 0x30]
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0xc]
sub eax, edx
cmp eax, dword [ecx]
push esi
push edi
mov dword [esp + 0xc], eax
jae 0x431659
lea ecx, [esp + 0xc]
mov edi, dword [ecx]
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov eax, dword [ebx + 8]
cmp eax, edi
mov dword [esp + 0x30], esi
jae 0x4316a2
jmp 0x431680
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], esi
call fcn.0042f330
mov eax, dword [ebx + 8]
add esi, eax
lea ecx, [eax + esi]
cmp ecx, edi
jb 0x431680
lea edx, [esp + 0xc]
sub edi, esi
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call fcn.0042f330
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [ebx + 0x60]
call fcn.00431460
mov ecx, eax
call fcn.00430360
lea ecx, [esp + 0x14]
call fcn.0044e540
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x438060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4943
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], eax
mov dword [esp + 0x10], eax
mov byte [esi + 0x20], al
mov cl, 1
mov byte [esp + 0x10], cl
mov byte [esi + 0x51], cl
lea ecx, [esi + 0x38]
mov dword [esi + 0x5c], 0xea60
mov dword [esi + 0x60], eax
mov byte [esi + 0x50], al
mov dword [esi + 0x64], eax
mov byte [esi + 0x68], al
call fcn.00444600
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x43aa20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a49f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x2c]
mov ecx, edi
mov dword [esp + 0x10], esi
call fcn.0044eb90
mov dword [edi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea ebp, [esi + 0x38]
mov ecx, ebp
mov dword [esp + 0x1c], ebx
call fcn.00439480
mov dword [ebp + 4], eax
mov byte [eax + 0x19], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], ebx
fild dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
fstp qword [esi + 0x10]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x44]
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x48]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x28], edx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
mov byte [esp + 0x20], 1
call fcn.0044e990
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43b100
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a4a78
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x2c]
lea ebx, [esi + 0x268]
push edi
mov ecx, ebx
call fcn.00441920
test al, al
jne 0x43b21a
push 1
push edi
mov ecx, ebx
call fcn.004418f0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push edi
call fcn.00437bf0
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
call fcn.00436160
test al, al
je 0x43b181
mov ecx, ebx
call fcn.00441930
test eax, eax
jne 0x43b181
mov ecx, dword [esi + 4]
call fcn.0043d660
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov edx, dword [esi]
mov ecx, dword [edx]
call fcn.0042cc90
test al, al
je 0x43b1a9
mov ecx, esi
call fcn.0043a710
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov eax, dword [esi]
mov ecx, dword [eax]
push edi
call fcn.004316f0
test al, al
je 0x43b21a
xor eax, eax
cmp byte [esi + 8], al
jne 0x43b209
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edi
call fcn.004167a0
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0043ac70
lea ecx, [esp + 0xc]
call fcn.0042d990
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
cmp byte [esi + 9], al
jne 0x43b21a
mov ecx, dword [esi + 4]
mov byte [esi + 9], 1
call fcn.0043d5e0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x442770
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
mov dword [ecx + 0x18], 0xc3d2e1f0
ret
Function at 0x443070
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push esi
shr edx, 2
push edi
mov eax, 0xeeeeeeee
mov edi, edx
mov esi, ecx
je 0x4430ce
mov edx, dword [esp + 0xc]
push ebx
jmp 0x443090
mov ecx, edx
and ecx, 0xff
add eax, dword [ecx*4 + 0x4ded80]
sub edi, 1
lea ecx, [eax + edx]
xor ecx, dword [esi]
mov ebx, eax
mov dword [esi], ecx
shl ebx, 5
add ebx, ecx
mov ecx, edx
not ecx
shl ecx, 0x15
add ecx, 0x11111111
shr edx, 0xb
add esi, 4
or edx, ecx
test edi, edi
lea eax, [eax + ebx + 3]
jne 0x443090
pop ebx
pop edi
pop esi
ret 4

Function at 0x4430e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push edi
mov edi, edx
shr edi, 2
mov eax, 0xeeeeeeee
mov edx, ecx
je 0x443141
mov ecx, dword [esp + 8]
push ebx
push esi
jmp 0x443100
mov esi, ecx
and esi, 0xff
add eax, dword [esi*4 + 0x4ded80]
mov esi, dword [edx]
lea ebx, [eax + ecx]
xor ebx, esi
mov dword [edx], ebx
mov ebx, eax
shl ebx, 5
add ebx, esi
mov esi, ecx
not esi
shl esi, 0x15
add esi, 0x11111111
shr ecx, 0xb
sub edi, 1
add edx, 4
or ecx, esi
test edi, edi
lea eax, [eax + ebx + 3]
jne 0x443100
pop esi
pop ebx
pop edi
ret 4

Function at 0x443150
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov bl, byte [ecx]
add ecx, 1
test bl, bl
push esi
mov eax, 0x7fed7fed
mov esi, 0xeeeeeeee
je 0x44319d
shl edx, 8
push edi
mov edi, edx
jmp 0x443170
movzx edx, bl
movzx edx, byte [edx + 0x4df180]
add eax, esi
lea ebx, [edi + edx]
xor eax, dword [ebx*4 + 0x4ddd80]
mov ebx, esi
shl ebx, 5
add ebx, edx
add ebx, esi
lea esi, [ebx + eax + 3]
mov bl, byte [ecx]
add ecx, 1
test bl, bl
jne 0x443170
pop edi
pop esi
pop ebx
ret

Function at 0x444890
Capabilities:
Set socket configuration

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x8004667e
push ecx
mov dword [esp + 0xc], 1
call sub.WS2_32.dll_ioctlsocket
test eax, eax
je 0x4448b6
mov dword [0x4e3fbc], 0x1f41
xor ecx, ecx
test eax, eax
sete cl
mov al, cl
pop ecx
ret

Function at 0x445210
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov dl, byte [ecx]
test dl, dl
mov eax, 0x1000193
je 0x44523e
jmp 0x445220
movzx edx, dl
xor eax, edx
mov dl, byte [ecx + 1]
imul eax, eax, 0x1000193
add ecx, 1
test dl, dl
jne 0x445220
test eax, eax
jne 0x44523e
mov eax, 1
ret

Function at 0x445240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 8]
mov dl, byte [esi]
test dl, dl
mov eax, 0x1000193
je 0x44526e
movzx edx, dl
xor eax, edx
mov dl, byte [esi + 1]
imul eax, eax, 0x1000193
add esi, 1
test dl, dl
jne 0x445250
test eax, eax
jne 0x44526e
mov eax, 1
mov edx, dword [esp + 0xc]
mov esi, eax
and esi, 0x3f
mov dword [edx], esi
cmp dword [ecx + esi*8], 0
je 0x445295
nop
mov esi, dword [edx]
cmp dword [ecx + esi*8], eax
je 0x44529b
add esi, 1
and esi, 0x3f
mov dword [edx], esi
cmp dword [ecx + esi*8], 0
jne 0x445280
xor al, al
pop esi
ret 8
mov al, 1
pop esi
ret 8
Function at 0x446730
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x58
xor eax, eax
push esi
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
push eax
mov esi, ecx
push edx
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00446580
push esi
lea ecx, [esp + 8]
call fcn.00446680
pop esi
add esp, 0x58
ret 4

Function at 0x446840
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x60
xor eax, eax
push esi
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
push eax
mov esi, ecx
push edx
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
mov dword [esp + 0x24], 0xc3d2e1f0
call fcn.004427b0
push esi
lea ecx, [esp + 8]
call fcn.00446780
pop esi
add esp, 0x60
ret 4

Function at 0x4468a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
test ecx, ecx
push esi
jne 0x4468a9
xor edx, edx
jmp 0x4468bd
mov eax, ecx
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4468b0
sub eax, esi
mov edx, eax
test edx, edx
mov eax, 0x811c9dc5
je 0x4468db
movzx esi, byte [ecx]
xor eax, esi
sub edx, 1
imul eax, eax, 0x1000193
add ecx, 1
test edx, edx
jne 0x4468c6
pop esi
ret

Function at 0x4489c0
Capabilities:
Connect to http server

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, ecx
mov ecx, dword [edi]
push edi
push 0
push 3
push 0
push 0
push eax
push edx
push ecx
mov dword [edi + 0x1c], 0
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
test esi, esi
jne 0x448a09
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4489fd
pop edi
xor eax, eax
pop esi
ret 4
mov edx, dword [edi + 0xc]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 2
push esi
call edi
push 4
lea ecx, [esp + 0x10]
push ecx
push 6
push esi
call edi
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x449c90
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 2
call sub.WS2_32.dll_WSAStartup
test eax, eax
sete al
test al, al
jne 0x449cb4
mov dword [0x4e3fbc], 0x1f4a
add esp, 0x190
ret
Function at 0x449cc0
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
sub esp, 8
push esi
push edi
push 6
push 1
push 2
mov esi, edx
mov edi, ecx
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [edi], eax
jne 0x449cef
pop edi
mov dword [0x4e3fbc], 0x1f40
xor al, al
pop esi
add esp, 8
ret 4
cmp esi, 0xffffffff
push ebx
mov ebx, 4
je 0x449d47
test esi, esi
jne 0x449d03
mov esi, 0x4000
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x1002
push 0xffff
push eax
mov dword [esp + 0x20], ebx
call sub.WS2_32.dll_getsockopt
cmp dword [esp + 0x10], esi
je 0x449d47
mov ecx, dword [edi]
push ebx
lea eax, [esp + 0x14]
push eax
push 0x1002
push 0xffff
push ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
call sub.WS2_32.dll_setsockopt
mov esi, dword [esp + 0x18]
cmp esi, 0xffffffff
je 0x449d9f
test esi, esi
jne 0x449d59
mov esi, 0x4000
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x1001
push 0xffff
push ecx
mov dword [esp + 0x20], ebx
call sub.WS2_32.dll_getsockopt
cmp dword [esp + 0x18], esi
je 0x449d9f
mov eax, dword [edi]
push ebx
lea edx, [esp + 0x1c]
push edx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], ebx
call sub.WS2_32.dll_setsockopt
pop ebx
pop edi
mov al, 1
pop esi
add esp, 8
ret 4

Function at 0x449db0
Capabilities:
Set socket configuration

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
cmp dword [esi], 0xffffffff
mov bl, dl
je 0x449e31
push edi
call sub.WS2_32.dll_WSAGetLastError
lea ecx, [esp + 0xc]
push ecx
mov edi, eax
mov eax, dword [esi]
push 0x8004667e
push eax
mov dword [esp + 0x18], 0
call sub.WS2_32.dll_ioctlsocket
test eax, eax
je 0x449dec
mov dword [0x4e3fbc], 0x1f42
test bl, bl
je 0x449e17
mov eax, dword [esi]
push 4
lea edx, [esp + 0x10]
push edx
push 0x80
push 0xffff
push eax
mov word [esp + 0x20], 1
mov word [esp + 0x22], 0
call sub.WS2_32.dll_setsockopt
mov ecx, dword [esi]
push ecx
call sub.WS2_32.dll_closesocket
mov dword [esi], 0xffffffff
call sub.WS2_32.dll_WSAGetLastError
push edi
call sub.WS2_32.dll_WSASetLastError
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret
Function at 0x449e40
Capabilities:
Get socket status

Disassembly:
sub esp, 0x31c
push ebx
mov ebx, dword [esp + 0x324]
push ebp
mov ebp, dword [ebx]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edx
xor esi, esi
xor edx, edx
xor ecx, ecx
test ebp, ebp
mov dword [esp + 0x124], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x228], ecx
mov eax, edi
jle 0x449ee0
mov ebx, ebp
mov dword [esp + 0x10], ebx
lea ecx, [ecx]
cmp esi, 0x40
jae 0x449e9f
mov ebx, dword [eax]
mov dword [esp + esi*4 + 0x128], ebx
mov esi, dword [esp + 0x124]
add esi, 1
mov dword [esp + 0x124], esi
cmp edx, 0x40
jae 0x449eb5
mov ebx, dword [eax]
mov dword [esp + edx*4 + 0x24], ebx
mov edx, dword [esp + 0x20]
add edx, 1
mov dword [esp + 0x20], edx
cmp ecx, 0x40
jae 0x449ed4
mov ebx, dword [eax]
mov dword [esp + ecx*4 + 0x22c], ebx
mov ecx, dword [esp + 0x228]
add ecx, 1
mov dword [esp + 0x228], ecx
add eax, 4
sub dword [esp + 0x10], 1
jne 0x449e80
test ebp, ebp
jne 0x449f1e
mov ecx, dword [esp + 0x338]
test ecx, ecx
jl 0x449f0f
mov eax, dword [esp + 0x334]
jg 0x449efa
test eax, eax
jbe 0x449f0f
push 0
push 0x3e8
push ecx
push eax
call fcn.0048b9a0
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x31c
ret 0xc
mov eax, dword [esp + 0x338]
mov ecx, dword [esp + 0x334]
push 0
push 0xf4240
push eax
push ecx
call fcn.0048e960
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x22c]
push eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x130]
push edx
push 0
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x449f75
call sub.WS2_32.dll_WSAGetLastError
mov ecx, dword [esp + 0x330]
xor eax, eax
xor ebp, ebp
cmp dword [ecx], eax
mov dword [esp + 0x10], eax
jle 0x449ff9
mov eax, dword [esp + 0x14]
sub eax, edi
mov dword [esp + 0x14], eax
mov ebx, dword [edi]
lea edx, [esp + 0x124]
push edx
push ebx
xor esi, esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x449fad
mov esi, 1
lea eax, [esp + 0x20]
push eax
push ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x449fbf
or esi, 2
lea ecx, [esp + 0x228]
push ecx
push ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x449fd4
or esi, 4
test esi, esi
mov edx, dword [esp + 0x14]
mov dword [edx + edi], esi
je 0x449fe4
add dword [esp + 0x10], 1
mov eax, dword [esp + 0x330]
add ebp, 1
add edi, 4
cmp ebp, dword [eax]
jl 0x449f92
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x330]
pop edi
xor edx, edx
test eax, eax
pop esi
setg dl
pop ebp
mov dword [ecx], eax
mov al, dl
pop ebx
add esp, 0x31c
ret 0xc
Function at 0x44a610
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4a5a78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
cmp byte [0x4e43c7], 0
je 0x44a696
push edi
push 0x4e43c8
mov dword [esp + 8], 0x4e43c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [0x4e45f8], edi
mov dword [esp + 0x10], 0
jbe 0x44a68a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
lea ecx, [ecx]
mov eax, dword [edi*4 + 0x4e43e0]
mov esi, dword [eax + 4]
test esi, esi
je 0x44a67d
mov eax, dword [eax]
not eax
push eax
call ebx
test eax, eax
je 0x44a67d
mov ecx, eax
call esi
add edi, 1
cmp edi, dword [0x4e45f8]
jb 0x44a660
pop esi
pop ebx
push 0x4e43c8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x44a780
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x44a811
mov eax, dword [esi]
or eax, dword [esi + 4]
je 0x44a811
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x20]
push ecx
mov ebx, eax
call ebp
lea esp, [esp]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call edi
lea edx, [esp + 0x18]
mov esi, eax
push edx
mov dword [esp + 0x18], esi
call ebp
cmp esi, ebx
je 0x44a7c0
xor esi, esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
call fcn.00444fe0
fcomp qword [0x4caca8]
fnstsw ax
test ah, 5
jnp 0x44a81b
add esi, 1
cmp esi, 3
jl 0x44a7e4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44bf40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a50e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x40]
push ebx
push ebp
push esi
mov esi, ecx
mov cl, byte [esp + 0x48]
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], eax
mov byte [esi + 8], cl
mov dword [esi + 0xc], 1
mov dl, byte [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov al, byte [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov byte [esi + 0x2c], dl
mov dl, byte [esp + 0x40]
xor ebx, ebx
cmp ebp, 1
mov dword [esi], vtable.Blizzard::IOAlignUnitInternal.0
mov dword [esi + 0x28], edi
mov byte [esi + 0x2d], al
mov dword [esi + 0x30], ecx
mov byte [esi + 0x34], dl
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x38], ebp
ja 0x44bfb5
lea eax, [esi + 0x40]
jmp 0x44bfd0
xor ecx, ecx
mov eax, ebp
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00409fd0
add esp, 4
cmp byte [esp + 0x38], bl
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
jne 0x44c01a
push ebx
lea edx, [edi - 1]
xor ebp, ebp
add edx, eax
push edi
adc ebp, ecx
push ebp
push edx
call fcn.0048b9a0
push ebx
push edi
push edx
push eax
call fcn.0048ba50
mov ebp, dword [esp + 0x30]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
xor ebx, ebx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
xor ecx, ecx
cmp edx, ecx
jg 0x44c02e
jl 0x44c037
cmp eax, edi
jb 0x44c037
push ecx
push edi
push edx
push eax
call fcn.0048de90
cmp ebp, ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jbe 0x44c070
xor eax, eax
mov edx, ebp
or edi, 0xffffffff
jmp 0x44c050
mov ecx, dword [esi + 0x3c]
mov dword [eax + ecx], edi
mov dword [eax + ecx + 4], edi
mov ecx, dword [esi + 0x3c]
mov byte [eax + ecx + 8], bl
mov ecx, dword [esi + 0x3c]
mov dword [eax + ecx + 0xc], ebx
add eax, 0x10
sub edx, 1
jne 0x44c050
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x30

Function at 0x44c930
Capabilities:
Hash data with md5

Disassembly:
mov dl, byte [esp + 0x18]
mov eax, ecx
mov ecx, dword [esp + 0x1c]
mov byte [eax + 8], dl
mov edx, dword [esp + 4]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 8]
mov dword [eax + 0x1c], edx
mov dl, byte [esp + 0x10]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 0x24], dl
mov edx, dword [esp + 0x14]
cmp edx, ecx
mov dword [eax + 0xc], 1
mov dword [eax], vtable.Blizzard::IOChecksumUnitInternal.0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x20], ecx
je 0x44c977
mov dword [edx], eax
mov edx, dword [esp + 0xc]
mov dword [eax], vtable.Blizzard::IOMD5ChecksumUnit.0
mov dword [eax + 0x28], edx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x34], 0x67452301
mov dword [eax + 0x38], 0xefcdab89
mov dword [eax + 0x3c], 0x98badcfe
mov dword [eax + 0x40], 0x10325476
ret 0x1c
Function at 0x44cad0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4a50d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x30]
push esi
mov esi, ecx
mov cl, byte [esp + 0x30]
mov dword [esp + 4], esi
mov dword [esi + 4], eax
mov byte [esi + 8], cl
mov dword [esi + 0xc], 1
mov eax, dword [esp + 0x20]
add eax, 2
cmp eax, 0xa
mov dword [esi], vtable.Blizzard::IOMopaqSectorReadUnitInternal.0
mov dword [esp + 0x10], 0
mov dword [esi + 0x10], eax
ja 0x44cb27
lea edx, [esi + 0x18]
mov dword [esi + 0x14], edx
jmp 0x44cb43
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00409fd0
add esp, 4
mov dword [esi + 0x14], eax
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea eax, [esi + 0x48]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x40], 0
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x70], edx
xor edx, edx
mov dword [esi + 0x78], eax
div ecx
mov dword [esi + 0x68], ecx
test edx, edx
mov dword [esi + 0x6c], edx
jne 0x44cb7a
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [ecx], 0xfffffffe
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 8]
mov dword [edx + 4], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20