joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100190f0
Capabilities:
Get file size

Disassembly:
mov eax, 0x103c
call fcn.1007e590
mov eax, dword [0x1008e168]
xor eax, esp
mov dword [esp + 0x1038], eax
mov eax, dword [esp + 0x1048]
lea ecx, [esp]
push ebx
mov ebx, dword [esp + 0x1044]
push ebp
mov ebp, dword [esp + 0x104c]
push esi
push edi
push ecx
push 2
xor edi, edi
mov dword [esp + 0x18], 0xffffffff
push eax
mov dword [esp + 0x20], edi
call fcn.10056df0
mov esi, eax
test esi, esi
js 0x10019268
lea eax, [esp + 0x14]
push eax
push ebp
push 0x10001bf4
push ebx
call fcn.10018e90
mov esi, eax
test esi, esi
js 0x10019264
push edi
push dword [esp + 0x14]
mov dword [esp + 0x24], 0x28
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push edi
push edi
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x20]
push eax
push edi
call dword [0x1008f4e4]
test eax, eax
jne 0x100191ba
call fcn.10018840
mov esi, eax
jmp 0x10019268
lea eax, [esp + 0x18]
push eax
push 0x1000
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x1c]
call fcn.10056eb0
mov esi, eax
test esi, esi
js 0x10019268
lea esp, [esp]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1001921f
lea ecx, [esp + 0x44]
mov dword [esp + 0x14], eax
push ecx
push eax
lea eax, [esp + 0x50]
push eax
push edi
call dword [0x1008f4d4]
test eax, eax
jne 0x1001921b
call fcn.10018840
mov esi, eax
mov eax, 0xffffb134
cmp esi, 0xffffb13f
cmove esi, eax
test esi, esi
js 0x10019268
mov eax, dword [esp + 0x18]
cmp eax, 0x1000
jb 0x10019246
lea eax, [esp + 0x18]
push eax
push 0x1000
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x1c]
call fcn.10056eb0
mov esi, eax
test esi, esi
jns 0x100191e0
jmp 0x10019268
push dword [esp + 0x10]
call fcn.100568c0
push edi
call fcn.10018ce0
test edi, edi
je 0x10019260
push edi
call dword [0x1008f4d8]
xor eax, eax
jmp 0x100192a1
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x10019277
push eax
call fcn.100568c0
test edi, edi
je 0x1001929f
push 0
push 0
push 0
push edi
call dword [0x1008f4e8]
test eax, eax
jne 0x10019291
call fcn.10018840
push edi
call dword [0x1008f4d8]
push ebp
push ebx
call fcn.10018ab0
mov eax, esi
mov ecx, dword [esp + 0x1048]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007d8c1
add esp, 0x103c
ret 0xc
Function at 0x10024b90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
mov eax, dword [0x1008e168]
xor eax, esp
mov dword [esp + 0x2c], eax
movdqu xmm0, xmmword [esp + 0x3c]
mov eax, dword [esp + 0x68]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push edi
mov edi, dword [esp + 0x40]
mov ebp, dword [ebx + 0xc]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0xc], eax
movdqu xmm0, xmmword [esp + 0x58]
mov eax, dword [0x10092868]
push 0
push ebp
movdqu xmmword [esp + 0x30], xmm0
mov eax, dword [eax + 0x90]
push edi
call eax
test eax, eax
js 0x10024d6e
push esi
push 0
push 0
push 4
lea eax, [esp + 0x78]
push eax
push dword [ebx + 0x64]
mov eax, dword [0x10092868]
push ebp
push edi
mov eax, dword [eax + 0x8c]
call eax
mov esi, eax
test esi, esi
js 0x10024d5a
push 0
push 0
push 0x10
lea eax, [esp + 0x28]
push eax
push dword [ebx + 0x68]
mov eax, dword [0x10092868]
push ebp
push edi
mov eax, dword [eax + 0x8c]
call eax
mov esi, eax
test esi, esi
js 0x10024d5a
push 0
push 0
push 0x10
lea eax, [esp + 0x38]
push eax
push dword [ebx + 0x6c]
mov eax, dword [0x10092868]
push ebp
push edi
mov eax, dword [eax + 0x8c]
call eax
mov esi, eax
test esi, esi
js 0x10024d5a
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x10092868]
push edi
mov eax, dword [eax + 0x100]
call eax
push eax
call fcn.100768a0
test eax, eax
jne 0x10024c82
mov esi, 0xffffb1a1
jmp 0x10024d5a
movsd xmm0, qword [esp + 0x70]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x10024c9b
movsd qword [esp + 0x14], xmm1
push 0
push 0
push 8
lea eax, [esp + 0x20]
push eax
push dword [ebx + 0x74]
mov eax, dword [0x10092868]
push ebp
push edi
mov eax, dword [eax + 0x8c]
call eax
mov esi, eax
test esi, esi
js 0x10024d5a
mov eax, dword [0x10092868]
push 0
push 0
push dword [esp + 0x84]
mov eax, dword [eax + 0x8c]
push dword [esp + 0x1c]
push dword [ebx + 0x70]
push ebp
push edi
call eax
mov esi, eax
test esi, esi
js 0x10024d5a
imul ecx, dword [0x1008e068], 0x3e8
mov eax, 0x10624dd3
xor ebx, ebx
mul ecx
shr edx, 5
test edx, edx
je 0x10024d56
mov eax, dword [0x10092868]
push 0
push 0
push 0
mov eax, dword [eax + 0x94]
push ebp
push edi
call eax
mov esi, eax
cmp esi, 0xfffffbae
je 0x10024d32
cmp esi, 0xfffffbaf
je 0x10024d32
cmp esi, 0xfffffbb2
jne 0x10024d56
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
imul ecx, dword [0x1008e068], 0x3e8
mov eax, 0x10624dd3
inc ebx
mul ecx
shr edx, 5
cmp ebx, edx
jb 0x10024d03
test esi, esi
jns 0x10024d6b
mov eax, dword [0x10092868]
push 3
push ebp
push edi
mov eax, dword [eax + 0x90]
call eax
mov eax, esi
pop esi
mov ecx, dword [esp + 0x38]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007d8c1
add esp, 0x30
ret 0x3c
Function at 0x10056920
Capabilities:
Delete file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x1008e168]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x210]
lea ecx, [esp]
push 0x208
push ecx
push eax
call fcn.1000fe20
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10056974
call fcn.10056990
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.1007d8c1
add esp, 0x20c
ret 4
mov ecx, dword [esp + 0x208]
xor eax, eax
xor ecx, esp
call fcn.1007d8c1
add esp, 0x20c
ret 4

Function at 0x10056e70
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push 0
movzx esi, ax
lea eax, [esp + 0x14]
push eax
push esi
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10056e9b
call fcn.10056990
pop esi
ret 0xc
xor eax, eax
mov ecx, 0xfffffc06
cmp dword [esp + 0x10], esi
pop esi
cmovne eax, ecx
ret 0xc

Function at 0x10056f70
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push 0
movzx esi, ax
lea eax, [esp + 0x14]
push eax
push esi
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10056f9b
call fcn.10056990
pop esi
ret 0xc
xor eax, eax
mov ecx, 0xfffff8f0
cmp dword [esp + 0x10], esi
pop esi
cmovne eax, ecx
ret 0xc
Function at 0x1005b8b0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
lea eax, [esi + 0x10]
push eax
call fcn.10017e30
lea eax, [esi + 8]
push eax
call fcn.10017e30
lea eax, [esi + 4]
push eax
call fcn.10017e30
push esi
call fcn.10017e30
mov eax, dword [0x1008f77c]
test eax, eax
je 0x1005b8fd
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x1008f77c]
call fcn.10064720
mov dword [0x1008f77c], 0
push 0x624
push 0
push esi
call fcn.1007e500
add esp, 0xc
call fcn.10019c50
pop esi
ret 4
Function at 0x10064f80
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x108
mov eax, dword [0x1008e168]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
lea ecx, [esp]
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
mov ebp, dword [esp + 0x118]
push esi
push edi
mov edi, dword [esp + 0x124]
xor esi, esi
push 0x104
push ecx
push eax
call fcn.1000ff40
test eax, eax
jne 0x10064fd0
mov eax, 0xfffffc02
jmp 0x1006501e
lea eax, [esp + 0x10]
mov dword [ebx], esi
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [edi], eax
test eax, eax
jne 0x10064ff0
call fcn.10064b50
mov esi, eax
jmp 0x1006501c
push ebp
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx], eax
test eax, eax
jne 0x1006501c
mov eax, dword [edi]
mov esi, 0xfffffc0d
test eax, eax
je 0x10065016
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
mov eax, esi
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007d8c1
add esp, 0x108
ret 0x10
Function at 0x10070dd0
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esp + 0x20]
mov ebp, eax
inc esi
push esi
push ebp
push 0x1000672c
push 0x10006788
push 0x104
push 0x10092040
call fcn.1001f4f0
add esp, 0x18
push ebx
push 0
push 1
push 0x10092040
call fcn.10064930
mov edi, eax
cmp edi, 0xffffb192
jne 0x10070e2a
cmp esi, 0x1e
jb 0x10070de3
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
test edi, edi
js 0x10070e20
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x20]
push 0x10070120
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
test eax, eax
jne 0x10070e20
push dword [ebx]
call fcn.10064720
pop edi
pop esi
pop ebp
mov dword [ebx], 0
mov eax, 0xfffffc0d
pop ebx
pop ecx
ret 0xc
Function at 0x10074090
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x1008f7ac], 0
je 0x10074154
call fcn.1005f480
mov eax, dword [0x1008f77c]
test eax, eax
je 0x100740c9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x1008f77c]
call fcn.10064720
mov dword [0x1008f77c], 0
mov eax, dword [0x1008f7ac]
push esi
add eax, 0x5c
push eax
call fcn.10074230
mov eax, dword [0x1008f7ac]
add eax, 0x2c
push eax
call fcn.10071170
mov esi, dword [0x1008f7ac]
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
je 0x10074108
push eax
mov eax, dword [0x10092868]
mov eax, dword [eax + 0x200]
call eax
mov esi, dword [0x1008f7ac]
push 0x17b4
add esi, 0x2c
push 0
push esi
call fcn.1007e500
mov eax, 0xff
add esp, 0xc
mov word [esi + 0x64], ax
mov dword [esi + 0x18], 0x20
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x38], 0
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x74], 0xffffffff
call fcn.100646a0
pop esi
xor eax, eax
ret
Function at 0x10076a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x25c
mov eax, dword [0x1008e168]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
mov ebx, dword [esp + 0x270]
lea eax, [esp + 0xc]
push ebp
push esi
push edi
mov edi, dword [esp + 0x270]
push 1
push 0x38
push eax
mov dword [ebx], 0
mov eax, dword [0x10092868]
push 0
push dword [esp + 0x284]
mov dword [esp + 0x2c], 0x38
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x10076b88
mov eax, dword [0x10092868]
push 0
push Ordinal_4
push dword [esp + 0x24]
mov eax, dword [eax + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
js 0x10076b7d
mov ebp, dword [esp + 0x278]
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0x1fe
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x3c]
mov eax, dword [0x10092868]
push dword [esp + 0x34]
push edi
mov eax, dword [eax + 0x88]
call eax
mov esi, eax
test esi, esi
js 0x10076b88
mov eax, dword [esp + 0x10]
and eax, 0xfffffffe
cmp eax, 0x200
jae 0x10076bba
xor ecx, ecx
mov dword [esp + 0x50], 0x18
push ecx
mov word [esp + eax + 0x6c], cx
lea eax, [esp + 0x54]
push 0x18
push eax
lea eax, [esp + 0x74]
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x284]
push edi
mov eax, dword [eax + 0xbc]
call eax
mov esi, eax
test esi, esi
js 0x10076b88
lea eax, [esp + 0x14]
push eax
push 0
push 0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x78]
push eax
mov eax, dword [0x10092868]
push ebp
push edi
mov eax, dword [eax + 0x34]
call eax
mov esi, eax
test esi, esi
js 0x10076b88
lea eax, [esp + 0x68]
push eax
push ebp
push eax
push dword [esp + 0x280]
push edi
call fcn.10079cd0
mov esi, eax
test esi, esi
js 0x10076b88
inc dword [ebx]
mov eax, dword [0x10092868]
push 0
push 1
push dword [esp + 0x24]
mov eax, dword [eax + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
jns 0x10076aa0
xor eax, eax
cmp esi, 0xfffff9bd
cmove esi, eax
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x10076b9d
push eax
mov eax, dword [0x10092868]
push edi
mov eax, dword [eax + 0x68]
call eax
mov ecx, dword [esp + 0x268]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007d8c1
add esp, 0x25c
ret 0x10
call fcn.1007e6f3
int3
Function at 0x10076da0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x794
mov eax, dword [0x1008e168]
xor eax, esp
mov dword [esp + 0x790], eax
mov eax, dword [esp + 0x7a0]
lea ecx, [esp + 0x1c]
push ebx
push esi
push edi
mov edi, dword [esp + 0x7a4]
mov ebx, 1
push ebx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x1c]
push ecx
push 0
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x7b8]
mov dword [esp + 0x3c], 0x3c
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x2c], 0x3c
mov eax, dword [eax + 0xb8]
push edi
mov dword [esp + 0x28], ebx
call eax
mov esi, eax
test esi, esi
js 0x10076f12
mov eax, dword [0x10092868]
push ebp
push 0
push Ordinal_4
push dword [esp + 0x38]
mov eax, dword [eax + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
js 0x10076f06
mov ebp, dword [esp + 0x7b4]
test ebx, ebx
je 0x10076f06
push 0
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0
push eax
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0
push eax
push dword [esp + 0x50]
mov eax, dword [0x10092868]
push dword [esp + 0x48]
push edi
mov eax, dword [eax + 0x88]
call eax
mov esi, eax
test esi, esi
js 0x10076f11
test dword [esp + 0x10], 0x80000000
jne 0x10076ee6
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x34]
push eax
push edi
call fcn.1007b730
mov esi, eax
test esi, esi
js 0x10076f11
push 0
push dword [esp + 0x7a0]
lea eax, [esp + 0x274]
push eax
push dword [esp + 0x274]
lea eax, [esp + 0x78]
push eax
mov eax, dword [0x10092868]
push ebp
push edi
mov eax, dword [eax + 0x48]
call eax
mov esi, eax
test esi, esi
js 0x10076f11
mov ebx, dword [esp + 0x14]
jmp 0x10076e41
mov eax, dword [0x10092868]
push 0
push 1
push dword [esp + 0x38]
mov eax, dword [eax + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
jns 0x10076e41
xor eax, eax
cmp esi, 0xfffff9bd
cmove esi, eax
pop ebp
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x10076f27
push eax
mov eax, dword [0x10092868]
push edi
mov eax, dword [eax + 0x68]
call eax
mov ecx, dword [esp + 0x79c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007d8c1
add esp, 0x794
ret 0x10
Function at 0x10076f50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x26c
mov eax, dword [0x1008e168]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
mov ebp, dword [esp + 0x280]
lea eax, [esp + 0x20]
push esi
push edi
mov edi, dword [esp + 0x280]
push 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x10092868]
push 0
push ebp
push dword [esp + 0x294]
mov dword [esp + 0x3c], 0x38
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x28], 0x38
mov eax, dword [eax + 0xb4]
push edi
call eax
mov esi, eax
test esi, esi
js 0x100770d4
mov eax, dword [0x10092868]
push 0
push Ordinal_4
push dword [esp + 0x34]
mov eax, dword [eax + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
js 0x100770c9
mov ebx, dword [esp + 0x28c]
lea esp, [esp]
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x68], 0x18
push eax
push 0x1fe
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x4c]
mov eax, dword [0x10092868]
push dword [esp + 0x44]
push edi
mov eax, dword [eax + 0x88]
call eax
mov esi, eax
test esi, esi
js 0x100770d4
mov eax, dword [esp + 0x10]
and eax, 0xfffffffe
cmp eax, 0x200
jae 0x10077106
xor ecx, ecx
mov dword [esp + 0x14], 0x18
mov word [esp + eax + 0x78], cx
lea eax, [esp + 0x60]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push ecx
push eax
lea eax, [esp + 0x80]
push eax
mov eax, dword [0x10092868]
push ebp
push dword [esp + 0x294]
mov eax, dword [eax + 0xb4]
push edi
call eax
mov esi, eax
test esi, esi
js 0x100770d4
lea eax, [esp + 0x24]
push eax
push 0
push 0
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x88]
push eax
mov eax, dword [0x10092868]
push ebx
push edi
mov eax, dword [eax + 0x34]
call eax
mov esi, eax
test esi, esi
js 0x100770d4
mov eax, dword [0x10092868]
push 0
push 1
push dword [esp + 0x34]
mov eax, dword [eax + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
jns 0x10076ff0
xor eax, eax
cmp esi, 0xfffff9bd
cmove esi, eax
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x100770e9
push eax
mov eax, dword [0x10092868]
push edi
mov eax, dword [eax + 0x68]
call eax
mov ecx, dword [esp + 0x278]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007d8c1
add esp, 0x26c
ret 0x10
call fcn.1007e6f3
int3
Function at 0x1007a4f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x25c
mov eax, dword [0x1008e168]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
mov ebx, dword [esp + 0x270]
lea eax, [esp + 0xc]
push ebp
push esi
push edi
mov edi, dword [esp + 0x270]
xor ebp, ebp
push 1
push 0x38
push eax
mov eax, dword [0x10092868]
push ebp
push dword [esp + 0x284]
mov dword [esp + 0x2c], 0x38
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [eax + 0xbc]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1007a6cd
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov esi, 4
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1007f743
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x1007a6c8
mov eax, dword [esp + 0x20]
xor ecx, ecx
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1007f743
add esp, 4
mov dword [ebx + 4], eax
test eax, eax
je 0x1007a6c8
mov eax, dword [0x10092868]
push ebp
push Ordinal_4
push dword [esp + 0x24]
mov eax, dword [eax + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
js 0x1007a6b0
lea ecx, [ecx]
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0
push eax
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0
push eax
push dword [esp + 0x40]
mov eax, dword [0x10092868]
push dword [esp + 0x34]
mov dword [esp + 0x6c], 0x18
push edi
mov eax, dword [eax + 0x88]
call eax
mov esi, eax
test esi, esi
js 0x1007a6cd
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0x1fe
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x3c]
mov eax, dword [0x10092868]
push dword [esp + 0x34]
push edi
mov eax, dword [eax + 0x88]
call eax
mov esi, eax
test esi, esi
js 0x1007a6cd
mov eax, dword [esp + 0x10]
and eax, 0xfffffffe
cmp eax, 0x200
jae 0x1007a72b
xor ecx, ecx
push ecx
mov word [esp + eax + 0x6c], cx
lea eax, [esp + 0x54]
push 0x18
push eax
lea eax, [esp + 0x74]
push eax
mov eax, dword [0x10092868]
push dword [esp + 0x288]
push edi
mov eax, dword [eax + 0xbc]
call eax
mov esi, eax
test esi, esi
js 0x1007a6cd
mov ecx, dword [ebx]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
push 0
mov dword [ecx + ebp*4], eax
mov eax, dword [ebx + 4]
push 1
mov dword [eax + ebp*4], edx
inc ebp
mov eax, dword [0x10092868]
push dword [esp + 0x24]
push edi
mov eax, dword [eax + 0x84]
call eax
mov esi, eax
test esi, esi
jns 0x1007a5c0
cmp esi, 0xfffff9bd
jne 0x1007a6bf
xor esi, esi
mov dword [ebx + 0xc], ebp
jmp 0x1007a6f9
test esi, esi
js 0x1007a6cd
mov dword [ebx + 0xc], ebp
jmp 0x1007a6f9
mov esi, 0xfffffc0d
mov eax, dword [ebx]
test eax, eax
je 0x1007a6e2
push eax
call fcn.1007f7b9
add esp, 4
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x1007a6f9
push eax
call fcn.1007f7b9
add esp, 4
mov dword [ebx + 4], 0
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x1007a70e
push eax
mov eax, dword [0x10092868]
push edi
mov eax, dword [eax + 0x68]
call eax
mov ecx, dword [esp + 0x268]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007d8c1
add esp, 0x25c
ret 0x10
call fcn.1007e6f3
int3
Function at 0x10086e4a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008e168]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.100833ca
mov dword [ebp - 0x14], eax
cmp dword [0x10091738], esi
jne 0x10086f3d
push 0x800
push esi
push 0x10008990
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10086eca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1008701d
push esi
push esi
push 0x10008990
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1008701d
push 0x100089a8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008701d
push eax
call ebx
push 0x100089b4
push edi
mov dword [0x10091738], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100089c4
push edi
mov dword [0x1009173c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100089d8
push edi
mov dword [0x10091740], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10091748], eax
test eax, eax
je 0x10086f3a
push 0x100089f4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10091744], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10086f62
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10086f55
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10086f77
push 4
pop eax
jmp 0x1008701f
cmp dword [ebp - 0x14], esi
je 0x10086f77
push dword [0x10091738]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10086f5c
mov eax, dword [0x10091744]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10086fd5
cmp dword [0x10091748], edi
je 0x10086fd5
push eax
call ebx
push dword [0x10091748]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10086fd5
test eax, eax
je 0x10086fd5
call ecx
test eax, eax
je 0x10086fca
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10086fca
test byte [ebp - 8], 1
jne 0x10086fd5
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10087005
mov eax, dword [0x1009173c]
cmp eax, edi
je 0x10087002
push eax
call ebx
test eax, eax
je 0x10087002
call eax
mov esi, eax
test esi, esi
je 0x10087002
mov eax, dword [0x10091740]
cmp eax, edi
je 0x10087002
push eax
call ebx
test eax, eax
je 0x10087002
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10091738]
call ebx
test eax, eax
je 0x1008701d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1008701f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007d8c1
mov esp, ebp
pop ebp
ret