joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100019c2
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
call dword [fcn.100270cc]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100019fa
call dword [fcn.10027094]
mov dword [esp + 8], eax
call fcn.10010a50
mov edx, 0x1002cf9c
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
call fcn.10001712
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10001aa9
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x190
push 0x1003727c
call dword [fcn.10027030]
cmp eax, 1
jne 0x10001add
lea eax, [esp]
push eax
push 2
call dword [fcn.100271e4]
push eax
push 0x10037280
call dword [fcn.10027090]
mov esp, ebp
pop ebp
ret

Function at 0x10001c91
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
push edi
push 0xffffffffffffffff
xor edi, edi
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push edi
push eax
push 2
call dword [0x100270b4]
push dword [esi + 8]
call dword [fcn.100270d0]
push edi
push 0x10037244
call dword [fcn.100270a8]
push edi
push dword [esi + 4]
test eax, eax
je 0x10001cdc
call dword [0x10027054]
jmp 0x10001cf2
push fcn.10001e7c
call dword [0x100270a0]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [0x10027074]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10001cf8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
xor eax, eax
mov esi, ecx
push eax
push eax
push 1
push eax
mov dword [esp + 0x20], esi
call dword [fcn.10027068]
mov ebx, dword [ebp + 8]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x10001d52
call dword [fcn.10027094]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [esp + 0x18], esi
call fcn.10010a50
mov edx, 0x1002cfb0
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x18]
call fcn.10001712
mov esi, dword [esp + 0x10]
xor eax, eax
push eax
push eax
push 1
push eax
call dword [fcn.10027068]
mov dword [esi + 8], eax
mov dword [ebx + 8], eax
cmp dword [esi + 8], 0
jne 0x10001d9a
call dword [fcn.10027094]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [esp + 0x18], esi
call fcn.10010a50
mov edx, str.sr_ba_cyrl
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x18]
call fcn.10001712
mov esi, dword [esp + 0x10]
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push 0
push ebx
push 0x10001e26
push dword [ebp + 0xc]
push 0
call fcn.100132fc
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [fcn.100270d0]
test eax, eax
jne 0x10001e0d
call dword [fcn.10027094]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [esp + 0x1c], eax
call dword [edx]
test edi, edi
je 0x10001ddf
push edi
call esi
mov eax, dword [esp + 0x10]
cmp dword [eax + 8], 0
je 0x10001dee
push dword [eax + 8]
call esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.10010a50
mov edx, 0x1002cfd8
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x18]
call fcn.10001712
test edi, edi
je 0x10001e1d
push 0xffffffffffffffff
push edi
call dword [0x10027074]
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x100029ee
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov eax, edx
xor edi, edi
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
je 0x10002ab3
cmp byte [ebp + 8], 0
je 0x10002a39
test byte [eax], 8
je 0x10002a39
xor eax, eax
mov dword [ebp - 4], eax
call fcn.10010a50
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push ecx
lea eax, [ebp - 4]
push eax
push ecx
push ecx
mov ecx, ebx
call fcn.10002f50
add esp, 0x14
push 0
call dword [fcn.10027220]
push ebx
call dword [0x10027224]
mov edx, esi
mov ecx, eax
call fcn.1000a43c
mov edi, eax
test edi, edi
je 0x10002ab3
call fcn.10010a50
cmp dword [esi + 4], eax
jne 0x10002a69
cmp dword [esi], 0x2733
je 0x10002a7b
call fcn.10010a50
cmp dword [esi + 4], eax
jne 0x10002aaf
cmp dword [esi], 0x4d5
jne 0x10002aaf
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x8004667e
push ebx
call dword [0x100271d4]
mov eax, dword [ebp - 8]
push 0
and byte [eax], 0xfc
call dword [fcn.10027220]
push ebx
call dword [0x10027224]
mov edx, esi
mov ecx, eax
call fcn.1000a43c
mov edi, eax
test edi, edi
jne 0x10002abe
call fcn.10010a50
and dword [esi], 0
mov dword [esi + 4], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002ac7
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov esi, edx
cmp edi, 0xffffffff
jne 0x10002ae8
call fcn.10010a50
mov esi, dword [ebp + 0xc]
mov dword [esi], 0x2719
jmp 0x10002b13
push 0
call dword [fcn.10027220]
push dword [ebp + 8]
push esi
push edi
call dword [0x100271dc]
mov esi, dword [ebp + 0xc]
mov ecx, eax
mov edx, esi
call fcn.1000a43c
test eax, eax
jne 0x10002b16
call fcn.10010a50
and dword [esi], 0
mov dword [esi + 4], eax
call fcn.10010a50
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x2734
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.1000166f
test al, al
je 0x10002b50
call fcn.10010a50
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x2733
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.1000166f
test al, al
jne 0x10002b8f
mov edx, esi
mov ecx, edi
call fcn.10003027
test eax, eax
js 0x10002b8f
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push ecx
push ecx
mov ecx, edi
call fcn.10002fb4
add esp, 0x14
cmp eax, 0xffffffff
je 0x10002b8f
call fcn.10010a50
mov ecx, dword [ebp - 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10002b95
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
push ebx
push esi
push edi
mov edi, ecx
mov bl, dl
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
jne 0x10002bc7
call fcn.10010a50
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0x2719
mov dword [ecx + 4], eax
jmp 0x10002d30
cmp byte [ebp + 0x14], 0
je 0x10002bdf
test bl, 0x10
je 0x10002bdf
call fcn.10010a50
mov ecx, dword [ebp + 0x18]
and dword [ecx], 0
jmp 0x10002bbf
mov esi, dword [ebp + 0x18]
push 0
call dword [fcn.10027220]
xor eax, eax
push eax
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call dword [0x100271f8]
mov edx, esi
mov ecx, eax
call fcn.1000a43c
cmp dword [esi], 0x40
mov dword [esp + 0x14], eax
jne 0x10002c2c
call fcn.10010a50
mov dword [esi], 0x2746
jmp 0x10002c3f
cmp dword [esi], 0x4d2
jne 0x10002c46
call fcn.10010a50
mov dword [esi], 0x274d
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10002c4f
or eax, 0xffffffff
jmp 0x10002c66
call fcn.10010a50
and dword [esi], 0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x10002d32
test bl, 0x10
je 0x10002c73
test eax, eax
je 0x10002d22
test bl, 1
jne 0x10002d30
call fcn.10010a50
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0x2733
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.1000166f
test al, al
je 0x10002cbc
call fcn.10010a50
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0x4d5
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.1000166f
test al, al
jne 0x10002d30
xor eax, eax
mov dword [esp + 0x3c], edi
push eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call dword [fcn.10027220]
xor eax, eax
push eax
push eax
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [edi + 1]
push eax
call dword [fcn.10027200]
mov edx, esi
mov ecx, eax
call fcn.1000a43c
mov edi, eax
test edi, edi
jne 0x10002d08
call fcn.10010a50
and dword [esi], edi
mov dword [esi + 4], eax
jmp 0x10002d19
jle 0x10002d15
call fcn.10010a50
and dword [esi], 0
mov dword [esi + 4], eax
test edi, edi
js 0x10002d30
mov edi, dword [esp + 0x18]
jmp 0x10002be2
call fcn.10001996
mov dword [esi], 2
mov dword [esi + 4], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002db5
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push esi
push edi
mov edi, ecx
mov bl, dl
cmp edi, 0xffffffff
jne 0x10002de4
call fcn.10010a50
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0x2719
mov dword [ecx + 4], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x14], 0
je 0x10002dfc
test bl, 0x10
je 0x10002dfc
call fcn.10010a50
mov ecx, dword [ebp + 0x18]
and dword [ecx], 0
jmp 0x10002dd8
mov esi, dword [ebp + 0x18]
mov edx, dword [ebp + 8]
push esi
push ecx
push dword [ebp + 0xc]
call fcn.10002d39
add esp, 0xc
test eax, eax
jns 0x10002ddd
and bl, 1
test bl, bl
jne 0x10002ddb
call fcn.10010a50
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x2733
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.1000166f
test al, al
je 0x10002e54
call fcn.10010a50
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x4d5
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.1000166f
test al, al
jne 0x10002ddb
xor eax, eax
mov dword [ebp - 0x128], edi
push eax
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call dword [fcn.10027220]
xor ecx, ecx
lea eax, [ebp - 0x12c]
push ecx
push ecx
push eax
push ecx
lea eax, [edi + 1]
push eax
call dword [fcn.10027200]
mov edx, esi
mov ecx, eax
call fcn.1000a43c
mov dword [ebp - 8], eax
test eax, eax
jne 0x10002ea6
call fcn.10010a50
and dword [esi], 0
mov dword [esi + 4], eax
jmp 0x10002ebe
jle 0x10002eb6
call fcn.10010a50
and dword [esi], 0
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
test eax, eax
js 0x10002ddb
mov edx, dword [ebp + 8]
push esi
push ecx
push dword [ebp + 0xc]
mov ecx, edi
call fcn.10002d39
add esp, 0xc
test eax, eax
js 0x10002e16
jmp 0x10002ddd

Function at 0x10003027
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
mov edi, ecx
mov esi, edx
cmp edi, 0xffffffff
jne 0x1000304d
call fcn.10010a50
mov dword [esi + 4], eax
or eax, edi
mov dword [esi], 0x2719
jmp 0x100030a8
push ebx
xor eax, eax
mov dword [ebp - 0x204], edi
inc eax
mov dword [ebp - 0x100], edi
xor ebx, ebx
mov dword [ebp - 0x208], eax
push ebx
mov dword [ebp - 0x104], eax
call dword [fcn.10027220]
push ebx
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push eax
push ebx
lea eax, [edi + 1]
push eax
call dword [fcn.10027200]
mov edx, esi
mov ecx, eax
call fcn.1000a43c
mov edi, eax
test edi, edi
js 0x100030a5
call fcn.10010a50
mov dword [esi], ebx
mov dword [esi + 4], eax
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000369a
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
add eax, 0x18
push eax
call dword [fcn.10027030]
cmp byte [ebp + 0x18], 0
je 0x100036b9
push 0
push 0
jmp 0x10003722
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
jne 0x100036cc
push 0
push 0x2719
jmp 0x10003722
mov eax, dword [ebp + 0x14]
and dword [ebp + 0x18], 0
push edi
push 0
push dword [ebp + 0x1c]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
call dword [0x100271f8]
mov edi, eax
call dword [fcn.10027230]
cmp eax, 0x40
jne 0x10003705
mov eax, 0x2746
jmp 0x10003712
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test edi, edi
pop edi
je 0x1000372f
cmp eax, 0x3e5
je 0x1000372f
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x1c]
mov ecx, dword [esi + 4]
call fcn.1000247d
jmp 0x1000373a
push dword [ebp + 0x1c]
mov ecx, dword [esi + 4]
call fcn.10002420
pop esi
pop ebp
ret 0x18

Function at 0x1000408a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x10025c09
call fcn.10025330
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov dword [edi], 0x1002820c
mov dword [edi + 4], ebx
or dword [edi + 8], 0xffffffff
mov dword [ebp - 4], ebx
lea esi, [edi + 0x10]
mov dword [edi + 0xc], ebx
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.1000a21c
mov dword [esi], eax
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
push ebx
push 1
mov byte [ebp - 4], 3
call fcn.10003fdc
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x34], eax
mov eax, edi
mov byte [edi + 0x38], 1
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1000534d
Capabilities:
Encode data using xor
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x2000
mov dword [ebp - 4], ecx
call fcn.10012eec
pop ecx
xor ebx, ebx
mov esi, eax
push ebx
push 0x23
push esi
push ebx
mov dword [ebp - 8], esi
call dword [0x100271ac]
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10005378
mov ecx, dword [ebp - 4]
mov esi, 0x1002d130
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10005391
sub esi, edx
mov edx, ebx
je 0x100053bb
mov al, byte [edx + 0x1002cf00]
add ecx, ebx
xor byte [ecx], al
inc edx
xor byte [ecx], bl
xor eax, eax
mov ecx, dword [ebp - 4]
cmp edx, 0x10
cmove edx, eax
inc ebx
cmp ebx, esi
jb 0x1000539e
push 0x1002d13c
push dword [ebp - 8]
call fcn.100136b4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100053e5
push edi
push 1
push esi
push dword [ebp - 4]
call fcn.10013849
push edi
call fcn.100139c7
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000959c
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push 7
xor eax, eax
lea edi, [ebp - 0x24]
pop ecx
rep stosd dword es:[edi], eax
push 2
pop eax
mov word [ebp - 0x24], ax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x22], ax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
cmp esi, 0xffffffff
jne 0x10009602
call fcn.10010a50
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0x2719
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push 7
pop ecx
mov edi, edx
rep stosd dword es:[edi], eax
push 2
pop eax
mov word [edx], ax
xor eax, eax
mov word [edx + 2], ax
mov eax, edx
mov dword [edx + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push ebx
call dword [fcn.10027220]
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x1c
push eax
lea eax, [ebp - 0x24]
push eax
push esi
call dword [fcn.1002720c]
mov esi, dword [ebp + 0x10]
mov ecx, eax
mov edi, dword [ebp + 0xc]
mov edx, esi
call fcn.1000a43c
test eax, eax
jne 0x100095dc
call fcn.10010a50
mov dword [esi], ebx
mov dword [esi + 4], eax
cmp edi, 0x80
jbe 0x1000965b
call fcn.10010a50
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0x2726
mov dword [ebp - 4], eax
call fcn.100016ae
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x24]
push 7
pop ecx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x100095f9
Function at 0x10009723
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10025e80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [esp + 0x38]
push esi
push edi
xor esi, esi
mov ecx, ebx
mov dword [esp + 0x10], esi
push eax
mov dword [esp + 0x10], esi
call fcn.10009e6b
mov edi, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x94], esi
push eax
mov ecx, ebx
call fcn.10009e4e
mov esi, eax
mov byte [esp + 0x94], 1
cmp dword [edi + 0x14], 0x10
jb 0x10009787
mov edi, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x1000978f
mov esi, dword [esi]
test esi, esi
je 0x10009798
cmp byte [esi], 0
jne 0x1000979a
xor esi, esi
test edi, edi
je 0x100097a3
cmp byte [edi], 0
jne 0x100097a5
xor edi, edi
push 0
call dword [fcn.10027220]
lea eax, [esp + 0xc]
push eax
push ebx
push edi
push esi
call dword [0x100271f4]
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.100031ba
mov edi, dword [ebp + 0x14]
push 0
push 1
mov ecx, dword [eax]
mov dword [edi], ecx
lea ecx, [esp + 0x24]
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
call fcn.100088bf
push 0
push 1
lea ecx, [esp + 0x48]
call fcn.100088bf
mov esi, dword [esp + 0xc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x94], 2
cmp dword [edi], 0
je 0x10009824
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
xor ebx, ebx
mov byte [esp + 0x94], 3
lea eax, [esp + 0x1c]
inc ebx
jmp 0x1000987a
lea eax, [esp + 0x70]
mov ecx, ebx
push eax
call fcn.10009e6b
mov edi, eax
lea eax, [esp + 0x58]
mov dword [esp + 0x94], 4
push eax
mov ecx, ebx
mov dword [esp + 0x14], 2
call fcn.10009e4e
mov dword [esp + 0x94], 5
lea ecx, [esp + 0x34]
mov edx, dword [esp + 0xc]
push edi
push eax
mov dword [esp + 0x18], 6
call fcn.10009e88
pop ecx
pop ecx
push 0xe
pop ebx
xor edi, edi
mov ecx, dword [ebp + 8]
push eax
call fcn.100085e1
or ebx, 0x10
test bl, 8
je 0x1000989f
mov ecx, dword [esp + 0x38]
and ebx, 0xfffffff7
mov dword [esp + 0x10], ebx
test ecx, ecx
je 0x1000989f
call fcn.1000143f
test bl, 4
je 0x100098b3
push edi
push 1
lea ecx, [esp + 0x60]
and ebx, 0xfffffffb
call fcn.100088bf
test bl, 2
je 0x100098c7
push edi
push 1
lea ecx, [esp + 0x78]
and ebx, 0xfffffffd
call fcn.100088bf
mov dword [esp + 0x94], 2
test bl, 1
je 0x100098e4
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x100098e4
call fcn.1000143f
test esi, esi
je 0x100098ef
push esi
call dword [0x1002721c]
mov ecx, dword [esp + 0x8c]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10010f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100267f0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10033020]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.10012453
mov dword [esi], 0x100281dc
lea ecx, [esi + 0x14]
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea eax, [edi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.1000882b
mov dword [esi], 0x100281f4
mov dword [esi + 0x2c], 0x10028188
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x18], 1
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x10010fd2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
mov dword [esi], 0x100283a8
mov dword [esi + 0x2c], 0x100283b4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x10011010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10026818
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10033020]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
push esi
call fcn.10012453
mov dword [edi], 0x100281dc
lea ecx, [edi + 0x14]
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.1000882b
mov dword [edi + 0x2c], 0x10028188
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], 0x100283a8
mov dword [edi + 0x2c], 0x100283b4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x10011e70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x100269f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10033020]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x10033000]
cmp eax, 0xffffffff
jne 0x10011ea9
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x10011eb6
push eax
call dword [fcn.10027028]
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [fcn.10027070]
mov esi, dword [fcn.10027060]
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x10011f1d
jmp 0x10011eec
mov esi, dword [fcn.10027060]
mov ebx, dword [fcn.10027070]
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp + 0xc]
jne 0x10011f5a
test edi, edi
jne 0x10011f60
push 0x10011810
push 0x1003600c
call fcn.10011550
mov eax, dword [0x10033000]
add esp, 8
cmp eax, 0xffffffff
je 0x10011f1d
push edi
push eax
call dword [fcn.10027050]
mov dword [esp + 0x2c], 0xffffffff
test ebp, ebp
je 0x10011f46
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10011f46
mov eax, dword [ebp]
mov ecx, ebp
push 0
call dword [eax]
push ebp
push 0
call esi
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edi, edi
je 0x10011f98
mov edi, edi
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x10011f89
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
mov ecx, esi
push 0
mov eax, dword [esi]
call dword [eax]
push esi
mov esi, dword [fcn.10027060]
push 0
call esi
push eax
call ebx
push edi
push 0
call esi
push eax
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x10011f60
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
mov dword [esp + 0x18], eax
mov esi, dword [ebx]
cmp esi, ebx
je 0x10011ee0
mov ebp, eax
mov edi, edi
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x10011ff7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x10011fdc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10011ff7
jmp 0x10011fd0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10011fd0
jmp 0x10011ff7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10011ff5
cmp esi, dword [eax + 8]
jne 0x10011ff5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10011fe5
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x1001200b
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x1001200b
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push edi
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.10009bde
cmp esi, ebx
jne 0x10011fb0
mov ebp, dword [esp + 0x14]
jmp 0x10011ee0
Function at 0x10012030
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x18]
push eax
push 4
push edx
push 0x100120a0
push 0
push 0
call fcn.100132fc
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x10012059
pop esi
xor al, al
pop ebx
ret
mov ecx, dword [esi]
mov eax, 1
push edi
add ecx, 4
lock xadd dword [ecx], eax
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x1001207d
cmp eax, 0xffffffff
je 0x1001207d
push eax
call dword [fcn.100270d0]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [fcn.1002715c]
pop edi
pop esi
mov al, 1
pop ebx
ret