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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fde699
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
push ebx
push esi
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x2f0]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x45e96a7d
mov al, byte [0x4603ba48]
test al, al
jne 0x45e969a3
mov eax, dword [0x4603ba4c]
cmp eax, ebx
je 0x45e97185
cmp dword [eax + 0x34], ebx
je 0x45e97185
mov al, byte [0x4603ba48]
test al, al
jne 0x45e969b7
cmp dword [ebp + 0x10], 2
je 0x45e96ad4
mov al, byte [0x4603ba48]
test al, al
jne 0x45e969d6
mov ecx, dword [edi + 8]
push esi
call fcn.45e14449
lea eax, [esp + 0x20]
push eax
call fcn.45e11a70
mov dword [esp + 0x2f8], ebx
lea eax, [esp + 0x58]
call fcn.45e25ba1
mov byte [esp + 0x2f8], 1
push dword [edi + 8]
lea ecx, [esp + 0x24]
call fcn.45e660de
mov ebx, dword [edi + 8]
lea ecx, [esp + 0x58]
call fcn.45ea96b5
lea eax, [esp + 0xd4]
push eax
call fcn.45f00321
mov byte [esp + 0x2f8], 2
cmp dword [ebp + 0x10], 1
je 0x45e96a59
cmp dword [ebp + 0x10], 5
je 0x45e96a59
cmp dword [ebp + 0x10], 4
je 0x45e96a59
cmp dword [ebp + 0x10], 3
jne 0x45e96a6b
lea eax, [esp + 0xd4]
push eax
mov esi, edi
call fcn.45e8eea0
mov esi, dword [ebp + 0xc]
mov eax, dword [edi + 8]
xor ebx, ebx
test eax, eax
jle 0x45e96d0c
jmp 0x45e96b2a
lea eax, [esp + 0x50]
push eax
push 0x1026
push 0x45dc6a04
mov esi, 0x80004005
push esi
mov dword [esp + 0x60], ebx
call fcn.45f85675
mov eax, dword [esp + 0x60]
add esp, 0x10
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa0], 0x45dc096c
mov dword [esp + 0xa4], esi
mov dword [esp + 0xac], ebx
push 0x45ff0f98
lea eax, [esp + 0xa4]
push eax
call fcn.45fb1416
lea eax, [esp + 0x3c]
push eax
push 0x1028
push 0x45dc6a04
mov esi, 0x80004005
push esi
mov dword [esp + 0x4c], ebx
call fcn.45f85675
mov eax, dword [esp + 0x4c]
add esp, 0x10
mov dword [esp + 0x98], eax
mov dword [esp + 0x90], 0x45dc096c
mov dword [esp + 0x94], esi
mov dword [esp + 0x9c], ebx
push 0x45ff0f98
lea eax, [esp + 0x94]
jmp 0x45e96ace
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax]
or dword [eax], 0xffffffff
cmp dword [ebp + 0x14], 1
je 0x45e96b70
cmp dword [ebp + 0x10], 0
jne 0x45e96b70
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
call dword [eax]
push eax
mov eax, dword [ebp + 8]
call fcn.45e9721a
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [esi]
push ebx
mov ecx, esi
mov byte [esp + 0x16], 0
call dword [eax]
cmp dword [eax], 0xffffffff
jne 0x45e96ccf
cmp dword [ebp + 0x14], 2
je 0x45e96cd8
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax]
lea esi, [esp + 0x12]
mov ecx, eax
call fcn.45e9ee04
test al, al
jne 0x45e96ccf
test byte [ebp + 0x18], 1
je 0x45e96c14
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [eax]
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
call dword [edx + 0x24]
mov byte [esp + 0x2f8], 3
push 1
lea eax, [esp + 0x4c]
push eax
mov eax, dword [0x4603ba4c]
add eax, 0x594
push eax
call fcn.45ddb536
mov byte [esp + 0x13], al
mov byte [esp + 0x2f8], 2
mov eax, dword [esp + 0x48]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
cmp byte [esp + 0x17], 0
pop ecx
jne 0x45e96d02
cmp byte [esp + 0x12], 0
jne 0x45e96c7b
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax]
push eax
push dword [ebp + 8]
call fcn.45e9eb79
test al, al
jne 0x45e96c7b
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [eax]
lea ecx, [esp + 0x2c0]
push ecx
mov ecx, eax
call dword [edx + 0x1bc]
mov byte [esp + 0x2f8], 4
or dword [esp + 0x18], 1
push eax
mov eax, dword [0x4603ba4c]
add eax, 0x60
push eax
call fcn.45e08d9a
mov byte [esp + 0x12], 0
test eax, eax
je 0x45e96c80
mov byte [esp + 0x12], 1
mov dword [esp + 0x2f8], 2
test byte [esp + 0x18], 1
je 0x45e96ca4
and dword [esp + 0x18], 0xfffffffe
lea eax, [esp + 0x2c0]
push eax
call fcn.45e284c6
cmp byte [esp + 0x12], 0
je 0x45e96d02
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax]
push eax
lea eax, [esp + 0x24]
call fcn.45e11c6d
push ebx
lea eax, [esp + 0x5c]
call fcn.45e13f35
jmp 0x45e96d02
cmp dword [ebp + 0x14], 2
jne 0x45e96d02
mov esi, dword [ebp + 0xc]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax]
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 8]
push eax
call fcn.45e971d1
mov dword [esi], eax
inc ebx
cmp ebx, dword [edi + 8]
jl 0x45e96b27
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
push 0x2c
cdq
pop ecx
idiv ecx
test eax, eax
jbe 0x45e96ec2
lea eax, [esp + 0x12c]
push eax
call fcn.45ef9ce5
mov byte [esp + 0x2f8], 5
push dword [ebp + 0x10]
lea eax, [esp + 0x24]
push eax
lea edi, [esp + 0x134]
call fcn.45efa223
xor edi, edi
cmp dword [esp + 0x1b0], edi
je 0x45e96df8
mov al, byte [0x4603ba48]
test al, al
jne 0x45e96d4d
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
push 0x2c
cdq
pop ecx
idiv ecx
mov ecx, dword [esp + 0x1a0]
mov edx, dword [esp + 0x264]
add ecx, edx
cmp ecx, eax
jne 0x45e96e4e
mov dl, byte [0x4603ba48]
test dl, dl
jne 0x45e96d81
mov ebx, dword [ebp + 0x20]
xor ecx, ecx
xor edi, edi
cmp dword [ebp + 0x1c], edi
mov dword [esp + 0x270], ebx
setne cl
shl eax, 2
push eax
mov byte [esp + 0x1a0], cl
push edi
push dword [esp + 0x1b8]
lea ecx, [ebp + 0x1c]
mov dword [esp + 0x278], ecx
call fcn.45fb1390
add esp, 0xc
push dword [ebp + 0x10]
lea ecx, [esp + 0x130]
push 0xe
push dword [ebp + 8]
call fcn.45e9ee60
cmp eax, edi
jge 0x45e96ea4
push 0x10bb
push 0x45dc6a04
push eax
call fcn.45f857be
lea eax, [esp + 0x38]
push eax
push 0x10a0
push 0x45dc6a04
mov esi, 0x80004005
push esi
mov dword [esp + 0x48], edi
call fcn.45f85675
mov eax, dword [esp + 0x48]
add esp, 0x10
mov dword [esp + 0xc8], eax
mov dword [esp + 0xc0], 0x45dc096c
mov dword [esp + 0xc4], esi
mov dword [esp + 0xcc], edi
push 0x45ff0f98
lea eax, [esp + 0xc4]
jmp 0x45e96ace
lea eax, [esp + 0x4c]
push eax
push 0x10a5
push 0x45dc6a04
mov esi, 0x80004005
push esi
mov dword [esp + 0x5c], edi
call fcn.45f85675
mov eax, dword [esp + 0x5c]
add esp, 0x10
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb0], 0x45dc096c
mov dword [esp + 0xb4], esi
mov dword [esp + 0xbc], edi
push 0x45ff0f98
lea eax, [esp + 0xb4]
jmp 0x45e96ace
cmp dword [ebp + 0x1c], edi
je 0x45e96f12
test bl, 1
je 0x45e96f12
mov byte [esp + 0x2f8], 2
lea ecx, [esp + 0x12c]
call fcn.45ef9b6c
mov byte [esp + 0x2f8], 1
lea eax, [esp + 0xd4]
push eax
call fcn.45e8edf8
mov byte [esp + 0x2f8], 0
lea eax, [esp + 0x58]
call fcn.45e174fe
or dword [esp + 0x2f8], 0xffffffff
lea eax, [esp + 0x20]
push eax
call fcn.45e11aad
mov ecx, dword [esp + 0x2f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
push 0x2c
cdq
pop ecx
idiv ecx
cmp eax, dword [esp + 0x60]
jne 0x45e97092
mov cl, byte [0x4603ba48]
test cl, cl
jne 0x45e96f20
xor ebx, ebx
cmp eax, edi
jbe 0x45e96eae
cmp dword [ebp + 0x10], 1
je 0x45e96f4a
cmp dword [ebp + 0x10], 5
jne 0x45e96f58
cmp dword [esp + 0x264], 0
je 0x45e970e8
or dword [esp + 0x1c], 0xffffffff
lea eax, [esp + 0x1c]
push eax
push ebx
lea esi, [esp + 0x28]
call fcn.45e11c3f
push eax
lea eax, [esp + 0x244]
call fcn.45e69eb2
test eax, eax
je 0x45e97169
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
je 0x45e970ef
mov eax, dword [esp + 0x1b0]
mov edi, ecx
shl edi, 2
mov eax, dword [edi + eax]
cmp eax, 0xffffffff
je 0x45e96fda
push eax
push ecx
lea esi, [esp + 0x170]
call fcn.45e11c3f
push eax
push dword [ebp + 8]
call fcn.45e9725f
mov eax, dword [esp + 0x58]
push ebx
lea ecx, [esp + 0x5c]
call dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push eax
call dword [edx]
mov ecx, dword [esp + 0x1b0]
mov ecx, dword [edi + ecx]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x45e96ff0
cmp dword [ebp + 0x10], 3
je 0x45e96ff0
cmp dword [ebp + 0x10], 4
jne 0x45e97169
mov eax, dword [esp + 0x1b0]
mov edi, dword [edi + eax]
cmp edi, 0xffffffff
je 0x45e97007
test edi, edi
jne 0x45e97169
push ebx
lea esi, [esp + 0x24]
call fcn.45e11c3f
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.45e9eb9f
test eax, eax
je 0x45e97169
push ebx
call fcn.45e11c3f
lea ecx, [esp + 0xd0]
push ecx
push eax
lea eax, [esp + 0xdc]
call fcn.45e13f52
test eax, eax
jne 0x45e97169
and dword [esp + 0x54], eax
push ebx
call fcn.45e11c3f
mov edx, dword [eax]
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call dword [edx + 0x24]
mov byte [esp + 0x2f8], 6
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x44]
push eax
add edi, 0x20
push edi
call fcn.45eaf6d6
mov byte [esp + 0x2f8], 5
mov eax, dword [esp + 0x40]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
pop ecx
jmp 0x45e97169
lea eax, [esp + 0x44]
push eax
push 0x10c4
push 0x45dc6a04
mov esi, 0x80004005
push esi
mov dword [esp + 0x54], edi
call fcn.45f85675
mov eax, dword [esp + 0x54]
add esp, 0x10
mov dword [esp + 0x88], eax
mov dword [esp + 0x80], 0x45dc096c
mov dword [esp + 0x84], esi
mov dword [esp + 0x8c], edi
push 0x45ff0f98
lea eax, [esp + 0x84]
jmp 0x45e96ace
mov ecx, ebx
jmp 0x45e96f85
push ebx
lea esi, [esp + 0x24]
call fcn.45e11c3f
mov edx, dword [eax]
lea ecx, [esp + 0x294]
push ecx
mov ecx, eax
call dword [edx + 0x1bc]
mov byte [esp + 0x2f8], 7
push eax
mov eax, dword [0x4603ba4c]
add eax, 0x60
push eax
call fcn.45e08d9a
mov esi, eax
mov byte [esp + 0x2f8], 5
lea eax, [esp + 0x294]
push eax
call fcn.45e284c6
test esi, esi
je 0x45e97169
mov eax, dword [esp + 0x58]
push ebx
lea ecx, [esp + 0x5c]
call dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push eax
call dword [edx]
push ebx
lea esi, [esp + 0x24]
mov edi, eax
call fcn.45e11c3f
mov ecx, dword [ebp + 8]
push eax
call fcn.45e971d1
mov dword [edi], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
push 0x2c
cdq
pop ecx
idiv ecx
inc ebx
cmp ebx, eax
jb 0x45e96f3e
jmp 0x45e96eae
lea eax, [esp + 0x14]
push eax
push 0x1027
push 0x45dc6a04
mov esi, 0x80004005
push esi
mov dword [esp + 0x24], ebx
call fcn.45f85675
mov eax, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x78], eax
mov dword [esp + 0x70], 0x45dc096c
mov dword [esp + 0x74], esi
mov dword [esp + 0x7c], ebx
push 0x45ff0f98
lea eax, [esp + 0x74]
jmp 0x45e96ace