joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10069a6
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
cmp dword [0x101e708], ebx
jne 0x10069ce
mov eax, 0x80004005
jmp 0x1006b12
cmp dword [ebp + 8], ebx
je 0x1006b0d
cmp dword [ebp + 0xc], ebx
je 0x1006b0d
mov edi, dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x10], edi
call esi
test eax, eax
jne 0x1006a10
push 0x100158c
push 4
call fcn.01005bd8
pop ecx
pop ecx
jmp 0x10069c4
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0xc]
call fcn.010067d1
push ebx
mov edi, eax
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1006a4d
push 0x100158c
push 4
call fcn.01005bd8
pop ecx
pop ecx
jmp 0x1006ae2
cmp edi, 1
je 0x1006ae2
cmp edi, ebx
jl 0x1006ae2
mov edi, dword [ebp - 0xc]
lea eax, [edi + 0x77]
push eax
mov dword [ebp - 4], eax
call fcn.0100aeb2
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x1006a7b
push 0x1001818
jmp 0x1006acc
push dword [ebp + 0x14]
push ebx
push dword [ebp - 4]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0100672d
test eax, eax
jge 0x1006a99
push 0x10017f4
jmp 0x1006acc
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
je 0x1006ac7
push 0
lea eax, [ebp - 8]
push eax
push dword [ebx + 4]
lea eax, [ebx + 0x10]
push eax
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1006b02
push 0x100158c
push 4
call fcn.01005bd8
pop ecx
pop ecx
test ebx, ebx
je 0x1006ae0
push ebx
call fcn.0100ae38
pop ecx
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call esi
test eax, eax
je 0x1006a00
xor eax, eax
inc eax
jmp 0x1006b12
push ebx
call fcn.0100ae38
pop ecx
xor eax, eax
jmp 0x1006b12
mov eax, 0x80070057
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1006b1e
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 8]
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
push 4
mov dword [ebp - 0x10], eax
pop edi
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 0xd
mov dword [ebp - 0xc], edi
call dword [0x101e710]
cmp eax, ebx
jne 0x1006bce
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1006b84
push 0x100158c
jmp 0x1006bd3
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push 8
push ebx
push dword [ebp + 8]
call esi
test eax, eax
je 0x1006b7d
push 0
lea eax, [ebp - 4]
push eax
push 4
lea edi, [ebx + 8]
push edi
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1006bb6
push 0x100158c
push 4
jmp 0x1006bd4
push 0
lea eax, [ebp - 4]
push eax
push dword [edi]
push dword [ebx + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
je 0x1006bad
xor eax, eax
jmp 0x1006be0
push 0x1001828
push edi
call fcn.01005bd8
pop ecx
pop ecx
mov eax, 0x80004005
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1006dd0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101d6a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x1c], eax
test ebx, ebx
jne 0x1006dfa
xor eax, eax
jmp 0x1006ea4
lea eax, [edi + 4]
cmp dword [eax], 0xffffffff
mov dword [ebp - 0x20], eax
je 0x1006e0d
xor eax, eax
inc eax
jmp 0x1006ea4
and dword [ebp - 0x18], 0
push esi
lea eax, [ebp - 0x18]
push eax
push 0x7fffffff
push ebx
call fcn.01005b4e
mov esi, dword [ebp - 0x18]
cmp esi, 0xc8
jb 0x1006e39
push 0x1001a8c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1006ea1
cmp dword [ebp + 0x10], 0
jne 0x1006e6b
lea eax, [esi + 1]
push eax
push ebx
push 0xca
lea eax, [edi + 0x14]
push eax
call fcn.010059e9
push 0x5f
pop eax
mov word [edi + esi*2 + 0x14], ax
push 0x30
pop eax
mov word [edi + esi*2 + 0x16], ax
xor eax, eax
mov word [edi + esi*2 + 0x18], ax
jmp 0x1006e7a
push ebx
push 0xca
add edi, 0x14
push edi
call fcn.010059af
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
lea eax, [ebp - 0x14]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.WMI.dll_WmiOpenBlock]
test eax, eax
jne 0x1006e9a
inc eax
jmp 0x1006ea3
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0100b6a0
leave
ret 0xc
Function at 0x10079bd
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
push eax
push 0x1001aa0
xor ebx, ebx
push 2
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
call fcn.01005bd8
add esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1007a0b
push 0x100158c
push 4
call fcn.01005bd8
pop ecx
pop ecx
jmp 0x1007a29
mov eax, dword [esi + 8]
push edi
mov edi, dword [eax]
cmp dword [esi + 0xc], ebx
jbe 0x1007a28
push dword [ebp + 8]
lea ecx, [edi + 8]
mov eax, dword [ecx]
call dword [eax]
mov edi, dword [edi]
inc ebx
cmp ebx, dword [esi + 0xc]
jb 0x1007a16
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100968e
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x1019e28
call fcn.0100c04b
call fcn.01006678
xor edi, edi
cmp eax, edi
jl 0x10096df
lea ecx, [ebp - 0x20]
call fcn.0100762d
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
push edi
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], edi
call fcn.0100904f
test eax, eax
je 0x10096e7
push 0x1001dcc
push 4
call fcn.01005bd8
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
call fcn.010075f1
mov eax, 0x80004005
call fcn.0100c0f9
ret 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
cmp ecx, eax
jne 0x1009712
push 0x1001d9c
push 4
call fcn.01005bd8
pop ecx
pop ecx
mov esi, 0x80004005
lea ecx, [ebp - 0x20]
call fcn.010075f1
mov eax, esi
jmp 0x10096df
mov esi, 0x100004
push esi
call fcn.0100aeb2
mov ebx, eax
pop ecx
cmp ebx, edi
jne 0x100972b
mov esi, 0x8007000e
jmp 0x1009706
push esi
push edi
push ebx
call fcn.0100b750
mov dword [ebx], 0x100000
add esp, 0xc
mov dword [ebp - 0x3c], edi
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], 9
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
call dword [0x101e708]
test eax, eax
jge 0x1009788
push eax
push 0x10017e0
push 4
call fcn.01005bd8
push ebx
call fcn.0100ae38
add esp, 0x10
jmp 0x1009701
and dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx]
add eax, 4
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7fffbffb
push ebx
add esi, 0x80004005
call fcn.0100ae38
pop ecx
jmp 0x1009706
Function at 0x10097c5
Capabilities:
Write file on windows

Disassembly:
push 0x14
mov eax, 0x1019e50
call fcn.0100c04b
call fcn.01006678
xor ebx, ebx
cmp eax, ebx
jl 0x100993c
lea ecx, [ebp - 0x20]
call fcn.0100762d
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
push ebx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], ebx
call fcn.0100904f
test eax, eax
je 0x100981f
push 0x1001dcc
push 4
call fcn.01005bd8
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
call fcn.010075f1
mov eax, 0x80004005
jmp 0x100993c
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
cmp edi, eax
jne 0x100984a
push 0x1001d9c
push 4
call fcn.01005bd8
mov esi, 0x80004005
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
call fcn.010075f1
mov eax, esi
jmp 0x100993c
lea eax, [ebp - 0x10]
push eax
push dword [edi + 8]
mov dword [ebp - 0x10], ebx
call fcn.01006c8b
cmp eax, ebx
jge 0x1009861
mov esi, eax
jmp 0x100983b
add dword [ebp - 0x10], 0x1000
push dword [ebp - 0x10]
call fcn.0100aeb2
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x100988a
push 0x1001818
push 4
call fcn.01005bd8
mov esi, 0x8007000e
jmp 0x1009839
push esi
push dword [ebp - 0x10]
push dword [edi + 8]
call fcn.01006bec
cmp eax, ebx
mov dword [ebp - 0x10], eax
jl 0x1009910
push ebx
push ebx
push 2
push ebx
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10098c9
push 0x1001e30
push 4
call fcn.01005bd8
pop ecx
pop ecx
jmp 0x1009910
push dword [ebp + 8]
push 0x1001e1c
push 1
call fcn.01005bd8
add esp, 0xc
push ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], ebx
push dword [esi]
lea eax, [esi + 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1009924
push 0x1001dfc
push 4
call fcn.01005bd8
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0x80004005
push esi
call fcn.0100ae38
pop ecx
lea ecx, [ebp - 0x20]
call fcn.010075f1
mov eax, dword [ebp - 0x10]
jmp 0x100993c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0100ae38
pop ecx
lea ecx, [ebp - 0x20]
call fcn.010075f1
xor eax, eax
call fcn.0100c0f9
ret 4
Function at 0x100b237
Capabilities:
Accept command line arguments

Disassembly:
push 0xac
push 0x101aaf0
call fcn.0100b9b8
mov dword [ebp - 0xb0], 0x94
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x100b0ce
mov eax, 0xff
jmp 0x100b22c
mov ecx, dword [ebp - 0xa4]
and ecx, 0x7fff
mov edi, dword [ebp - 0xa0]
cmp edi, 2
je 0x100b0eb
or ecx, 0x8000
mov edx, dword [ebp - 0xac]
mov eax, edx
shl eax, 8
mov esi, dword [ebp - 0xa8]
add eax, esi
mov dword [0x101e748], edi
mov dword [0x101e750], eax
mov dword [0x101e754], edx
mov dword [0x101e758], esi
mov dword [0x101e74c], ecx
call fcn.0100b04e
mov dword [ebp - 0xb8], eax
push 1
call fcn.0100df74
pop ecx
test eax, eax
jne 0x100b13a
push 0x1c
call fcn.0100b020
pop ecx
call fcn.0100dd93
test eax, eax
jne 0x100b14b
push 0x10
call fcn.0100b020
pop ecx
and dword [ebp - 4], 0
call fcn.0100d71a
test eax, eax
jge 0x100b160
push 0x1b
call fcn.0100cb56
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x102035c], eax
call fcn.0100d5de
mov dword [0x101e734], eax
call fcn.0100d4ea
test eax, eax
jge 0x100b186
push 8
call fcn.0100cb56
pop ecx
call fcn.0100d1c8
test eax, eax
jge 0x100b197
push 9
call fcn.0100cb56
pop ecx
push 1
call fcn.0100cc96
pop ecx
test eax, eax
je 0x100b1aa
push eax
call fcn.0100cb56
pop ecx
mov eax, dword [0x101e768]
mov dword [0x101e76c], eax
push eax
push dword [0x101e760]
push dword [0x101e75c]
call main
add esp, 0xc
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb8], 0
jne 0x100b1de
push eax
call fcn.0100cdf6
call fcn.0100ce2c
jmp 0x100b21f
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0xb4]
call fcn.0100ba00
ret
call fcn.0100dfd9
jmp 0x100b09a
Function at 0x100b84c
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x101d6a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0xc]
push edi
xor esi, esi
push eax
mov dword [ebp - 0xc], esi
call fcn.0100cc0f
pop ecx
test eax, eax
je 0x100b881
push esi
push esi
push esi
push esi
push esi
call fcn.0100e06f
add esp, 0x14
push 4
pop eax
call fcn.0100c6e0
mov dword [ebp - 0x14], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100b99d
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x58]
dec edi
neg edi
sbb edi, edi
and edi, 0x103
inc edi
cmp dword [ebp - 0xc], 2
mov dword [ebp - 8], esi
jne 0x100b916
mov dword [ebp - 0x10], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x1002704
call esi
test eax, eax
jne 0x100b8ed
push 0x10026e8
call esi
test eax, eax
je 0x100b916
push 0x10026d0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100b916
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
call eax
cmp eax, 1
jne 0x100b916
mov eax, dword [ebp - 0x10]
test eax, eax
jbe 0x100b916
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea esi, [ebx - 1]
push esi
push dword [ebp - 8]
call fcn.0100b820
add esp, 0xc
test eax, eax
jl 0x100b99d
not esi
and dword [ebp - 8], esi
je 0x100b948
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 8]
call fcn.0100b820
add esp, 0xc
test eax, eax
jl 0x100b99d
lea eax, [ebx + ebx]
cmp dword [ebp - 8], eax
jae 0x100b953
mov dword [ebp - 8], eax
lea esi, [ebx - 1]
not esi
and esi, dword [ebp - 0x14]
sub esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 1
jne 0x100b967
push 0x11
pop ebx
mov eax, dword [ebp - 0x18]
add ebx, eax
cmp esi, ebx
jb 0x100b99d
push 4
push 0x1000
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x100b99d
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b99d
xor eax, eax
inc eax
jmp 0x100b99f
xor eax, eax
lea esp, [ebp - 0x68]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100b6a0
leave
ret
Function at 0x100ce9b
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], esi
cmp edi, dword [esi*8 + 0x101d6b8]
je 0x100cec1
inc esi
mov dword [ebp - 4], esi
cmp esi, 0x17
jb 0x100ceaf
cmp esi, 0x17
jae 0x100d01b
push 3
call fcn.01013e84
pop ecx
cmp eax, 1
je 0x100cfe5
push 3
call fcn.01013e84
pop ecx
test eax, eax
jne 0x100cef4
cmp dword [0x101d6a0], 1
je 0x100cfe5
cmp edi, 0xfc
je 0x100d01b
push 0x1002ce4
mov edi, 0x314
push edi
mov esi, 0x101e790
push esi
call fcn.0100e53a
add esp, 0xc
test eax, eax
je 0x100cf2a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0100e06f
add esp, 0x14
mov byte [0x101e8ad], bl
push 0x104
mov ebx, 0x101e7a9
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100cf6d
push 0x1002ccc
push 0x2fb
push ebx
call fcn.0100e53a
add esp, 0xc
test eax, eax
je 0x100cf6d
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0100e06f
add esp, 0x14
push ebx
push edi
push esi
call fcn.01013e0b
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x100cf8b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0100e06f
add esp, 0x14
push 0x1002cc8
push edi
push esi
call fcn.01013e0b
add esp, 0xc
test eax, eax
je 0x100cfab
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0100e06f
add esp, 0x14
mov eax, dword [ebp - 4]
push dword [eax*8 + 0x101d6bc]
push edi
push esi
call fcn.01013e0b
add esp, 0xc
test eax, eax
je 0x100cfd0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0100e06f
add esp, 0x14
push 0x12010
push 0x1002ca0
push esi
call fcn.01013c64
add esp, 0xc
jmp 0x100d01b
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
cmp edi, ebx
je 0x100d01b
cmp edi, 0xffffffff
je 0x100d01b
mov edx, dword [esi*8 + 0x101d6bc]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d004
push ebx
lea eax, [ebp - 8]
push eax
sub ecx, esi
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100dd93
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov edi, edi
push ebx
push esi
push edi
push 0x1002d10
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x100dde5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1002d7c
push edi
call esi
push 0x1002d70
push edi
mov dword [0x101ebb4], eax
call esi
push 0x1002d64
push edi
mov dword [0x101ebb8], eax
call esi
push 0x1002d5c
push edi
mov dword [0x101ebbc], eax
call esi
mov dword [0x101ebc0], eax
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [0x101ebb4], ebx
je 0x100de0b
cmp dword [0x101ebb8], ebx
je 0x100de0b
cmp dword [0x101ebbc], ebx
je 0x100de0b
cmp dword [0x101ebc0], ebx
jne 0x100de2f
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x101ebb8], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x101ebb4], 0x100da57
mov dword [0x101ebbc], esi
mov dword [0x101ebc0], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x101d81c], eax
cmp eax, 0xffffffff
je 0x100dea2
push dword [0x101ebb8]
push eax
call esi
test eax, eax
je 0x100dea2
call fcn.0100ce54
push dword [0x101ebb4]
call fcn.0100d959
push dword [0x101ebb8]
mov dword [0x101ebb4], eax
call fcn.0100d959
push dword [0x101ebbc]
mov dword [0x101ebb8], eax
call fcn.0100d959
push dword [0x101ebc0]
mov dword [0x101ebbc], eax
call fcn.0100d959
add esp, 0x10
mov dword [0x101ebc0], eax
call fcn.010127b0
test eax, eax
jne 0x100dea8
call fcn.0100da94
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x100dc43
push dword [0x101ebb4]
call fcn.0100d9df
pop ecx
call eax
mov dword [0x101d820], eax
cmp eax, 0xffffffff
je 0x100de9d
push 0x214
push 1
call fcn.01013f49
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x100de9d
push esi
push dword [0x101d820]
push dword [0x101ebbc]
call fcn.0100d9df
pop ecx
call eax
test eax, eax
jne 0x100defb
push esi
call fcn.0100c780
pop ecx
jmp 0x100de9d
push ebx
push esi
call fcn.0100dad6
or dword [esi + 4], 0xffffffff
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x100dea4
Function at 0x1013c64
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0100d9d1
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
cmp dword [0x101f0ac], ebx
jne 0x1013d3d
push ebx
push ebx
push 0x1002f70
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
jne 0x1013ca8
xor eax, eax
jmp 0x1013e01
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1002f64
push edi
call esi
cmp eax, ebx
je 0x1013ca1
push eax
call fcn.0100d959
mov dword [esp], 0x1002f54
push edi
mov dword [0x101f0ac], eax
call esi
push eax
call fcn.0100d959
mov dword [esp], 0x1002f40
push edi
mov dword [0x101f0b0], eax
call esi
push eax
call fcn.0100d959
mov dword [0x101f0b4], eax
lea eax, [ebp - 8]
push eax
call fcn.0100cc0f
pop ecx
pop ecx
test eax, eax
je 0x1013d0b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0100e06f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1013d3d
push 0x1002f24
push edi
call esi
push eax
call fcn.0100d959
pop ecx
mov dword [0x101f0bc], eax
cmp eax, ebx
je 0x1013d3d
push 0x1002f0c
push edi
call esi
push eax
call fcn.0100d959
pop ecx
mov dword [0x101f0b8], eax
mov eax, dword [0x101f0b8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1013db6
cmp dword [0x101f0bc], esi
je 0x1013db6
push eax
call fcn.0100d9df
pop ecx
call eax
cmp eax, ebx
je 0x1013d83
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x101f0bc]
call fcn.0100d9df
pop ecx
call eax
test eax, eax
je 0x1013d83
test byte [ebp - 0x18], 1
jne 0x1013db6
lea eax, [ebp - 0xc]
push eax
call fcn.0100cc50
pop ecx
test eax, eax
je 0x1013d9e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0100e06f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1013dad
or dword [ebp + 0x10], 0x200000
jmp 0x1013de7
or dword [ebp + 0x10], 0x40000
jmp 0x1013de7
mov eax, dword [0x101f0b0]
cmp eax, esi
je 0x1013de7
push eax
call fcn.0100d9df
pop ecx
call eax
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1013de7
mov eax, dword [0x101f0b4]
cmp eax, esi
je 0x1013de7
push dword [ebp - 4]
push eax
call fcn.0100d9df
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x101f0ac]
call fcn.0100d9df
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101988f
Capabilities:
Terminate thread

Disassembly:
push 0x14
mov eax, 0x101a410
call fcn.0100c04b
mov edi, ecx
cmp byte [edi], 0
mov byte [0x101e6f4], 0
je 0x10199a6
lea ebx, [edi + 4]
mov ecx, ebx
call fcn.01018987
test eax, eax
je 0x10199a6
xor esi, esi
mov ecx, ebx
mov byte [0x101e6f4], 0
mov dword [ebp - 0x10], esi
call fcn.01018987
lea ecx, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.01019712
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.01018987
mov ebx, dword [ebp - 0x1c]
test eax, eax
jbe 0x101991f
mov eax, dword [edi + 8]
mov eax, dword [eax + esi*8]
mov dword [ebx + esi*4], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + esi*8 + 4]
push 1
push dword [eax]
push 0
push dword [eax + 0x24]
push dword [eax + 0x20]
call dword [sym.imp.ADVAPI32.dll_ControlTraceW]
lea ecx, [edi + 4]
inc esi
call fcn.01018987
cmp esi, eax
jb 0x10198f0
test ebx, ebx
jne 0x1019927
xor esi, esi
jmp 0x101992f
mov esi, dword [ebp - 0x18]
sub esi, ebx
sar esi, 2
push 0x1388
push 1
push 0
lea ecx, [ebp - 0x20]
call fcn.01019402
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
jne 0x101996f
xor esi, esi
test ebx, ebx
je 0x101996f
mov eax, dword [ebp - 0x18]
sub eax, ebx
sar eax, 2
cmp esi, eax
jae 0x101996f
push 0xffffffffffffffff
push dword [ebx + esi*4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
inc esi
jmp 0x1019951
lea ebx, [edi + 4]
mov ecx, ebx
xor esi, esi
call fcn.01018987
test eax, eax
jbe 0x101999e
mov eax, dword [edi + 8]
push dword [eax + esi*8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 8]
and dword [eax + esi*8], 0
mov ecx, ebx
inc esi
call fcn.01018987
cmp esi, eax
jb 0x101997f
lea ecx, [ebp - 0x20]
call fcn.01018621
call fcn.0100c0f9
ret