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

Disassembly:
push 0xffffffffffffffff
push 0x49dbb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dl, byte [esp + 0x2c]
mov eax, ecx
mov ecx, dword [esp + 0x30]
push esi
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
mov dword [eax + 0xc], 1
mov dword [eax], vtable.Blizzard::IOMopaqSectorReadUnitInternal.0
lea ecx, [eax + 0x18]
mov dword [eax + 0x10], 3
mov dword [eax + 0x14], ecx
mov esi, dword [esp + 0x20]
xor edx, edx
mov dword [eax + 0x40], edx
lea ecx, [eax + 0x48]
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x78], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x7c], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x70], esi
mov esi, dword [esp + 0x24]
mov dword [eax + 0x80], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x74], esi
mov esi, dword [eax + 0x14]
mov byte [eax + 0x85], dl
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov dword [eax + 0x90], ecx
mov byte [eax + 0x84], 1
mov dword [esi], edx
mov edx, dword [eax + 0x14]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20
Function at 0x4273b0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x54
xor eax, eax
push esi
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 4]
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [0x4f97bc], eax
jne 0x4273fe
mov dword [0x4f97bc], 1
lea ecx, [esp + 0x28]
push ecx
mov dword [0x4f97b8], 1
call fcn.00422ea0
add esp, 4
test al, al
je 0x427529
mov eax, dword [esp + 0x3c]
test al, 0x10
je 0x42742a
mov esi, 1
test eax, 0x800000
je 0x427434
or esi, 2
test eax, 0x2000000
je 0x42743e
or esi, 4
test dword [esp + 0x4c], 0x80000000
je 0x42744b
or esi, 8
push 0xc
lea edx, [esp + 0x2c]
push str.GenuineIntelAuthenticAMDCyrixInsteadCentaurHalls
push edx
call fcn.00487b85
add esp, 0xc
test eax, eax
jne 0x4274ab
test dword [esp + 0x3c], 0x4000000
mov dword [0x4f97b0], 1
je 0x42747a
or esi, 0x10
cmp dword [esp + 0x34], 4
jb 0x427529
mov eax, dword [esp + 0x40]
shr eax, 0x1a
je 0x427529
movzx eax, al
or esi, 0x40
add eax, 1
mov dword [0x4f97b4], esi
mov dword [0x4f97b8], eax
pop esi
add esp, 0x54
ret
push 0xc
lea ecx, [esp + 0x2c]
push 0x4d4c14
push ecx
call fcn.00487b85
add esp, 0xc
test eax, eax
jne 0x4274fd
test dword [esp + 0x3c], 0x4000000
mov dword [0x4f97b0], 2
je 0x4274da
or esi, 0x10
movzx eax, byte [esp + 0x54]
test eax, eax
jbe 0x427529
movzx edx, al
or esi, 0x40
add edx, 1
mov dword [0x4f97b4], esi
mov dword [0x4f97b8], edx
pop esi
add esp, 0x54
ret
push 0xc
lea eax, [esp + 0x2c]
push 0x4d4c20
push eax
call fcn.00487b85
add esp, 0xc
test eax, eax
je 0x427529
push 0xc
lea ecx, [esp + 0x2c]
push 0x4d4c2c
push ecx
call fcn.00487b85
add esp, 0xc
mov dword [0x4f97b4], esi
pop esi
add esp, 0x54
ret

Function at 0x427a10
Capabilities:
Allocate thread local storage

Disassembly:
push esi
call fcn.0043d380
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, dword [esp + 8]
not eax
mov dword [esi], eax
not eax
cmp eax, 0xffffffff
jne 0x427a2f
xor al, al
pop esi
ret
mov eax, dword [esp + 0xc]
push 0x4f9070
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4f92a0]
mov dword [eax*4 + 0x4f9088], esi
add eax, 1
push 0x4f9070
mov dword [0x4f92a0], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop esi
ret
Function at 0x4288a0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x49dc4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54c
mov al, byte [esp + 0x560]
push esi
mov esi, ecx
mov byte [esi + 8], al
mov eax, dword [esp + 0x560]
push edi
mov dword [esp + 0x18], esi
mov dword [esi + 4], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], eax
push eax
mov dword [esp + 0x560], 0
mov dword [esi], vtable.Blizzard::IOCoreAlignedFileUnit.0
call fcn.0041c990
mov edi, eax
mov ecx, dword [edi + 8]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x24], edx
mov eax, dword [edi]
push eax
call fcn.0041cbd0
mov ecx, dword [edi]
add eax, 1
push eax
push ecx
lea edx, [esp + 0x164]
push edx
call fcn.0041de50
lea eax, [esp + 0x168]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x428933
sub eax, edx
add eax, 1
cmp eax, 0x12c
mov dword [esp + 0x20], eax
ja 0x428952
lea eax, [esp + 0x28]
jmp 0x42895b
push eax
call fcn.004655f9
add esp, 4
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x158]
push edx
push eax
mov dword [esp + 0x30], eax
call fcn.0041de50
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov edi, eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
cmp eax, edx
je 0x4289ab
push eax
call fcn.004655fe
add esp, 4
test edi, edi
je 0x4289bf
mov ecx, dword [esp + 8]
lea eax, [ecx - 1]
test ecx, eax
jne 0x4289bf
mov dword [esi + 0x1c], eax
jmp 0x4289c6
mov dword [esi + 0x1c], 0xffff
mov eax, dword [esi + 0x1c]
push 0x4a2e64
push 0x7c
push str.d:_buildserver1work_installwow_371core_repository_branchesinstallwow_371_blizzardcore_source_systemmemoryStackedAllocator.cpp
push 0
add eax, 0x100000
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00423210
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x1c]
lea edx, [eax + ecx]
add esp, 0x18
not eax
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x554]
and edx, eax
mov dword [esi + 0x18], edx
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x558
ret 8
Function at 0x429280
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49dc71
push eax
mov dword fs:[0], esp
sub esp, 0xc
push edi
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x4292b3
xor eax, eax
pop edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov eax, dword [esp + 0x20]
test eax, eax
push esi
jne 0x4292e1
push eax
push 0x44
push str.d:_buildserver1work_installwow_371core_repository_branchesinstallwow_371_blizzardcore_sourcepackagesiounitIOUnitContainer.cpp
push 1
lea eax, [esp + 0x1c]
push 0x128
push eax
mov byte [esp + 0x4c], 1
call fcn.00423210
mov esi, dword [eax]
add esp, 0x18
jmp 0x4292f9
mov esi, dword [eax]
mov dl, byte [eax + 4]
lea ecx, [esi + 0x12b]
and ecx, 0xfffffffc
mov dword [eax], ecx
mov byte [esp + 0x34], dl
mov byte [eax + 4], 0
mov dword [esp + 8], esi
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0x1c], 0
je 0x429347
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push edi
push eax
push ecx
push edx
mov ecx, esi
call fcn.00426500
mov eax, dword [esp + 0x30]
mov dword [esi + 0x124], eax
mov dword [esi], vtable.Blizzard::IOReadOnlyMPQFileUnit.0
mov eax, esi
pop esi
pop edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x14]
pop esi
xor eax, eax
pop edi
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x4293a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49dc71
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, dword [esp + 0x30]
test esi, esi
je 0x429448
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4293f2
push eax
push 0x44
push str.d:_buildserver1work_installwow_371core_repository_branchesinstallwow_371_blizzardcore_sourcepackagesiounitIOUnitContainer.cpp
push 1
lea eax, [esp + 0x18]
push 0x230
push eax
mov byte [esp + 0x48], 1
call fcn.00423210
mov ecx, dword [eax]
add esp, 0x18
jmp 0x42940a
mov ecx, dword [eax]
lea edx, [ecx + 0x233]
and edx, 0xfffffffc
mov dword [eax], edx
mov dl, byte [eax + 4]
mov byte [esp + 0x30], dl
mov byte [eax + 4], 0
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ecx
test ecx, ecx
mov dword [esp + 0x18], 0
je 0x429448
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push esi
push eax
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push edx
call fcn.00426980
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x429b90
Capabilities:
Get file size

Disassembly:
sub esp, 0x15c
push esi
mov esi, dword [esp + 0x164]
cmp byte [esi + 8], 0
jne 0x429cb9
mov ecx, dword [esi]
push edi
lea eax, [esp + 8]
push eax
push ecx
mov byte [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x429bd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x429cb8
mov eax, dword [esi + 0x48]
test eax, eax
je 0x429bdc
cmp dword [eax], 0
jne 0x429bee
mov eax, dword [esp + 8]
xor edx, edx
xor ecx, ecx
or edx, edi
or eax, ecx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov edx, dword [esi + 0x4c]
push edx
lea ecx, [esp + 0x34]
call fcn.004278f0
mov eax, dword [eax + 4]
lea ecx, [esp + 0xc]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
mov edi, eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x38]
cmp eax, edx
je 0x429c23
push eax
call fcn.004655fe
add esp, 4
test edi, edi
je 0x429cb4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0041e3d0
mov dword [esi + 0x2c], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.0041e3d0
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x34], edx
mov edx, dword [esp + 0x28]
push ecx
push edx
mov dword [esi + 0x30], eax
call fcn.0041e3d0
mov edi, dword [esp + 0x24]
push edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
call fcn.0041d470
mov cl, al
shr cl, 5
and cl, 1
add esp, 0x1c
cmp edi, 0xffffffff
mov dword [esi + 0x20], eax
mov byte [esi + 0x44], cl
jne 0x429ca2
mov byte [esi + 8], 1
pop edi
mov dword [esi + 0x40], 0
mov byte [esi + 8], 1
pop esi
add esp, 0x15c
ret
and al, 0x40
neg al
mov byte [esi + 8], 1
sbb eax, eax
neg eax
add eax, 1
mov dword [esi + 0x40], eax
mov byte [esi + 8], 1
pop edi
pop esi
add esp, 0x15c
ret
Function at 0x433100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
mov eax, dword [esp + 0x60]
push ebx
push esi
push edi
mov edi, dword [esp + 0x68]
mov ebx, ecx
mov ecx, dword [esp + 0x70]
mov dword [ebx + 8], eax
add edi, 0x1ac
mov dword [ebx + 0xc], ecx
mov esi, dword [edi + 4]
xor eax, eax
cmp esi, dword [edi + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0xffffffff
jbe 0x43313f
call fcn.00486310
push ebp
mov ebp, dword [edi + 8]
cmp dword [edi + 4], ebp
jbe 0x43314d
call fcn.00486310
cmp edi, edi
je 0x433156
call fcn.00486310
cmp esi, ebp
je 0x4331e0
cmp esi, dword [edi + 8]
jb 0x433168
call fcn.00486310
mov edx, dword [esi]
cmp edx, dword [esp + 0x70]
jne 0x4331c9
mov eax, dword [esi + 4]
cmp eax, dword [esp + 0x74]
jne 0x4331c9
cmp esi, dword [edi + 8]
jb 0x433183
call fcn.00486310
mov eax, dword [esi + 0x31]
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [ebx + 0x10]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], eax
call fcn.00430ba0
cmp esi, dword [edi + 8]
jb 0x4331ae
call fcn.00486310
cmp dword [esi + 0x31], 0
jne 0x4331b8
mov dword [esp + 0x18], ebp
cmp esi, dword [edi + 8]
jb 0x4331c2
call fcn.00486310
mov eax, dword [esi + 0xc]
add dword [esp + 0x14], eax
cmp esi, dword [edi + 8]
jb 0x4331d3
call fcn.00486310
add esi, 0x35
add dword [esp + 0x10], 1
jmp 0x433140
mov esi, dword [esp + 0x14]
test esi, esi
pop ebp
je 0x43325b
mov eax, dword [ebx]
test eax, eax
je 0x433233
mov ecx, dword [0x4f1ae8]
test ecx, ecx
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], str.d:_buildserver1work_installwow_371core_repository_branchesinstallwow_371_blizzardcore_source_systemmemoryStackedAllocator.cpp
mov dword [esp + 0x48], 0xa2
mov dword [esp + 0x4c], 0x4a2e64
je 0x433233
mov eax, dword [ecx + 0x10]
lea edx, [esp + 0x2c]
push edx
push ecx
call eax
add esp, 8
push 0x4a2e64
push 0x7c
push str.d:_buildserver1work_installwow_371core_repository_branchesinstallwow_371_blizzardcore_source_systemmemoryStackedAllocator.cpp
push 0
lea ecx, [esp + 0x78]
push esi
push ecx
call fcn.00423210
mov edx, dword [esp + 0x80]
add esp, 0x18
mov dword [ebx], edx
mov dword [ebx + 4], esi
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
add esp, 0x58
ret 0xc
Function at 0x43d380
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, 0x4a2e64
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43bd78
push esi
sub eax, edx
push edi
mov edi, eax
lea eax, [edi + 0x38]
push eax
call fcn.004864ff
push 0x38
mov esi, eax
push 0
push esi
call fcn.00485c80
add edi, 1
push edi
lea ecx, [esi + 0x30]
push 0x4a2e64
push ecx
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 2
call fcn.0041de50
push esi
call fcn.00438bf0
push esi
push 0x4fdb20
mov dword [0x4f9068], esi
call fcn.004402c0
mov edx, dword [0x4f9068]
mov eax, 1
add esp, 0x28
mov dword [edx + 0x10], eax
mov ecx, dword [0x4f9068]
pop edi
mov dword [ecx + 0x14], eax
pop esi
ret
cmp byte [0x4f906e], 0
jne 0x43d3fc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4f9070
mov byte [0x4f906e], 1
call esi
push 0x4f9288
call esi
call fcn.0043d380
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
not eax
mov dword [0x4fdb20], eax
not eax
cmp eax, 0xffffffff
pop esi
je 0x43d3f7
push 0x4f9070
mov dword [0x4fdb24], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4f92a0]
mov dword [eax*4 + 0x4f9088], 0x4fdb20
add eax, 1
push 0x4f9070
mov dword [0x4f92a0], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x43bd70
ret

Function at 0x43e630
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
call fcn.0043d380
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call fcn.0043a5a0
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov esi, eax
mov ecx, edi
and ecx, 1
lea eax, [esi + 4]
push eax
add ecx, ecx
add ecx, ecx
push ecx
push esi
push 0x43be40
push edx
push 0
mov dword [ebx], esi
call fcn.00489f4f
mov dword [esi], eax
mov eax, dword [ebx]
not edi
add esp, 0x24
and edi, 1
mov dword [eax + 0x10], edi
pop edi
pop esi
mov al, 1
pop ebx
ret

Function at 0x43e690
Capabilities:
Create thread

Disassembly:
push esi
call fcn.0043d380
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push edx
call fcn.0043a5a0
mov esi, eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x43be40
push 0
push 0
call fcn.00489f4f
add esp, 0x24
lea ecx, [esi + 0x14]
mov dword [esi], eax
mov dword [esi + 0x10], 1
call fcn.0041d950
test eax, eax
jg 0x43e6fb
mov eax, dword [esi]
test eax, eax
je 0x43e6ec
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push esi
call fcn.0043a610
push esi
call fcn.004865c2
add esp, 8
mov al, 1
pop esi
ret
Function at 0x43e700
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x49e4e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x4f9070
mov ebp, eax
mov dword [esp + 0x10], 0x4f9070
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4fda88]
xor ebx, ebx
cmp ecx, 0x10
mov dword [esp + 0x18], ebx
jl 0x43e762
push 0x4f9070
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
xor edx, edx
cmp ecx, ebx
push esi
jle 0x43e782
mov eax, 0x4f92bc
mov edi, edi
cmp dword [eax], ebp
je 0x43e889
add edx, 1
add eax, 0x18
cmp edx, ecx
jl 0x43e770
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push ebx
push ebx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x43e8d2
push edi
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [0x4fda88]
lea edx, [ecx + ecx*2]
lea edi, [edx*8 + 0x4f92b0]
mov edx, dword [esp + 0x10]
mov dword [edi], edx
mov edx, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x28]
add ecx, 1
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebp
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
mov dword [0x4fda88], ecx
call fcn.0043d380
mov eax, 0x4a2e64
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x43e800
sub eax, ecx
mov ebp, eax
lea eax, [ebp + 0x38]
push eax
call fcn.004864ff
push 0x38
mov esi, eax
push ebx
push esi
call fcn.00485c80
add ebp, 1
push ebp
lea ecx, [esi + 0x30]
push 0x4a2e64
push ecx
mov dword [esi + 8], edi
mov dword [esi + 0xc], 0x43d4d0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 2
call fcn.0041de50
push esi
call fcn.00438bf0
lea edx, [esi + 4]
push edx
push ebx
push esi
push 0x43be40
push ebx
push ebx
call fcn.00489f4f
add esp, 0x38
push 0x4f9070
mov dword [esi], eax
mov dword [esi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea eax, [ecx + ecx*2]
add ecx, 1
mov dword [0x4fda88], ecx
lea ecx, [edx + edx*2]
add ecx, ecx
add ecx, ecx
mov edx, dword [ecx + ecx + 0x4f92b8]
mov esi, dword [ecx + ecx + 0x4f92b4]
add ecx, ecx
mov ecx, dword [ecx + 0x4f92b0]
lea eax, [eax*8 + 0x4f92b0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], esi
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
push 0x4f9070
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43ef30
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x49e436
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
mov esi, ecx
push 0
mov dword [esp + 0x18], esi
call edi
mov dword [esi + 4], eax
push 0
push 0
push 0
push 0
mov dword [esp + 0x24], 0
call edi
mov dword [esi + 8], eax
mov byte [esp + 0x14], 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0043d380
push 0x4a2e64
push esi
push 0x420a40
call fcn.0043a5a0
mov edi, eax
lea eax, [edi + 4]
push eax
push 0
push edi
push 0x43be40
push 0
push 0
mov dword [esi], edi
call fcn.00489f4f
mov dword [edi], eax
mov ecx, dword [esi]
add esp, 0x24
mov dword [ecx + 0x10], 1
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4402c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
push esi
not eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [edi + 4], 0
je 0x440312
test esi, esi
je 0x440312
call fcn.0043d380
mov eax, dword [0x4fdb20]
not eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x440305
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x440301
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x440312
mov ecx, dword [edi + 4]
push ecx
push esi
call fcn.0043e700
add esp, 8
pop edi
pop esi
ret

Function at 0x440559
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49e711
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x150]
mov dword [esp + 0x1c], 2
call fcn.0043ee70
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea edi, [esi + 0x138]
push edi
call ebx
mov dword [edi], 0
lea edi, [esi + 0xc]
push edi
call ebx
mov dword [edi], 0
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.0042f3e0
mov ecx, dword [esi + 4]
push ecx
call fcn.004655fe
mov ecx, dword [esp + 0x18]
add esp, 4
pop edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x441850
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
not eax
cmp eax, 0xffffffff
jne 0x441874
push 0x41ec20
push edi
call fcn.0043d440
add esp, 8
test al, al
jne 0x441881
pop edi
xor eax, eax
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4418b1
push 1
call fcn.004655ce
add esp, 4
test eax, eax
je 0x4418a3
push eax
push edi
mov byte [eax], 0
mov esi, eax
call fcn.004402c0
add esp, 8
pop edi
mov eax, esi
pop esi
ret
xor eax, eax
push eax
push edi
mov esi, eax
call fcn.004402c0
add esp, 8
pop edi
mov eax, esi
pop esi
ret

Function at 0x4418c0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
not eax
cmp eax, 0xffffffff
jne 0x4418e4
push 0x42ad00
push edi
call fcn.0043d440
add esp, 8
test al, al
jne 0x4418f1
pop edi
xor eax, eax
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x441932
push 0xc
call fcn.004655ce
add esp, 4
test eax, eax
je 0x441924
push eax
push edi
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov esi, eax
call fcn.004402c0
add esp, 8
pop edi
mov eax, esi
pop esi
ret
xor eax, eax
push eax
push edi
mov esi, eax
call fcn.004402c0
add esp, 8
pop edi
mov eax, esi
pop esi
ret
Function at 0x441f50
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x404
push edi
mov edi, dword [esp + 0x40c]
mov ecx, dword [edi]
cmp ecx, 0xffffffff
jne 0x441f7f
mov ecx, 0x4fdb00
call fcn.004418c0
mov dword [eax], 8
xor al, al
pop edi
add esp, 0x404
ret
push esi
mov esi, dword [esp + 0x41c]
mov eax, dword [esi]
test eax, eax
je 0x441fef
mov edx, dword [esp + 0x418]
push edx
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [esp + 0x420]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov ecx, dword [esp + 8]
mov dword [esi], ecx
jne 0x441fef
mov ecx, 0x4fdb00
call fcn.004418c0
mov dword [eax], 5
mov edx, dword [edi + 0x4c]
push edx
lea eax, [esp + 0x10]
push str.Win32_Read____s
push eax
call fcn.00414050
push 1
push eax
push 5
call fcn.00441eb0
add esp, 0x18
pop esi
xor al, al
pop edi
add esp, 0x404
ret
pop esi
mov al, 1
pop edi
add esp, 0x404
ret

Function at 0x442000
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x404
push edi
mov edi, dword [esp + 0x40c]
mov ecx, dword [edi]
cmp ecx, 0xffffffff
jne 0x44202f
mov ecx, 0x4fdb00
call fcn.004418c0
mov dword [eax], 8
xor al, al
pop edi
add esp, 0x404
ret
push esi
mov esi, dword [esp + 0x41c]
cmp dword [esi], 0
je 0x4420a4
mov edx, dword [esp + 0x418]
push edx
lea edx, [esp + 0xc]
push edx
mov byte [edi + 8], 0
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0x420]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov ecx, dword [esp + 8]
mov dword [esi], ecx
jne 0x4420a4
mov ecx, 0x4fdb00
call fcn.004418c0
mov dword [eax], 6
mov edx, dword [edi + 0x4c]
push edx
lea eax, [esp + 0x10]
push str.Win32_Write____s
push eax
call fcn.00414050
push 1
push eax
push 6
call fcn.00441eb0
add esp, 0x18
pop esi
xor al, al
pop edi
add esp, 0x404
ret
pop esi
mov al, 1
pop edi
add esp, 0x404
ret