Function at 0x10026949
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x10052004]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], edi
mov dword [esi], ebx
mov dword [esp + 0x34], esi
mov dl, byte [edi + 0xf]
mov cl, byte [edi + 0xe]
mov dword [esp + 0x48], ebx
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3f], bl
mov byte [esp + 0x33], bl
call fcn.10004aa1
test al, al
jne 0x10036a59
mov ecx, dword [esp + 0x68]
mov eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x64], 0x4b0
push 4
pop edx
test ecx, ecx
je 0x100269ce
mov ecx, dword [esp + 0x64]
cmp word [edi + 0xc], cx
jne 0x10036a64
mov edx, dword [ebp + 8]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0xc], ebx
test edx, edx
je 0x10026ac2
mov esi, dword [ebp + 0xc]
mov ecx, eax
sub esi, eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x20]
test eax, eax
je 0x10036b35
cmp dword [ecx + esi], 0xffffffff
mov esi, dword [esp + 0x34]
je 0x10026aa9
lea eax, [esp + 0x14]
push eax
push dword [ecx]
mov ecx, edi
call fcn.100265ea
mov ecx, dword [esp + 0x14]
movzx edx, ax
movzx eax, word [edi + 0xc]
cmp word [esp + 0x64], ax
jne 0x10036b54
cmp ecx, 2
je 0x10036b5d
cmp word [esp + 0x64], ax
jne 0x10036b54
mov ecx, dword [edi]
movzx eax, word [ecx + 2]
cmp ax, dx
ja 0x10026a5b
mov eax, edx
mov edx, dword [ebp + 8]
mov word [ecx + 2], ax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
cmp eax, edx
jb 0x10036b68
cmp eax, edx
jne 0x10026aa5
mov eax, dword [esp + 0x14]
inc dword [esp + 0x6c]
add eax, 8
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x34]
cmp word [edi + 0xc], ax
jne 0x10026aa5
mov eax, dword [esp + 0x10]
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
inc dword [esp + 0xc]
add ecx, 4
inc dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
cmp dword [esp + 0xc], edx
jb 0x100269fc
mov eax, dword [edi + 0x20]
push esi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x3c]
mov ecx, esi
call dword [0x100532e8]
call esi
mov esi, dword [esp + 0x34]
cmp dword [esi], ebx
jl 0x10026f44
mov eax, ebx
mov dword [esp + 0x44], ebx
cmp eax, 2
jae 0x10036e22
push esi
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
push ebx
call fcn.1000f020
mov edx, eax
mov dword [esp + 0x28], edx
cmp dword [esi], ebx
jl 0x10026f44
test edx, edx
je 0x10026f70
lea eax, [edx + 4]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], eax
cmp dword [edx], ebx
jbe 0x10026c07
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x10026be1
mov ecx, dword [esp + 0x24]
mov edx, ecx
mov esi, dword [ebp + 0xc]
sub esi, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], esi
mov esi, dword [edx + esi]
cmp esi, 0xffffffff
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x34]
je 0x10026bc8
cmp byte [esp + 0x33], bl
jne 0x10036c25
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x4c]
cmp edi, dword [edx]
mov edi, dword [esp + 0x54]
je 0x10036c25
test ecx, ecx
je 0x10026bc4
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x58]
push ecx
mov ecx, edi
mov eax, dword [eax]
push eax
mov dword [esp + 0x54], eax
call fcn.100265ea
mov edx, dword [esp + 0xc]
mov ecx, edi
push dword [edx + 4]
call fcn.10026539
cmp dword [esp + 0x58], eax
je 0x10036c08
mov eax, dword [ebp + 8]
cmp dword [esi], ebx
jl 0x10026f47
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
inc dword [esp + 0x20]
add edx, 4
mov dword [esp + 0x14], edx
cmp dword [esp + 0x20], eax
jb 0x10036c3d
mov ecx, dword [esp + 0xc]
inc dword [esp + 0x18]
push ecx
mov ecx, edi
call fcn.100266fe
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
cmp eax, dword [edx]
jb 0x10026b32
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], edx
lea ecx, [eax + 3]
add eax, 3
and ecx, 0xfffffffc
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [edi + 4]
and eax, 0xfffffffc
sub eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
sub dword [esp + 0x38], eax
sub dword [esp + 0x38], ecx
mov esi, dword [eax + ecx]
add esi, ecx
add esi, dword [edi + 0x18]
mov eax, esi
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x34]
sub eax, ecx
sub eax, dword [esp + 0x38]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x10026ccd
mov ecx, dword [esp + 0x44]
add ecx, eax
cmp ecx, 0x200000
ja 0x10036c46
push dword [esp + 0x34]
mov eax, dword [edi + 0x20]
push edi
push 1
push ecx
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0x28]
call dword [0x100532e8]
call dword [esi + 0x28]
mov esi, dword [esp + 0x34]
cmp dword [esi], ebx
jl 0x10026f44
mov ecx, dword [edi + 4]
add ecx, dword [esp + 0x38]
add ecx, dword [edi]
mov edx, dword [esp + 0x20]
push dword [esp + 0x4c]
mov dword [esp + 0x2c], ecx
lea eax, [edx + ecx]
push eax
mov eax, dword [esp + 0x1c]
add eax, edx
add eax, ecx
push eax
call dword [sym.imp.msvcrt.dll_memmove]
mov edx, dword [esp + 0x34]
add esp, 0xc
lea eax, [edx + 4]
mov ecx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
cmp byte [esp + 0x33], cl
jne 0x10026db0
mov dword [esp + 0x48], ebx
cmp dword [edx], ebx
jbe 0x10026fd3
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], ebx
test eax, eax
je 0x10026d42
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0xc]
sub edx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x5c]
mov eax, dword [ecx + eax]
cmp eax, dword [edx]
je 0x10026d42
cmp byte [esp + 0x3f], bl
jne 0x10036c51
mov eax, dword [esp + 0x18]
add ecx, 4
inc eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x18], eax
cmp eax, dword [ebp + 8]
jb 0x10026d18
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.100266fe
push dword [esp + 0x2c]
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.100266fe
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x18], eax
jne 0x10036ca5
add ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x28]
inc dword [esp + 0x48]
mov edi, dword [esp + 0x48]
cmp edi, dword [edx]
mov edi, dword [esp + 0x54]
jb 0x10026cfb
mov eax, dword [esp + 0xc]
test ecx, ecx
je 0x10026daa
cmp dword [esp + 0x1c], eax
jne 0x10036ce7
add eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
sub dword [edx], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10026ec1
mov ecx, dword [ebp + 8]
mov dword [esp + 0x48], ebx
test ecx, ecx
je 0x10026ebb
mov edi, dword [ebp + 0xc]
mov edx, eax
mov dword [esp + 0x18], edi
sub dword [esp + 0x18], eax
mov edi, dword [esp + 0x54]
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
cmp byte [esp + 0x3e], bl
jne 0x10036d06
cmp byte [esp + 0x3d], bl
jne 0x10036d47
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov esi, dword [edx + esi]
cmp esi, 0xffffffff
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x34]
je 0x10026e99
cmp eax, ecx
jne 0x10026e99
lea eax, [esp + 0x50]
mov ecx, edi
push eax
push dword [edx]
call fcn.100265ea
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
mov dword [edx], eax
mov eax, dword [esp + 0x64]
cmp word [edi + 0xc], ax
mov eax, dword [esp + 0x50]
mov ecx, eax
jne 0x10026e50
shr ecx, 1
push eax
mov eax, dword [esp + 0x14]
mov dword [edx + 4], ecx
push dword [eax]
lea eax, [edx + 8]
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x38]
add esp, 0xc
add ecx, dword [esp + 0x50]
mov eax, ecx
neg eax
and eax, 3
push eax
lea eax, [ecx + 8]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, edi
push dword [esp + 0x2c]
call fcn.100266fe
add dword [esp + 0x2c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
add edx, 4
inc dword [esp + 0x48]
inc eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
cmp dword [esp + 0x48], ecx
jb 0x10026df2
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x6c]
add dword [edx], eax
mov ecx, dword [esp + 0x2c]
mov eax, ecx
sub eax, edx
neg eax
and eax, 3
push eax
push ebx
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x60]
mov ecx, edi
push esi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.1000f110
mov dword [esp + 0x5c], eax
cmp dword [esi], ebx
jl 0x10026f44
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x60]
cmp esi, ecx
jae 0x10026f25
sub ecx, esi
lea edx, [esi + 4]
mov esi, dword [esp + 0x14]
dec ecx
shr ecx, 3
inc ecx
mov eax, dword [edx]
cmp eax, dword [esp + 0x38]
ja 0x10026fdc
add edx, 8
sub ecx, 1
jne 0x10026f0d
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x14]
add dword [eax], esi
test esi, esi
js 0x10036dca
cmp dword [edi + 0x18], ebx
jne 0x10036dee
test esi, esi
js 0x10036dfb
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10026f59
cmp ecx, dword [esp + 0x68]
jne 0x10036e2d
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100281a0
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
test eax, eax
je 0x10026f47
cmp dword [esp + 0x24], ebx
je 0x10026f59
push esi
mov eax, 0x1fff
mov dword [esp + 0x88], 4
push ebx
mov word [esp + 0x78], ax
mov ecx, edi
lea eax, [esp + 0x88]
mov dword [esp + 0x88], ebx
push eax
lea eax, [esp + 0x7c]
push eax
push ebx
push 1
call fcn.1000fb30
cmp dword [esi], ebx
jl 0x10026f44
mov eax, dword [esp + 0x44]
inc eax
mov dword [esi], ebx
mov dword [esp + 0x44], eax
cmp eax, 2
jbe 0x10026aeb
mov edx, dword [esp + 0x28]
jmp 0x10026b15
mov eax, dword [esp + 0xc]
jmp 0x10026daa
add eax, esi
mov dword [edx], eax
jmp 0x10026f19
mov dword [esi], 0xc0000022
jmp 0x10026f59
mov eax, dword [ebp + 8]
mul edx
cmp edx, ebx
ja 0x10036b2a
cmp eax, 0xffffffff
ja 0x10036b2a
push eax
call dword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemAlloc]
mov ecx, eax
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x10036a96
mov dword [esi], 0xc000009a
jmp 0x10026f59
mov eax, dword [ebp + 8]
shl eax, 2
push eax
push ebx
push ecx
call sub.msvcrt.dll_memset
mov edx, dword [ebp + 8]
add esp, 0xc
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
test edx, edx
je 0x100269d1
mov edi, dword [ebp + 0xc]
mov ecx, eax
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x68]
sub dword [esp + 0x14], eax
mov dword [esp + 0x20], edi
sub dword [esp + 0x20], eax
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
cmp dword [eax + ecx], 0xffffffff
je 0x10036b10
push esi
mov dword [ecx], ebx
movzx eax, word [edi + 0xc]
push ecx
push eax
mov eax, dword [esp + 0x2c]
push ecx
push dword [eax + ecx]
mov ecx, edi
call fcn.1004c779
cmp dword [esi], ebx
jl 0x10026f44
mov ecx, dword [esp + 0x44]
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
inc dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0x44], ecx
cmp dword [esp + 0x18], edx
jb 0x10036adf
mov eax, dword [esp + 0x24]
jmp 0x100269d1
mov dword [esi], 0x80000005
jmp 0x10026f44
cmp dword [ecx + esi], ebx
mov esi, dword [esp + 0x34]
jne 0x10026aa9
cmp edx, 1
jne 0x10036bfd
mov byte [esp + 0x33], dl
jmp 0x10026aa9
cmp ecx, 1
jne 0x10026a4e
mov dword [esi], 0xc000000d
jmp 0x10026f44
lea eax, [ecx + 4]
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x20]
mov eax, dword [eax + esi]
cmp eax, dword [ecx + esi]
mov esi, dword [esp + 0x34]
je 0x10036bef
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
mov eax, dword [eax]
push eax
mov dword [esp + 0x60], eax
call fcn.100265ea
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x4c]
jne 0x10036bc6
mov eax, dword [esp + 0x28]
push esi
push ecx
push ecx
push dword [esp + 0x64]
mov ecx, edi
push dword [eax]
call fcn.10026557
test al, al
je 0x10036bc6
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x3d], 1
jmp 0x10036bf4
cmp dword [esi], ebx
jl 0x10026f44
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
inc ecx
mov edx, dword [ebp + 8]
add eax, 4
mov dword [esp + 0x38], ecx
cmp ecx, edx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
jae 0x10036bf4
jmp 0x10036b6f
mov byte [esp + 0x3e], 1
mov eax, dword [esp + 0x38]
jmp 0x10026a76
mov dword [esi], 0xc000000d
jmp 0x10026f59
push esi
push ecx
push ecx
lea eax, [edx + 8]
push eax
push dword [esp + 0x5c]
call fcn.10026557
test al, al
je 0x10026bb5
mov byte [esp + 0x3f], 1
push dword [esp + 0xc]
inc dword [esp + 0x54]
mov ecx, edi
call fcn.100266fe
add dword [esp + 0x1c], eax
jmp 0x10026bdd
mov esi, dword [esp + 0x44]
jmp 0x10026b54
mov dword [esi], 0xc000007f
jmp 0x10026f44
mov eax, dword [ecx]
lea ecx, [esp + 0x60]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.100265ea
mov edx, dword [esp + 0x2c]
mov ecx, edi
push dword [edx + 4]
call fcn.10026539
cmp dword [esp + 0x60], eax
jne 0x10036c94
push esi
push ecx
push ecx
lea eax, [edx + 8]
push eax
push dword [esp + 0x50]
call fcn.10026557
test al, al
jne 0x10026d42
mov edx, dword [esp + 0x2c]
cmp dword [esi], ebx
jl 0x10026f44
mov ecx, dword [esp + 0x58]
jmp 0x10026d2d
test ecx, ecx
je 0x10036cde
mov esi, dword [esp + 0x1c]
cmp esi, dword [esp + 0xc]
mov esi, dword [esp + 0x34]
je 0x10036cd4
push ecx
push dword [esp + 0x20]
push dword [esp + 0x14]
call dword [sym.imp.msvcrt.dll_memmove]
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
add dword [esp + 0xc], ecx
mov ecx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
jmp 0x10026d80
push ecx
push dword [esp + 0x20]
push dword [esp + 0x14]
call dword [sym.imp.msvcrt.dll_memmove]
mov edx, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x10]
jmp 0x10026fd3
mov dword [esp + 0xc], eax
cmp dword [esp + 0x1c], ecx
jae 0x10036d3a
mov esi, dword [esp + 0x18]
mov esi, dword [edx + esi]
mov edi, esi
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x40], esi
cmp dword [edx + eax*4], edi
je 0x10036d2a
inc eax
cmp eax, ecx
jb 0x10036d20
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
cmp eax, ecx
jne 0x10026e0a
jmp 0x10026e00
lea eax, [esp + 0x60]
mov ecx, edi
push eax
push dword [edx]
call fcn.100265ea
mov edx, dword [esp + 0x1c]
mov eax, edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], edx
cmp edx, ecx
jae 0x10036dc1
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + eax*4]
lea ecx, [esp + 0x5c]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.100265ea
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x5c]
jne 0x10036da9
mov eax, dword [esp + 0x10]
push esi
push ecx
push ecx
push dword [esp + 0x4c]
mov ecx, edi
push dword [eax]
call fcn.10026557
test al, al
je 0x10036da9
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
jmp 0x10036dc1
cmp dword [esi], ebx
jl 0x10026f44
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
inc eax
mov dword [esp + 0xc], eax
cmp eax, ecx
jb 0x10036d66
mov edx, dword [esp + 0x10]
jmp 0x10026e0e
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push dword [esp + 0x4c]
lea eax, [edx + ecx]
push eax
lea eax, [esi + edx]
add eax, ecx
push eax
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
jmp 0x10026f33
push esi
mov ecx, edi
call fcn.1004c70c
jmp 0x10026f3c
push dword [esp + 0x34]
mov ecx, dword [edi + 0x20]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x48]
push edi
mov esi, dword [ecx]
push 1
push eax
push ecx
mov ecx, dword [esi + 0x28]
call dword [0x100532e8]
call dword [esi + 0x28]
jmp 0x10026f44
mov dword [esi], 0xc00000e4
jmp 0x10026f44
test eax, eax
je 0x10036e56
mov edi, dword [edi + 0x1c]
push dword [ecx + ebx*4]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100532e8]
mov ecx, edi
call esi
mov edi, dword [esp + 0x54]
inc ebx
mov ecx, dword [esp + 0x24]
cmp ebx, dword [ebp + 8]
jb 0x10036e31
push ecx
call dword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
jmp 0x10026f59