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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10047543
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x10058060]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x10058060]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], ebx
cmp byte [edi + 0x39], bl
je 0x1001243a
xor al, al
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1002dda4
mov esp, ebp
pop ebp
ret 8
push ebx
lea ecx, [esp + 0x110]
mov byte [esp + 0x16], bl
mov dword [esp + 0x128], 0xf
call fcn.10006a21
push esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x13c], ebx
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x10]
mov byte [esp + 0x138], 1
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x1001249a
cmp eax, dword [esp + 0x2c]
je 0x1001249f
call fcn.1002e810
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x28], eax
je 0x10012548
lea esi, [esp + 0x24]
call fcn.10013e1e
cmp dword [eax + 0x34], 8
jb 0x100124c1
mov eax, dword [eax + 0x20]
jmp 0x100124c4
add eax, 0x20
cmp eax, ebx
je 0x10012512
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x18]
add eax, 4
cmp edx, 8
jb 0x100124db
mov ecx, dword [eax]
jmp 0x100124dd
mov ecx, eax
cmp ecx, ebx
je 0x10012512
cmp edx, 8
jb 0x100124e8
mov eax, dword [eax]
lea esi, [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.10013e1e
cmp dword [eax + 0x34], 8
jb 0x10012500
mov eax, dword [eax + 0x20]
jmp 0x10012503
add eax, 0x20
push dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10012520
lea esi, [esp + 0x24]
call fcn.100136a9
jmp 0x1001248c
lea esi, [esp + 0x24]
call fcn.10013e1e
mov al, byte [eax + 0x38]
mov byte [esp + 0x12], al
call fcn.10013e1e
push 0xffffffffffffffff
add eax, 0x58
push ebx
push eax
lea ecx, [esp + 0x118]
call fcn.10005ac0
cmp dword [esp + 0x120], ebx
jne 0x10012578
lea esi, [esp + 0x40]
call fcn.10013667
push dword [esp + 0x40]
call fcn.1002e84a
pop ecx
push ebx
push 1
lea ecx, [esp + 0x114]
call fcn.10005c5b
jmp 0x10012412
lea eax, [esp + 0x78]
push eax
call fcn.100128c3
push str.uuid
lea ecx, [esp + 0xf4]
mov byte [esp + 0x13c], 2
call fcn.1000520a
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x140], 3
call fcn.100128f9
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x114]
push ecx
mov ecx, eax
call fcn.10005ac0
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0xf8]
mov byte [esp + 0x140], 2
call fcn.10005c5b
sub esp, 0x20
mov eax, esp
mov dword [esp + 0x40], esp
push eax
lea ecx, [esp + 0x9c]
call fcn.100129c5
push ebx
push 7
lea eax, [esp + 0x84]
push eax
mov ecx, edi
call fcn.1000fb38
push str.code
lea ecx, [esp + 0xf4]
mov byte [esp + 0x13c], 4
call fcn.1000520a
lea eax, [esp + 0xf0]
push esi
push eax
lea eax, [esp + 0x64]
mov byte [esp + 0x140], 5
call fcn.10001456
pop ecx
pop ecx
push ebx
test eax, eax
push esi
lea ecx, [esp + 0xf8]
setne byte [esp + 0x1b]
call fcn.10005c5b
cmp byte [esp + 0x13], 0
je 0x100126ac
mov byte [esp + 0x12], 0
lea esi, [esp + 0x5c]
mov byte [esp + 0x138], 2
call fcn.1001d8e9
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x13c], 1
call fcn.10012a6f
lea esi, [esp + 0x40]
call fcn.10013667
push dword [esp + 0x40]
call fcn.1002e84a
pop ecx
push ebx
push 1
lea ecx, [esp + 0x114]
call fcn.10005c5b
mov al, byte [esp + 0x12]
jmp 0x10012414
cmp byte [esp + 0x12], 0
je 0x10012864
lea eax, [edi + 4]
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x1004bcc4
mov byte [esp + 0x13c], 6
push dword [esp + 0x1c]
lea eax, [esp + 0xdc]
push eax
call fcn.10014363
add esp, 0xc
mov byte [esp + 0x138], 7
push dword [esp + 0x34]
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.10008e7e
add esp, 0xc
push ebx
push esi
lea esi, [esp + 0xdc]
mov byte [esp + 0x140], 9
call fcn.10005e33
lea ebx, [edi + 0x94]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
lea edi, [esp + 0x2c]
lea esi, [esp + 0x18]
mov dword [esp + 0x2c], eax
call fcn.1001652a
test al, al
jne 0x1001280e
call fcn.1000cb79
lea ecx, [esp + 0xf0]
call fcn.10009a69
test al, al
jne 0x100127b3
push 0x1004bcc4
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.10014363
or dword [esp + 0x20], 1
add esp, 0xc
mov edi, eax
call fcn.1000cb79
cmp dword [edi + 0x18], 8
mov ecx, dword [edi + 0x14]
jb 0x100127a0
mov edi, dword [edi + 4]
jmp 0x100127a3
add edi, 4
push ecx
push edi
call fcn.10013046
mov byte [esp + 0x12], 0
test eax, eax
jne 0x100127b8
mov byte [esp + 0x12], 1
test byte [esp + 0x14], 1
je 0x100127d4
and dword [esp + 0x14], 0xfffffffe
push 0
push 1
lea esi, [esp + 0xc0]
call fcn.10005e33
cmp byte [esp + 0x12], 0
je 0x10012800
push dword [esp + 0x1c]
lea eax, [esp + 0x38]
push dword [esp + 0x1c]
push eax
push ebx
call fcn.10012bd8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jmp 0x10012732
lea esi, [esp + 0x18]
call fcn.10012f09
jmp 0x10012732
lea eax, [esp + 0x98]
push eax
call fcn.10012a97
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x98]
mov byte [esp + 0x138], 0xa
call fcn.100101f6
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x13c], 9
call fcn.10012bb0
push 0
push 1
lea esi, [esp + 0xf8]
call fcn.10005e33
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
mov byte [esp + 0x12], 1
jmp 0x1001265e