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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5c4f
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x100f1850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x7c], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 4], 1
lea esi, [ebx + 8]
mov dword [ebp - 0x68], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10048000
mov dword [esi], eax
mov byte [ebp - 4], 6
cmp dword [edi + 0x14], 8
jb 0x10045f1b
mov eax, dword [edi]
jmp 0x10045f1d
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, eax
lea ecx, [ebp - 0xdc]
call fcn.10066e10
mov byte [ebp - 4], 7
mov ecx, ebx
push eax
call fcn.100471c0
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0xd8]
test esi, esi
je 0x10045f70
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10045f70
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10045f70
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebx]
test eax, eax
je 0x10046544
cmp dword [eax], 0
je 0x10046544
test eax, eax
jne 0x10045f8b
xor edx, edx
jmp 0x10045f8d
mov edx, dword [eax]
mov ecx, dword [edx + 0x3c]
add ecx, edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x64], ecx
mov esi, dword [ecx + 0x78]
add esi, edx
mov dword [ebp - 0x98], esi
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 0x20]
add eax, edx
mov dword [ebp - 0x78], eax
add edi, edx
mov eax, dword [esi + 0x24]
add eax, edx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x74], eax
xor eax, eax
mov dword [ebp - 0x70], eax
cmp dword [esi + 0x18], eax
jbe 0x1004651d
lea esp, [esp]
mov ebx, dword [ebp - 0x74]
mov esi, dword [edi + eax*4]
mov ecx, dword [ecx + 0x78]
add esi, edx
movzx eax, word [ebx + eax*2]
mov ebx, dword [ebp - 0x78]
mov edi, dword [ebx + eax*4]
cmp edi, ecx
jb 0x10046324
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x7c]
add eax, ecx
cmp edi, eax
jae 0x10046324
add edx, edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
cmp byte [edx], 0
mov byte [ebp - 0x2c], 0
jne 0x10046028
xor ecx, ecx
jmp 0x10046039
mov ecx, edx
lea edi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046030
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.100065b0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x14]
push 1
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x14], 0x2e
call fcn.100151b0
mov edi, eax
lea ecx, [ebp - 0x2c]
push edi
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.1002f380
mov byte [ebp - 4], 0xc
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.1004b2e0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x104], 0x10
jb 0x10046098
push dword [ebp - 0x118]
call fcn.1008b066
add esp, 4
push 0xffffffffffffffff
lea eax, [edi + 1]
mov dword [ebp - 0x104], 0xf
push eax
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x108], 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x118], 0
call fcn.1002f380
mov byte [ebp - 4], 0xf
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.1004b2e0
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x138], 0x10
jb 0x100460f1
push dword [ebp - 0x14c]
call fcn.1008b066
add esp, 4
cmp byte [esi], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
jne 0x1004613e
xor ecx, ecx
jmp 0x1004614c
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046143
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x94]
call fcn.100065b0
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xe4]
call fcn.10045cf0
mov byte [ebp - 4], 0x13
sub esp, 8
mov esi, esp
mov dword [ebp - 0xd8], esp
mov dword [esi], 0
mov dword [esi + 4], 0
mov edi, dword [eax + 4]
mov ebx, dword [eax]
test edi, edi
je 0x1004619c
lea eax, [edi + 8]
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100461b4
lea eax, [ecx + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x100461b4
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 4], edi
mov dword [esi], ebx
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x170]
call fcn.100465a0
mov esi, eax
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0x134]
call fcn.1004b2e0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x68]
push esi
push eax
call fcn.10047270
mov ecx, eax
call fcn.10046b70
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x120], 8
jb 0x10046217
push dword [ebp - 0x134]
call fcn.1008b066
add esp, 4
xor eax, eax
mov dword [ebp - 0x120], 7
mov dword [ebp - 0x124], 0
mov word [ebp - 0x134], ax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x170]
call fcn.10046ae0
mov byte [ebp - 4], 0x12
mov esi, dword [ebp - 0xe0]
test esi, esi
je 0x10046276
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10046276
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10046276
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x80], 0x10
jb 0x1004628e
push dword [ebp - 0x94]
call fcn.1008b066
add esp, 4
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x48], 8
jb 0x100462bb
push dword [ebp - 0x5c]
call fcn.1008b066
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x30], 8
jb 0x100462e4
push dword [ebp - 0x44]
call fcn.1008b066
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0x10
jb 0x1004630d
push dword [ebp - 0x2c]
call fcn.1008b066
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jmp 0x100464fb
cmp byte [esi], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
jne 0x1004635c
xor ecx, ecx
jmp 0x1004636a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046361
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xb0]
call fcn.100065b0
mov byte [ebp - 4], 0x17
xor eax, eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xbc], 7
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
mov byte [ebp - 4], 0x18
xor esi, esi
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], esi
mov byte [ebp - 4], 0x1a
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x100]
call fcn.1004b2e0
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x68]
push eax
call fcn.10047270
mov ebx, eax
lea eax, [ebp - 0xd0]
lea ecx, [ebx + 4]
mov dword [ebx], edi
cmp ecx, eax
je 0x10046406
push 0xffffffffffffffff
push esi
push eax
call fcn.10006d90
mov esi, dword [ebp - 0xb4]
test esi, esi
je 0x10046416
lea eax, [esi + 8]
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x1004642e
lea eax, [ecx + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1004642e
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xb8]
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x1c], eax
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0xec], 8
jb 0x10046455
push dword [ebp - 0x100]
call fcn.1008b066
add esp, 4
xor eax, eax
mov dword [ebp - 0xec], 7
mov dword [ebp - 0xf0], 0
mov word [ebp - 0x100], ax
mov byte [ebp - 4], 0x1c
test esi, esi
je 0x1004648d
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1004648d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0xbc], 8
jb 0x100464a8
push dword [ebp - 0xd0]
call fcn.1008b066
add esp, 4
xor eax, eax
mov dword [ebp - 0xbc], 7
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x9c], 0x10
jb 0x100464e0
push dword [ebp - 0xb0]
call fcn.1008b066
add esp, 4
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
inc eax
mov edi, dword [ebp - 0x60]
cmp eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x70], eax
jb 0x10045fd0
mov ebx, dword [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008aee2
mov esp, ebp
pop ebp
ret 4
call fcn.10046830
push eax
lea ecx, [ebp - 0x208]
call fcn.10007ce0
mov byte [ebp - 4], 9
mov edx, edi
mov ecx, eax
call fcn.100090a0
mov edx, eax
lea ecx, [ebp - 0x100]
call fcn.10007e20
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe8]
push eax
call fcn.1006fea0
push 0x100ef7b4
lea eax, [ebp - 0xe8]
push eax
call fcn.1009151f
int3