Function at 0x427b86
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 [0x43b034]
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 0x427de5
lea eax, [esp + 0x48]
mov edx, 0x406cc8
push eax
push 0x20019
mov ecx, edi
call fcn.0042368a
mov esi, eax
test esi, esi
js 0x4280a3
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x50]
push eax
lea edx, [esp + 0x44]
call fcn.00423898
mov esi, eax
test esi, esi
js 0x4280a3
mov esi, dword [esp + 0x50]
xor ecx, ecx
mov dword [esp + 0x38], ecx
test esi, esi
je 0x427de1
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 0x427dd0
lea eax, [esp + 0x20]
mov ecx, edi
push eax
lea edx, [esp + 0x78]
call fcn.0041fa76
test eax, eax
js 0x427dd0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x6c]
call fcn.0041febc
test eax, eax
js 0x427dc7
mov ecx, dword [esp + 0x70]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x10000000
jne 0x427dc7
mov eax, ecx
and eax, 0xf00000
cmp eax, 0x100000
jne 0x427dc7
and ecx, 0xfffff
mov dword [esp + 0x4c], ecx
cmp ecx, 1
je 0x427dc7
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 0x427e4f
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 0x427d31
or dword [edx + 0x20], 8
lea ecx, [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp dword [eax], ecx
jne 0x42811b
mov dword [edx], ecx
mov dword [edx + 4], eax
mov dword [eax], edx
mov dword [esp + 0x28], edx
jmp 0x427d4c
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
cmp dword [eax], ecx
jne 0x42811b
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 0
mov edx, 0x16000082
mov ecx, edi
call fcn.0042024d
mov esi, dword [esp + 0x10]
test eax, eax
js 0x427d83
cmp byte [esp + 0x44], 0
je 0x427d83
or dword [esi + 0x20], 0x10
lea edx, [esp + 0x5c]
mov ecx, edi
call fcn.00428183
test eax, eax
js 0x427db6
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.0041fd66
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
jmp 0x427dd0
mov ecx, dword [esp + 0x20]
call fcn.0041fd66
mov ecx, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x38], ecx
cmp ecx, esi
jb 0x427c3b
mov eax, dword [esp + 0x14]
test al, 2
je 0x428022
lea edx, [esp + 0x54]
lea ecx, [esp + 0x34]
call fcn.0042a6ba
mov esi, eax
test esi, esi
js 0x428087
mov edi, dword [esp + 0x34]
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], edi
cmp dword [esp + 0x54], esi
jbe 0x427f53
lea ecx, [edi + 4]
lea edx, [esp + 0x74]
call fcn.004296ad
test eax, eax
js 0x427e62
lea eax, [esp + 0x10]
push eax
push dword [edi + 0xc]
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x34]
call fcn.0042821c
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], 0x20
jmp 0x427e67
mov ecx, dword [esp + 0x20]
call fcn.0041fd66
mov esi, 0xc000009a
jmp 0x4280a3
and dword [esp + 0x14], 0
test eax, eax
js 0x427e9d
mov eax, dword [esi]
cmp dword [eax + 4], esi
jne 0x42811b
mov ecx, dword [esi + 4]
cmp dword [ecx], esi
jne 0x42811b
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [ebx + 4]
cmp dword [eax], ebx
jne 0x42811b
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [ebx + 4], esi
jmp 0x427eea
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 0x427f5c
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 0x42811b
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 0x427f5c
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 0x427f53
add edi, eax
mov eax, edi
mov dword [esp + 0x38], edi
sub eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x54]
jb 0x427e1c
mov eax, dword [esp + 0x18]
jmp 0x428016
mov esi, 0xc000009a
jmp 0x428087
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.004281ee
test eax, eax
js 0x428012
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx]
cmp dword [eax + 4], ecx
jne 0x42811b
mov edx, dword [ecx + 4]
cmp dword [edx], ecx
jne 0x42811b
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 0x42811b
mov ecx, dword [eax + 4]
cmp dword [ecx], eax
jne 0x42811b
mov dword [ecx], edx
mov dword [edx + 4], ecx
mov ecx, dword [ebx + 4]
cmp dword [ecx], ebx
jne 0x42811b
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 0x427f66
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x428043
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 0x428064
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 0x428085
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 0x4280a3
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 0x4280b0
call fcn.004233d7
cmp dword [esp + 0x40], 0
je 0x4280cc
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 0x428102
lea ecx, [esp + 0x18]
call fcn.00428120
lea ecx, [esp + 0x24]
call fcn.00428120
lea ecx, [esp + 0x2c]
call fcn.00428120
mov ecx, ebx
call fcn.00428120
push esi
push 0x4094f0
push 4
call fcn.0041df4b
add esp, 0xc
mov ecx, dword [esp + 0x84]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00437a70
mov esp, ebp
pop ebp
ret 4
push 3
pop ecx
int 0x29