joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d130
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x100d8180]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x1000d1df
mov eax, dword [esi + 4]
push 0xfc
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x100]
push 0
push eax
mov dword [ebp - 0x108], 1
call fcn.10081440
add esp, 0xc
mov dword [ebp - 0x110], 0
lea eax, [ebp - 0x110]
mov dword [ebp - 0x10c], 0
push eax
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push 0
call sub.WS2_32.dll_select
sub eax, 0
je 0x1000d1dc
sub eax, 1
je 0x1000d1ca
mov dword [esi + 0xc], 0xffffffff
mov eax, dword [esi + 0xc]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f9c9
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
test eax, eax
jne 0x1000d1dc
mov dword [esi + 0xc], 1
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1007f9c9
mov esp, ebp
pop ebp
ret

Function at 0x1000d210
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x100d8180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x114], ecx
cmp dword [ebx + 0xc], 0
je 0x1000d251
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f9c9
mov esp, ebp
pop ebp
ret 8
push esi
push edi
mov esi, eax
lea edi, [ecx + eax]
mov eax, dword [0x100d97dc]
test eax, eax
je 0x1000d277
mov ecx, dword [0x100da0f4]
call sub.WINMM.dll_timeGetTime
mov ecx, eax
mov eax, dword [0x100d97dc]
add ecx, eax
jmp 0x1000d27d
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x110], ecx
cmp esi, edi
jae 0x1000d368
nop dword [eax + eax]
xor edi, edi
test eax, eax
je 0x1000d2b1
mov ecx, dword [0x100da0f4]
call sub.WINMM.dll_timeGetTime
mov edi, dword [ebp - 0x110]
sub edi, eax
mov eax, 0
cmovs edi, eax
mov eax, dword [ebx + 4]
push 0xfc
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x100]
push 0
push eax
mov dword [ebp - 0x108], 1
call fcn.10081440
mov eax, 0x10624dd3
add esp, 0xc
imul edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x11c], eax
imul eax, eax, 0x3e8
sub edi, eax
imul eax, edi, 0x3e8
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x11c]
push eax
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push 0
call sub.WS2_32.dll_select
cmp eax, 1
jne 0x1000d361
mov edi, dword [ebp - 0x114]
add edi, dword [ebp - 0x10c]
push 0
mov eax, edi
sub eax, esi
push eax
push esi
push dword [ebx + 4]
call sub.WS2_32.dll_recv
test eax, eax
je 0x1000d358
cmp eax, 0xffffffff
je 0x1000d361
add esi, eax
cmp esi, edi
jae 0x1000d368
mov eax, dword [0x100d97dc]
jmp 0x1000d290
mov dword [ebx + 0xc], 1
jmp 0x1000d368
mov dword [ebx + 0xc], 0xffffffff
sub esi, dword [ebp - 0x10c]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007f9c9
mov esp, ebp
pop ebp
ret 8
Function at 0x1000d3e0
Capabilities:
Get socket status
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x100d8180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x54], 0
jne 0x1000d5bf
mov eax, dword [0x100d97d8]
test eax, eax
je 0x1000d421
mov ecx, dword [0x100da0f4]
call sub.WINMM.dll_timeGetTime
mov edi, eax
mov eax, dword [0x100d97d8]
add edi, eax
jmp 0x1000d427
mov edi, dword [ebp - 0x11c]
mov dword [ebp - 0x118], edi
nop dword [eax]
xor esi, esi
test eax, eax
je 0x1000d44d
mov ecx, dword [0x100da0f4]
call sub.WINMM.dll_timeGetTime
mov esi, edi
sub esi, eax
mov eax, 0
cmovs esi, eax
mov eax, dword [ebx + 4]
push 0xfc
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x100]
push 0
push eax
mov dword [ebp - 0x108], 1
call fcn.10081440
mov eax, 0x10624dd3
add esp, 0xc
imul esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x124], eax
imul eax, eax, 0x3e8
sub esi, eax
imul eax, esi, 0x3e8
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x124]
push eax
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push 0
call sub.WS2_32.dll_select
test eax, eax
je 0x1000d5bf
cmp eax, 1
jne 0x1000d5b8
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0xffffffff
push eax
push 0x4004667f
push dword [ebx + 4]
call sub.WS2_32.dll_ioctlsocket
test eax, eax
jne 0x1000d5b8
mov eax, dword [ebx + 0xc]
mov ecx, eax
mov edx, dword [ebx + 8]
sub ecx, edx
mov esi, dword [ebp - 0x10c]
mov dword [ebp - 0x114], eax
cmp esi, ecx
jae 0x1000d510
lea eax, [edx + esi]
jmp 0x1000d554
jbe 0x1000d557
mov eax, dword [ebx + 0x10]
sub eax, edx
cmp esi, eax
jbe 0x1000d533
lea eax, [ebp - 0x10d]
push eax
push esi
lea ecx, [ebx + 8]
call fcn.1000b7d0
mov esi, dword [ebp - 0x10c]
jmp 0x1000d557
sub esi, ecx
push esi
push 0
push dword [ebp - 0x114]
call fcn.10081440
mov eax, dword [ebp - 0x114]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 0x10c]
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x11c]
mov dword [ebx + 0x50], 0
push eax
lea eax, [ebx + 0x30]
mov dword [ebp - 0x11c], 0x10
push eax
push 0
push esi
push dword [ebx + 8]
push dword [ebx + 4]
call sub.WS2_32.dll_recvfrom
cmp eax, 0xffffffff
jne 0x1000d596
mov eax, dword [0x100d97d8]
mov edi, dword [ebp - 0x118]
jmp 0x1000d430
push eax
lea ecx, [ebx + 8]
call fcn.1000d5e0
push dword [ebx + 0x34]
call sub.WS2_32.dll_ntohl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f9c9
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x54], 0xffffffff
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007f9c9
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x1000d8e4
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
jne 0x1000d8e6
mov dword [esi + 0xc], eax
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x1002a080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae6c5
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100d8180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [0x100da174]
lea eax, [ebp - 0x60]
push 1
push 4
push eax
call fcn.1008d4af
movups xmm0, xmmword [0x100b6c40]
mov edi, dword [ebp - 0x60]
push dword [0x100da174]
mov esi, dword [0x100da160]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
call fcn.1008e716
mov ecx, dword [esi - 4]
add esp, 0x14
sub ecx, eax
je 0x1002a29c
lea ebx, [edi*4]
lea eax, [ebp - 0x58]
push eax
call fcn.1002ada0
push dword [0x100da174]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push 1
push 0x10
push eax
call fcn.1008d4af
push dword [0x100da174]
lea eax, [ebp - 0x64]
push 1
push 4
push eax
call fcn.1008d4af
push dword [0x100da174]
movss xmm0, dword [ebp - 0x64]
lea eax, [ebp - 0x68]
push 1
push 4
push eax
movss dword [ebp - 0x70], xmm0
call fcn.1008d4af
push dword [0x100da174]
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x6c]
push 1
push 4
push eax
call fcn.1008d4af
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x40]
add esp, 0x40
push dword [0x100da174]
push 1
push ebx
push eax
call fcn.1008d4af
add esp, 0x10
lea ecx, [ebp - 0x5c]
call fcn.1002d4b0
movss xmm0, dword [ebp - 0x20]
lea eax, [ebp - 0x7c]
movss dword [ebp - 0x7c], xmm0
lea ecx, [ebp - 0x5c]
movss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
movss dword [ebp - 0x74], xmm0
call fcn.1002dbe0
movss xmm0, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x5c]
movss dword [esp], xmm0
call fcn.1002db70
movss xmm0, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x5c]
movss dword [esp], xmm0
call fcn.1002dc30
push edi
lea ecx, [ebp - 0x5c]
call fcn.1002dbc0
push esi
lea ecx, [ebp - 0x5c]
call fcn.1002dc10
xor esi, esi
nop word [eax + eax]
mov ecx, dword [ebp + esi*4 - 0x40]
test ecx, ecx
js 0x1002a20c
mov eax, dword [0x100da144]
push 0
lea eax, [eax + ecx*4]
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.1002dc50
inc esi
cmp esi, 8
jl 0x1002a1f0
mov eax, dword [0x100da16c]
lea ecx, [ebp - 0x5c]
push ecx
cmp eax, dword [0x100da170]
je 0x1002a233
mov ecx, eax
call fcn.1002d490
add dword [0x100da16c], 4
jmp 0x1002a23e
push eax
mov ecx, 0x100da168
call fcn.10024700
lea ecx, [ebp - 0x5c]
call fcn.1002d660
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x1002a27d
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a273
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a2b8
push ecx
push edx
call fcn.1007f339
add esp, 8
push dword [0x100da174]
mov esi, dword [0x100da160]
call fcn.1008e716
mov ecx, dword [esi - 4]
add esp, 4
sub ecx, eax
jne 0x1002a0f6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f9c9
mov esp, ebp
pop ebp
ret
call fcn.1008498a
int3
Function at 0x1002a2c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push dword [0x100da174]
push 1
push 8
push eax
call fcn.1008d4af
add esp, 0x10
cmp eax, 1
jae 0x1002a2e7
xor eax, eax
mov esp, ebp
pop ebp
ret
push dword [0x100da174]
call fcn.1008e716
add eax, dword [ebp - 8]
add esp, 4
mov ecx, dword [0x100da160]
mov dword [ebp - 4], eax
cmp ecx, dword [0x100da164]
je 0x1002a31b
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
add dword [0x100da160], 4
bswap eax
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, 0x100da15c
call fcn.1000b4f0
mov eax, dword [ebp - 0xc]
bswap eax
mov esp, ebp
pop ebp
ret
Function at 0x1002a340
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae72f
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100d8180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x20], ebx
push dword [0x100da174]
mov esi, dword [0x100da160]
call fcn.1008e716
mov ecx, dword [esi - 4]
add esp, 4
sub ecx, eax
je 0x1002a53d
push dword [0x100da174]
lea eax, [ebp - 0x3c]
push 1
push 8
push eax
call fcn.1008d4af
add esp, 0x10
cmp eax, 1
jb 0x1002a500
push dword [0x100da174]
call fcn.1008e716
add eax, dword [ebp - 0x38]
add esp, 4
mov ecx, dword [0x100da160]
mov dword [ebp - 0x28], eax
cmp ecx, dword [0x100da164]
je 0x1002a3dd
mov dword [ecx], eax
add dword [0x100da160], 4
jmp 0x1002a3ec
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, 0x100da15c
call fcn.1000b4f0
mov eax, dword [ebp - 0x3c]
bswap eax
cmp eax, 0x54524953
je 0x1002a40f
cmp eax, 0x56525453
jne 0x1002a500
call fcn.1002b180
mov edi, eax
jmp 0x1002a500
push dword [0x100da174]
lea eax, [ebp - 0x2c]
push 1
push 4
push eax
call fcn.1008d4af
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
test ecx, ecx
js 0x1002a449
mov eax, dword [0x100da168]
lea eax, [eax + ecx*4]
push eax
lea ecx, [ebp - 0x34]
call fcn.1002d490
mov dword [ebp - 4], 0
or ebx, 1
jmp 0x1002a45b
lea ecx, [ebp - 0x30]
call fcn.1002d4b0
mov dword [ebp - 4], 1
or ebx, 2
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], ebx
call fcn.1002d490
mov dword [ebp - 4], 2
test bl, 2
je 0x1002a481
and ebx, 0xfffffffd
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], ebx
call fcn.1002d660
mov byte [ebp - 4], 4
test bl, 1
je 0x1002a498
and ebx, 0xfffffffe
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], ebx
call fcn.1002d660
push dword [0x100da174]
mov esi, dword [0x100da160]
call fcn.1008e716
mov ecx, dword [esi - 4]
add esp, 4
sub ecx, eax
je 0x1002a4f1
push dword [0x100da174]
lea eax, [ebp - 0x1c]
push 1
push 0xc
push eax
call fcn.1008d4af
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10041910
push dword [0x100da174]
mov esi, dword [0x100da160]
call fcn.1008e716
mov ecx, dword [esi - 4]
add esp, 4
sub ecx, eax
jne 0x1002a4b3
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.1002d660
mov eax, dword [0x100da160]
push 0
push dword [eax - 4]
push dword [0x100da174]
call fcn.1008d8b9
mov esi, dword [0x100da160]
push dword [0x100da174]
sub esi, 4
mov dword [0x100da160], esi
call fcn.1008e716
mov ecx, dword [esi - 4]
add esp, 0x10
sub ecx, eax
jne 0x1002a391
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f9c9
mov esp, ebp
pop ebp
ret
Function at 0x1002ada0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 0xb]
push dword [0x100da174]
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push eax
mov byte [esi], 0
call fcn.1008d4af
mov cl, byte [ebp + 0xb]
add esp, 0x10
mov byte [ebp - 1], cl
test cl, cl
je 0x1002af0e
push ebx
push edi
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0x10], edi
cmp ebx, edi
jae 0x1002ae1e
lea eax, [ebx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edi, 0xf
jbe 0x1002ae11
mov eax, dword [esi]
mov byte [eax + ebx], cl
mov byte [eax + ebx + 1], 0
jmp 0x1002aee8
mov eax, bind
sub eax, ebx
cmp eax, 1
jb 0x1002af17
lea ecx, [ebx + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x1002ae43
mov ecx, bind
jmp 0x1002ae61
mov edx, edi
mov eax, bind
shr edx, 1
sub eax, edx
cmp edi, eax
jbe 0x1002ae59
mov ecx, bind
jmp 0x1002ae61
lea eax, [edx + edi]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 8]
mov dword [ebp - 8], ecx
push eax
push esi
call fcn.10001be0
mov ecx, eax
lea eax, [ebx + 1]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x14], eax
mov dword [ebp - 0xc], ecx
lea eax, [ecx + ebx]
mov dword [ebp - 8], eax
push ebx
cmp edi, 0xf
jbe 0x1002aecd
mov edi, dword [esi]
push edi
push ecx
call fcn.10080ec0
mov ecx, dword [ebp - 8]
add esp, 0xc
mov al, byte [ebp - 1]
mov byte [ecx], al
mov byte [ecx + 1], 0
mov ecx, dword [ebp - 0x10]
inc ecx
cmp ecx, 0x1000
jb 0x1002aec1
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1002af1c
mov edi, edx
push ecx
push edi
call fcn.1007f339
add esp, 8
jmp 0x1002aee3
push esi
push ecx
call fcn.10080ec0
mov ecx, dword [ebp - 8]
add esp, 0xc
mov al, byte [ebp - 1]
mov byte [ecx], al
mov byte [ecx + 1], 0
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
push dword [0x100da174]
lea eax, [ebp + 0xb]
push 1
push 1
push eax
call fcn.1008d4af
mov cl, byte [ebp + 0xb]
add esp, 0x10
mov byte [ebp - 1], cl
test cl, cl
jne 0x1002adf5
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.10003220
call fcn.1008498a
int3
Function at 0x1002af30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae835
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100d8180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [0x100da174]
mov esi, dword [0x100da160]
call fcn.1008e716
mov ecx, dword [esi - 4]
add esp, 4
sub ecx, eax
je 0x1002b154
nop dword [eax]
lea eax, [ebp - 0x28]
push eax
call fcn.1002ada0
push dword [0x100da174]
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push 1
push 4
push eax
call fcn.1008d4af
push dword [0x100da174]
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x34]
push 1
push 4
push eax
call fcn.1008d4af
push dword [0x100da174]
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x44]
push 1
push 8
push eax
call fcn.1008d4af
push dword [0x100da174]
lea eax, [ebp - 0x4c]
push 1
push 8
push eax
call fcn.1008d4af
add esp, 0x40
lea eax, [ebp - 0x38]
push dword [0x100da174]
push 1
push 4
push eax
call fcn.1008d4af
add esp, 0x10
movzx eax, di
lea ecx, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1002c8f0
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.1002d270
test edi, 0x10000
je 0x1002b02a
push 1
lea ecx, [ebp - 0x2c]
call fcn.1002d290
movss xmm1, dword [ebp - 0x44]
xorps xmm2, xmm2
movss xmm0, dword [ebp - 0x40]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x1002b049
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1002b05f
sub esp, 8
lea ecx, [ebp - 0x2c]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.1002d2b0
movss xmm1, dword [ebp - 0x4c]
movss xmm2, dword [0x100b49d4]
movss xmm0, dword [ebp - 0x48]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x1002b083
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1002b099
sub esp, 8
lea ecx, [ebp - 0x2c]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.1002d310
movss xmm0, dword [ebp - 0x38]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002b0b8
push ecx
lea ecx, [ebp - 0x2c]
movss dword [esp], xmm0
call fcn.1002d2e0
mov eax, dword [0x100da148]
lea ecx, [ebp - 0x2c]
push ecx
cmp eax, dword [0x100da14c]
je 0x1002b0d9
mov ecx, eax
call fcn.1002c8d0
add dword [0x100da148], 4
jmp 0x1002b0e4
push eax
mov ecx, 0x100da144
call fcn.10029c00
lea ecx, [ebp - 0x2c]
call fcn.1002cb50
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x1002b123
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b119
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b16f
push ecx
push edx
call fcn.1007f339
add esp, 8
push dword [0x100da174]
mov esi, dword [0x100da160]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1008e716
mov ecx, dword [esi - 4]
add esp, 4
sub ecx, eax
jne 0x1002af80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f9c9
mov esp, ebp
pop ebp
ret
call fcn.1008498a
int3
Function at 0x1002ca10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aea7a
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100d8180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x10]
mov edx, 0x10000
test al, 4
mov ecx, 0x10003
push 0x68
cmove ecx, edx
or ecx, eax
mov dword [ebp + 0x10], ecx
call fcn.1007f309
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1002cb20
push dword [ebp + 0x14]
lea ecx, [ebx + 4]
mov dword [ebx], 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1002bca0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
lea ecx, [ebx + 4]
mov byte [ebp - 4], 2
mov dword [ebx + 0x14], 2
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0x3f800000
mov dword [ebx + 0x24], 0x3f800000
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov byte [ebx + 0x34], 0
call fcn.1002c2e0
push eax
lea ecx, [ebx + 8]
call fcn.1002cb70
mov eax, dword [ebp + 0x10]
and al, 6
cmp al, 2
push 0x30
sete al
mov byte [ebx + 0x1c], al
lea eax, [ebx + 0x38]
push 0
push eax
call fcn.10081440
mov eax, esi
add esp, 0xc
mov dword [eax], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov dword [esi], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10031020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aee13
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100d8180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x18]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov esi, dword [eax + 4]
sub esi, dword [eax]
xor eax, eax
sar esi, 2
mov byte [ebp - 4], 1
test esi, esi
je 0x100310f0
cmp esi, 0x3fffffff
ja 0x10031153
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push edi
call fcn.100116b0
mov dword [edi], eax
mov dword [edi + 4], eax
lea eax, [eax + esi*4]
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
mov edi, dword [edi]
mov esi, dword [eax + 4]
mov eax, dword [eax]
sub esi, eax
push esi
push eax
push edi
call fcn.10080ec0
add esp, 0xc
sar esi, 2
lea eax, [edi + esi*4]
lea edi, [ebx + 0x18]
mov dword [edi + 4], eax
sub eax, dword [edi]
lea ecx, [ebx + 0xc]
sar eax, 2
push eax
mov byte [ebp - 4], 2
call fcn.10031dd0
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.100316a0
mov dword [ebx + 0x3c], 0
mov eax, ebx
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.1000bd40
int3

Function at 0x10031340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aee93
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100d8180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push 0
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 2
mov dword [ebp + 8], esi
call fcn.1000b4f0
mov esi, dword [esi + 0x10]
test esi, esi
je 0x100313e6
nop
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push eax
mov ecx, edi
call fcn.10031650
mov esi, dword [esi + 4]
test esi, esi
jne 0x100313d0
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0xc]
sub eax, dword [edi + 0x18]
sar eax, 2
push eax
call fcn.10031dd0
push dword [ebp + 0xc]
mov ecx, edi
call fcn.100316a0
mov dword [edi + 0x3c], 0
mov eax, edi
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8