joyce8/EMBER2024-capa huggingface dataset:
Function at 0x540510
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580950
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push dword [0x603fa0]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x540560
cmp dword [eax], esi
je 0x5405b3
mov eax, dword [eax + 8]
test eax, eax
jne 0x540555
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x28], edi
lea eax, [edi + 0x70]
push eax
push 0xe8
call fcn.005563f0
mov esi, eax
mov dword [ebp - 0x20], ebx
add esp, 8
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], esi
test esi, esi
je 0x5405e0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ecx + 0x14]
call fcn.0055f830
push eax
mov ebx, 1
mov byte [ebp - 4], 3
push edi
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.00546280
jmp 0x5405e2
cmp dword [eax + 4], ebx
je 0x540560
mov eax, dword [ebp + 0xc]
push eax
push eax
mov dword [ebp - 4], 0
call fcn.0053d790
add esp, 8
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
xor eax, eax
mov dword [ebp - 4], 1
test bl, 1
je 0x5405f2
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.0055d920
lea ecx, [ebp - 0x28]
call fcn.00570230
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
Function at 0x540630
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5809b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push dword [0x603fa0]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x540680
cmp dword [eax], esi
je 0x5406d3
mov eax, dword [eax + 8]
test eax, eax
jne 0x540675
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x28], edi
lea eax, [edi + 0x58]
push eax
push 0xe8
call fcn.005563f0
mov esi, eax
mov dword [ebp - 0x20], ebx
add esp, 8
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], esi
test esi, esi
je 0x540700
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ecx + 0x14]
call fcn.0055f830
push eax
mov ebx, 1
mov byte [ebp - 4], 3
push edi
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.005462e0
jmp 0x540702
cmp dword [eax + 4], ebx
je 0x540680
mov eax, dword [ebp + 0xc]
push eax
push eax
mov dword [ebp - 4], 0
call fcn.0053d7b0
add esp, 8
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
xor eax, eax
mov dword [ebp - 4], 1
test bl, 1
je 0x540712
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.0055d920
lea ecx, [ebp - 0x28]
call fcn.005702d0
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
Function at 0x540750
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580a10
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push dword [0x603fa0]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5407a0
cmp dword [eax], esi
je 0x5407f3
mov eax, dword [eax + 8]
test eax, eax
jne 0x540795
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x28], edi
lea eax, [edi + 0x70]
push eax
push 0xe8
call fcn.005563f0
mov esi, eax
mov dword [ebp - 0x20], ebx
add esp, 8
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], esi
test esi, esi
je 0x540820
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ecx + 0x14]
call fcn.0055f830
push eax
mov ebx, 1
mov byte [ebp - 4], 3
push edi
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.00546340
jmp 0x540822
cmp dword [eax + 4], ebx
je 0x5407a0
mov eax, dword [ebp + 0xc]
push eax
push eax
mov dword [ebp - 4], 0
call fcn.0053d7d0
add esp, 8
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
xor eax, eax
mov dword [ebp - 4], 1
test bl, 1
je 0x540832
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.0055d920
lea ecx, [ebp - 0x28]
call fcn.00570350
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
Function at 0x540870
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580a70
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push dword [0x603fa0]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5408c0
cmp dword [eax], esi
je 0x5408da
mov eax, dword [eax + 8]
test eax, eax
jne 0x5408b5
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x28], edi
mov esi, dword [edi + 0x78]
cmp byte [esi + 0x400], bl
jne 0x540907
mov byte [esi + 0x400], 1
jmp 0x540916
cmp dword [eax + 4], ebx
je 0x5408c0
mov eax, dword [ebp + 0xc]
push eax
push eax
mov dword [ebp - 4], 0
call fcn.0053d800
add esp, 8
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
push 0xf8
call fcn.0053608b
add esp, 4
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], esi
test esi, esi
je 0x540950
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ecx + 0x14]
call fcn.0055f830
push eax
mov ebx, 1
mov byte [ebp - 4], 3
push edi
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.005463a0
jmp 0x540952
xor eax, eax
mov dword [ebp - 4], 1
test bl, 1
je 0x540962
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.0055d920
lea ecx, [ebp - 0x28]
call fcn.005703f0
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
Function at 0x5409a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580ad0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push dword [0x603fa0]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5409f0
cmp dword [eax], esi
je 0x540a43
mov eax, dword [eax + 8]
test eax, eax
jne 0x5409e5
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x28], edi
lea eax, [edi + 0x30]
push eax
push 0x80
call fcn.005563f0
mov esi, eax
mov dword [ebp - 0x20], ebx
add esp, 8
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], esi
test esi, esi
je 0x540a70
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ecx + 0x14]
call fcn.0055f830
push eax
mov ebx, 1
mov byte [ebp - 4], 3
push edi
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.00546400
jmp 0x540a72
cmp dword [eax + 4], ebx
je 0x5409f0
mov eax, dword [ebp + 0xc]
push eax
push eax
mov dword [ebp - 4], 0
call fcn.0053d830
add esp, 8
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
xor eax, eax
mov dword [ebp - 4], 1
test bl, 1
je 0x540a82
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.0055d920
lea ecx, [ebp - 0x28]
call fcn.005704a0
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
Function at 0x540b90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580af8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 1
jne 0x540bf3
push dword [0x603f88]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call ebx
test eax, eax
je 0x540bf3
cmp dword [eax], esi
je 0x540c11
mov eax, dword [eax + 8]
test eax, eax
jne 0x540be8
push dword [0x603f88]
lea eax, [edi + 1]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x540c7b
mov eax, dword [eax + 4]
jmp 0x540c7d
cmp dword [eax + 4], 0
je 0x540bf3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], fcn.0053d940
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.0053d940
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
push 1
push 0x2c
push eax
push dword [ebp + 8]
call fcn.0053cc60
mov edx, eax
add esp, 0x10
test edx, edx
je 0x540cd9
mov eax, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x55c790
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], fcn.0053d940
mov dword [edx + 0x24], eax
jmp 0x540cdb
xor edx, edx
mov ecx, dword [edi + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push edx
call fcn.0056ae50
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.00570520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x541380
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580b9c
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 1
jne 0x5413e3
push dword [0x603f88]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call ebx
test eax, eax
je 0x5413e3
cmp dword [eax], esi
je 0x5413f8
mov eax, dword [eax + 8]
test eax, eax
jne 0x5413d8
push dword [0x603f88]
call ebx
test eax, eax
je 0x541474
mov eax, dword [eax + 4]
jmp 0x541476
cmp dword [eax + 4], 0
je 0x5413e3
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
mov dword [ecx], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.0053d920
add esp, 8
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
test eax, eax
je 0x5414fb
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
push 1
push 0x28
push eax
push dword [ebp + 8]
call fcn.0053cc60
mov edx, eax
add esp, 0x10
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x5414d6
mov ecx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x55c6a0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x1c], 0
mov eax, dword [ecx]
mov dword [edx + 0x20], eax
mov dword [ecx], 0
jmp 0x5414d8
xor edx, edx
mov ecx, dword [edi + 4]
mov eax, ecx
and eax, 3
and ecx, 0xfffffffc
shr eax, 1
and al, 1
movzx eax, al
mov ecx, dword [ecx + 8]
push eax
push edx
call fcn.0056ae50
mov dword [ebp - 0x1c], 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 4
Function at 0x5491d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581b2b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x24]
lea ecx, [ebx + 0x28]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [ecx], eax
mov eax, dword [edi + 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x30]
add edi, 0x38
mov dword [ebp + 8], ecx
add ecx, 8
mov dword [ebp + 8], ecx
push edi
mov dword [ebp - 4], 0
lea esi, [ecx + 8]
mov dword [ecx], eax
mov ecx, esi
mov dword [ebp + 8], esi
call fcn.00548430
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, ebx
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 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 4

Function at 0x5492d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581afb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
lea edi, [ebx + 8]
mov esi, dword [ebp + 0xc]
mov ecx, edi
push esi
mov dword [ebx + 4], eax
mov dword [ebp + 8], edi
call fcn.00464710
mov dword [edi + 0x10], 0
xor edx, edx
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cmp eax, ecx
je 0x54933e
add edx, dword [eax + 4]
add eax, 8
cmp eax, ecx
jne 0x549334
mov dword [edi + 0xc], edx
mov edx, dword [ebp + 0x14]
lea ecx, [ebx + 0x28]
mov dword [ebx + 0x24], 0
mov dword [ebp + 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [edx]
lea edi, [edx + 0x10]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
add ecx, 8
mov eax, dword [edx + 8]
mov dword [ebp + 8], ecx
push edi
lea esi, [ecx + 8]
mov dword [ecx], eax
mov ecx, esi
mov dword [ebp + 8], esi
call fcn.00548430
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, ebx
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 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 0x10
Function at 0x5493b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581b2b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x24]
lea ecx, [ebx + 0x28]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [ecx], eax
mov eax, dword [edi + 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x30]
mov dword [ebp + 8], ecx
add ecx, 8
mov dword [ebp + 8], ecx
mov dword [ebp - 4], 0
mov dword [ecx], eax
add ecx, 8
mov eax, dword [edi + 0x38]
add edi, 0x40
mov dword [ebp + 8], ecx
push edi
lea esi, [ecx + 8]
mov dword [ecx], eax
mov ecx, esi
mov dword [ebp + 8], esi
call fcn.005484d0
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, ebx
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 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 4
Function at 0x5494b0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581afb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
lea edi, [ebx + 8]
mov esi, dword [ebp + 0xc]
mov ecx, edi
push esi
mov dword [ebx + 4], eax
mov dword [ebp + 8], edi
call fcn.00464710
mov dword [edi + 0x10], 0
xor edx, edx
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cmp eax, ecx
je 0x54951e
add edx, dword [eax + 4]
add eax, 8
cmp eax, ecx
jne 0x549514
mov dword [edi + 0xc], edx
mov edi, dword [ebp + 0x14]
lea ecx, [ebx + 0x28]
mov dword [ebx + 0x24], 0
mov dword [ebp + 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
add ecx, 8
mov eax, dword [edi + 8]
mov dword [ebp + 8], ecx
mov dword [ecx], eax
add ecx, 8
mov eax, dword [edi + 0x10]
add edi, 0x18
mov dword [ebp + 8], ecx
push edi
lea esi, [ecx + 8]
mov dword [ecx], eax
mov ecx, esi
mov dword [ebp + 8], esi
call fcn.005484d0
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, ebx
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 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 0x10

Function at 0x54a0c0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581d86
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x5fad8c]
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
mov esi, ecx
mov dword [ebp - 0x1ac], esi
mov dword [ebp - 0x1b0], esi
call fcn.00549ec0
mov dword [ebp - 4], 0
mov eax, 1
lock xadd dword [0x603f94], eax
inc eax
mov ebx, 0x603f98
cmp eax, 1
jne 0x54a131
lea eax, [ebp - 0x1a0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [ebx], eax
xor edi, edi
lock xadd dword [ebx], edi
test edi, edi
je 0x54a15d
call fcn.00574ea0
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a8]
push str.winsock
push eax
mov dword [ebp - 0x1a8], edi
call fcn.0055e1a0
push 0x64
mov byte [ebp - 4], 1
call fcn.0053608b
add esp, 4
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x54a189
push 0
push 0xffffffffffffffff
push esi
mov ecx, eax
call fcn.0054b770
mov edi, eax
jmp 0x54a18b
xor edi, edi
mov dword [ebp - 0x1ac], edi
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 3
push 0
push eax
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0
call fcn.00542650
mov ecx, dword [esi]
lea eax, [ebp - 0x1a8]
add esp, 8
push edi
push eax
call fcn.0055b230
mov dword [esi + 8], edi
mov eax, esi
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.0053658e
mov esp, ebp
pop ebp
ret
Function at 0x54b770
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582141
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x5fad8c]
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
mov edi, ecx
mov dword [ebp - 0x130], edi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x138], edi
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [edi], vtable.asio::detail::win_iocp_io_context.0
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 0
push 0x11c
lea eax, [ebp - 0x12c]
mov dword [edi + 0x18], 0
push 0
push eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
mov dword [ebp - 0x128], 6
push 3
push 2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 2
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
neg eax
sbb eax, eax
and eax, 0xfffffe0b
add eax, 0x1f4
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 3
mov dword [edi + 0x34], 0
call fcn.0055daf0
mov esi, eax
call fcn.00574ea0
test esi, esi
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], esi
setne al
test al, al
je 0x54b8a2
push str.mutex
lea eax, [ebp - 0x134]
push eax
call fcn.0055e1a0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x60], 0
or eax, 0xffffffff
mov byte [ebp - 4], 6
test ebx, ebx
cmovns eax, ebx
push eax
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x54b914
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00574ea0
test esi, esi
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], esi
setne al
test al, al
je 0x54b914
push str.iocp
lea eax, [ebp - 0x134]
push eax
call fcn.0055e1a0
cmp byte [ebp + 0x10], 0
je 0x54b966
lea eax, [edi + 0x18]
lock inc dword [eax]
push 0xc
call fcn.0053608b
add esp, 4
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x54b946
push 0
push edi
mov ecx, eax
call fcn.00537fc0
mov ebx, eax
jmp 0x54b948
xor ebx, ebx
mov esi, dword [edi + 0x60]
test esi, esi
je 0x54b963
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push esi
call fcn.005360c3
add esp, 8
mov dword [edi + 0x60], ebx
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.0053658e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5563f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [0x603f88]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x556409
mov eax, dword [eax + 4]
jmp 0x55640b
xor eax, eax
push 1
push dword [ebp + 8]
push eax
push dword [ebp - 4]
call fcn.0053cc60
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x556420
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [0x603f88]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x556439
mov esi, dword [eax + 4]
jmp 0x55643b
xor esi, esi
mov eax, dword [ebp + 0xc]
cmp eax, 0x3fc
ja 0x55645c
test esi, esi
je 0x55645c
xor edx, edx
nop dword [eax + eax]
cmp dword [esi + edx*4], 0
je 0x55646a
inc edx
cmp edx, 2
jl 0x556450
push dword [ebp + 8]
call fcn.005360be
add esp, 4
pop esi
pop ebp
ret
mov ecx, dword [ebp + 8]
mov al, byte [ecx + eax]
mov byte [ecx], al
mov dword [esi + edx*4], ecx
pop esi
pop ebp
ret