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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10078710
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1009e034]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x1009e034]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x30], edi
mov ebx, dword [ebp + 8]
push ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x50], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.1005cdf0
mov dword [esp + 0x90], 0
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10047f0b
cmp dword [esp + 0x50], 0
jl 0x10047f00
mov edx, dword [esp + 0x6c]
xor eax, eax
cmp edx, dword [esp + 0x70]
mov dword [esp + 0x48], 7
cmove edx, eax
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
cmp word [edx], ax
jne 0x10047d00
xor ecx, ecx
jmp 0x10047d18
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10047d05
sub ecx, edi
mov edi, dword [esp + 0x30]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.10003de0
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x94], 1
call fcn.10047f70
test al, al
jne 0x10047dec
cmp dword [esp + 0x68], 8
lea edx, [esp + 0x54]
cmovae edx, dword [esp + 0x54]
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
cmp word [edx], ax
jne 0x10047d6b
xor ecx, ecx
jmp 0x10047d83
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10047d70
sub ecx, edi
mov edi, dword [esp + 0x30]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.10003de0
mov byte [esp + 0x90], 2
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
push eax
push ebx
push ecx
mov ecx, edi
call fcn.1004bcb0
cmp dword [esp + 0x2c], 8
jb 0x10047dbe
push dword [esp + 0x18]
call esi
add esp, 4
mov byte [esp + 0x90], 0
cmp dword [esp + 0x48], 8
jb 0x10047e68
push dword [esp + 0x34]
call esi
dec dword [esp + 0x54]
add esp, 4
lea ecx, [esp + 0x4c]
call fcn.1005cfb0
jmp 0x10047cc2
cmp dword [esp + 0x44], 0
je 0x10047dbe
xor eax, eax
push eax
push 0x1007d0cc
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.10003de0
lea edx, [esp + 0x18]
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], 3
call fcn.100494c0
mov byte [esp + 0x90], 1
cmp dword [esp + 0x2c], 8
mov bl, al
jb 0x10047e48
push dword [esp + 0x18]
call esi
add esp, 4
test bl, bl
je 0x10047e7a
mov byte [esp + 0x90], 0
cmp dword [esp + 0x48], 8
jb 0x10047e64
push dword [esp + 0x34]
call esi
add esp, 4
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x50]
lea ecx, [esp + 0x4c]
call fcn.1005cfb0
jmp 0x10047cc2
xor eax, eax
push eax
push 0x1007d0cc
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.10003de0
lea edx, [esp + 0x18]
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], 4
call fcn.100496f0
mov byte [esp + 0x90], 1
cmp dword [esp + 0x2c], 8
mov bl, al
jb 0x10047ecf
push dword [esp + 0x18]
call esi
add esp, 4
test bl, bl
jne 0x10047e4c
cmp dword [esp + 0x68], 8
lea eax, [esp + 0x54]
cmovae eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.10008e70
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x90], 5
jmp 0x10047d96
test eax, eax
je 0x10047f0b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10047f31
push eax
call esi
add esp, 4
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
cmp dword [esp + 0x68], 8
jb 0x10047f41
push dword [esp + 0x54]
call esi
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret 4