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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x495f78
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor edi, edi
cmp dword [ebx + 0x5ec], edi
jne 0x45e797
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x80]
push eax
call fcn.0048b664
mov ecx, dword [esp + 0x7c]
push ecx
call dword [0x4974a8]
push eax
mov dword [esp + 0x1c], eax
call fcn.0048b664
mov edx, dword [esp + 0x84]
mov ecx, ebx
push edx
push ebp
call fcn.00463d60
mov dword [ebx + 0x10c], edi
mov dword [ebx + 0x110], edi
mov dword [ebx + 0x13c], edi
mov dword [ebx + 0x140], edi
mov dword [ebx + 0x144], 1
mov dword [ebx + 0x148], edi
mov dword [ebx + 0x14c], edi
mov eax, dword [ebp + 0x30ac]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x30b0]
mov dword [ebx + 0x54], eax
mov ecx, dword [ebp + 0x30b4]
add ecx, eax
mov dword [ebx + 0x48], ecx
mov edx, dword [ebp + 0x30b8]
mov dword [ebx + 0x4c], edx
mov eax, dword [ebp + 0x30bc]
mov dword [ebx + 0x5c], eax
mov ecx, dword [ebp + 0x30c0]
mov dword [ebx + 0x58], ecx
mov edx, dword [ebp + 0x30c4]
mov dword [ebx + 0x64], edx
mov eax, dword [ebp + 0x30c8]
mov dword [ebx + 0x60], eax
mov ecx, dword [ebp + 0x30cc]
dec ecx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], 0x19
mov edx, dword [ebp + 0x3104]
mov dword [ebx + 0x6c], edx
mov eax, dword [ebp + 0x3108]
mov dword [ebx + 0x68], eax
mov ecx, dword [ebp + 0x310c]
mov dword [ebx + 0x74], ecx
mov edx, dword [ebp + 0x3110]
mov dword [ebx + 0x70], edx
mov eax, dword [ebp + 0x3114]
dec eax
mov dword [ebx + 0x40], eax
mov ecx, dword [ebp + 0x311c]
mov dword [ebx + 0x64c], ecx
mov edx, dword [ebp + 0x3120]
mov dword [ebx + 0x650], edx
mov eax, dword [ebp + 0x3124]
mov dword [ebx + 0x654], eax
mov ecx, dword [ebp + 0x3128]
mov dword [ebx + 0x658], ecx
mov edx, dword [ebp + 0x312c]
mov dword [ebx + 0x65c], edx
mov eax, dword [ebp + 0x3130]
mov dword [ebx + 0x660], eax
mov eax, dword [ebx + 0x17c]
cmp eax, 0xffffffff
jne 0x45e038
mov ecx, dword [ebp + 0x3118]
mov dword [ebx + 0x17c], ecx
cmp dword [ebx + 0x17c], edi
jne 0x45e072
mov edx, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x64]
mov dword [ebx + 0x16c], edx
mov edx, dword [ebx + 0x60]
mov dword [ebx + 0x170], eax
mov eax, dword [ebx + 0x38]
mov dword [ebx + 0x178], ecx
mov dword [ebx + 0x174], edx
mov dword [ebx + 0x34], eax
lea ecx, [ebx + 0x388]
jmp 0x45e0a2
mov edx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x74]
mov dword [ebx + 0x16c], edx
mov edx, dword [ebx + 0x70]
mov dword [ebx + 0x170], eax
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x178], ecx
mov dword [ebx + 0x174], edx
mov dword [ebx + 0x34], eax
lea ecx, [ebx + 0x488]
mov edx, dword [ebx + 0x170]
mov eax, dword [ebx + 0x16c]
mov dword [ebx + 0x384], ecx
xor ecx, ecx
mov dword [ebx + 0x114], edx
mov dword [ebx + 0x118], eax
mov ch, byte [ebp + 0x30d8]
xor edx, edx
mov cl, byte [ebp + 0x30d4]
mov dl, byte [ebp + 0x30d0]
shl ecx, 8
or ecx, edx
xor eax, eax
mov dword [ebx + 0x20], ecx
mov ah, byte [ebp + 0x30e4]
mov al, byte [ebp + 0x30e0]
xor ecx, ecx
mov cl, byte [ebp + 0x30dc]
mov dword [ebx + 0x2c], 0xc8c8ff
shl eax, 8
or eax, ecx
mov dword [ebx + 0x30], 0xffffff
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x30ec]
push edi
push edi
push eax
mov ecx, ebp
mov dword [ebx + 0x284], eax
call fcn.00408180
mov edx, dword [ebx + 0x284]
push 1
push edx
mov ecx, ebp
call fcn.0040b3a0
mov esi, dword [ebx + 0x20]
mov dword [ebx + 0x288], eax
mov eax, esi
mov dword [esp + 0x14], edi
shr eax, 8
and eax, 0xff
mov dword [esp + 0x10], eax
fild qword [esp + 0x10]
fmul qword [str.UUUUUU]
call fcn.0046ab88
mov ecx, esi
mov dword [esp + 0x14], edi
shr ecx, 0x10
mov dword [esp + 0x10], ecx
xor edx, edx
fild qword [esp + 0x10]
mov dl, al
mov dword [esp + 0x80], edx
fmul qword [str.UUUUUU]
call fcn.0046ab88
mov edx, dword [esp + 0x80]
and esi, 0xff
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
fild qword [esp + 0x10]
mov dh, al
shl edx, 8
fmul qword [str.UUUUUU]
mov dword [esp + 0x80], edx
call fcn.0046ab88
mov edx, dword [esp + 0x80]
and eax, 0xff
or edx, eax
mov dword [ebx + 0x28], edx
mov eax, dword [ebx + 0x2e0]
xor edi, edi
cmp eax, 0xffffffff
mov dword [esp + 0x70], edi
jne 0x45e333
mov dword [ebx + 0x2e0], edi
mov eax, dword [ebx + 0x678]
cmp eax, edi
jne 0x45e1f4
mov dword [esp + 0x80], edi
jmp 0x45e216
mov ecx, dword [ebx + 0x67c]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x84], edi
cmp eax, edi
jle 0x45e333
xor edx, edx
mov esi, dword [ebx + 0x678]
mov ecx, dword [edx + esi]
mov eax, dword [edx + esi + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edx + esi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [edx + esi + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [edx + esi + 0x10]
mov dword [esp + 0x38], eax
mov al, byte [edx + esi + 0x14]
mov dword [esp + 0x3c], ecx
mov cl, byte [edx + esi + 0x15]
mov byte [esp + 0x40], al
mov al, byte [edx + esi + 0x16]
mov byte [esp + 0x41], cl
mov cl, byte [edx + esi + 0x17]
mov byte [esp + 0x42], al
mov al, byte [edx + esi + 0x18]
mov byte [esp + 0x43], cl
mov cl, byte [edx + esi + 0x19]
mov byte [esp + 0x44], al
mov al, byte [edx + esi + 0x1a]
mov byte [esp + 0x45], cl
mov cl, byte [edx + esi + 0x1b]
mov byte [esp + 0x46], al
mov byte [esp + 0x47], cl
lea edi, [edx + esi + 0x1c]
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4a49e4
lea esi, [esp + 0x48]
mov cl, byte [esi]
mov al, cl
cmp cl, byte [edi]
jne 0x45e2f3
test al, al
je 0x45e2ef
mov cl, byte [esi + 1]
mov al, cl
cmp cl, byte [edi + 1]
jne 0x45e2f3
add esi, 2
add edi, 2
test al, al
jne 0x45e2cf
xor eax, eax
jmp 0x45e2f8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x84]
je 0x45e31f
mov ecx, dword [esp + 0x80]
inc eax
add edx, 0x3c
cmp eax, ecx
mov dword [esp + 0x84], eax
jl 0x45e22e
jmp 0x45e331
mov dword [ebx + 0x2e0], eax
mov dword [ebx + 0x2e4], eax
mov dword [ebx + 0x2e8], eax
xor edi, edi
lea esi, [ebx + 0x684]
cmp esi, edi
je 0x45e346
cmp dword [esi + 4], edi
jne 0x45e449
push edi
call dword [0x49709c]
push eax
mov ecx, esi
call fcn.0048b679
mov edx, dword [ebp + 0x308c]
mov ecx, dword [ebp + 0x3090]
mov eax, edx
mov dword [esi + 0x1c], ecx
imul eax, ecx
mov dword [esi + 0x48], ecx
push 0
lea ecx, [esi + 0x40]
push 0
lea edi, [esi + 0x14]
push ecx
push 0
lea eax, [eax + eax*2]
push edi
push 0
mov word [esi + 0x22], 0x18
mov dword [esi + 0x18], edx
mov word [esi + 0x20], 1
mov dword [edi], 0x28
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x44], edx
call dword [0x4970bc]
mov edx, dword [esi + 4]
push eax
push edx
mov dword [esi + 0x10], eax
call dword [0x4970c0]
push 0
lea esi, [ebx + 0x6d0]
call dword [0x49709c]
push eax
mov ecx, esi
call fcn.0048b679
mov edx, dword [ebp + 0x308c]
mov ecx, dword [ebp + 0x3090]
mov eax, edx
mov dword [esi + 0x1c], ecx
imul eax, ecx
mov dword [esi + 0x48], ecx
push 0
lea ecx, [esi + 0x40]
push 0
lea edi, [esi + 0x14]
push ecx
push 0
lea eax, [eax + eax*2]
push edi
push 0
mov word [esi + 0x22], 0x18
mov dword [esi + 0x18], edx
mov word [esi + 0x20], 1
mov dword [edi], 0x28
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x44], edx
call dword [0x4970bc]
mov edx, dword [esi + 4]
push eax
push edx
mov dword [esi + 0x10], eax
call dword [0x4970c0]
mov eax, dword [ebx + 0x50]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [ebx + 0x688]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0045e9a0
xor edi, edi
mov ecx, dword [ebp + 0x3098]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
mov dword [esp + 0x10], ecx
push edx
push eax
lea ecx, [ebp + 0x3024]
mov dword [esp + 0x1c], edi
call fcn.0040e450
mov ecx, eax
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x94], esp
mov eax, dword [ecx]
mov dword [esp + 0x90], esi
mov eax, dword [eax + 0x10]
mov edx, dword [ecx + 4]
mov dword [ebx + 0x350], eax
mov cl, byte [ebp + 0x3064]
lea eax, [ebp + 0x3064]
mov byte [esi], cl
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], edx
mov edx, dword [0x497530]
mov edi, ecx
cmp edx, edi
mov dword [esp + 0x88], edi
jae 0x45e4c9
mov dword [esp + 0x88], edx
mov edi, edx
cmp esi, eax
jne 0x45e547
test edi, edi
mov dword [esp + 0x88], edx
jbe 0x45e4dd
call fcn.00474982
mov ecx, esi
call fcn.00402330
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x88]
sub eax, edi
cmp eax, ecx
jae 0x45e4fd
mov dword [esp + 0x88], eax
mov ecx, eax
test ecx, ecx
jbe 0x45e537
mov edx, dword [esi + 4]
sub eax, ecx
add edi, edx
push eax
add ecx, edi
push ecx
push edi
call fcn.0046a230
mov edi, dword [esi + 8]
mov ecx, dword [esp + 0x94]
add esp, 0xc
sub edi, ecx
mov ecx, esi
push 0
push edi
call fcn.00402210
test al, al
je 0x45e537
push edi
mov ecx, esi
call fcn.00401ba0
push 0
push 0
mov ecx, esi
call fcn.0040c6a0
jmp 0x45e5e0
test edi, edi
jbe 0x45e598
cmp edi, ecx
jne 0x45e598
mov eax, dword [eax + 4]
test eax, eax
jne 0x45e55b
mov eax, 0x497534
cmp byte [eax - 1], 0xfe
jae 0x45e598
push 1
mov ecx, esi
call fcn.00401bc0
mov eax, dword [ebp + 0x3068]
test eax, eax
jne 0x45e579
mov eax, 0x497534
mov dword [esi + 4], eax
mov ecx, dword [ebp + 0x306c]
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0x3070]
mov dword [esi + 0xc], ecx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x45e5e0
push 1
push edi
mov ecx, esi
call fcn.00402210
test al, al
je 0x45e5e0
mov edx, dword [ebp + 0x3068]
test edx, edx
jne 0x45e5b5
mov edx, 0x497534
mov eax, dword [esi + 4]
mov ecx, edi
mov edi, eax
mov eax, ecx
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x94]
call fcn.00401ba0
sub esp, 0x10
lea edx, [ebp + 0x3054]
mov ecx, esp
mov dword [esp + 0x98], esp
push edx
mov byte [esp + 0x94], 1
call fcn.0040c4c0
sub esp, 0x10
lea eax, [ebp + 0x3044]
mov ecx, esp
mov dword [esp + 0xb0], esp
push eax
mov byte [esp + 0xa4], 2
call fcn.0040c4c0
mov ecx, ebx
mov byte [esp + 0xa0], 0
call fcn.00463920
lea ecx, [ebx + 0x220]
call fcn.00465c20
mov dword [ebx + 0x5ec], 1
mov ecx, dword [ebx + 0x50]
xor edi, edi
mov dword [ebx + 0x610], ecx
mov dword [ebx + 0x60c], edi
mov dword [ebx + 0x614], edi
mov dl, byte [ebp + 0x30d0]
xor esi, esi
mov byte [esp + 0x78], dl
mov eax, dword [esp + 0x78]
and eax, 0xff
shl eax, 6
mov ecx, eax
add eax, 0xc0
sar ecx, 8
mov byte [ebx + esi + 0x71c], cl
inc esi
cmp esi, 0x100
jl 0x45e673
mov dl, byte [ebp + 0x30d4]
xor esi, esi
mov byte [esp + 0x78], dl
mov eax, dword [esp + 0x78]
and eax, 0xff
shl eax, 6
mov ecx, eax
add eax, 0xc0
sar ecx, 8
mov byte [ebx + esi + 0x81c], cl
inc esi
cmp esi, 0x100
jl 0x45e6a5
mov dl, byte [ebp + 0x30d8]
xor esi, esi
mov byte [esp + 0x78], dl
mov eax, dword [esp + 0x78]
and eax, 0xff
shl eax, 6
mov ecx, eax
add eax, 0xc0
sar ecx, 8
mov byte [ebx + esi + 0x91c], cl
inc esi
cmp esi, 0x100
jl 0x45e6d7
mov dl, byte [ebp + 0x30dc]
xor esi, esi
mov byte [esp + 0x78], dl
mov eax, dword [esp + 0x78]
and eax, 0xff
shl eax, 5
mov ecx, eax
add eax, 0xe0
sar ecx, 8
mov byte [ebx + esi + 0xa1c], cl
inc esi
cmp esi, 0x100
jl 0x45e709
mov dl, byte [ebp + 0x30e0]
xor esi, esi
mov byte [esp + 0x78], dl
mov eax, dword [esp + 0x78]
and eax, 0xff
shl eax, 5
mov ecx, eax
add eax, 0xe0
sar ecx, 8
mov byte [ebx + esi + 0xb1c], cl
inc esi
cmp esi, 0x100
jl 0x45e73b
mov dl, byte [ebp + 0x30e4]
xor esi, esi
mov byte [esp + 0x78], dl
mov eax, dword [esp + 0x78]
and eax, 0xff
shl eax, 5
mov ecx, eax
add eax, 0xe0
sar ecx, 8
mov byte [ebx + esi + 0xc1c], cl
inc esi
cmp esi, 0x100
jl 0x45e76d
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x7c]
push edx
push eax
call dword [0x4974ac]
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret 0x10