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

Disassembly:
push 0xffffffffffffffff
push 0x101fc7c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c4
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov edi, 1
mov ebp, edx
mov esi, ecx
mov dword [esp + 0x168], ebx
mov dword [esp + 0x16c], edi
mov dword [esp + 0x170], edi
mov dword [esp + 0x174], edi
mov dword [esp + 0x178], ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], edi
mov dword [esp + 0x134], edi
mov dword [esp + 0x138], edi
mov dword [esp + 0x13c], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf8], edi
mov dword [esp + 0xfc], edi
mov dword [esp + 0x100], ebx
mov dword [esp + 0x24], 0x102048c4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x24]
mov dword [esp + 0x1dc], ebx
call fcn.10035840
mov ecx, dword [esp + 0x1e4]
mov edx, dword [ecx + 0x28]
lea eax, [esp + 0x15c]
push eax
mov ecx, ebp
mov dword [esp + 0x1e0], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.10032f40
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x1004582f
mov edx, dword [esp + 0x1e8]
mov eax, dword [edx]
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
call fcn.10035840
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x28]
mov ecx, ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x6c], 0x1404
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.10032f40
mov edx, dword [esp + 0x1ec]
push edx
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
mov ecx, ebp
call fcn.10044990
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x1004581e
mov edx, dword [esp + 0x1e4]
sub esp, 0x60
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
call fcn.10035ab0
call fcn.10044800
cmp al, bl
jne 0x100457b9
push esi
lea ecx, [esp + 0x160]
call fcn.10043f70
mov eax, dword [esp + 0x1c]
add eax, 0x34
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
jmp 0x10045650
mov edi, 1
lea ecx, [ecx]
lea ecx, [esp + 0x84]
mov dword [esp + 0x1a4], ebx
mov dword [esp + 0x1a8], edi
mov dword [esp + 0x1ac], edi
mov dword [esp + 0x1b0], edi
mov dword [esp + 0x1b4], ebx
call fcn.100358a0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push esi
mov byte [esp + 0x1e4], 2
mov dword [esp + 0x28], ecx
call fcn.10044030
mov eax, dword [esp + 0x14]
mov edi, dword [eax]
lea ecx, [esp + 0x84]
call fcn.10035840
lea ecx, [esp + 0x198]
push ecx
lea edx, [esp + 0x88]
mov ecx, ebp
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xcc], 0x1404
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
call fcn.10032f40
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xe4]
push edx
push eax
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1a8]
push eax
lea ecx, [esp + 0x98]
push ecx
push 0x34
mov edx, ebp
mov ecx, esi
call fcn.10044dc0
push esi
call fcn.100440e0
cmp dword [esp + 0xa0], 0x10
mov byte [esp + 0x1dc], 1
mov dword [esp + 0x84], 0x102048c4
jb 0x10045776
mov eax, dword [esp + 0x8c]
cmp eax, ebx
je 0x10045776
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc eax
add edx, 4
cmp eax, 4
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x10045648
push esi
call fcn.10044160
mov edi, 1
jmp 0x100457f1
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xe4]
push edx
push eax
lea ecx, [esp + 0x128]
push ecx
mov ecx, dword [esp + 0x1f0]
lea edx, [esp + 0x30]
push edx
mov edx, dword [ecx + 0x28]
lea eax, [esp + 0x16c]
push eax
push edx
push 0x34
mov edx, ebp
mov ecx, esi
call fcn.10044dc0
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1e4]
mov esi, dword [esp + 0x1ec]
push ebp
push eax
call fcn.10045150
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x1004581e
cmp ebp, ebx
je 0x1004581e
mov edx, dword [ebp]
push edi
mov ecx, ebp
call dword [edx]
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x1004582b
mov eax, dword [ecx]
push edi
call dword [eax]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x24], 0x102048c4
jb 0x10045851
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x10045851
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1d4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1d0
ret 0xc