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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fd9dc8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x46039020]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 1
je 0x45e49497
cmp byte [ebp + 0x10], 0
mov byte [esp + 0x17], 0
je 0x45e4949c
mov byte [esp + 0x17], 1
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x20]
mov byte [esp + 0x1f], 0
call fcn.45f37065
jmp 0x45e495e0
lea esi, [esp + 0x20]
call fcn.45e66a30
push dword [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.45e11d17
and dword [esp + 0x80], 0
cmp dword [esp + 0x18], 0
je 0x45e495c2
push dword [esp + 0x18]
call fcn.45ef0c7f
test al, al
jne 0x45e495c2
call fcn.45e66a30
push dword [eax]
call fcn.45e49191
mov ebx, eax
pop ecx
lea eax, [esp + 0x34]
push eax
call fcn.45e2853c
mov byte [esp + 0x80], 1
call fcn.45e66a30
push 1
push dword [eax]
lea ecx, [esp + 0x3c]
call fcn.45eea611
pop ecx
pop ecx
lea esi, [esp + 0x34]
call fcn.45ee1fb2
test al, al
jne 0x45e4958e
mov esi, 0x45db1998
lea edi, [esp + 0x60]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x1c]
movsd dword es:[edi], dword [esi]
sub esp, 0x2c
movsd dword es:[edi], dword [esi]
mov eax, esp
mov dword [esp + 0x5c], esp
push eax
lea ecx, [esp + 0x6c]
movsd dword es:[edi], dword [esi]
call fcn.45e275e2
mov byte [esp + 0xb4], 2
mov byte [esp + 0xb4], 1
call fcn.45f48ae5
add esp, 0x34
lea esi, [esp + 0x20]
call fcn.45e66a30
mov eax, dword [eax]
test eax, eax
je 0x45e4958a
push eax
call fcn.45ef0c2a
test al, al
jne 0x45e495b0
test ebx, ebx
jne 0x45e49595
mov byte [esp + 0x17], 1
jmp 0x45e495b0
cmp ebx, 1
jne 0x45e495b0
push 4
pop ecx
mov edi, 0x45db8058
lea esi, [esp + 0x60]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x45e495b0
mov byte [esp + 0x1f], bl
mov byte [esp + 0x80], 0
lea eax, [esp + 0x34]
push eax
call fcn.45e284c6
or dword [esp + 0x80], 0xffffffff
lea eax, [esp + 0x18]
push eax
call fcn.45df1a56
lea esi, [esp + 0x20]
call fcn.45e6762d
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x2c]
call fcn.45f37065
mov edi, esi
lea esi, [esp + 0x20]
call fcn.45e66a5f
test al, al
jne 0x45e494b5
cmp byte [esp + 0x17], al
jne 0x45e49613
cmp byte [esp + 0x1f], al
jne 0x45e4961e
push 2
pop eax
jmp 0x45e49876
cmp byte [esp + 0x1f], 0
je 0x45e49874
xor ebx, ebx
inc ebx
test byte [ebp + 0x14], bl
je 0x45e49874
cmp byte [esp + 0x17], 0
jne 0x45e4970f
call fcn.45e3ac15
test al, al
mov eax, dword [0x4603911c]
mov dword [esp + 0x18], eax
je 0x45e49699
mov dword [esp + 0x80], 3
lea eax, [esp + 0x20]
push eax
call fcn.45f8dac8
mov byte [esp + 0x80], 4
push dword [eax]
lea eax, [esp + 0x1c]
push ebx
push 0x1840
push eax
call fcn.45f8c705
mov byte [esp + 0x90], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
add esp, 0x14
push 0
push 0x14
push 0x45dc2ba8
jmp 0x45e496e9
mov dword [esp + 0x80], 5
lea eax, [esp + 0x20]
push eax
call fcn.45f8dac8
mov byte [esp + 0x80], 6
push dword [eax]
lea eax, [esp + 0x1c]
push ebx
push 0x183c
push eax
call fcn.45f8c705
mov byte [esp + 0x90], 5
mov eax, dword [esp + 0x30]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
add esp, 0x14
push 0
push 0x14
push 0x45dc2c40
push dword [esp + 0x24]
call fcn.45f2fb47
or dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
add esp, 0x14
jmp 0x45e4960b
mov eax, dword [0x4603911c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x80], 7
push 0x1788
lea eax, [esp + 0x24]
push eax
call fcn.45f8c420
mov eax, dword [0x4603911c]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x80], 8
push 0x13cb
lea eax, [esp + 0x30]
push eax
call fcn.45f8c420
mov eax, dword [0x4603911c]
mov dword [esp + 0x18], eax
mov byte [esp + 0x80], 9
call fcn.45e3ac15
test al, al
lea eax, [esp + 0x28]
push eax
je 0x45e49788
call fcn.45f8dac8
mov byte [esp + 0x80], 0xa
push dword [eax]
push ebx
push 0x1840
jmp 0x45e4979d
call fcn.45f8dac8
mov byte [esp + 0x80], 0xb
push dword [eax]
push ebx
push 0x183c
lea eax, [esp + 0x24]
push eax
call fcn.45f8c705
mov byte [esp + 0x90], 9
mov eax, dword [esp + 0x38]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
add esp, 0x14
call fcn.45e3ac15
test al, al
mov eax, 0x45dc2ba8
jne 0x45e497d2
mov eax, 0x45dc2c40
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
push 0x6d61
push 0
push esi
push edi
push 0x12
push eax
push dword [esp + 0x30]
push 0x80d
call fcn.45f3002c
add esp, 0x20
cmp eax, 2
jne 0x45e4983a
mov byte [esp + 0x80], 8
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
pop ecx
mov byte [esp + 0x80], 7
lea eax, [esi - 0xc]
push eax
call fcn.45f8f362
pop ecx
or dword [esp + 0x80], 0xffffffff
add edi, 0xfffffff4
push edi
call fcn.45f8f362
pop ecx
mov eax, ebx
jmp 0x45e49876
mov byte [esp + 0x80], 8
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
pop ecx
mov byte [esp + 0x80], 7
lea eax, [esi - 0xc]
push eax
call fcn.45f8f362
pop ecx
or dword [esp + 0x80], 0xffffffff
add edi, 0xfffffff4
push edi
call fcn.45f8f362
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.45fa9e5d
mov esp, ebp
pop ebp
ret