joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10069000
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x54
cmp dword [esp + 0x58], 0
jne 0x10069012
xor eax, eax
add esp, 0x54
ret 8
push ebp
lea ebp, [ecx + 0x8c]
push esi
mov esi, dword [ebp + 4]
cmp esi, dword [ebp + 8]
jbe 0x10069027
call fcn.1015988d
push edi
mov edi, ebp
push ebx
jmp 0x10069030
mov ebx, dword [ebp + 8]
cmp dword [ebp + 4], ebx
jbe 0x1006903d
call fcn.1015988d
test edi, edi
je 0x10069045
cmp edi, ebp
je 0x1006904a
call fcn.1015988d
cmp esi, ebx
je 0x1006909b
test edi, edi
jne 0x10069057
call fcn.1015988d
cmp esi, dword [edi + 8]
jb 0x10069061
call fcn.1015988d
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x68]
cmp eax, dword [ecx]
je 0x1006907b
cmp esi, dword [edi + 8]
jb 0x10069076
call fcn.1015988d
add esi, 0x2c
jmp 0x10069030
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, dword [edi + 8]
mov ebx, eax
jb 0x1006908d
call fcn.1015988d
mov dword [esi], ebx
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x54
ret 8
mov eax, dword [esp + 0x68]
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0xc]
xor ecx, ecx
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
cmp eax, ecx
mov dword [esp + 0x28], ecx
mov word [esp + 0x2c], cx
mov byte [esp + 0x2e], cl
mov word [esp + 0x2f], cx
mov dword [esp + 0x31], ecx
mov dword [esp + 0x20], edx
je 0x100690fe
mov ecx, dword [eax]
mov dx, word [eax + 4]
mov al, byte [eax + 6]
mov dword [esp + 0x28], ecx
mov word [esp + 0x2c], dx
mov byte [esp + 0x2e], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x38], eax
mov ecx, 9
lea esi, [esp + 0x10]
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
movsb byte es:[edi], byte [esi]
call fcn.10066340
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x54
ret 8
Function at 0x100699f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x18]
mov esi, ecx
push eax
mov ecx, edi
call fcn.10012070
cmp dword [esp + 0x30], 0x10
jb 0x10069a1d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10159534
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x234]
test ecx, ecx
mov dword [esi + 0x200], eax
je 0x10069a84
cmp byte [esp + 0x48], 0
jne 0x10069a84
mov edx, dword [ecx]
mov edx, dword [edx + 0x60]
lea eax, [esp + 0x13]
push eax
call edx
mov ecx, dword [eax]
mov ebx, dword [esi]
mov dword [esi + 0x113c], ecx
mov dl, byte [eax + 4]
mov ecx, dword [esi + 0x234]
mov byte [esi + 0x1140], dl
movzx eax, byte [esi + 0x113d]
mov dword [esi + 0x3b4], eax
mov dword [esi + 0x122c], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x64]
call edx
mov ecx, esi
push eax
mov eax, dword [ebx + 0x9c]
call eax
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [esi + 0x10f0]
push ebx
mov byte [esi + 0xf9c], 1
call ebp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esi + 0x1108], 0
call ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov dword [esi + 0x258], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x25c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x260], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xf54], ecx
mov dword [esi + 0x264], edx
mov dword [esi + 0xf50], eax
mov edx, dword [edi]
mov dword [esi + 0x244], edx
mov eax, dword [edi + 4]
mov dword [esi + 0x248], eax
mov ecx, dword [edi + 8]
mov dword [esi + 0x24c], ecx
mov edx, dword [edi + 0xc]
mov cl, byte [esp + 0x48]
mov dword [esi + 0x250], edx
mov eax, dword [edi + 0x10]
lea edi, [esi + 0x1114]
push edi
mov dword [esi + 0x254], eax
mov byte [esi + 0x1141], cl
call ebp
mov dl, byte [esi + 0x112c]
push edi
mov byte [esp + 0x44], dl
call ebx
cmp byte [esp + 0x40], 1
je 0x10069b68
lea edi, [esi + 0x1114]
push edi
call ebp
mov al, byte [esi + 0x112c]
push edi
mov byte [esp + 0x44], al
call ebx
cmp byte [esp + 0x40], 2
je 0x10069b68
lea edi, [esi + 0x1114]
push edi
call ebp
push edi
mov byte [esi + 0x112c], 3
call ebx
cmp byte [esp + 0x48], 0
jne 0x10069bce
mov ecx, esi
call fcn.10061e40
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [esi + 0xa8]
push edi
mov dword [esp + 0x4c], eax
call ebp
mov ecx, dword [esp + 0x48]
push edi
mov dword [esi + 0xc0], ecx
call ebx
mov edx, dword [esi + 0x1f4]
push 1
push edx
push 2
push 0
mov ecx, esi
call fcn.100606e0
push 0
push 0x1f4
push 5
push 0
mov ecx, esi
call fcn.100606e0
push 0
push 0xea60
push 0x10
push 0
mov ecx, esi
call fcn.100606e0
push 0
push 0x3e8
push 0
push 0
mov ecx, esi
mov dword [esi + 0x1f8], 0x4e20
call fcn.100606e0
push 0
push 0x2710
push 0x12
push 0
mov ecx, esi
call fcn.100606e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x14
Function at 0x10072370
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x10184867
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
lea edx, [esi + 0x10]
mov dword [esi], 0x1019aad8
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
push edx
mov dword [esi + 0xc], 0x10199604
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov eax, dword [esp + 0x6c]
push 0x101997b5
push ebx
push eax
lea ecx, [esi + 0x3c]
mov byte [esp + 0x68], 1
call fcn.10071500
push ebx
push ebx
push ebx
lea ecx, [esi + 0x44]
mov byte [esp + 0x68], 2
call fcn.1002e260
push ebx
push ebx
push ebx
lea ecx, [esi + 0x50]
mov byte [esp + 0x68], 3
call fcn.1002e260
lea ecx, [esp + 0x64]
push ecx
push ebx
push esi
push 0x100722c0
push ebx
push ebx
mov byte [esp + 0x74], 4
call fcn.1015a189
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x5c], eax
jne 0x1007246a
push 0x14
push str.create_thread_failed
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.10005610
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 5
call fcn.100064d0
push eax
mov byte [esp + 0x60], 6
call fcn.100714d0
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x54
ret 0xc

Function at 0x10072481
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
push edi
push eax
mov dword [esi], 0x1019aad8
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x5c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100724b4
mov edx, dword [esi + 0x5c]
push 0xff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x5c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 0x54]
push ecx
mov dword [esi + 0x50], 0x1019a1a0
call edi
mov ebx, 0x10199600
mov dword [esi + 0x50], ebx
mov edx, dword [esi + 0x48]
push edx
mov dword [esi + 0x44], 0x1019a1a0
call edi
mov dword [esi + 0x44], ebx
mov eax, dword [esi + 0x40]
push eax
mov dword [esi + 0x3c], 0x1019a1a0
call edi
lea ecx, [esi + 0x28]
mov dword [esi + 0x3c], ebx
call fcn.1005ab80
lea ecx, [esi + 0x10]
push ecx
mov dword [esi + 0xc], 0x10199604
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
mov dword [esi + 0xc], ebx
pop esi
pop ebx
ret
Function at 0x10084670
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1017de88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x3c]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.100d4060
mov ecx, dword [esp + 0x50]
push ecx
lea ecx, [esp + 0x28]
call fcn.1000bac0
push eax
lea ecx, [esi + 0x44]
mov dword [esp + 0x34], 0
call fcn.100114b0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x18], 0x1019a348
mov dword [esp + 0x1c], 0x101996a4
call fcn.100a8e90
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 8
Function at 0x10086dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10185ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.100292c0
mov ecx, dword [esi + 0x2730]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x30], 0
call fcn.10135076
lea ecx, [esi + 0x1d75]
push ecx
call fcn.100eca36
mov ecx, eax
add esp, 4
or ecx, edx
je 0x10086e21
mov esi, edx
jmp 0x10086e2d
mov eax, dword [esi + 0x250f]
mov esi, dword [esi + 0x2513]
mov edx, dword [esp + 0x34]
push edx
push esi
push eax
call fcn.100f8ec2
add esp, 8
shl eax, 0xa
push eax
lea ecx, [esp + 0x14]
call fcn.10028f00
lea ecx, [esp + 0xc]
mov esi, eax
mov edi, edx
mov dword [esp + 0x2c], 0xffffffff
call fcn.100291b0
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 4
Function at 0x10089dc0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x10185e20
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
xor ebx, ebx
cmp esi, ebx
je 0x10089f4b
cmp edi, ebx
je 0x10089f4b
mov eax, 7
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
mov eax, esi
mov byte [esp + 0x70], 1
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10089e48
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.10005610
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x78], 2
call fcn.100f0d69
mov esi, 0x10
add esp, 8
cmp dword [esp + 0x28], esi
mov byte [esp + 0x70], 1
jb 0x10089e92
mov edx, dword [esp + 0x14]
push edx
call fcn.10159534
add esp, 4
mov eax, edi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10089ea7
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.10005610
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x78], 3
call fcn.100f0d69
add esp, 8
cmp dword [esp + 0x28], esi
jb 0x10089ee7
mov edx, dword [esp + 0x14]
push edx
call fcn.10159534
add esp, 4
mov ecx, dword [esp + 0x30]
mov esi, 8
cmp dword [esp + 0x44], esi
jae 0x10089efa
lea ecx, [esp + 0x30]
cmp dword [esp + 0x60], esi
mov eax, dword [esp + 0x4c]
jae 0x10089f08
lea eax, [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x10089f6b
cmp dword [esp + 0x44], esi
jb 0x10089f27
mov eax, dword [esp + 0x30]
push eax
call fcn.10159534
add esp, 4
cmp dword [esp + 0x60], esi
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jb 0x10089f4b
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.10159534
add esp, 4
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10159cce
add esp, 0x64
ret
cmp dword [esp + 0x44], esi
jb 0x10089f7e
mov edx, dword [esp + 0x30]
push edx
call fcn.10159534
add esp, 4
cmp dword [esp + 0x60], esi
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jb 0x10089fa2
mov eax, dword [esp + 0x4c]
push eax
call fcn.10159534
add esp, 4
mov al, 1
jmp 0x10089f4d
Function at 0x100a6110
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x10189968
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.10021db0
lea edi, [eax + 4]
push edi
mov dword [esp + 0x18], 0x10199614
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esp + 0x34], 0
mov dword [esp + 0x24], 0
je 0x100a6176
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x5538], eax
push edi
jmp 0x100a6256
cmp byte [esp + 0x30], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [esp + 0x2c]
je 0x100a61ef
test edi, edi
je 0x100a619f
cmp edi, 0xa
jae 0x100a6195
mov edi, 0xa
test edi, edi
mov dword [esi + 0x5534], edi
jne 0x100a61f3
mov eax, 1
cmp dword [esi + 0x57e8], eax
mov dword [esi + 0x5534], 0
je 0x100a61c4
mov dword [esi + 0x57e8], eax
call ebp
mov dword [esi + 0x57e0], eax
xor eax, eax
push eax
push 4
push 0
call fcn.1010c850
add esp, 8
mov ecx, eax
call fcn.1010bd5a
test edi, edi
jne 0x100a6203
push 0xffffffffffffffff
call fcn.100e1dc0
mov ecx, eax
call fcn.100e1ea0
push edi
jmp 0x100a6245
test edi, edi
je 0x100a61c4
cmp edi, 0xa
jbe 0x100a61fc
mov eax, edi
jmp 0x100a61c6
mov eax, 0xa
jmp 0x100a61c6
cmp byte [esp + 0x30], 0
jne 0x100a6234
mov eax, dword [esi + 0x57e8]
test eax, eax
je 0x100a622b
cmp eax, 2
je 0x100a622b
mov dword [esi + 0x57e8], 0
call ebp
mov dword [esi + 0x57e0], eax
cmp dword [esi + 0x57e8], 2
je 0x100a6251
shl edi, 0xa
push edi
call fcn.100e1dc0
mov ecx, eax
call fcn.100e1ea0
push edi
call fcn.1005f420
mov ecx, eax
call fcn.1005a300
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x100aa0c0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x1018849b
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x4a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x4c0]
mov dword fs:[0], eax
xor ebx, ebx
push 0x384
lea eax, [esp + 0x13c]
push ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.101596b0
add esp, 0xc
push 0xff
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x100aa22d
xor ebp, ebp
jmp 0x100aa146
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x14]
cmp dword [eax + ecx*4], ebx
lea eax, [eax + ecx*4]
je 0x100aa217
mov edx, dword [eax]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
cmp esi, ebx
je 0x100aa217
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100aa181
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.10005610
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100aa1a0
sub eax, edx
cmp eax, 0x1e
jae 0x100aa1c4
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100aa1b5
sub eax, edx
mov edi, eax
jmp 0x100aa1c9
mov edi, 0x1d
push edi
lea ecx, [esp + ebp + 0x13c]
push esi
push ecx
call fcn.1015a650
add dword [esp + 0x20], 1
lea edx, [edi + ebp]
add esp, 0xc
add ebp, 0x1e
cmp dword [esp + 0x34], 0x10
mov byte [esp + edx + 0x138], bl
mov dword [esp + 0x4c8], 0xffffffff
jb 0x100aa20c
mov eax, dword [esp + 0x20]
push eax
call fcn.10159534
add esp, 4
cmp dword [esp + 0x14], 0x1e
jl 0x100aa142
cmp dword [esp + 0x14], ebx
jle 0x100aa22d
lea ecx, [esp + 0x138]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
jmp 0x100aa22f
xor eax, eax
mov ecx, dword [esp + 0x4c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4a8]
xor ecx, esp
call fcn.10159cce
add esp, 0x4b8
ret
Function at 0x100aa260
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x101884f0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
xor ebx, ebx
cmp esi, ebx
je 0x100aa40b
cmp edi, ebx
je 0x100aa40b
mov eax, 7
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
mov eax, esi
mov byte [esp + 0x74], 1
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
jmp 0x100aa2f0
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100aa2f0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.10005610
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x7c], 2
call fcn.100f0d69
mov esi, 0x10
add esp, 8
cmp dword [esp + 0x2c], esi
mov byte [esp + 0x74], 1
jb 0x100aa33a
mov edx, dword [esp + 0x18]
push edx
call fcn.10159534
add esp, 4
mov eax, edi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100aa350
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.10005610
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x7c], 3
call fcn.100f0d69
add esp, 8
cmp dword [esp + 0x2c], esi
jb 0x100aa390
mov edx, dword [esp + 0x18]
push edx
call fcn.10159534
add esp, 4
mov esi, dword [esp + 0x34]
mov edi, 8
cmp dword [esp + 0x48], edi
jae 0x100aa3a3
lea esi, [esp + 0x34]
cmp dword [esp + 0x64], edi
mov eax, dword [esp + 0x50]
jae 0x100aa3b1
lea eax, [esp + 0x50]
xor ecx, ecx
cmp byte [esp + 0x84], bl
sete cl
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
sete byte [esp + 0x13]
cmp dword [esp + 0x48], edi
jb 0x100aa3e1
mov edx, dword [esp + 0x34]
push edx
call fcn.10159534
add esp, 4
cmp dword [esp + 0x64], edi
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
jb 0x100aa405
mov eax, dword [esp + 0x50]
push eax
call fcn.10159534
add esp, 4
mov al, byte [esp + 0x13]
jmp 0x100aa40d
xor al, al
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10159cce
add esp, 0x68
ret
Function at 0x100aa430
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1018bec0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edx, dword [esp + 0x58]
xor ebx, ebx
cmp edx, ebx
je 0x100aa50b
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
mov eax, edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100aa498
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.10005610
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x58], 1
call fcn.100f0d69
add esp, 8
cmp dword [esp + 0x24], 0x10
jb 0x100aa4d9
mov edx, dword [esp + 0x10]
push edx
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, 8
cmp dword [esp + 0x40], esi
jae 0x100aa4ec
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100aa50f
cmp dword [esp + 0x40], esi
jb 0x100aa50b
mov eax, dword [esp + 0x2c]
push eax
call fcn.10159534
add esp, 4
xor al, al
jmp 0x100aa52b
and al, 0x10
cmp al, 0x10
sete bl
cmp dword [esp + 0x40], esi
jb 0x100aa529
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.10159534
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10159cce
add esp, 0x48
ret
Function at 0x100aabf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101885f8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x4ce8]
xor ebx, ebx
cmp ecx, ebx
jne 0x100aac3b
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov eax, dword [esi + 0x1748]
cmp eax, 3
ja case.0x100aac46.0
jmp dword [eax*4 + 0x100aadd4]
mov dword [esp + 0x14], 6
jmp 0x100aac73
mov dword [esp + 0x14], 4
jmp 0x100aac73
mov dword [esp + 0x14], 3
jmp 0x100aac73
mov dword [esp + 0x14], 1
lea eax, [esi + 8]
push eax
call fcn.1012a06e
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x100aadb9
lea edi, [esi + 0x2772]
mov eax, edi
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
lea ebp, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100aaca3
sub eax, ebp
push eax
push edi
lea ecx, [esp + 0x64]
call fcn.10005610
lea ecx, [esi + 0x2752]
mov ebp, 0xf
mov eax, ecx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x100aace0
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.10005610
lea ecx, [esi + 0x174c]
mov eax, ecx
mov byte [esp + 0x80], 1
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x100aad15
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.10005610
movzx eax, word [esi + 0x2750]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x2e]
mov byte [esp + 0x90], 2
call fcn.100228a0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push eax
push edx
push ebp
call fcn.1012e704
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jb 0x100aad7b
mov eax, dword [esp + 0x28]
push eax
call fcn.10159534
add esp, 4
cmp dword [esp + 0x58], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
jb 0x100aad9a
mov ecx, dword [esp + 0x44]
push ecx
call fcn.10159534
add esp, 4
cmp dword [esp + 0x74], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jb 0x100aadb9
mov edx, dword [esp + 0x60]
push edx
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret