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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x42c044]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, edx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
xor ecx, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x18]
mov dword [ebx + 4], ebx
mov dword [ebx], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
test al, 1
je 0x4265a4
lea eax, [esp + 0x48]
mov edx, 0x40aa98
push eax
push 0x20019
mov ecx, edi
call fcn.00422661
mov esi, eax
test esi, esi
js 0x426862
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x50]
push eax
lea edx, [esp + 0x44]
call fcn.0042287b
mov esi, eax
test esi, esi
js 0x426862
mov esi, dword [esp + 0x50]
xor ecx, ecx
mov dword [esp + 0x38], ecx
test esi, esi
je 0x4265a0
mov eax, dword [esp + 0x40]
push dword [eax + ecx*4]
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.ntdll.dll_RtlGUIDFromString]
test eax, eax
js 0x42658f
lea eax, [esp + 0x20]
mov ecx, edi
push eax
lea edx, [esp + 0x78]
call fcn.0041c9a2
test eax, eax
js 0x42658f
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x6c]
call fcn.0041cd5c
test eax, eax
js 0x426586
mov ecx, dword [esp + 0x70]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x10000000
jne 0x426586
mov eax, ecx
and eax, 0xf00000
cmp eax, 0x100000
jne 0x426586
and ecx, 0xfffff
mov dword [esp + 0x4c], ecx
cmp ecx, 1
je 0x426586
mov eax, dword fs:[0x30]
push 0x24
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x42660e
push 9
xor eax, eax
lea esi, [esp + 0x78]
pop ecx
mov edi, edx
rep stosd dword es:[edi], eax
lea edi, [edx + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or dword [edx + 0x20], 4
cmp dword [esp + 0x4c], 0xfffff
jne 0x4264f1
or dword [edx + 0x20], 8
lea ecx, [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp dword [eax], ecx
jne 0x4268da
mov dword [edx], ecx
mov dword [edx + 4], eax
mov dword [eax], edx
mov dword [esp + 0x28], edx
jmp 0x42650c
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
cmp dword [eax], ecx
jne 0x4268da
mov dword [edx], ecx
mov dword [edx + 4], eax
mov dword [eax], edx
mov dword [esp + 0x30], edx
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x5c], 2
push eax
push ecx
mov edx, 0x16000082
mov ecx, edi
call fcn.0041d0ec
mov esi, dword [esp + 0x10]
test eax, eax
js 0x426542
cmp byte [esp + 0x44], 0
je 0x426542
or dword [esi + 0x20], 0x10
lea edx, [esp + 0x5c]
mov ecx, edi
call fcn.00426942
test eax, eax
js 0x426575
mov ecx, dword [esp + 0x5c]
push ecx
push 0
mov eax, dword [ecx + 8]
mov dword [esi + 0x18], eax
mov eax, dword fs:[0x30]
or dword [esi + 0x20], 2
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.0041cc06
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
jmp 0x42658f
mov ecx, dword [esp + 0x20]
call fcn.0041cc06
mov ecx, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x38], ecx
cmp ecx, esi
jb 0x4263fb
mov eax, dword [esp + 0x14]
test al, 2
je 0x4267e1
lea edx, [esp + 0x54]
lea ecx, [esp + 0x34]
call fcn.00428eb1
mov esi, eax
test esi, esi
js 0x426846
mov edi, dword [esp + 0x34]
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], edi
cmp dword [esp + 0x54], esi
jbe 0x426712
lea ecx, [edi + 4]
lea edx, [esp + 0x74]
call fcn.00427ea4
test eax, eax
js 0x426621
lea eax, [esp + 0x10]
push eax
push dword [edi + 0xc]
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x34]
call fcn.004269db
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], 0x20
jmp 0x426626
mov ecx, dword [esp + 0x20]
call fcn.0041cc06
mov esi, 0xc000009a
jmp 0x426862
and dword [esp + 0x14], 0
test eax, eax
js 0x42665c
mov eax, dword [esi]
cmp dword [eax + 4], esi
jne 0x4268da
mov ecx, dword [esi + 4]
cmp dword [ecx], esi
jne 0x4268da
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [ebx + 4]
cmp dword [eax], ebx
jne 0x4268da
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [ebx + 4], esi
jmp 0x4266a9
mov eax, dword fs:[0x30]
push 0x24
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x42671b
push 9
xor eax, eax
mov edi, edx
pop ecx
rep stosd dword es:[edi], eax
or dword [edx + 0x20], 8
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp dword [eax], ecx
jne 0x4268da
mov edi, dword [esp + 0x38]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov dword [eax], edx
mov dword [esp + 0x1c], edx
push dword [edi + 8]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x42671b
push dword [edi + 8]
lea ecx, [edi + 4]
push ecx
push eax
call sub.msvcrt.dll_memcpy
mov esi, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x1c], eax
mov eax, dword [eax + 8]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x20]
and eax, 0xffffffdf
or eax, dword [esp + 0x14]
or eax, 1
mov dword [esi + 0x20], eax
mov eax, dword [edi]
test eax, eax
je 0x426712
add edi, eax
mov eax, edi
mov dword [esp + 0x38], edi
sub eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x54]
jb 0x4265db
mov eax, dword [esp + 0x18]
jmp 0x4267d5
mov esi, 0xc000009a
jmp 0x426846
mov edi, eax
mov dword [esp + 0x4c], eax
mov eax, dword [eax]
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x60]
push eax
mov edx, dword [edi + 0x18]
mov dword [esp + 0x40], edi
call fcn.004269ad
test eax, eax
js 0x4267d1
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx]
cmp dword [eax + 4], ecx
jne 0x4268da
mov edx, dword [ecx + 4]
cmp dword [edx], ecx
jne 0x4268da
mov dword [edx], eax
lea esi, [ecx + 8]
mov dword [eax + 4], edx
add edi, 8
push ecx
push 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x44]
mov eax, dword [ecx + 0x20]
xor eax, dword [esi + 0x20]
and eax, 2
xor dword [esi + 0x20], eax
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [esp + 0x4c]
or dword [esi + 0x20], 4
mov edx, dword [eax]
cmp dword [edx + 4], eax
jne 0x4268da
mov ecx, dword [eax + 4]
cmp dword [ecx], eax
jne 0x4268da
mov dword [ecx], edx
mov dword [edx + 4], ecx
mov ecx, dword [ebx + 4]
cmp dword [ecx], ebx
jne 0x4268da
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [ecx], eax
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
jne 0x426725
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x426802
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 4], eax
mov dword [eax], ebx
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x426823
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 4], eax
mov dword [eax], ebx
mov eax, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x426844
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 4], eax
mov dword [eax], ebx
mov eax, dword [esp + 0x18]
mov dword [eax + 4], ecx
xor esi, esi
cmp dword [esp + 0x34], 0
je 0x426862
push dword [esp + 0x34]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x42686f
call fcn.004223fa
cmp dword [esp + 0x40], 0
je 0x42688b
push dword [esp + 0x40]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test esi, esi
jns 0x4268c1
lea ecx, [esp + 0x18]
call fcn.004268df
lea ecx, [esp + 0x24]
call fcn.004268df
lea ecx, [esp + 0x2c]
call fcn.004268df
mov ecx, ebx
call fcn.004268df
push esi
push 0x40df80
push 4
call fcn.0041c24c
add esp, 0xc
mov ecx, dword [esp + 0x84]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042a860
mov esp, ebp
pop ebp
ret 4
push 3
pop ecx
int 0x29